summaryrefslogtreecommitdiff
path: root/gtk/gtkpathbar.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-07-23 13:39:38 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-07-23 13:41:57 -0400
commitd576069cecbc7de2dbb53c9a218f3125bef27ed7 (patch)
tree1937b9b09903fb5fedadbc8fdbddc82c8fbbb65e /gtk/gtkpathbar.c
parentd26a84889b54ec9654c023304d8151cc03d79ed3 (diff)
downloadgtk+-d576069cecbc7de2dbb53c9a218f3125bef27ed7.tar.gz
GtkPathBar: Use symbolic icons
This fits better with the symbolic icons we use in the places sidebar now.
Diffstat (limited to 'gtk/gtkpathbar.c')
-rw-r--r--gtk/gtkpathbar.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/gtk/gtkpathbar.c b/gtk/gtkpathbar.c
index 208a810ae4..aa95a32147 100644
--- a/gtk/gtkpathbar.c
+++ b/gtk/gtkpathbar.c
@@ -1390,8 +1390,9 @@ set_button_image_get_info_cb (GCancellable *cancellable,
if (cancelled || error)
goto out;
- surface = _gtk_file_info_render_icon (info, GTK_WIDGET (data->path_bar),
- data->path_bar->priv->icon_size);
+ surface = _gtk_file_info_render_symbolic_icon (info,
+ GTK_WIDGET (data->path_bar),
+ data->path_bar->priv->icon_size);
gtk_image_set_from_surface (GTK_IMAGE (data->button_data->image), surface);
switch (data->button_data->type)
@@ -1440,10 +1441,10 @@ set_button_image (GtkPathBar *path_bar,
if (volume == NULL)
return;
- path_bar->priv->root_icon = _gtk_file_system_volume_render_icon (volume,
- GTK_WIDGET (path_bar),
- path_bar->priv->icon_size,
- NULL);
+ path_bar->priv->root_icon = _gtk_file_system_volume_render_symbolic_icon (volume,
+ GTK_WIDGET (path_bar),
+ path_bar->priv->icon_size,
+ NULL);
_gtk_file_system_volume_unref (volume);
gtk_image_set_from_surface (GTK_IMAGE (button_data->image), path_bar->priv->root_icon);
@@ -1466,7 +1467,7 @@ set_button_image (GtkPathBar *path_bar,
button_data->cancellable =
_gtk_file_system_get_info (path_bar->priv->file_system,
path_bar->priv->home_file,
- "standard::icon",
+ "standard::symbolic-icon",
set_button_image_get_info_cb,
data);
break;
@@ -1488,7 +1489,7 @@ set_button_image (GtkPathBar *path_bar,
button_data->cancellable =
_gtk_file_system_get_info (path_bar->priv->file_system,
path_bar->priv->desktop_file,
- "standard::icon",
+ "standard::symbolic-icon",
set_button_image_get_info_cb,
data);
break;