gtkhtml r8876 - trunk/components/editor
- From: mbarnes svn gnome org
- To: svn-commits-list gnome org
- Subject: gtkhtml r8876 - trunk/components/editor
- Date: Sun, 22 Jun 2008 21:33:50 +0000 (UTC)
Author: mbarnes
Date: Sun Jun 22 21:33:50 2008
New Revision: 8876
URL: http://svn.gnome.org/viewvc/gtkhtml?rev=8876&view=rev
Log:
2008-06-22 Matthew Barnes <mbarnes redhat com>
* components/editor/gtkhtml-editor-actions.c:
* components/editor/gtkhtml-editor-private.c
(gtkhtml_editor_private_init):
Add tooltips for many of the toolbar items.
Modified:
trunk/components/editor/ChangeLog
trunk/components/editor/gtkhtml-editor-actions.c
trunk/components/editor/gtkhtml-editor-private.c
Modified: trunk/components/editor/gtkhtml-editor-actions.c
==============================================================================
--- trunk/components/editor/gtkhtml-editor-actions.c (original)
+++ trunk/components/editor/gtkhtml-editor-actions.c Sun Jun 22 21:33:50 2008
@@ -1322,7 +1322,7 @@
GTK_STOCK_INDENT,
N_("_Increase Indent"),
"<Control>bracketleft",
- NULL,
+ N_("Increase Indent"),
G_CALLBACK (action_indent_cb) },
{ "insert-html-file",
@@ -1525,7 +1525,7 @@
GTK_STOCK_UNINDENT,
N_("_Decrease Indent"),
"<Control>bracketright",
- NULL,
+ N_("Decrease Indent"),
G_CALLBACK (action_unindent_cb) },
{ "wrap-lines",
@@ -1607,7 +1607,7 @@
NULL,
N_("_HTML Mode"),
NULL,
- NULL,
+ N_("Toggle between HTML and plain text mode"),
G_CALLBACK (action_html_mode_cb),
TRUE },
};
@@ -1618,21 +1618,21 @@
GTK_STOCK_JUSTIFY_CENTER,
N_("_Center"),
"<Control>e",
- NULL,
+ N_("Center Alignment"),
GTK_HTML_PARAGRAPH_ALIGNMENT_CENTER },
{ "justify-left",
GTK_STOCK_JUSTIFY_LEFT,
N_("_Left"),
"<Control>l",
- NULL,
+ N_("Left Alignment"),
GTK_HTML_PARAGRAPH_ALIGNMENT_LEFT },
{ "justify-right",
GTK_STOCK_JUSTIFY_RIGHT,
N_("_Right"),
"<Control>r",
- NULL,
+ N_("Right Alignment"),
GTK_HTML_PARAGRAPH_ALIGNMENT_RIGHT }
};
@@ -1742,28 +1742,28 @@
"insert-image",
N_("_Image..."),
NULL,
- NULL,
+ N_("Insert Image"),
G_CALLBACK (action_insert_image_cb) },
{ "insert-link",
"insert-link",
N_("_Link..."),
NULL,
- NULL,
+ N_("Insert Link"),
G_CALLBACK (action_insert_link_cb) },
{ "insert-rule",
"stock_insert-rule",
N_("_Rule..."),
NULL,
- NULL,
+ N_("Insert Rule"),
G_CALLBACK (action_insert_rule_cb) },
{ "insert-table",
"stock_insert-table",
N_("_Table..."),
NULL,
- NULL,
+ N_("Insert Table"),
G_CALLBACK (action_insert_table_cb) },
{ "properties-cell",
@@ -1831,7 +1831,7 @@
GTK_STOCK_BOLD,
N_("_Bold"),
"<Control>b",
- NULL,
+ N_("Bold"),
G_CALLBACK (action_bold_cb),
FALSE },
@@ -1839,7 +1839,7 @@
GTK_STOCK_ITALIC,
N_("_Italic"),
"<Control>i",
- NULL,
+ N_("Italic"),
G_CALLBACK (action_italic_cb),
FALSE },
@@ -1847,7 +1847,7 @@
"stock_text-monospaced",
N_("_Plain Text"),
"<Control>t",
- NULL,
+ N_("Plain Text"),
G_CALLBACK (action_monospaced_cb),
FALSE },
@@ -1855,7 +1855,7 @@
GTK_STOCK_STRIKETHROUGH,
N_("_Strikethrough"),
NULL,
- NULL,
+ N_("Strikethrough"),
G_CALLBACK (action_strikethrough_cb),
FALSE },
@@ -1863,7 +1863,7 @@
GTK_STOCK_UNDERLINE,
N_("_Underline"),
"<Control>u",
- NULL,
+ N_("Underline"),
G_CALLBACK (action_underline_cb),
FALSE }
};
Modified: trunk/components/editor/gtkhtml-editor-private.c
==============================================================================
--- trunk/components/editor/gtkhtml-editor-private.c (original)
+++ trunk/components/editor/gtkhtml-editor-private.c Sun Jun 22 21:33:50 2008
@@ -245,6 +245,7 @@
GTK_RADIO_ACTION (ACTION (STYLE_NORMAL)));
gtk_combo_box_set_focus_on_click (GTK_COMBO_BOX (widget), FALSE);
gtk_container_add (GTK_CONTAINER (tool_item), widget);
+ gtk_widget_set_tooltip_text (widget, _("Paragraph Style"));
gtk_toolbar_insert (GTK_TOOLBAR (priv->edit_toolbar), tool_item, 0);
priv->style_combo_box = g_object_ref (widget);
gtk_widget_show_all (GTK_WIDGET (tool_item));
@@ -258,6 +259,7 @@
GTK_RADIO_ACTION (ACTION (SIZE_PLUS_ZERO)));
gtk_combo_box_set_focus_on_click (GTK_COMBO_BOX (widget), FALSE);
gtk_container_add (GTK_CONTAINER (tool_item), widget);
+ gtk_widget_set_tooltip_text (widget, _("Font Size"));
gtk_toolbar_insert (GTK_TOOLBAR (priv->edit_toolbar), tool_item, 0);
priv->size_combo_box = g_object_ref (widget);
gtk_widget_show_all (GTK_WIDGET (tool_item));
@@ -269,7 +271,7 @@
tool_item = gtk_tool_item_new ();
widget = gtkhtml_color_combo_new ();
gtk_container_add (GTK_CONTAINER (tool_item), widget);
- gtk_widget_set_tooltip_text (widget, _("Text Color"));
+ gtk_widget_set_tooltip_text (widget, _("Font Color"));
gtk_toolbar_insert (GTK_TOOLBAR (priv->edit_toolbar), tool_item, -1);
priv->color_combo_box = g_object_ref (widget);
gtk_widget_show_all (GTK_WIDGET (tool_item));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]