aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuman Manjunath <msuman@src.gnome.org>2008-08-18 12:22:06 +0800
committerSuman Manjunath <msuman@src.gnome.org>2008-08-18 12:22:06 +0800
commitfce40453c9aece0fcdd523fe80ff1cc573747844 (patch)
tree3710a8febb2938d65cdccd2fc497ecea70af809f
parentaf89ff7eddf0c3214be4ef23acf235d8540fd157 (diff)
downloadgsoc2013-evolution-fce40453c9aece0fcdd523fe80ff1cc573747844.tar.gz
gsoc2013-evolution-fce40453c9aece0fcdd523fe80ff1cc573747844.tar.zst
gsoc2013-evolution-fce40453c9aece0fcdd523fe80ff1cc573747844.zip
Patch from Baptiste Mille-Mathias <bmm80@free.fr>: Fixes bug #546867 (Set the 'Send' button as important to have a label).
svn path=/trunk/; revision=36008
-rw-r--r--composer/ChangeLog7
-rw-r--r--composer/e-composer-private.c7
2 files changed, 14 insertions, 0 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 56e33a762b..32c38183f4 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,10 @@
+2008-08-18 Baptiste Mille-Mathias <bmm80@free.fr>
+
+ ** Fixes bug #546867
+
+ * e-composer-private.c (e_composer_private_init): Set the 'Send' button
+ as important to have a label.
+
2008-08-01 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #428384
diff --git a/composer/e-composer-private.c b/composer/e-composer-private.c
index 4935dac5d4..30cdbfab75 100644
--- a/composer/e-composer-private.c
+++ b/composer/e-composer-private.c
@@ -87,6 +87,8 @@ e_composer_private_init (EMsgComposer *composer)
GtkWidget *widget;
GtkWidget *expander;
GtkWidget *container;
+ GtkWidget *send_widget;
+ const gchar *path;
gchar *filename;
GError *error = NULL;
@@ -120,6 +122,11 @@ e_composer_private_init (EMsgComposer *composer)
gtk_ui_manager_add_ui_from_file (manager, filename, &error);
g_free (filename);
+ /* We set the send button as important to have a label */
+ path = "/main-toolbar/pre-main-toolbar/send";
+ send_widget = gtk_ui_manager_get_widget (manager, path);
+ gtk_tool_item_set_is_important (GTK_TOOL_ITEM (send_widget), TRUE);
+
composer_setup_charset_menu (composer);
if (error != NULL) {