[anjal] anjal -w should run anjal in a windowed mode.
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: svn-commits-list gnome org
- Subject: [anjal] anjal -w should run anjal in a windowed mode.
- Date: Tue, 2 Jun 2009 02:16:51 -0400 (EDT)
commit e5c73a664ee74fecd1f1ed2d8ea2b7ff168ca34c
Author: Srinivasa Ragavan <sragavan novell com>
Date: Mon Jun 1 23:13:26 2009 +0530
anjal -w should run anjal in a windowed mode.
---
src/mail-shell.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/mail-shell.c b/src/mail-shell.c
index 03affc4..28a150f 100644
--- a/src/mail-shell.c
+++ b/src/mail-shell.c
@@ -56,6 +56,8 @@ char *scolor_fg_norm;
static guint mail_shell_signals[LAST_SIGNAL];
+extern gboolean windowed;
+
struct _MailShellPrivate {
GtkWidget *box;
@@ -290,7 +292,7 @@ mail_shell_construct (MailShell *shell)
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)
+ if (g_getenv("ANJAL_NO_MAX") == NULL && !windowed)
gtk_window_fullscreen ((GtkWindow *)shell);
else
gtk_window_set_default_size ((GtkWindow *)shell, 1024, 500);/* We officiall should support 800x600 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]