From d0b0a5e772cf6de1370ee2e362e0637ec721c760 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 1 Jun 2000 04:19:07 +0000 Subject: 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 --- shell/e-shell-view.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'shell/e-shell-view.c') 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 * -- cgit v1.2.3