From 6bf0ba97e25261e2efc5c685c08cf52a75816d3b Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Mon, 20 Aug 2001 01:22:09 +0000 Subject: Use xmlMemStrdup() to override the type as it's expected to be allocated * e-shortcuts.c (load_shortcuts): Use xmlMemStrdup() to override the type as it's expected to be allocated by libxml later on. Also, get the icon for the storage if the shortcut points to a storage. * e-storage-set-view.c (etree_icon_at): Don't special case the Summary storage. Rather, use `e_storage_get_toplevel_node_type()' for getting the type of the node. * e-shortcuts-view-model.c (get_icon_for_item): New helper function. (shortcuts_update_shortcut_cb): Use it. (shortcuts_new_shortcut_cb): Use it. (load_group_into_model): Use it. svn path=/trunk/; revision=12232 --- shell/ChangeLog | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'shell/ChangeLog') diff --git a/shell/ChangeLog b/shell/ChangeLog index 908e628587..11ae22875f 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,20 @@ +2001-08-19 Ettore Perazzoli + + * e-shortcuts.c (load_shortcuts): Use xmlMemStrdup() to override + the type as it's expected to be allocated by libxml later on. + Also, get the icon for the storage if the shortcut points to a + storage. + + * e-storage-set-view.c (etree_icon_at): Don't special case the + Summary storage. Rather, use `e_storage_get_toplevel_node_type()' + for getting the type of the node. + + * e-shortcuts-view-model.c (get_icon_for_item): New helper + function. + (shortcuts_update_shortcut_cb): Use it. + (shortcuts_new_shortcut_cb): Use it. + (load_group_into_model): Use it. + 2001-08-18 Ettore Perazzoli * e-shell-view.c: New constant `MIN_POPUP_TREE_WIDTH'. -- cgit v1.2.3