diff options
author | Milan Crha <mcrha@redhat.com> | 2007-10-11 23:18:24 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2007-10-11 23:18:24 +0800 |
commit | e8a9d068a1fa69fdca9a8b7b2ea1296df3b678be (patch) | |
tree | 8fcbb5c37cb57507306b70a949bce0bb8063b516 | |
parent | e20645bcc7d05e0cd251e7f422f9ac185cd003d3 (diff) | |
download | gsoc2013-evolution-e8a9d068a1fa69fdca9a8b7b2ea1296df3b678be.tar.gz gsoc2013-evolution-e8a9d068a1fa69fdca9a8b7b2ea1296df3b678be.tar.zst gsoc2013-evolution-e8a9d068a1fa69fdca9a8b7b2ea1296df3b678be.zip |
** Fix for bug #323977
2007-10-11 Milan Crha <mcrha@redhat.com>
** Fix for bug #323977
* filter/filter-rule.c: (get_widget):
Use "Add Filter Criteria" instead of plain "Add" for button label.
* mail/em-filter-rule.c: (get_widget):
Use "Add Action" instead of plain "Add" for button label.
svn path=/trunk/; revision=34376
-rw-r--r-- | filter/ChangeLog | 7 | ||||
-rw-r--r-- | filter/filter-rule.c | 3 | ||||
-rw-r--r-- | mail/ChangeLog | 7 | ||||
-rw-r--r-- | mail/em-filter-rule.c | 3 |
4 files changed, 18 insertions, 2 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog index 1b1104993b..d8be3f50bc 100644 --- a/filter/ChangeLog +++ b/filter/ChangeLog @@ -1,3 +1,10 @@ +2007-10-11 Milan Crha <mcrha@redhat.com> + + ** Fix for bug #323977 + + * filter-rule.c: (get_widget): + Use "Add Filter Criteria" instead of plain "Add" for button label. + 2007-10-09 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #437579 diff --git a/filter/filter-rule.c b/filter/filter-rule.c index bceabcb17a..57f64e003a 100644 --- a/filter/filter-rule.c +++ b/filter/filter-rule.c @@ -859,7 +859,8 @@ get_widget (FilterRule *fr, struct _RuleContext *f) hbox = gtk_hbox_new (FALSE, 3); - add = gtk_button_new_from_stock (GTK_STOCK_ADD); + add = gtk_button_new_with_mnemonic (_("A_dd Filter Criteria")); + gtk_button_set_image (GTK_BUTTON (add), gtk_image_new_from_stock (GTK_STOCK_ADD, GTK_ICON_SIZE_BUTTON)); g_signal_connect (add, "clicked", G_CALLBACK (more_parts), data); gtk_box_pack_start (GTK_BOX (hbox), add, FALSE, FALSE, 0); diff --git a/mail/ChangeLog b/mail/ChangeLog index bf51ec4540..1ab7d36198 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,12 @@ 2007-10-11 Milan Crha <mcrha@redhat.com> + ** Fix for bug #323977 + + * em-filter-rule.c: (get_widget): + Use "Add Action" instead of plain "Add" for button label. + +2007-10-11 Milan Crha <mcrha@redhat.com> + ** Fix for bug #329823 * mail-component.h: (mail_indicate_new_mail): diff --git a/mail/em-filter-rule.c b/mail/em-filter-rule.c index 5c74cc8cf5..335f402cc9 100644 --- a/mail/em-filter-rule.c +++ b/mail/em-filter-rule.c @@ -513,7 +513,8 @@ get_widget(FilterRule *fr, RuleContext *rc) hbox = gtk_hbox_new(FALSE, 3); - add = gtk_button_new_from_stock(GTK_STOCK_ADD); + add = gtk_button_new_with_mnemonic (_("Add Ac_tion")); + gtk_button_set_image (GTK_BUTTON (add), gtk_image_new_from_stock (GTK_STOCK_ADD, GTK_ICON_SIZE_BUTTON)); /* gtk_button_set_relief(GTK_BUTTON(add), GTK_RELIEF_NONE); */ g_signal_connect(add, "clicked", G_CALLBACK(more_parts), data); gtk_box_pack_start(GTK_BOX(hbox), add, FALSE, FALSE, 0); |