[anjal] Make it maximize.
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: svn-commits-list gnome org
- Subject: [anjal] Make it maximize.
- Date: Fri, 15 May 2009 13:56:32 -0400 (EDT)
commit 77daf265d2cb2c9bd05d5d983178b6dab399d9c3
Author: Srinivasa Ragavan <sragavan novell com>
Date: Fri May 15 23:29:12 2009 +0530
Make it maximize.
---
src/mail-shell.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/mail-shell.c b/src/mail-shell.c
index 48e6615..dcc1045 100644
--- a/src/mail-shell.c
+++ b/src/mail-shell.c
@@ -284,6 +284,8 @@ mail_shell_construct (MailShell *shell)
gtk_window_set_default_size ((GtkWindow *)shell, 1024, 600); /* We officiall should support 800x600 */
gtk_container_set_border_width (GTK_CONTAINER (shell), 6);
gtk_window_set_decorated ((GtkWindow *)shell, FALSE);
+ if (g_getenv("ANJAL_NO_MAX") == NULL)
+ gtk_window_maximize (shell);
priv->box = (GtkWidget *) gtk_vbox_new (FALSE, 3);
gtk_widget_show ((GtkWidget *)priv->box);
@@ -328,6 +330,7 @@ mail_shell_construct (MailShell *shell)
gtk_box_pack_start ((GtkBox *)priv->top_bar, priv->search_bar, TRUE, TRUE, 0);
gtk_widget_show (priv->search_bar);
priv->search_entry = mail_search_new ();
+ ((MailSearch *)priv->search_entry)->shell = shell;
gtk_widget_show (priv->search_entry);
gtk_box_pack_start ((GtkBox *)priv->search_bar, priv->search_entry, TRUE, TRUE, 24);
@@ -366,6 +369,7 @@ mail_shell_construct (MailShell *shell)
priv->side_pane = gtk_hpaned_new ();
tmp = gtk_vpaned_new ();
mail_view_set_folder_tree_widget (shell->mail_component->mail_view, tmp);
+ ((MailSearch *)priv->search_entry)->view = shell->mail_component->mail_view;
shell->priv->folder_pane = tmp;
// gtk_box_pack_start (priv->side_pane, tmp, FALSE, FALSE, 0);
gtk_paned_add1 (priv->side_pane, tmp);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]