[gtk+] places view: Always use the eject icon
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] places view: Always use the eject icon
- Date: Fri, 28 Aug 2015 20:19:17 +0000 (UTC)
commit 454e7f3f210e29b4880a110a5f02aeba395605b1
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Aug 28 16:17:40 2015 -0400
places view: Always use the eject icon
Otherwise, we end up using different metaphors in the place view
and in the sidebar, and nobody is going to know what the disconnect
icon means in this context.
http://bugzilla.gnome.org/show_bug.cgi?id=754022
gtk/gtkplacesviewrow.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkplacesviewrow.c b/gtk/gtkplacesviewrow.c
index 1e81c45..8c1d1cb 100644
--- a/gtk/gtkplacesviewrow.c
+++ b/gtk/gtkplacesviewrow.c
@@ -319,9 +319,7 @@ gtk_places_view_row_set_is_network (GtkPlacesViewRow *row,
{
row->is_network = is_network;
- gtk_image_set_from_icon_name (row->eject_icon,
- is_network ? "network-offline-symbolic" : "media-eject-symbolic",
- GTK_ICON_SIZE_BUTTON);
+ gtk_image_set_from_icon_name (row->eject_icon, "media-eject-symbolic", GTK_ICON_SIZE_BUTTON);
gtk_widget_set_tooltip_text (GTK_WIDGET (row->eject_button), is_network ? _("Disconnect") :
_("Unmount"));
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]