Summary: | [patch] port editors/mousepad search tool only works once | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Filipy Galiza Soares <65> | ||||
Component: | Individual Port(s) | Assignee: | Olivier Duchateau <olivierd> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Filipy Galiza Soares
2012-07-01 04:40:09 UTC
Responsible Changed From-To: freebsd-ports-bugs->freebsd-xfce Over to maintainer (via the GNATS Auto Assign Tool) Responsible Changed From-To: freebsd-xfce->olivierd I'll take it. Author: olivierd Date: Tue Jul 17 21:04:27 2012 New Revision: 301040 URL: http://svn.freebsd.org/changeset/ports/301040 Log: Fix search tool PR: 169569 Submitted by: Filipy Galiza Soares <65@filipy.com> Approved by: miwi, rene (mentors) Added: head/editors/mousepad/files/ head/editors/mousepad/files/patch-src_search.c (contents, props changed) Modified: head/editors/mousepad/Makefile Modified: head/editors/mousepad/Makefile ============================================================================== --- head/editors/mousepad/Makefile Tue Jul 17 20:57:14 2012 (r301039) +++ head/editors/mousepad/Makefile Tue Jul 17 21:04:27 2012 (r301040) @@ -7,7 +7,7 @@ PORTNAME= mousepad PORTVERSION= 0.2.16 -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= editors xfce MASTER_SITES= ${MASTER_SITE_XFCE} MASTER_SITE_SUBDIR=src/apps/${PORTNAME}/${PORTVERSION:R} Added: head/editors/mousepad/files/patch-src_search.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/editors/mousepad/files/patch-src_search.c Tue Jul 17 21:04:27 2012 (r301040) @@ -0,0 +1,28 @@ +--- src/search.c.orig ++++ 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); \ No newline at end of file _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" State Changed From-To: open->closed Committed. Thanks! |