diff options
author | Not Zed <NotZed@Ximian.com> | 2004-06-11 16:30:16 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-06-11 16:30:16 +0800 |
commit | 6093cf098260b390980b2a8da34477d1874e5b9c (patch) | |
tree | 7b691675b15d9ab82158912f97b2912353962637 /mail/em-folder-selector.c | |
parent | ad811c27003b8e8ea0dbdba3cef61823a2497f26 (diff) | |
download | gsoc2013-evolution-6093cf098260b390980b2a8da34477d1874e5b9c.tar.gz gsoc2013-evolution-6093cf098260b390980b2a8da34477d1874e5b9c.tar.zst gsoc2013-evolution-6093cf098260b390980b2a8da34477d1874e5b9c.zip |
handle a null path or fragment.
2004-06-11 Not Zed <NotZed@Ximian.com>
* em-utils.c (em_uri_from_camel): handle a null path or fragment.
* em-folder-tree-model.c (em_folder_tree_model_add_store): set the
full name of the store to "". Fixes #59925 and probably other
issues. Related to the removal of folderinfo->path.
svn path=/trunk/; revision=26305
Diffstat (limited to 'mail/em-folder-selector.c')
-rw-r--r-- | mail/em-folder-selector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-folder-selector.c b/mail/em-folder-selector.c index 3ec8c4824c..f31e06c78c 100644 --- a/mail/em-folder-selector.c +++ b/mail/em-folder-selector.c @@ -196,7 +196,7 @@ emfs_create_name_changed (GtkEntry *entry, EMFolderSelector *emfs) text = gtk_entry_get_text (emfs->name_entry); path = em_folder_tree_get_selected_path (emfs->emft); - + active = text && path && !strchr (text, '/'); gtk_dialog_set_response_sensitive ((GtkDialog *) emfs, GTK_RESPONSE_OK, active); |