[eog/gnome-2-32] Don't show the side pane on show_all()
- From: Claudio Saavedra <csaavedra src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog/gnome-2-32] Don't show the side pane on show_all()
- Date: Thu, 9 Sep 2010 13:08:38 +0000 (UTC)
commit cd8eaa9deb19005c3ac24a50069e5b0cecd84608
Author: Claudio Saavedra <csaavedra igalia com>
Date: Thu Sep 9 16:00:49 2010 +0300
Don't show the side pane on show_all()
This was causing the gconf key to be toggled on always on eog startup,
making the side pane visible regardless of the previously set
preference.
Fixes bug #613056 - Side pane always shown at startup when plug-in is activated
src/eog-window.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/eog-window.c b/src/eog-window.c
index 6d2f7b6..82fd731 100644
--- a/src/eog-window.c
+++ b/src/eog-window.c
@@ -4483,6 +4483,10 @@ eog_window_construct_ui (EogWindow *window)
hpaned = gtk_hpaned_new ();
priv->sidebar = eog_sidebar_new ();
+ /* The sidebar shouldn't be shown automatically on show_all(),
+ but only when the user actually wants it. */
+ gtk_widget_set_no_show_all (priv->sidebar, TRUE);
+
gtk_widget_set_size_request (priv->sidebar, 210, -1);
g_signal_connect_after (priv->sidebar,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]