SF.net SVN: geany:[3154] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Sat Oct 25 18:56:38 UTC 2008


Revision: 3154
          http://geany.svn.sourceforge.net/geany/?rev=3154&view=rev
Author:   eht16
Date:     2008-10-25 18:56:38 +0000 (Sat, 25 Oct 2008)

Log Message:
-----------
Fix updating of the value of the toolbar Goto line spinbutton.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/callbacks.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-10-25 18:56:27 UTC (rev 3153)
+++ trunk/ChangeLog	2008-10-25 18:56:38 UTC (rev 3154)
@@ -5,6 +5,8 @@
    pass NULL as package name.
  * src/main.c, src/plugins.c, src/plugindata.h:
    Add main_locale_init() to the plugin API.
+ * src/callbacks.c:
+   Fix updating of the value of the toolbar Goto line spinbutton.
 
 
 2008-10-24  Frank Lanitz  <frank(at)frank(dot)uvena(dot)de>

Modified: trunk/src/callbacks.c
===================================================================
--- trunk/src/callbacks.c	2008-10-25 18:56:27 UTC (rev 3153)
+++ trunk/src/callbacks.c	2008-10-25 18:56:38 UTC (rev 3154)
@@ -1213,6 +1213,7 @@
 on_goto_line_entry_activate          (GtkEntry        *entry,
                                       gpointer         user_data)
 {
+	gtk_spin_button_update(GTK_SPIN_BUTTON(entry));
 	on_goto_line_dialog_response(GTK_DIALOG(user_data), GTK_RESPONSE_ACCEPT, entry);
 }
 
@@ -1221,6 +1222,7 @@
 on_toolbutton_goto_entry_activate      (GtkEntry        *entry,
                                         gpointer         user_data)
 {
+	gtk_spin_button_update(GTK_SPIN_BUTTON(entry));
 	on_goto_line_dialog_response(NULL, GTK_RESPONSE_ACCEPT, entry);
 }
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list