summaryrefslogtreecommitdiff
path: root/src/nautilus-spatial-window.c
diff options
context:
space:
mode:
authorAndy Hertzfeld <andy@src.gnome.org>2000-10-17 19:22:34 +0000
committerAndy Hertzfeld <andy@src.gnome.org>2000-10-17 19:22:34 +0000
commitc7ef4182f756ee1d1f1635eb4b721257185cf631 (patch)
treeffd1954adeeb14e594e71ea19e396bdd683b525f /src/nautilus-spatial-window.c
parent57e8f99bc4c0f08b59b1aefe740a5dc0b1273b6b (diff)
downloadnautilus-c7ef4182f756ee1d1f1635eb4b721257185cf631.tar.gz
fixed bug 3411, the sidebar resizes itself when viewing the summary page,
* src/nautilus-window.c: (nautilus_window_constructed), (nautilus_window_set_content_view_widget): fixed bug 3411, the sidebar resizes itself when viewing the summary page, by setting the "shrink" boolean to true when adding the content view container to the splitter.
Diffstat (limited to 'src/nautilus-spatial-window.c')
-rw-r--r--src/nautilus-spatial-window.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/nautilus-spatial-window.c b/src/nautilus-spatial-window.c
index 36b615c94..32447dd59 100644
--- a/src/nautilus-spatial-window.c
+++ b/src/nautilus-spatial-window.c
@@ -399,10 +399,12 @@ nautilus_window_constructed (NautilusWindow *window)
if (NAUTILUS_IS_DESKTOP_WINDOW (window)) {
window->content_hbox = gtk_widget_new (NAUTILUS_TYPE_GENEROUS_BIN, NULL);
} else {
+ EPaned *panel;
set_initial_window_geometry (window);
window->content_hbox = nautilus_horizontal_splitter_new ();
-
+ panel = E_PANED (window->content_hbox);
+
/* FIXME bugzilla.eazel.com 1245: No constant for the default? */
/* FIXME bugzilla.eazel.com 1245: Saved in pixels instead of in %? */
/* FIXME bugzilla.eazel.com 1245: No reality check on the value? */
@@ -1549,7 +1551,7 @@ nautilus_window_set_content_view_widget (NautilusWindow *window,
} else {
e_paned_pack2 (E_PANED (window->content_hbox),
GTK_WIDGET (new_view),
- TRUE, FALSE);
+ TRUE, TRUE);
}
}