[anjal] Update icon size/toolbar to 24x24 after discussion with Hylke Bons.
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: svn-commits-list gnome org
- Subject: [anjal] Update icon size/toolbar to 24x24 after discussion with Hylke Bons.
- Date: Tue, 14 Jul 2009 17:34:29 +0000 (UTC)
commit c2701b81eab3c761c0ff1bf7a94113a47c336136
Author: Srinivasa Ragavan <sragavan novell com>
Date: Tue Jul 14 23:02:51 2009 +0530
Update icon size/toolbar to 24x24 after discussion with Hylke Bons.
src/mail-shell.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/mail-shell.c b/src/mail-shell.c
index e2fb987..c5a2042 100644
--- a/src/mail-shell.c
+++ b/src/mail-shell.c
@@ -288,7 +288,7 @@ ms_show_post_druid (MailViewChild *mfv, MailShell *shell)
mail_view_add_page ((MailView *)shell->mail_component->mail_view, MAIL_VIEW_SETTINGS, NULL);
}
-#define PACK_IN_TOOL(wid,icon) { GtkWidget *tbox; tbox = gtk_hbox_new (FALSE, 0); gtk_box_pack_start ((GtkBox *)tbox, gtk_image_new_from_icon_name(icon, GTK_ICON_SIZE_DIALOG), FALSE, FALSE, 0); wid = (GtkWidget *)gtk_tool_button_new (tbox, NULL); }
+#define PACK_IN_TOOL(wid,icon) { GtkWidget *tbox; tbox = gtk_hbox_new (FALSE, 0); gtk_box_pack_start ((GtkBox *)tbox, gtk_image_new_from_icon_name(icon, GTK_ICON_SIZE_BUTTON), FALSE, FALSE, 0); wid = (GtkWidget *)gtk_tool_button_new (tbox, NULL); }
void
mail_shell_construct (MailShell *shell)
@@ -319,11 +319,11 @@ mail_shell_construct (MailShell *shell)
priv->top_bar = gtk_toolbar_new ();
gtk_box_pack_start ((GtkBox *)priv->box, priv->top_bar, FALSE, FALSE, 0);
gtk_widget_show (priv->top_bar);
- gtk_widget_set_size_request (priv->top_bar, -1, 54);
if (g_getenv("ANJAL_NO_MAX") || windowed) {
g_signal_connect (priv->top_bar, "expose-event",
G_CALLBACK (color_expose),
shell);
+ gtk_widget_set_size_request (priv->top_bar, -1, 42);
}
/* New mail tool button */
@@ -338,7 +338,7 @@ mail_shell_construct (MailShell *shell)
gtk_widget_hide(tmp);
g_object_set_data ((GObject *)priv->check_mail, "spinner", tmp);
gtk_box_pack_start ((GtkBox *)box, tmp, FALSE, FALSE, 0);
- tmp = gtk_image_new_from_icon_name("mail-send-receive", GTK_ICON_SIZE_DIALOG);
+ tmp = gtk_image_new_from_icon_name("mail-send-receive", GTK_ICON_SIZE_BUTTON);
gtk_widget_show(tmp);
g_object_set_data ((GObject *)priv->check_mail, "icon", tmp);
gtk_box_pack_start ((GtkBox *)box, tmp, FALSE, FALSE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]