[gtk+/places-sidebar] Use the correct icon for trash
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/places-sidebar] Use the correct icon for trash
- Date: Tue, 4 Oct 2011 22:43:40 +0000 (UTC)
commit 478a5567fbea216c036da0852604cdb893747740
Author: Federico Mena Quintero <federico gnome org>
Date: Tue Oct 4 17:34:27 2011 -0500
Use the correct icon for trash
Signed-off-by: Federico Mena Quintero <federico gnome org>
gtk/gtkplacessidebar.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index 78e581f..9d45c8f 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -141,6 +141,7 @@ enum {
#define ICON_NAME_FILESYSTEM "drive-harddisk-system"
#define ICON_NAME_EJECT "media-eject-symbolic"
#define ICON_NAME_NETWORK "network-workgroup"
+#define ICON_NAME_TRASH "user-trash"
static guint placess_sidebar_signals [LAST_SIGNAL] = { 0 };
@@ -841,7 +842,7 @@ update_places (GtkPlacesSidebar *sidebar)
&last_iter, &select_path);
mount_uri = "trash:///"; /* No need to strdup */
- icon = nautilus_trash_monitor_get_icon ();
+ icon = g_themed_icon_new (ICON_NAME_TRASH);
last_iter = add_place (sidebar, PLACES_BUILT_IN,
SECTION_COMPUTER,
_("Trash"), icon, mount_uri,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]