diff options
author | Dan Winship <danw@src.gnome.org> | 2002-08-17 06:43:40 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2002-08-17 06:43:40 +0800 |
commit | 82403d1e80ec2e25d730660e328713b46d383ef6 (patch) | |
tree | c43eca9c3d4c095f3465c5147c9bc3e63dc44e2f /shell/evolution-folder-selector-button.h | |
parent | 1cb3f6986b706aef6f508f547f70de1691e5b3bd (diff) | |
download | gsoc2013-evolution-82403d1e80ec2e25d730660e328713b46d383ef6.tar.gz gsoc2013-evolution-82403d1e80ec2e25d730660e328713b46d383ef6.tar.zst gsoc2013-evolution-82403d1e80ec2e25d730660e328713b46d383ef6.zip |
If the selected URI is of an invalid type, don't accept it.
* evolution-folder-selector-button.c
(evolution_folder_selector_button_set_uri): If the selected URI is
of an invalid type, don't accept it.
(evolution_folder_selector_button_get_folder): Returns the
selected folder.
(various): updates to support get_folder, and to simplify.
svn path=/trunk/; revision=17794
Diffstat (limited to 'shell/evolution-folder-selector-button.h')
-rw-r--r-- | shell/evolution-folder-selector-button.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/evolution-folder-selector-button.h b/shell/evolution-folder-selector-button.h index 8edf279eff..b438a54862 100644 --- a/shell/evolution-folder-selector-button.h +++ b/shell/evolution-folder-selector-button.h @@ -70,7 +70,9 @@ GtkWidget *evolution_folder_selector_button_new (EvolutionShellClient const char *initial_uri, const char *possible_types[]); -void evolution_folder_selector_button_set_uri (EvolutionFolderSelectorButton *button, const char *uri); +gboolean evolution_folder_selector_button_set_uri (EvolutionFolderSelectorButton *folder_selector_button, + const char *uri); +GNOME_Evolution_Folder *evolution_folder_selector_button_get_folder (EvolutionFolderSelectorButton *folder_selector_button); #ifdef __cplusplus } |