GtkPathBar: Use symbolic icons

This fits better with the symbolic icons we use in the places
sidebar now.
This commit is contained in:
Matthias Clasen
2014-07-23 13:39:38 -04:00
parent d26a84889b
commit d576069cec

View File

@ -1390,7 +1390,8 @@ set_button_image_get_info_cb (GCancellable *cancellable,
if (cancelled || error) if (cancelled || error)
goto out; goto out;
surface = _gtk_file_info_render_icon (info, GTK_WIDGET (data->path_bar), surface = _gtk_file_info_render_symbolic_icon (info,
GTK_WIDGET (data->path_bar),
data->path_bar->priv->icon_size); data->path_bar->priv->icon_size);
gtk_image_set_from_surface (GTK_IMAGE (data->button_data->image), surface); gtk_image_set_from_surface (GTK_IMAGE (data->button_data->image), surface);
@ -1440,7 +1441,7 @@ set_button_image (GtkPathBar *path_bar,
if (volume == NULL) if (volume == NULL)
return; return;
path_bar->priv->root_icon = _gtk_file_system_volume_render_icon (volume, path_bar->priv->root_icon = _gtk_file_system_volume_render_symbolic_icon (volume,
GTK_WIDGET (path_bar), GTK_WIDGET (path_bar),
path_bar->priv->icon_size, path_bar->priv->icon_size,
NULL); NULL);
@ -1466,7 +1467,7 @@ set_button_image (GtkPathBar *path_bar,
button_data->cancellable = button_data->cancellable =
_gtk_file_system_get_info (path_bar->priv->file_system, _gtk_file_system_get_info (path_bar->priv->file_system,
path_bar->priv->home_file, path_bar->priv->home_file,
"standard::icon", "standard::symbolic-icon",
set_button_image_get_info_cb, set_button_image_get_info_cb,
data); data);
break; break;
@ -1488,7 +1489,7 @@ set_button_image (GtkPathBar *path_bar,
button_data->cancellable = button_data->cancellable =
_gtk_file_system_get_info (path_bar->priv->file_system, _gtk_file_system_get_info (path_bar->priv->file_system,
path_bar->priv->desktop_file, path_bar->priv->desktop_file,
"standard::icon", "standard::symbolic-icon",
set_button_image_get_info_cb, set_button_image_get_info_cb,
data); data);
break; break;