gnome-terminal r2664 - trunk/src



Author: chpe
Date: Thu May 29 19:43:14 2008
New Revision: 2664
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2664&view=rev

Log:
Use the file-set signal on GtkFileChooserButton instead of selection-changed. Bug #324470.


Modified:
   trunk/src/profile-editor.c

Modified: trunk/src/profile-editor.c
==============================================================================
--- trunk/src/profile-editor.c	(original)
+++ trunk/src/profile-editor.c	Thu May 29 19:43:14 2008
@@ -552,8 +552,12 @@
     signal = "notify::font-name";
   else if (GTK_IS_RANGE (widget))
     signal = "value-changed";
+  else if (GTK_IS_FILE_CHOOSER_BUTTON (widget))
+    signal = "file-set";
   else if (GTK_IS_FILE_CHOOSER (widget))
-    signal = "selection-changed"; // FIXMEchpe use file-set instead
+    signal = "selection-changed";
+  else
+    g_assert_not_reached ();
 
   change->widget_notify_id = g_signal_connect_swapped (widget, signal, G_CALLBACK (widget_change_notify_cb), change);
 



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