diff options
author | 9 <NotZed@Ximian.com> | 2001-10-29 13:06:28 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-10-29 13:06:28 +0800 |
commit | fedf164cb97afe53eab3e3e4fcfb1765e89a61b5 (patch) | |
tree | ba5fe92df8f9a87e9d2f98e2c8f0a3b97af24410 /mail/folder-browser.h | |
parent | fa6339027dff8a7c5040c4b03bcf523a6fd9aa02 (diff) | |
download | gsoc2013-evolution-fedf164cb97afe53eab3e3e4fcfb1765e89a61b5.tar gsoc2013-evolution-fedf164cb97afe53eab3e3e4fcfb1765e89a61b5.tar.gz gsoc2013-evolution-fedf164cb97afe53eab3e3e4fcfb1765e89a61b5.tar.bz2 gsoc2013-evolution-fedf164cb97afe53eab3e3e4fcfb1765e89a61b5.tar.lz gsoc2013-evolution-fedf164cb97afe53eab3e3e4fcfb1765e89a61b5.tar.xz gsoc2013-evolution-fedf164cb97afe53eab3e3e4fcfb1765e89a61b5.tar.zst gsoc2013-evolution-fedf164cb97afe53eab3e3e4fcfb1765e89a61b5.zip |
Copy the folder's full_name before trying to use it to rename.
2001-10-29 <NotZed@Ximian.com>
* mail-vfolder.c (rule_changed): Copy the folder's full_name
before trying to use it to rename.
(vfolder_edit_rule): Set 'orig' to be a reference of the original
rule.
(edit_rule_clicked): Dont lookup orig by name, copy it over
instead.
* folder-browser.c (got_folder): oops, emit signal before
unreffing object, incase we got killded during getting folder.
(got_folder): Reset get_id.
(folder_browser_new): Set get_id of the get_folder task.
(folder_browser_init): Init get_id.
(folder_browser_destroy): IF we have outstanding 'get folder' op,
cancel it.
svn path=/trunk/; revision=14323
Diffstat (limited to 'mail/folder-browser.h')
-rw-r--r-- | mail/folder-browser.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/folder-browser.h b/mail/folder-browser.h index d5a494ce54..b3d0b3f7af 100644 --- a/mail/folder-browser.h +++ b/mail/folder-browser.h @@ -86,6 +86,8 @@ struct _FolderBrowser { /* for async events */ struct _MailAsyncEvent *async_event; + + int get_id; /* for getting folder op */ }; typedef struct { |