[Xfce4-commits] r24836 - xfce4-mixer/branches/xfce_4_4/src

Danny Milosavljevic dannym at xfce.org
Sat Feb 3 23:00:18 CET 2007


Author: dannym
Date: 2007-02-03 22:00:18 +0000 (Sat, 03 Feb 2007)
New Revision: 24836

Modified:
   xfce4-mixer/branches/xfce_4_4/src/mixer-profilebox.gob
   xfce4-mixer/branches/xfce_4_4/src/xfce-mixer-profilebox.c
Log:
HIG some buttons



Modified: xfce4-mixer/branches/xfce_4_4/src/mixer-profilebox.gob
===================================================================
--- xfce4-mixer/branches/xfce_4_4/src/mixer-profilebox.gob	2007-02-03 21:59:56 UTC (rev 24835)
+++ xfce4-mixer/branches/xfce_4_4/src/mixer-profilebox.gob	2007-02-03 22:00:18 UTC (rev 24836)
@@ -495,7 +495,7 @@
 			s, parent,
 			GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_MODAL,
 			GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
-			GTK_STOCK_OK, GTK_RESPONSE_OK,
+			GTK_STOCK_ADD, GTK_RESPONSE_OK,
 			NULL
 		));
 		g_free (s);
@@ -524,7 +524,7 @@
 			name = xfce_mixer_profilebox_detail_get_name (detail);
 			if (!name || !name[0]) {
 				annoy_user (parent, GTK_MESSAGE_ERROR,
-					GTK_BUTTONS_OK, "%s", 
+					GTK_BUTTONS_CLOSE, "%s", 
 				_("A profile needs a name"));
 				retry = TRUE;
 			} else if (!self_profile_exists (self, name)) {

Modified: xfce4-mixer/branches/xfce_4_4/src/xfce-mixer-profilebox.c
===================================================================
--- xfce4-mixer/branches/xfce_4_4/src/xfce-mixer-profilebox.c	2007-02-03 21:59:56 UTC (rev 24835)
+++ xfce4-mixer/branches/xfce_4_4/src/xfce-mixer-profilebox.c	2007-02-03 22:00:18 UTC (rev 24836)
@@ -789,7 +789,7 @@
 			s, parent,
 			GTK_DIALOG_DESTROY_WITH_PARENT | GTK_DIALOG_MODAL,
 			GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
-			GTK_STOCK_OK, GTK_RESPONSE_OK,
+			GTK_STOCK_ADD, GTK_RESPONSE_OK,
 			NULL
 		));
 		g_free (s);
@@ -818,7 +818,7 @@
 			name = xfce_mixer_profilebox_detail_get_name (detail);
 			if (!name || !name[0]) {
 				annoy_user (parent, GTK_MESSAGE_ERROR,
-					GTK_BUTTONS_OK, "%s", 
+					GTK_BUTTONS_CLOSE, "%s", 
 				_("A profile needs a name"));
 				retry = TRUE;
 			} else if (!self_profile_exists (self, name)) {



More information about the Xfce4-commits mailing list