Show arrow in the shell menu.
authorJose Dapena Paz <jdapena@igalia.com>
Tue, 1 Dec 2009 17:12:21 +0000 (18:12 +0100)
committerJose Dapena Paz <jdapena@igalia.com>
Tue, 1 Dec 2009 18:02:57 +0000 (19:02 +0100)
src/gtk/modest-shell.c

index 763b76a..5c69e1e 100644 (file)
@@ -111,6 +111,7 @@ modest_shell_instance_init (ModestShell *obj)
 {
        ModestShellPrivate *priv;
        GtkWidget *title_vbox;
+       GtkWidget *title_arrow;
        GtkWidget *new_message_icon;
        GtkToolItem *separator_toolitem;
        GtkWidget *top_hbox;
@@ -167,6 +168,9 @@ modest_shell_instance_init (ModestShell *obj)
 
        priv->title_button = gtk_tool_button_new (NULL, NULL);
        gtk_widget_show (GTK_WIDGET (priv->title_button));
+       title_arrow = gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_NONE);
+       gtk_widget_show (title_arrow);
+       gtk_tool_button_set_icon_widget (GTK_TOOL_BUTTON (priv->title_button), title_arrow);
        gtk_tool_button_set_label_widget (GTK_TOOL_BUTTON (priv->title_button), title_vbox);
        gtk_toolbar_insert (GTK_TOOLBAR (priv->top_toolbar), priv->title_button, -1);
        gtk_container_child_set (GTK_CONTAINER (priv->top_toolbar), GTK_WIDGET (priv->title_button), "expand", TRUE, NULL);