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:
authorMarco Pesenti Gritti <mpg@redhat.com>2005-05-10 12:26:57 (GMT)
committer Marco Pesenti Gritti <marco@src.gnome.org>2005-05-10 12:26:57 (GMT)
commitdd069072f579528c60487d996d00d2814d33a81b (patch)
tree734a6c06a5c02c0635335de6b107042eab4927b0 /shell/ev-window.c
parentdfbedebc6a9968eed8932649e72e80a497dbfed5 (diff)
Make the toolbar not removable
2005-05-10 Marco Pesenti Gritti <mpg@redhat.com> * shell/ev-window.c: (ev_window_init): Make the toolbar not removable
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r--shell/ev-window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 1aba5eb..6a6e00d 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.