SF.net SVN: geany:[3501] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Thu Jan 22 17:22:05 UTC 2009


Revision: 3501
          http://geany.svn.sourceforge.net/geany/?rev=3501&view=rev
Author:   ntrel
Date:     2009-01-22 17:22:05 +0000 (Thu, 22 Jan 2009)

Log Message:
-----------
Reorder replace dialog 'replace all' buttons.

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-01-22 17:19:15 UTC (rev 3500)
+++ trunk/ChangeLog	2009-01-22 17:22:05 UTC (rev 3501)
@@ -2,6 +2,8 @@
 
  * src/search.c:
    Refactor with create_replace_dialog().
+ * src/search.c:
+   Reorder replace dialog 'replace all' buttons.
 
 
 2009-01-21  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>

Modified: trunk/src/search.c
===================================================================
--- trunk/src/search.c	2009-01-22 17:19:15 UTC (rev 3500)
+++ trunk/src/search.c	2009-01-22 17:22:05 UTC (rev 3501)
@@ -538,13 +538,6 @@
 	exp = gtk_expander_new_with_mnemonic(_("Re_place All"));
 	bbox = gtk_hbutton_box_new();
 
-	button = gtk_button_new_with_mnemonic(_("In Se_lection"));
-	ui_widget_set_tooltip_text(button,
-		_("Replace all matches found in the currently selected text"));
-	gtk_container_add(GTK_CONTAINER(bbox), button);
-	g_signal_connect(button, "clicked", G_CALLBACK(send_replace_dialog_response),
-		GINT_TO_POINTER(GEANY_RESPONSE_REPLACE_IN_SEL));
-
 	button = gtk_button_new_with_mnemonic(_("In Sessi_on"));
 	gtk_container_add(GTK_CONTAINER(bbox), button);
 	g_signal_connect(button, "clicked", G_CALLBACK(send_replace_dialog_response),
@@ -555,6 +548,13 @@
 	g_signal_connect(button, "clicked", G_CALLBACK(send_replace_dialog_response),
 		GINT_TO_POINTER(GEANY_RESPONSE_REPLACE_IN_FILE));
 
+	button = gtk_button_new_with_mnemonic(_("In Se_lection"));
+	ui_widget_set_tooltip_text(button,
+		_("Replace all matches found in the currently selected text"));
+	gtk_container_add(GTK_CONTAINER(bbox), button);
+	g_signal_connect(button, "clicked", G_CALLBACK(send_replace_dialog_response),
+		GINT_TO_POINTER(GEANY_RESPONSE_REPLACE_IN_SEL));
+
 	/* close window checkbox */
 	check_close = gtk_check_button_new_with_mnemonic(_("Close _dialog"));
 	g_object_set_data_full(G_OBJECT(widgets.replace_dialog), "check_close",


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