s/Blurb/Description/

2005-04-05  Sven Neumann  <sven@gimp.org>

	* plug-ins/dbbrowser/gimpprocbrowser.c: s/Blurb/Description/

	* plug-ins/dbbrowser/gimpprocview.c: allow to select the menu path
	label.
This commit is contained in:
Sven Neumann 2005-04-05 14:49:03 +00:00 committed by Sven Neumann
parent d42c972038
commit ec4ece7414
5 changed files with 37 additions and 50 deletions

View File

@ -1,3 +1,10 @@
2005-04-05 Sven Neumann <sven@gimp.org>
* plug-ins/dbbrowser/gimpprocbrowser.c: s/Blurb/Description/
* plug-ins/dbbrowser/gimpprocview.c: allow to select the menu path
label.
2005-04-05 Sven Neumann <sven@gimp.org>
* app/dialogs/image-properties-dialog.c: shorter dialog title.

View File

@ -122,33 +122,22 @@ gimp_proc_browser_dialog_new (gboolean scheme_names,
browser->apply_callback = apply_callback;
browser->user_data = user_data;
browser->dialog =
gimp_dialog_new (_("Procedure Browser"), "dbbrowser",
NULL, 0,
gimp_standard_help_func, "plug-in-db-browser",
_("Search by _Name"), RESPONSE_SEARCH_NAME,
_("Search by _Description"), RESPONSE_SEARCH_BLURB,
NULL);
if (apply_callback)
{
browser->dialog =
gimp_dialog_new (_("Procedure Browser"), "dbbrowser",
NULL, 0,
gimp_standard_help_func, "plug-in-db-browser",
gtk_dialog_add_button (GTK_DIALOG (browser->dialog),
GTK_STOCK_APPLY, GTK_RESPONSE_APPLY);
_("Search by _Name"), RESPONSE_SEARCH_NAME,
_("Search by _Blurb"), RESPONSE_SEARCH_BLURB,
GTK_STOCK_APPLY, GTK_RESPONSE_APPLY,
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
NULL);
}
else
{
browser->dialog =
gimp_dialog_new (_("Procedure Browser"), "dbbrowser",
NULL, 0,
gimp_standard_help_func, "plug-in-db-browser",
_("Search by _Name"), RESPONSE_SEARCH_NAME,
_("Search by _Blurb"), RESPONSE_SEARCH_BLURB,
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
NULL);
}
gtk_dialog_add_button (GTK_DIALOG (browser->dialog),
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE);
gtk_dialog_set_default_response (GTK_DIALOG (browser->dialog),
RESPONSE_SEARCH_NAME);

View File

@ -108,6 +108,7 @@ gimp_proc_view_new (const gchar *name,
if (menu_path)
{
label = gtk_label_new_with_mnemonic (menu_path);
gtk_label_set_selectable (GTK_LABEL (label), TRUE);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.0);
gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);

View File

@ -122,33 +122,22 @@ gimp_proc_browser_dialog_new (gboolean scheme_names,
browser->apply_callback = apply_callback;
browser->user_data = user_data;
browser->dialog =
gimp_dialog_new (_("Procedure Browser"), "dbbrowser",
NULL, 0,
gimp_standard_help_func, "plug-in-db-browser",
_("Search by _Name"), RESPONSE_SEARCH_NAME,
_("Search by _Description"), RESPONSE_SEARCH_BLURB,
NULL);
if (apply_callback)
{
browser->dialog =
gimp_dialog_new (_("Procedure Browser"), "dbbrowser",
NULL, 0,
gimp_standard_help_func, "plug-in-db-browser",
gtk_dialog_add_button (GTK_DIALOG (browser->dialog),
GTK_STOCK_APPLY, GTK_RESPONSE_APPLY);
_("Search by _Name"), RESPONSE_SEARCH_NAME,
_("Search by _Blurb"), RESPONSE_SEARCH_BLURB,
GTK_STOCK_APPLY, GTK_RESPONSE_APPLY,
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
NULL);
}
else
{
browser->dialog =
gimp_dialog_new (_("Procedure Browser"), "dbbrowser",
NULL, 0,
gimp_standard_help_func, "plug-in-db-browser",
_("Search by _Name"), RESPONSE_SEARCH_NAME,
_("Search by _Blurb"), RESPONSE_SEARCH_BLURB,
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
NULL);
}
gtk_dialog_add_button (GTK_DIALOG (browser->dialog),
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE);
gtk_dialog_set_default_response (GTK_DIALOG (browser->dialog),
RESPONSE_SEARCH_NAME);

View File

@ -108,6 +108,7 @@ gimp_proc_view_new (const gchar *name,
if (menu_path)
{
label = gtk_label_new_with_mnemonic (menu_path);
gtk_label_set_selectable (GTK_LABEL (label), TRUE);
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.0);
gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);