aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view.c
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-06-01 12:19:07 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-06-01 12:19:07 +0800
commitd0b0a5e772cf6de1370ee2e362e0637ec721c760 (patch)
treed8d0af6eef1191e59dee82b9e7566f488671f95b /shell/e-shell-view.c
parent185727ca81eefeb6e8511625ac0f1b197e115412 (diff)
downloadgsoc2013-evolution-d0b0a5e772cf6de1370ee2e362e0637ec721c760.tar.gz
gsoc2013-evolution-d0b0a5e772cf6de1370ee2e362e0637ec721c760.tar.zst
gsoc2013-evolution-d0b0a5e772cf6de1370ee2e362e0637ec721c760.zip
Make the tree view slightly larger and hidden by default. Also, set
auto-resize mode for it so that its horizontal scrollbar does not behave in a weird way. svn path=/trunk/; revision=3324
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r--shell/e-shell-view.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index a003f10c8f..cfd5c2d4e7 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -96,7 +96,7 @@ enum {
static guint signals[LAST_SIGNAL] = { 0 };
#define DEFAULT_SHORTCUT_BAR_WIDTH 100
-#define DEFAULT_TREE_WIDTH 100
+#define DEFAULT_TREE_WIDTH 130
#define DEFAULT_WIDTH 600
#define DEFAULT_HEIGHT 600
@@ -262,7 +262,7 @@ setup_widgets (EShellView *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_set_position (E_PANED (priv->view_hpaned), DEFAULT_SHORTCUT_BAR_WIDTH);
+ 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,
FALSE, FALSE, 0);
@@ -436,6 +436,8 @@ e_shell_view_construct (EShellView *shell_view,
setup_bonobo_ui_handler (shell_view);
e_shell_view_menu_setup (shell_view);
+
+ e_shell_view_set_folder_bar_mode (shell_view, E_SHELL_VIEW_SUBWINDOW_HIDDEN);
}
GtkWidget *