[anjal] Fix toolbar height to 54 and tool icon sizes to 48px
- From: Srinivasa Ragavan <sragavan src gnome org>
- To: svn-commits-list gnome org
- Subject: [anjal] Fix toolbar height to 54 and tool icon sizes to 48px
- Date: Wed, 24 Jun 2009 07:27:53 +0000 (UTC)
commit 0424e38f534196c0b81dff8aa02831e0e79c5ec5
Author: Srinivasa Ragavan <sragavan novell com>
Date: Wed Jun 24 12:58:37 2009 +0530
Fix toolbar height to 54 and tool icon sizes to 48px
src/mail-decoration.c | 2 +-
src/mail-shell.c | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/mail-decoration.c b/src/mail-decoration.c
index 210f4e9..416694d 100644
--- a/src/mail-decoration.c
+++ b/src/mail-decoration.c
@@ -318,7 +318,7 @@ mail_decoration_init(MailDecoration *md)
priv->default_cursor = TRUE;
priv->resizing = FALSE;
priv->resize_width = 4;
- priv->top_height = 50;
+ priv->top_height = 54;
priv->check_window = TRUE;
priv->can_resize = TRUE;
priv->full_screen = TRUE;
diff --git a/src/mail-shell.c b/src/mail-shell.c
index e25d543..e2fb987 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_DND), 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_DIALOG), FALSE, FALSE, 0); wid = (GtkWidget *)gtk_tool_button_new (tbox, NULL); }
void
mail_shell_construct (MailShell *shell)
@@ -319,7 +319,7 @@ 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, 48);
+ 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),
@@ -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_DND);
+ tmp = gtk_image_new_from_icon_name("mail-send-receive", GTK_ICON_SIZE_DIALOG);
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]