[anjal] BUGFIX: Moblin Bugzilla #9429 - Window title should be Mail
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [anjal] BUGFIX: Moblin Bugzilla #9429 - Window title should be Mail
- Date: Tue, 9 Feb 2010 06:06:44 +0000 (UTC)
commit 5dd694081c696596a47908b796fb5c54b9595f76
Author: Srinivasa Ragavan <sragavan gnome org>
Date: Tue Feb 9 11:33:53 2010 +0530
BUGFIX: Moblin Bugzilla #9429 - Window title should be Mail
src/mail-shell.c | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/src/mail-shell.c b/src/mail-shell.c
index 60aae00..c523a88 100644
--- a/src/mail-shell.c
+++ b/src/mail-shell.c
@@ -74,6 +74,8 @@ void anjal_shell_view_set_mail_view (EShellView *view, MailView *mview);
GtkWidget * anjal_shell_content_get_search_entry (EShellContent *);
void anjal_shell_content_pack_view (EShellContent *, MailView *);
void e_shell_window_private_constructed (EShellWindow *);
+void e_shell_window_update_title (EShellWindow *shell_window);
+
static gboolean ms_check_new (void);
extern gboolean windowed;
@@ -212,6 +214,10 @@ idle_cb (EShellWindow *eshell)
shell_view = e_shell_window_get_shell_view (eshell, "anjal");
mail_view_set_shell_view (view, shell_view);
anjal_shell_view_set_mail_view (shell_view, view);
+
+ g_signal_handlers_disconnect_by_func (shell_view, e_shell_window_update_title, shell);
+ gtk_window_set_title (shell, _("Mail"));
+
//((MailSearch *)priv->search_entry)->shell = shell;
//gtk_widget_show (priv->search_entry);
priv->search_entry = anjal_shell_content_get_search_entry (e_shell_view_get_shell_content(shell_view));
@@ -262,7 +268,8 @@ ms_construct_toolbar (EShellWindow *eshell)
GtkWidget *box, *tmp, *lbl, *ar1;
priv->top_bar = gtk_toolbar_new ();
- gtk_widget_set_name (toolbar, "MoblinToolbar");
+ gtk_widget_set_name (priv->top_bar, "MoblinToolbar");
+ gtk_window_set_title ((GtkWindow *)eshell, _("Mail"));
gtk_widget_show_all (priv->top_bar);
if (g_getenv("ANJAL_NO_MAX") || windowed) {
@@ -400,6 +407,8 @@ ms_constructed (GObject *object)
} else {
mail_decoration_new ((GtkWindow *)shell);
}
+ gtk_window_set_title ((GtkWindow *)shell, _("Mail"));
+
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]