[anjal] BUGFIX: Moblin Bugzilla #4566 - Window is resizable
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: svn-commits-list gnome org
- Subject: [anjal] BUGFIX: Moblin Bugzilla #4566 - Window is resizable
- Date: Tue, 21 Jul 2009 05:14:28 +0000 (UTC)
commit b3981ad5236a4b748741100d0e6d6773d46cafed
Author: Srinivasa Ragavan <sragavan novell com>
Date: Tue Jul 21 10:43:09 2009 +0530
BUGFIX: Moblin Bugzilla #4566 - Window is resizable
src/mail-shell.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/mail-shell.c b/src/mail-shell.c
index e9fb12f..92ab3a6 100644
--- a/src/mail-shell.c
+++ b/src/mail-shell.c
@@ -324,7 +324,6 @@ mail_shell_construct (MailShell *shell)
GtkStyle *style = gtk_widget_get_default_style ();
int window_width = 1024;
- mail_decoration_new ((GtkWindow *)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);
@@ -333,9 +332,11 @@ mail_shell_construct (MailShell *shell)
GdkScreen *scr = gtk_widget_get_screen ((GtkWidget *)shell);
window_width = gdk_screen_get_width(scr);
gtk_window_set_default_size ((GtkWindow *)shell, gdk_screen_get_width(scr), gdk_screen_get_height (scr));
- } else
+ gtk_window_set_decorated ((GtkWindow *)shell, FALSE);
+ } else {
+ mail_decoration_new ((GtkWindow *)shell);
gtk_window_set_default_size ((GtkWindow *)shell, 1024, 500);/* We officiall should support 800x600 */
-
+ }
priv->box = (GtkWidget *) gtk_vbox_new (FALSE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]