From d801d2df671bea7e08711f0027fbf8f3dc873b01 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Sun, 1 Jul 2001 05:11:43 +0000 Subject: Change the internal structure for shortucts, so that it contains a type and a name too. The name will allow renaming shortcuts (thus decoupling the name of the folder the shortcuts points to from the name of the shortcut); the type member is used to cache the type of the folder we point to so that we can still display the right icon even if the folder is currently not in the storage (e.g. this happens for IMAP folders when you haven't opened the corresponding IMAP node yet). I don't like the way this is designed at all (mainly, the responsibility for saving the values should be moved elsewhere), but I'll fix it later. Also, I added an "Open in New Window" right-click menu item for shortcuts. svn path=/trunk/; revision=10649 --- shell/ChangeLog | 42 +++++++++++++++++++++++++++++++++--------- 1 file changed, 33 insertions(+), 9 deletions(-) (limited to 'shell/ChangeLog') diff --git a/shell/ChangeLog b/shell/ChangeLog index 803c0c7d39..69f46445e1 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,10 +1,28 @@ -2001-06-30 Federico Mena Quintero - - * e-storage-set-view.c (popup_folder_menu): Pass the event time to - gtk_menu_popup() so that we can release the button and have the - menu stay up. - -2001-06-29 Ettore Perazzoli +2001-07-01 Ettore Perazzoli + + * e-shell-view.c (activate_shortcut_cb): Receive an @in_new_window + arg as well. + + * e-shortcuts-view.c: Added a new "Open in New Window" right-click + menu item. Renamed "Activate" to "Open". + (class_init): Update the installation of the "activate_shortcut" + signal for the additional @in_new_window_arg. + (open_shortcut_helper): New helper function. + (open_shortcut_cb): Renamed from `open_shortcut_cb'. Changed to + use `open_shortcut_helper' + (open_shortcut_in_new_window_cb): New. + (item_selected): Pass %FALSE as the @in_new_window arg for + "activate_shortcut". + + * e-shortcuts.c (save_shortcuts): Set the "name" and "type" + properties for the nodes too. + (load_shortcuts): Change `shortcut_group_title' to be an `xmlChar + (shortcut_set): New helper function. + (shortcut_update): New helper function. + (update_shortcut_and_emit_signal): New helper function. + (e_shortcuts_update_shortcut): Use it. + +2001-07-01 Ettore Perazzoli This is a first shoot at making shortcuts renameable [#3719]; unfinished. Also, it causes the shortcut bar to stop displaying @@ -64,6 +82,12 @@ * e-shortcuts.h: New typedef EShortcutItem. +2001-06-30 Federico Mena Quintero + + * e-storage-set-view.c (popup_folder_menu): Pass the event time to + gtk_menu_popup() so that we can release the button and have the + menu stay up. + 2001-06-29 Christopher James Lahey * e-shortcuts-view-model.c (load_all_shortcuts_into_model): @@ -106,8 +130,8 @@ different incarnations involving updates to an shortcut bar having shortcuts to non-existent folders. Also, this fixes #1643, shortcuts not visible until you enable an IMAP account, and #2436, - i.e. misbehavior of shortcut groups when IMAP or invalid shortcuts - are involved.] + misbehavior of shortcut groups when IMAP or invalid shortcuts are + involved.] * e-shortcuts-view-model.c (load_group_into_model): Add the shortcuts that point to folders that don't exist yet, too. -- cgit v1.2.3