aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Leach <jleach@ximian.com>2001-07-20 05:41:21 +0800
committerJacob Leach <jleach@src.gnome.org>2001-07-20 05:41:21 +0800
commita8f8067a0a47d334f0e1e862c63854bd59ac56dc (patch)
treebcda4be8a2e4e75fdcb9267df64535241d40f4f1
parent85a02926e6c5b8c73dbb44fe343da80247babaf8 (diff)
downloadgsoc2013-evolution-a8f8067a0a47d334f0e1e862c63854bd59ac56dc.tar
gsoc2013-evolution-a8f8067a0a47d334f0e1e862c63854bd59ac56dc.tar.gz
gsoc2013-evolution-a8f8067a0a47d334f0e1e862c63854bd59ac56dc.tar.bz2
gsoc2013-evolution-a8f8067a0a47d334f0e1e862c63854bd59ac56dc.tar.lz
gsoc2013-evolution-a8f8067a0a47d334f0e1e862c63854bd59ac56dc.tar.xz
gsoc2013-evolution-a8f8067a0a47d334f0e1e862c63854bd59ac56dc.tar.zst
gsoc2013-evolution-a8f8067a0a47d334f0e1e862c63854bd59ac56dc.zip
Line up the padding for the folder title bar labels when you have the
2001-07-19 Jason Leach <jleach@ximian.com> * e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct): Line up the padding for the folder title bar labels when you have the folder bar enabled or disabled (previously when disabled it was padding ~8 pixels to the right while the other had 0). * e-shell-view.c (setup_widgets): Take out a 2 pixel padding around the vbox containing the title bar, folder bar, message list and mail display. Also remove 2 more extra pixels of padding on the bottom. svn path=/trunk/; revision=11238
-rw-r--r--shell/ChangeLog12
-rw-r--r--shell/e-shell-folder-title-bar.c3
-rw-r--r--shell/e-shell-view.c3
3 files changed, 15 insertions, 3 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 9166a7aef4..2eae694d46 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,15 @@
+2001-07-19 Jason Leach <jleach@ximian.com>
+
+ * e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct):
+ Line up the padding for the folder title bar labels when you have
+ the folder bar enabled or disabled (previously when disabled it
+ was padding ~8 pixels to the right while the other had 0).
+
+ * e-shell-view.c (setup_widgets): Take out a 2 pixel padding
+ around the vbox containing the title bar, folder bar, message list
+ and mail display. Also remove 2 more extra pixels of padding on
+ the bottom.
+
2001-07-16 Ettore Perazzoli <ettore@ximian.com>
* e-shortcuts.c
diff --git a/shell/e-shell-folder-title-bar.c b/shell/e-shell-folder-title-bar.c
index 514d5141ac..8219cc913c 100644
--- a/shell/e-shell-folder-title-bar.c
+++ b/shell/e-shell-folder-title-bar.c
@@ -380,6 +380,7 @@ e_shell_folder_title_bar_construct (EShellFolderTitleBar *folder_title_bar)
widget = GTK_WIDGET (folder_title_bar);
priv->label = gtk_label_new ("");
+ gtk_misc_set_padding (GTK_MISC (priv->label), 5, 0);
gtk_misc_set_alignment (GTK_MISC (priv->label), 0.0, 0.5);
priv->folder_bar_label = gtk_label_new ("");
@@ -387,7 +388,7 @@ e_shell_folder_title_bar_construct (EShellFolderTitleBar *folder_title_bar)
gtk_widget_show (priv->folder_bar_label);
priv->button_label = gtk_label_new ("");
- gtk_misc_set_padding (GTK_MISC (priv->button_label), 5, 0);
+ gtk_misc_set_padding (GTK_MISC (priv->button_label), 2, 0);
gtk_misc_set_alignment (GTK_MISC (priv->button_label), 0.0, 0.5);
gtk_widget_show (priv->button_label);
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index ba9022cb8a..9db1d6f219 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -825,7 +825,6 @@ setup_widgets (EShellView *shell_view)
/* Put things into a paned and the paned into the GnomeApp. */
priv->view_vbox = gtk_vbox_new (FALSE, 0);
- gtk_container_set_border_width (GTK_CONTAINER (priv->view_vbox), 2);
priv->view_title_bar = e_shell_folder_title_bar_new ();
gtk_signal_connect (GTK_OBJECT (priv->view_title_bar), "title_toggled",
@@ -839,7 +838,7 @@ setup_widgets (EShellView *shell_view)
gtk_box_pack_start (GTK_BOX (priv->view_vbox), priv->view_title_bar,
FALSE, FALSE, 0);
gtk_box_pack_start (GTK_BOX (priv->view_vbox), priv->view_hpaned,
- TRUE, TRUE, 2);
+ TRUE, TRUE, 0);
priv->hpaned = e_hpaned_new ();
gtk_container_add (GTK_CONTAINER (priv->shortcut_frame), priv->shortcut_bar);