show the "invalid search term" message in the label below the list instead

2008-11-25  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpprocbrowserdialog.c (browser_search): show the
	"invalid search term" message in the label below the list 
instead
	of in the pane on the right side.


svn path=/trunk/; revision=27718
This commit is contained in:
Sven Neumann
2008-11-25 20:05:19 +00:00
committed by Sven Neumann
parent 7bdf3a0df8
commit 2766dea04f
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2008-11-25 Sven Neumann <sven@gimp.org>
* libgimp/gimpprocbrowserdialog.c (browser_search): show the
"invalid search term" message in the label below the list instead
of in the pane on the right side.
2008-11-25 Sven Neumann <sven@gimp.org>
* libgimp/gimpexport.c: minor code cleanup.

View File

@ -380,8 +380,10 @@ browser_search (GimpBrowser *browser,
gtk_tree_view_set_model (GTK_TREE_VIEW (dialog->tree_view), NULL);
dialog->store = NULL;
gimp_browser_show_message (browser,
_("Search term invalid or incomplete"));
gimp_browser_show_message (browser, _("No matches"));
gtk_label_set_text (GTK_LABEL (browser->count_label),
_("Search term invalid or incomplete"));
return;
}