From dd069072f579528c60487d996d00d2814d33a81b Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Tue, 10 May 2005 12:26:57 +0000 Subject: [PATCH] Make the toolbar not removable 2005-05-10 Marco Pesenti Gritti * shell/ev-window.c: (ev_window_init): Make the toolbar not removable --- ChangeLog | 6 ++++++ shell/ev-window.c | 3 +++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 76b0a549..5e72f863 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-05-10 Marco Pesenti Gritti + + * shell/ev-window.c: (ev_window_init): + + Make the toolbar not removable + 2005-05-10 Marco Pesenti Gritti * data/evince-ui.xml: diff --git a/shell/ev-window.c b/shell/ev-window.c index 1aba5eb1..6a6e00d0 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -2723,6 +2723,9 @@ ev_window_init (EvWindow *ev_window) egg_toolbars_model_load (ev_window->priv->toolbar_model, ev_window->priv->toolbar_file); } + + egg_toolbars_model_set_flags (ev_window->priv->toolbar_model, 0, + EGG_TB_MODEL_NOT_REMOVABLE); /* This sucks, but there is no way to have a draw=no, expand=true separator * in a GtkUIManager-built toolbar. So, just add another toolbar. -- 2.43.5