Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-window.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2009-12-19 12:34:58 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2009-12-19 12:34:58 (GMT)
commit638301e107cdf4eb8368db9beca7ec6755778c2c (patch)
tree7fb0e9c92b1bcf0c98ddf4840172b99296f6c30c /shell/ev-window.c
parentb810feea4fb926c1384bdc54966f4837c1165058 (diff)
[shell] Always show rotate icons
Fixes bgo#599398.
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r--shell/ev-window.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 7e226b4..11e3c12 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -6122,6 +6122,7 @@ ev_window_init (EvWindow *ev_window)
GtkAccelGroup *accel_group;
GError *error = NULL;
GtkWidget *sidebar_widget;
+ GtkWidget *menuitem;
EggToolbarsModel *toolbars_model;
GObject *mpkeys;
gchar *ui_path;
@@ -6216,6 +6217,12 @@ ev_window_init (EvWindow *ev_window)
gtk_box_pack_start (GTK_BOX (ev_window->priv->main_box),
ev_window->priv->menubar,
FALSE, FALSE, 0);
+ menuitem = gtk_ui_manager_get_widget (ev_window->priv->ui_manager,
+ "/MainMenu/EditMenu/EditRotateLeftMenu");
+ gtk_image_menu_item_set_always_show_image (GTK_IMAGE_MENU_ITEM (menuitem), TRUE);
+ menuitem = gtk_ui_manager_get_widget (ev_window->priv->ui_manager,
+ "/MainMenu/EditMenu/EditRotateRightMenu");
+ gtk_image_menu_item_set_always_show_image (GTK_IMAGE_MENU_ITEM (menuitem), TRUE);
toolbars_model = get_toolbars_model ();
ev_window->priv->toolbar = GTK_WIDGET