From: Marco Pesenti Gritti Date: Tue, 10 May 2005 12:26:57 +0000 (+0000) Subject: Make the toolbar not removable X-Git-Tag: EVINCE_0_3_1~41 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=dd069072f579528c60487d996d00d2814d33a81b;p=evince.git Make the toolbar not removable 2005-05-10 Marco Pesenti Gritti * shell/ev-window.c: (ev_window_init): Make the toolbar not removable --- 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.