Index: head/editors/mousepad/Makefile =================================================================== --- head/editors/mousepad/Makefile (revision 301039) +++ head/editors/mousepad/Makefile (revision 301040) @@ -1,29 +1,29 @@ # New ports collection makefile for: mousepad # Date created: 19 April 2006 # Whom: Oliver Lehmann # # $FreeBSD$ # 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} DIST_SUBDIR= xfce4 MAINTAINER= xfce@FreeBSD.org COMMENT= Simple Xfce editor GNU_CONFIGURE= yes USE_BZIP2= yes USE_GETTEXT= yes USE_GMAKE= yes USE_GNOME= gtk20 intltool intlhack pkgconfig desktopfileutils USE_XFCE= configenv libgui post-install: @-update-desktop-database .include Index: head/editors/mousepad/files/patch-src_search.c =================================================================== --- head/editors/mousepad/files/patch-src_search.c (nonexistent) +++ head/editors/mousepad/files/patch-src_search.c (revision 301040) @@ -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 Property changes on: head/editors/mousepad/files/patch-src_search.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property