small patch against gnome-core cvs



Hello,

This patch fixes an odd bug where the button of the preferences dialog of the
pager and the tasklist applet would be pressed down on hover the second time
you opened the dialog. Ok to commit?

Cheers
Jorn
? prefs.diff
? stamp-h1
? applets/gen_util/help/C/pager/omf_timestamp
? applets/gen_util/help/C/tasklist/omf_timestamp
? po/.intltool-merge-cache
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gnome-core/ChangeLog,v
retrieving revision 1.394
diff -u -r1.394 ChangeLog
--- ChangeLog	2002/02/09 23:52:25	1.394
+++ ChangeLog	2002/02/10 23:09:42
@@ -1,3 +1,11 @@
+2002-02-11  Jorn Baayen <jorn nl linux org>
+
+	* applets/gen_util/pager.c:
+	* applets/gen_util/tasklist.c: replace the "pressed" signal on the Done
+	buttons in the preference dialogs with the "clicked" signal. Fixes an
+	odd bug where the button would be pressed on hover the next time you
+	opened the dialog.
+
 2002-02-09 John Fleck <jfleck inkstain net>
 
         * configure.in
Index: applets/gen_util/pager.c
===================================================================
RCS file: /cvs/gnome/gnome-core/applets/gen_util/pager.c,v
retrieving revision 1.10
diff -u -r1.10 pager.c
--- applets/gen_util/pager.c	2002/02/06 17:43:16	1.10
+++ applets/gen_util/pager.c	2002/02/10 23:09:44
@@ -601,7 +601,7 @@
 	gtk_spin_button_set_value (GTK_SPIN_BUTTON (pager->num_rows_spin), pager->n_rows);
 
 	
-	g_signal_connect_swapped (WID ("done_button"), "pressed",
+	g_signal_connect_swapped (WID ("done_button"), "clicked",
 				  (GCallback) gtk_widget_hide, pager->properties_dialog);
 
 	gtk_spin_button_set_value (GTK_SPIN_BUTTON (pager->num_workspaces_spin),
Index: applets/gen_util/tasklist.c
===================================================================
RCS file: /cvs/gnome/gnome-core/applets/gen_util/tasklist.c,v
retrieving revision 1.6
diff -u -r1.6 tasklist.c
--- applets/gen_util/tasklist.c	2002/02/06 17:43:16	1.6
+++ applets/gen_util/tasklist.c	2002/02/10 23:09:44
@@ -506,7 +506,7 @@
 	g_signal_connect (G_OBJECT (tasklist->show_all_radio), "toggled",
 			  (GCallback) display_all_workspaces_toggled, tasklist);
 
-	g_signal_connect_swapped (WID ("done_button"), "pressed",
+	g_signal_connect_swapped (WID ("done_button"), "clicked",
 				  (GCallback) gtk_widget_hide, tasklist->properties_dialog);
 
 }


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