forked from AuroraMiddleware/gtk
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
This commit is contained in:
parent
ea66300cf9
commit
454e7f3f21
@ -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"));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user