summaryrefslogtreecommitdiff
path: root/libnautilus
diff options
context:
space:
mode:
authorGene Z. Ragan <gzr@eazel.com>2000-11-14 03:26:42 +0000
committerGene Ragan <gzr@src.gnome.org>2000-11-14 03:26:42 +0000
commit5b90ae9c173074849aece5d66fbd50906ba497d6 (patch)
tree7997ac4d62adc248baab1f8f1f4b2c9bd7b890ea /libnautilus
parent0ad87e310159b49d34ec84d85b5d816dd893f776 (diff)
downloadnautilus-5b90ae9c173074849aece5d66fbd50906ba497d6.tar.gz
Fixed bug 1633, History sidebar panel items all display generic bookmark
2000-11-13 Gene Z. Ragan <gzr@eazel.com> Fixed bug 1633, History sidebar panel items all display generic bookmark icon. * libnautilus/nautilus-view-component.idl: Added icon string element to History structure to hold an pifbuf converted to a XML string. * src/nautilus-window-manage-views.c: (get_history_list_callback): Get bookmark pixbuf, convert it to XML and copt the XML string into the CORBA structure that is added to the list to be returned. * components/history/nautilus-history-view.c: (install_icon): Check and see if pixbuf is non-NULL. If it is, use it. Otherwise use the generic bookmark icon. (history_view_update_icons): Reload entire list to ensure that proper icons are used. (history_load_location): Call install_icon with new pixbuf parameter.
Diffstat (limited to 'libnautilus')
-rw-r--r--libnautilus/nautilus-view-component.idl1
1 files changed, 1 insertions, 0 deletions
diff --git a/libnautilus/nautilus-view-component.idl b/libnautilus/nautilus-view-component.idl
index b3578d9bb..92574f54f 100644
--- a/libnautilus/nautilus-view-component.idl
+++ b/libnautilus/nautilus-view-component.idl
@@ -136,6 +136,7 @@ module Nautilus {
struct HistoryItem {
string title;
URI location;
+ string icon;
};
typedef sequence<HistoryItem> HistoryList;