From 3e25d34d3b0fc6d1cb7463ebaf88cdeb9bbc8035 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Thu, 9 Nov 2000 08:52:53 +0000 Subject: Make the panes of the EPaned not shrinkable beyond their minimum size. 2000-11-09 Christopher James Lahey * e-shell-view.c: Make the panes of the EPaned not shrinkable beyond their minimum size. svn path=/trunk/; revision=6519 --- shell/ChangeLog | 5 +++++ shell/e-shell-view.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'shell') diff --git a/shell/ChangeLog b/shell/ChangeLog index 2f3124fa41..27db093018 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2000-11-09 Christopher James Lahey + + * e-shell-view.c: Make the panes of the EPaned not shrinkable + beyond their minimum size. + 2000-11-08 Matt Bissiri * e-shell-folder-selection-dialog.c: Fix typo in a comment. diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c index 36e41beb6b..0e68595fe9 100644 --- a/shell/e-shell-view.c +++ b/shell/e-shell-view.c @@ -494,8 +494,8 @@ setup_widgets (EShellView *shell_view) GTK_SIGNAL_FUNC (title_bar_toggled_cb), shell_view); priv->view_hpaned = e_hpaned_new (); - e_paned_add1 (E_PANED (priv->view_hpaned), priv->storage_set_view_box); - e_paned_add2 (E_PANED (priv->view_hpaned), priv->notebook); + e_paned_pack1 (E_PANED (priv->view_hpaned), priv->storage_set_view_box, FALSE, FALSE); + e_paned_pack2 (E_PANED (priv->view_hpaned), priv->notebook, TRUE, FALSE); e_paned_set_position (E_PANED (priv->view_hpaned), DEFAULT_TREE_WIDTH); gtk_box_pack_start (GTK_BOX (priv->view_vbox), priv->view_title_bar, @@ -504,8 +504,8 @@ setup_widgets (EShellView *shell_view) TRUE, TRUE, 2); priv->hpaned = e_hpaned_new (); - e_paned_add1 (E_PANED (priv->hpaned), priv->shortcut_bar); - e_paned_add2 (E_PANED (priv->hpaned), priv->view_vbox); + e_paned_pack1 (E_PANED (priv->hpaned), priv->shortcut_bar, FALSE, FALSE); + e_paned_pack2 (E_PANED (priv->hpaned), priv->view_vbox, TRUE, FALSE); e_paned_set_position (E_PANED (priv->hpaned), DEFAULT_SHORTCUT_BAR_WIDTH); bonobo_window_set_contents (BONOBO_WINDOW (shell_view), priv->hpaned); -- cgit v1.2.3