From 82403d1e80ec2e25d730660e328713b46d383ef6 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Fri, 16 Aug 2002 22:43:40 +0000 Subject: 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 --- shell/evolution-folder-selector-button.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'shell/evolution-folder-selector-button.h') 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 } -- cgit v1.2.3