diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-02-13 09:09:56 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-02-13 09:09:56 +0800 |
commit | 926cc83a341feadd27be90c183b0346691f82363 (patch) | |
tree | 43e8c4abcb2ba943fd72a8f792393b04dda91170 /mail/mail-callbacks.c | |
parent | 55e51212a7bbb7aa80ea8778cc908db960fd24a6 (diff) | |
download | gsoc2013-evolution-926cc83a341feadd27be90c183b0346691f82363.tar.gz gsoc2013-evolution-926cc83a341feadd27be90c183b0346691f82363.tar.zst gsoc2013-evolution-926cc83a341feadd27be90c183b0346691f82363.zip |
Fixed a bug.
2002-02-12 Jeffrey Stedfast <fejj@ximian.com>
* message-tag-followup.c (set_widget_values): Fixed a bug.
* mail-callbacks.c (flag_for_followup): If only 1 message is
selected and it happens to already be marked for follow-up, set
the value of the flag on the editor so the settings are restored.
* folder-browser-ui.c: Set the pixmaps on MarkAsRead, MarkAsUnread
and MarkAsImportant bonobo verbs. Also connect to
flag-for-followup verb.
(folder_browser_ui_set_selection_state): Added MessageFollowUpFlag
verb to the array of verb strings.
* folder-browser.c: Set key accelerators on the follow-up
right-click menu items to match Outlook.
svn path=/trunk/; revision=15702
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r-- | mail/mail-callbacks.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 16676620d2..dc57cf8d68 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -1892,6 +1892,15 @@ flag_for_followup (BonoboUIComponent *uih, void *user_data, const char *path) gnome_dialog_button_connect (GNOME_DIALOG (editor), 1, tag_editor_cancel, data); gnome_dialog_set_close (GNOME_DIALOG (editor), TRUE); + /* special-case... */ + if (uids->len == 1) { + const char *tag_value; + + tag_value = camel_folder_get_message_user_tag (fb->folder, uids->pdata[0], "follow-up"); + if (tag_value) + message_tag_editor_set_value (MESSAGE_TAG_EDITOR (editor), tag_value); + } + gtk_signal_connect (GTK_OBJECT (editor), "destroy", tag_editor_destroy, data); |