diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2014-03-19 22:19:38 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2014-03-27 08:24:33 +0800 |
commit | 76247306741e88fdb92780989751fc42c65c231a (patch) | |
tree | 38d1a6ee1c6de3b3063f545058adb5e408759d6b /modules/mail | |
parent | c70e8e9ea2b9b4319e6b2f6f5b31bbbfbffe9c91 (diff) | |
download | gsoc2013-evolution-76247306741e88fdb92780989751fc42c65c231a.tar gsoc2013-evolution-76247306741e88fdb92780989751fc42c65c231a.tar.gz gsoc2013-evolution-76247306741e88fdb92780989751fc42c65c231a.tar.bz2 gsoc2013-evolution-76247306741e88fdb92780989751fc42c65c231a.tar.lz gsoc2013-evolution-76247306741e88fdb92780989751fc42c65c231a.tar.xz gsoc2013-evolution-76247306741e88fdb92780989751fc42c65c231a.tar.zst gsoc2013-evolution-76247306741e88fdb92780989751fc42c65c231a.zip |
EMFolderSelector: Add a "default-button-label" property.
Replaces the 'oklabel' argument when creating a new dialog, and can be
changed after the dialog is created.
This makes EMFolderSelector a little more "subclassable".
Diffstat (limited to 'modules/mail')
-rw-r--r-- | modules/mail/em-composer-prefs.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/mail/em-composer-prefs.c b/modules/mail/em-composer-prefs.c index 4d852d8f95..efc740b82e 100644 --- a/modules/mail/em-composer-prefs.c +++ b/modules/mail/em-composer-prefs.c @@ -440,9 +440,11 @@ sao_folders_add_button_clicked_cb (GtkButton *button, dialog = em_folder_selector_new ( window, em_folder_tree_model_get_default (), - _("Select Folder to Add"), _("_Add")); + _("Select Folder to Add")); selector = EM_FOLDER_SELECTOR (dialog); + em_folder_selector_set_default_button_label (selector, _("_Add")); + folder_tree = em_folder_selector_get_folder_tree (selector); em_folder_tree_set_excluded (folder_tree, EMFT_EXCLUDE_NOSELECT); |