Commit ec4ece74 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

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.
parent d42c9720
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.
......
......@@ -122,33 +122,22 @@ gimp_proc_browser_dialog_new (gboolean scheme_names,
browser->apply_callback = apply_callback;
browser->user_data = user_data;
if (apply_callback)
{
browser->dialog =
gimp_dialog_new (_("Procedure Browser"), "dbbrowser",
NULL, 0,
gimp_standard_help_func, "plug-in-db-browser",
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_APPLY, GTK_RESPONSE_APPLY,
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
_("Search by _Name"), RESPONSE_SEARCH_NAME,
_("Search by _Description"), RESPONSE_SEARCH_BLURB,
NULL);
}
else
{
browser->dialog =
gimp_dialog_new (_("Procedure Browser"), "dbbrowser",
NULL, 0,
gimp_standard_help_func, "plug-in-db-browser",
NULL);
_("Search by _Name"), RESPONSE_SEARCH_NAME,
_("Search by _Blurb"), RESPONSE_SEARCH_BLURB,
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
if (apply_callback)
gtk_dialog_add_button (GTK_DIALOG (browser->dialog),
GTK_STOCK_APPLY, GTK_RESPONSE_APPLY);
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);
......
......@@ -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);
......
......@@ -122,33 +122,22 @@ gimp_proc_browser_dialog_new (gboolean scheme_names,
browser->apply_callback = apply_callback;
browser->user_data = user_data;
if (apply_callback)
{
browser->dialog =
gimp_dialog_new (_("Procedure Browser"), "dbbrowser",
NULL, 0,
gimp_standard_help_func, "plug-in-db-browser",
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_APPLY, GTK_RESPONSE_APPLY,
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
_("Search by _Name"), RESPONSE_SEARCH_NAME,
_("Search by _Description"), RESPONSE_SEARCH_BLURB,
NULL);
}
else
{
browser->dialog =
gimp_dialog_new (_("Procedure Browser"), "dbbrowser",
NULL, 0,
gimp_standard_help_func, "plug-in-db-browser",
NULL);
_("Search by _Name"), RESPONSE_SEARCH_NAME,
_("Search by _Blurb"), RESPONSE_SEARCH_BLURB,
GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,
if (apply_callback)
gtk_dialog_add_button (GTK_DIALOG (browser->dialog),
GTK_STOCK_APPLY, GTK_RESPONSE_APPLY);
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);
......
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment