aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-selector.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2014-03-18 04:39:05 +0800
committerMatthew Barnes <mbarnes@redhat.com>2014-03-27 08:24:33 +0800
commit5747a285f7d2c857e7e8faec71c6e8a8e0ac6abf (patch)
treeaaa4a5583d5003ebc6a342191fb0995b44c6c1a7 /mail/em-folder-selector.h
parent1b1c33e4b634f89037af6a077212fec3c42b1a0e (diff)
downloadgsoc2013-evolution-5747a285f7d2c857e7e8faec71c6e8a8e0ac6abf.tar
gsoc2013-evolution-5747a285f7d2c857e7e8faec71c6e8a8e0ac6abf.tar.gz
gsoc2013-evolution-5747a285f7d2c857e7e8faec71c6e8a8e0ac6abf.tar.bz2
gsoc2013-evolution-5747a285f7d2c857e7e8faec71c6e8a8e0ac6abf.tar.lz
gsoc2013-evolution-5747a285f7d2c857e7e8faec71c6e8a8e0ac6abf.tar.xz
gsoc2013-evolution-5747a285f7d2c857e7e8faec71c6e8a8e0ac6abf.tar.zst
gsoc2013-evolution-5747a285f7d2c857e7e8faec71c6e8a8e0ac6abf.zip
EMFolderSelector: Add a "can-create" property.
Replaces the EM_FOLDER_SELECTOR_CAN_CREATE flag, and can also be set after the selector dialog is instantiated. This makes EMFolderSelector a little more "subclassable".
Diffstat (limited to 'mail/em-folder-selector.h')
-rw-r--r--mail/em-folder-selector.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/mail/em-folder-selector.h b/mail/em-folder-selector.h
index 46ece3cee6..57351b6553 100644
--- a/mail/em-folder-selector.h
+++ b/mail/em-folder-selector.h
@@ -60,22 +60,21 @@ struct _EMFolderSelectorClass {
GtkDialogClass parent_class;
};
-enum {
- EM_FOLDER_SELECTOR_CAN_CREATE = 1
-};
-
GType em_folder_selector_get_type (void);
GtkWidget * em_folder_selector_new (GtkWindow *parent,
EMFolderTreeModel *model,
- guint32 flags,
const gchar *title,
const gchar *text,
const gchar *oklabel);
GtkWidget * em_folder_selector_create_new (GtkWindow *parent,
EMFolderTreeModel *model,
- guint32 flags,
const gchar *title,
const gchar *text);
+gboolean em_folder_selector_get_can_create
+ (EMFolderSelector *selector);
+void em_folder_selector_set_can_create
+ (EMFolderSelector *selector,
+ gboolean can_create);
EMFolderTreeModel *
em_folder_selector_get_model (EMFolderSelector *selector);
EMFolderTree * em_folder_selector_get_folder_tree