[gtk+/gtk-3-2] Make sure we only show icons in the file selector bookmarks toolbar
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-2] Make sure we only show icons in the file selector bookmarks toolbar
- Date: Wed, 2 Nov 2011 13:49:27 +0000 (UTC)
commit 7b06b813066e3a81ffbc780b5d623535bbd0d92a
Author: Alexander Larsson <alexl redhat com>
Date: Wed Nov 2 14:46:53 2011 +0100
Make sure we only show icons in the file selector bookmarks toolbar
This looked really bad in non-gnome settings where default is to
show text too.
(cherry picked from commit c002c83ec563047f9ead67b3dd762be0d2c22f8b)
gtk/gtkfilechooserdefault.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkfilechooserdefault.c b/gtk/gtkfilechooserdefault.c
index 5ea074d..e33b91e 100644
--- a/gtk/gtkfilechooserdefault.c
+++ b/gtk/gtkfilechooserdefault.c
@@ -3663,6 +3663,7 @@ shortcuts_pane_create (GtkFileChooserDefault *impl,
/* Box for buttons */
toolbar = gtk_toolbar_new ();
+ gtk_toolbar_set_style (GTK_TOOLBAR (toolbar), GTK_TOOLBAR_ICONS);
gtk_toolbar_set_icon_size (GTK_TOOLBAR (toolbar), GTK_ICON_SIZE_MENU);
context = gtk_widget_get_style_context (toolbar);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]