aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-11-09 16:52:53 +0800
committerChris Lahey <clahey@src.gnome.org>2000-11-09 16:52:53 +0800
commit3e25d34d3b0fc6d1cb7463ebaf88cdeb9bbc8035 (patch)
tree2c2c927f74265f8bae674b6ac83cdd36fefb7084
parent8cda86512ba503a030204855fade1415ac06a614 (diff)
downloadgsoc2013-evolution-3e25d34d3b0fc6d1cb7463ebaf88cdeb9bbc8035.tar
gsoc2013-evolution-3e25d34d3b0fc6d1cb7463ebaf88cdeb9bbc8035.tar.gz
gsoc2013-evolution-3e25d34d3b0fc6d1cb7463ebaf88cdeb9bbc8035.tar.bz2
gsoc2013-evolution-3e25d34d3b0fc6d1cb7463ebaf88cdeb9bbc8035.tar.lz
gsoc2013-evolution-3e25d34d3b0fc6d1cb7463ebaf88cdeb9bbc8035.tar.xz
gsoc2013-evolution-3e25d34d3b0fc6d1cb7463ebaf88cdeb9bbc8035.tar.zst
gsoc2013-evolution-3e25d34d3b0fc6d1cb7463ebaf88cdeb9bbc8035.zip
Make the panes of the EPaned not shrinkable beyond their minimum size.
2000-11-09 Christopher James Lahey <clahey@helixcode.com> * e-shell-view.c: Make the panes of the EPaned not shrinkable beyond their minimum size. svn path=/trunk/; revision=6519
-rw-r--r--shell/ChangeLog5
-rw-r--r--shell/e-shell-view.c8
2 files changed, 9 insertions, 4 deletions
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 <clahey@helixcode.com>
+
+ * e-shell-view.c: Make the panes of the EPaned not shrinkable
+ beyond their minimum size.
+
2000-11-08 Matt Bissiri <bissiri@eecs.umich.edu>
* 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);