aboutsummaryrefslogtreecommitdiffstats
path: root/shell
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
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')
-rw-r--r--shell/ChangeLog11
-rw-r--r--shell/e-shell-view.c6
-rw-r--r--shell/e-storage-set-view.c1
3 files changed, 16 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 2be202631e..7795d891ea 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,5 +1,16 @@
2000-06-01 Ettore Perazzoli <ettore@helixcode.com>
+ * e-shell-view.c (DEFAULT_TREE_WIDTH): Made the tree 150 pixel
+ wide [instead of 100].
+ (setup_widgets): Use `DEFAULT_TREE_WIDTH' instead of
+ `DEFAULT_SHORTCUT_BAR_WIDTH' where appropriate.
+ (e_shell_view_construct): Hide the folder bar by default.
+
+ * e-storage-set-view.c (e_storage_set_view_construct): Set
+ auto-resize mode for column one.
+
+2000-06-01 Ettore Perazzoli <ettore@helixcode.com>
+
* e-shell-view-menu.c (e_shell_view_menu_setup): Set the
statusbar.
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 *
diff --git a/shell/e-storage-set-view.c b/shell/e-storage-set-view.c
index 3b0aabe044..fc54c35c36 100644
--- a/shell/e-storage-set-view.c
+++ b/shell/e-storage-set-view.c
@@ -765,6 +765,7 @@ e_storage_set_view_construct (EStorageSetView *storage_set_view,
gtk_ctree_set_expander_style (ctree, GTK_CTREE_EXPANDER_SQUARE);
gtk_clist_set_selection_mode (GTK_CLIST (ctree), GTK_SELECTION_BROWSE);
gtk_clist_set_row_height (GTK_CLIST (ctree), E_SHELL_MINI_ICON_SIZE);
+ gtk_clist_set_column_auto_resize (GTK_CLIST (ctree), 0, TRUE);
priv = storage_set_view->priv;