Fixlet for Setting "Switch Image After" Using The Keyboard



Hi,

I've noticed that EOG only seems to remember the "switch image after"
setting if you use the buttons to set the value, not the keyboard. You
can reproduce this by going in to the preferences, typing a value in
to that box, closing preferences, and reopening it. The attached patch
fixes that by connecting to the correct signal.

-Ryan
--- eog-2.18.1/shell/eog-preferences.c	2007-03-17 17:49:57.000000000 -0700
+++ eog-2.18.1-spinfix/shell/eog-preferences.c	2007-04-29 15:26:52.000000000 -0700
@@ -236,7 +236,7 @@
 				   gconf_client_get_int (client, EOG_CONF_FULLSCREEN_SECONDS, NULL));
 	g_object_set_data (G_OBJECT (widget), GCONF_OBJECT_KEY, EOG_CONF_FULLSCREEN_SECONDS);
 	g_signal_connect (G_OBJECT (widget), 
-			  "changed", 
+			  "value-changed", 
 			  G_CALLBACK (spin_button_changed_cb), 
 			  client);
 			  


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