diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-06-26 03:48:02 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-06-26 03:48:02 +0800 |
commit | b655dc216eaab23a6f2d2e9a278b4f5dd4fdfa3a (patch) | |
tree | c750eabb31336ca6a4b13767c06888173993c2df /mail/folder-browser-factory.c | |
parent | 628e96b122048504a5680c75afe59d1a56789419 (diff) | |
download | gsoc2013-evolution-b655dc216eaab23a6f2d2e9a278b4f5dd4fdfa3a.tar.gz gsoc2013-evolution-b655dc216eaab23a6f2d2e9a278b4f5dd4fdfa3a.tar.zst gsoc2013-evolution-b655dc216eaab23a6f2d2e9a278b4f5dd4fdfa3a.zip |
Unref the invisible window that we use for slections.
2001-06-25 Jeffrey Stedfast <fejj@ximian.com>
* folder-browser.c (folder_browser_destroy): Unref the invisible
window that we use for slections.
(folder_browser_class_init): Init the clipboard_atam type.
(selection_get): New
(selection_clear_event): New
(selection_received): New
(folder_browser_copy): New function to copy the message-list
selection.
(folder_browser_cut): New function to cut the message-list
selection.
(folder_browser_paste): New function to paste the message-list
selection.
(my_folder_browser_init): Initialize `invisible` if it's NULL else
ref it - also set some signals on it.
* folder-browser-factory.c: Added verbs for cut/copy/paste.
svn path=/trunk/; revision=10489
Diffstat (limited to 'mail/folder-browser-factory.c')
-rw-r--r-- | mail/folder-browser-factory.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c index 68e783e665..5f959cdc50 100644 --- a/mail/folder-browser-factory.c +++ b/mail/folder-browser-factory.c @@ -47,6 +47,9 @@ static EList *control_list = NULL; * Add with 'folder_browser' */ BonoboUIVerb verbs [] = { + BONOBO_UI_UNSAFE_VERB ("EditCut", folder_browser_cut), + BONOBO_UI_UNSAFE_VERB ("EditCopy", folder_browser_copy), + BONOBO_UI_UNSAFE_VERB ("EditPaste", folder_browser_paste), BONOBO_UI_UNSAFE_VERB ("EditInvertSelection", invert_selection), BONOBO_UI_UNSAFE_VERB ("EditSelectAll", select_all), /* BONOBO_UI_UNSAFE_VERB ("EditSelectThread", select_thread), */ |