diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-08-28 16:17:40 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-08-28 16:17:40 -0400 |
commit | 454e7f3f210e29b4880a110a5f02aeba395605b1 (patch) | |
tree | 329c1d8d2685779a13934c023f0def9d6458e74c /gtk/gtkplacesviewrow.c | |
parent | ea66300cf94f01aa0983579b49447fc15b340f83 (diff) | |
download | gtk+-454e7f3f210e29b4880a110a5f02aeba395605b1.tar.gz |
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
Diffstat (limited to 'gtk/gtkplacesviewrow.c')
-rw-r--r-- | gtk/gtkplacesviewrow.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gtk/gtkplacesviewrow.c b/gtk/gtkplacesviewrow.c index 1e81c45dd7..8c1d1cb127 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")); } } |