[anjal] BUGFIX: GNOME Bug #598637 - Disable "People" button when there's no Anerley
- From: Yan Li <yanli src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [anjal] BUGFIX: GNOME Bug #598637 - Disable "People" button when there's no Anerley
- Date: Wed, 4 Nov 2009 03:39:28 +0000 (UTC)
commit 214228a8ecef3e64958568235b59db8cc710a377
Author: Yan Li <yan i li intel com>
Date: Wed Nov 4 11:35:26 2009 +0800
BUGFIX: GNOME Bug #598637 - Disable "People" button when there's no Anerley
When built without Anerley, Anjal segfault on trying to show the "People"
button.
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 40065f6..3f10b9a 100644
--- a/src/mail-shell.c
+++ b/src/mail-shell.c
@@ -588,9 +588,9 @@ mail_shell_construct (MailShell *shell)
img = gtk_button_new_with_label(_("People"));
g_signal_connect (img, "clicked", G_CALLBACK(ms_show_people), shell);
gtk_widget_show (img);
+ gtk_box_pack_end ((GtkBox *)tmp, img, FALSE, FALSE, 0);
#endif
- gtk_box_pack_end ((GtkBox *)tmp, img, FALSE, FALSE, 0);
gtk_box_pack_start ((GtkBox *)tmp, shell->mail_component->folder_tree, TRUE, TRUE, 6);
gtk_widget_set_size_request (shell->mail_component->folder_tree, 200, 300);
mail_view_set_folder_tree ((MailView *)shell->mail_component->mail_view, shell->mail_component->folder_tree);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]