SF.net SVN: geany:[4512] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Tue Dec 29 18:40:55 UTC 2009


Revision: 4512
          http://geany.svn.sourceforge.net/geany/?rev=4512&view=rev
Author:   eht16
Date:     2009-12-29 18:40:55 +0000 (Tue, 29 Dec 2009)

Log Message:
-----------
Show the Find/Goto dialogs if the corresponding toolbar buttons are clicked but their text fields are not part of the toolbar (#2920807).

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-12-29 18:40:39 UTC (rev 4511)
+++ trunk/ChangeLog	2009-12-29 18:40:55 UTC (rev 4512)
@@ -13,6 +13,9 @@
    including scope information.
  * data/filetypes.restructuredtext:
    Add the default comment character sequence for reStructuredText.
+ * src/callbacks.c:
+   Show the Find/Goto dialogs if the corresponding toolbar buttons are
+   clicked but their text fields are not part of the toolbar (#2920807).
 
 
 2009-12-26  Frank Lanitz  <frank at frank.uvena.de>

Modified: trunk/src/callbacks.c
===================================================================
--- trunk/src/callbacks.c	2009-12-29 18:40:39 UTC (rev 4511)
+++ trunk/src/callbacks.c	2009-12-29 18:40:55 UTC (rev 4512)
@@ -613,6 +613,8 @@
 		if (search_data.search_bar)
 			ui_set_search_entry_background(entry, result);
 	}
+	else
+		on_find1_activate(NULL, NULL);
 }
 
 
@@ -1316,6 +1318,8 @@
 
 		on_toolbutton_goto_entry_activate(NULL, text, NULL);
 	}
+	else
+		on_go_to_line_activate(NULL, NULL);
 }
 
 


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