[gtk+/places-sidebar: 408/411] Add comment about missing way to get symbolic icons for bookmarks Nautilus got the ability to do tha
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/places-sidebar: 408/411] Add comment about missing way to get symbolic icons for bookmarks Nautilus got the ability to do tha
- Date: Sat, 20 Oct 2012 23:27:08 +0000 (UTC)
commit 2af5ce906e89a7051e59ef6f99f04f1cd580bf35
Author: Federico Mena Quintero <federico gnome org>
Date: Fri Oct 19 12:26:40 2012 -0500
Add comment about missing way to get symbolic icons for bookmarks
Nautilus got the ability to do that in commit 0ed400b9c1692e42498bff3c10780073ec137f63.
Maybe we should just copy that code to here later.
gtk/gtkplacessidebar.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index c8b27ef..7f1bcfa 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -971,6 +971,10 @@ update_places (GtkPlacesSidebar *sidebar)
if (bookmark_name == NULL)
bookmark_name = g_strdup (g_file_info_get_display_name (info));
+ /* FIXME: in commit 0ed400b9c1692e42498bff3c10780073ec137f63, nautilus added the ability
+ * to get a symbolic icon for bookmarks. We don't have that machinery. Should we
+ * just copy that code?
+ */
icon = g_file_info_get_icon (info);
mount_uri = g_file_get_uri (root);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]