[Epiphany] minor dialog change
- From: iain <iain prettypeople org>
- To: epiphany mozdev org
- Subject: [Epiphany] minor dialog change
- Date: 07 Mar 2003 01:01:00 +0000
Hi,
the text on the toolbar editor was a bit hard to understand for the
first few times I read it, so I changed it a bit to make it easier.
May I commit?
iain
--
--- /usr/local/src/gnome2-1/epiphany/lib/widgets/ephy-editable-toolbar.c 2003-02-27 13:11:48.000000000 +0000
+++ ephy-editable-toolbar.c 2003-03-07 00:52:09.000000000 +0000
@@ -727,6 +727,7 @@ setup_editor (EphyEditableToolbar *etool
GtkWidget *label_hbox;
GtkWidget *image;
GtkWidget *label;
+ char *label_str;
g_return_if_fail (IS_EPHY_EDITABLE_TOOLBAR (etoolbar));
@@ -753,9 +754,19 @@ setup_editor (EphyEditableToolbar *etool
image = gtk_image_new_from_stock (GTK_STOCK_DIALOG_INFO, GTK_ICON_SIZE_DIALOG);
gtk_widget_show (image);
gtk_box_pack_start (GTK_BOX (label_hbox), image, FALSE, FALSE, 0);
- label = gtk_label_new (_("Drag an item onto the toolbars above to add it, "
- "from the toolbars in the items table to remove it."));
+ label_str = g_strconcat ("<span weight=\"bold\">",
+ _("To add an item:"), "</span>\n ",
+ _("Drag it from the table above to the toolbars."),
+ "\n<span weight=\"bold\">",
+ _("To remove an item:"), "</span>\n ",
+ _("Drag it from the toolbars to the table above."),
+ NULL);
+
+ label = gtk_label_new (label_str);
gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
+ gtk_label_set_use_markup (GTK_LABEL (label), TRUE);
+ g_free (label_str);
+
gtk_widget_show (label);
gtk_box_pack_start (GTK_BOX (label_hbox), label, FALSE, TRUE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]