[arch-commits] Commit in mousepad/repos (2 files)

Allan McRae allan at archlinux.org
Fri Nov 6 20:24:27 EST 2009


    Date: Friday, November 6, 2009 @ 20:24:27
  Author: allan
Revision: 58326

Merged revisions 58325 via svnmerge from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/mousepad/trunk

........
  r58325 | allan | 2009-11-07 11:23:23 +1000 (Sat, 07 Nov 2009) | 1 line
  
  add patch
........

Added:
  mousepad/repos/extra-i686/resensitize-find-button.patch
    (from rev 58325, mousepad/trunk/resensitize-find-button.patch)
Modified:
  mousepad/repos/extra-i686/	(properties)

-------------------------------+
 resensitize-find-button.patch |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)


Property changes on: mousepad/repos/extra-i686
___________________________________________________________________
Modified: svnmerge-integrated
   - /mousepad/trunk:1-58318
   + /mousepad/trunk:1-58325

Copied: mousepad/repos/extra-i686/resensitize-find-button.patch (from rev 58325, mousepad/trunk/resensitize-find-button.patch)
===================================================================
--- extra-i686/resensitize-find-button.patch	                        (rev 0)
+++ extra-i686/resensitize-find-button.patch	2009-11-07 01:24:27 UTC (rev 58326)
@@ -0,0 +1,28 @@
+--- mousepad-0.2.16.orig/src/search.c
++++ mousepad-0.2.16/src/search.c
+@@ -210,8 +210,11 @@
+ 		G_CALLBACK(toggle_sensitivity), NULL);
+ 	 g_signal_connect(G_OBJECT(entry_find), "delete-text",
+ 		G_CALLBACK(toggle_sensitivity), NULL);
+-	 if (sd->search.string_find) 
++	 if (sd->search.string_find) {
+ 		 gtk_entry_set_text(GTK_ENTRY(entry_find), sd->search.string_find);
++		 gtk_dialog_set_response_sensitive(GTK_DIALOG(dialog),
++			GTK_RESPONSE_OK, TRUE);
++	 }
+ 
+ 	gtk_dialog_set_default_response(GTK_DIALOG(dialog), GTK_RESPONSE_OK);
+ 	gtk_entry_set_activates_default(GTK_ENTRY(entry_find), TRUE);
+@@ -275,8 +278,11 @@
+ 		G_CALLBACK(toggle_sensitivity), NULL);
+ 	 g_signal_connect(G_OBJECT(entry_find), "delete-text",
+ 		G_CALLBACK(toggle_sensitivity), NULL);
+-	 if (sd->search.string_find) 
++	 if (sd->search.string_find) {
+ 		 gtk_entry_set_text(GTK_ENTRY(entry_find), sd->search.string_find);
++		 gtk_dialog_set_response_sensitive(GTK_DIALOG(dialog),
++			GTK_RESPONSE_OK, TRUE);
++	}
+ 	label_replace = gtk_label_new_with_mnemonic(_("Re_place with: "));
+ 	 gtk_misc_set_alignment(GTK_MISC(label_replace), 0, 0.5);
+ 	 gtk_table_attach_defaults(GTK_TABLE(table), label_replace, 0, 1, 1, 2);



More information about the arch-commits mailing list