gnome-session r5300 - in trunk: . capplet tools



Author: vuntz
Date: Thu Feb 26 04:22:53 2009
New Revision: 5300
URL: http://svn.gnome.org/viewvc/gnome-session?rev=5300&view=rev

Log:
2009-02-26  Vincent Untz  <vuntz gnome org>

	* capplet/gsm-properties-dialog.c: (edit_app_dialog):
	* tools/gnome-session-save.c: (display_error): use a Close button
	instead of an Ok button in error dialogs. If considered an UI change,
	then it's trivial and it doesn't affect documentation.


Modified:
   trunk/ChangeLog
   trunk/capplet/gsm-properties-dialog.c
   trunk/tools/gnome-session-save.c

Modified: trunk/capplet/gsm-properties-dialog.c
==============================================================================
--- trunk/capplet/gsm-properties-dialog.c	(original)
+++ trunk/capplet/gsm-properties-dialog.c	Thu Feb 26 04:22:53 2009
@@ -994,7 +994,7 @@
                         msgbox = gtk_message_dialog_new (GTK_WINDOW (dlg),
                                                          GTK_DIALOG_MODAL,
                                                          GTK_MESSAGE_ERROR,
-                                                         GTK_BUTTONS_OK,
+                                                         GTK_BUTTONS_CLOSE,
                                                          "%s", error_msg);
 
                         if (error != NULL) {

Modified: trunk/tools/gnome-session-save.c
==============================================================================
--- trunk/tools/gnome-session-save.c	(original)
+++ trunk/tools/gnome-session-save.c	Thu Feb 26 04:22:53 2009
@@ -82,7 +82,8 @@
                 GtkWidget *dialog;
 
                 dialog = gtk_message_dialog_new (NULL, 0, GTK_MESSAGE_ERROR,
-                                                 GTK_BUTTONS_OK, "%s", message);
+                                                 GTK_BUTTONS_CLOSE,
+                                                 "%s", message);
 
                 /*gtk_window_set_default_icon_name (GTK_STOCK_SAVE);*/
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]