[anjal] BUGFIX: GNOME #589287 - Fix the 1px border around toolbar
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: svn-commits-list gnome org
- Subject: [anjal] BUGFIX: GNOME #589287 - Fix the 1px border around toolbar
- Date: Wed, 22 Jul 2009 05:02:09 +0000 (UTC)
commit 0c3872f936bbd33c1bbc276bd15f0441f3a6db88
Author: Srinivasa Ragavan <sragavan novell com>
Date: Wed Jul 22 10:31:12 2009 +0530
BUGFIX: GNOME #589287 - Fix the 1px border around toolbar
src/mail-shell.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/mail-shell.c b/src/mail-shell.c
index ffb4263..069ae76 100644
--- a/src/mail-shell.c
+++ b/src/mail-shell.c
@@ -327,7 +327,6 @@ mail_shell_construct (MailShell *shell)
ms_init_style (style);
g_signal_connect ((GObject *)shell, "delete-event", G_CALLBACK (ms_delete_event), NULL);
gtk_window_set_type_hint ((GtkWindow *)shell, GDK_WINDOW_TYPE_HINT_NORMAL);
- gtk_container_set_border_width (GTK_CONTAINER (shell), 1);
if (g_getenv("ANJAL_NO_MAX") == NULL && !windowed) {
GdkScreen *scr = gtk_widget_get_screen ((GtkWidget *)shell);
window_width = gdk_screen_get_width(scr);
@@ -347,6 +346,7 @@ mail_shell_construct (MailShell *shell)
gtk_box_pack_start ((GtkBox *)priv->box, priv->top_bar, FALSE, FALSE, 0);
gtk_widget_show (priv->top_bar);
if (g_getenv("ANJAL_NO_MAX") || windowed) {
+ gtk_container_set_border_width (GTK_CONTAINER (shell), 1);
g_signal_connect (priv->top_bar, "expose-event",
G_CALLBACK (color_expose),
shell);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]