[gtkhtml] Change the toolbar style from ICONS to BOTH_HORIZ.
- From: Matthew Barnes <mbarnes src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtkhtml] Change the toolbar style from ICONS to BOTH_HORIZ.
- Date: Fri, 29 May 2009 18:19:32 -0400 (EDT)
commit b6c92c186131dbbd2ccbc021939cc824b4fd684f
Author: Matthew Barnes <mbarnes redhat com>
Date: Fri May 29 18:17:00 2009 -0400
Change the toolbar style from ICONS to BOTH_HORIZ.
This does not change the toolbar appearance, just allows us to flag
particular buttons as important so a label appears next to the icon.
---
components/editor/gtkhtml-editor-private.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/components/editor/gtkhtml-editor-private.c b/components/editor/gtkhtml-editor-private.c
index 9a1959c..1ca54de 100644
--- a/components/editor/gtkhtml-editor-private.c
+++ b/components/editor/gtkhtml-editor-private.c
@@ -235,13 +235,13 @@ gtkhtml_editor_private_init (GtkhtmlEditor *editor)
gtk_widget_show (widget);
widget = gtkhtml_editor_get_managed_widget (editor, "/edit-toolbar");
- gtk_toolbar_set_style (GTK_TOOLBAR (widget), GTK_TOOLBAR_ICONS);
+ gtk_toolbar_set_style (GTK_TOOLBAR (widget), GTK_TOOLBAR_BOTH_HORIZ);
gtk_box_pack_start (GTK_BOX (editor->vbox), widget, FALSE, FALSE, 0);
priv->edit_toolbar = g_object_ref (widget);
gtk_widget_show (widget);
widget = gtkhtml_editor_get_managed_widget (editor, "/html-toolbar");
- gtk_toolbar_set_style (GTK_TOOLBAR (widget), GTK_TOOLBAR_ICONS);
+ gtk_toolbar_set_style (GTK_TOOLBAR (widget), GTK_TOOLBAR_BOTH_HORIZ);
gtk_box_pack_start (GTK_BOX (editor->vbox), widget, FALSE, FALSE, 0);
priv->html_toolbar = g_object_ref (widget);
gtk_widget_show (widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]