Commit 89ca6e57 authored by Paolo Bacchilega's avatar Paolo Bacchilega
Browse files

always use the symbolic icon for catalogs

parent fae01005
......@@ -925,9 +925,9 @@ gth_catalog_get_icon (GFile *file)
uri = g_file_get_uri (file);
if (g_str_has_suffix (uri, ".catalog"))
icon = g_themed_icon_new ("file-catalog");
icon = g_themed_icon_new ("file-catalog-symbolic");
else
icon = g_themed_icon_new ("file-library");
icon = g_themed_icon_new ("file-library-symbolic");
g_free (uri);
......
......@@ -795,7 +795,7 @@ gth_organize_task_init (GthOrganizeTask *self)
gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (self->priv->results_liststore), KEY_COLUMN, GTK_SORT_ASCENDING);
g_object_set (GET_WIDGET ("catalog_name_cellrenderertext"), "editable", TRUE, NULL);
icon = g_themed_icon_new ("file-catalog");
icon = g_themed_icon_new ("file-catalog-symbolic");
self->priv->icon_pixbuf = _g_icon_get_pixbuf (icon,
_gtk_widget_lookup_for_size (GET_WIDGET ("organization_treeview"), GTK_ICON_SIZE_MENU),
_gtk_widget_get_icon_theme (GET_WIDGET ("organization_treeview")));
......
......@@ -298,7 +298,7 @@ update_album_list (DialogData *data,
gtk_list_store_append (GTK_LIST_STORE (GET_WIDGET ("album_liststore")), &iter);
gtk_list_store_set (GTK_LIST_STORE (GET_WIDGET ("album_liststore")), &iter,
ALBUM_DATA_COLUMN, album,
ALBUM_ICON_COLUMN, "file-catalog",
ALBUM_ICON_COLUMN, "file-catalog-symbolic",
ALBUM_TITLE_COLUMN, album->name,
ALBUM_SIZE_COLUMN, size,
-1);
......
......@@ -240,7 +240,7 @@ get_albums_ready_cb (GObject *source_object,
gtk_list_store_append (GTK_LIST_STORE (GET_WIDGET ("album_liststore")), &iter);
gtk_list_store_set (GTK_LIST_STORE (GET_WIDGET ("album_liststore")), &iter,
ALBUM_DATA_COLUMN, album,
ALBUM_ICON_COLUMN, "file-catalog",
ALBUM_ICON_COLUMN, "file-catalog-symbolic",
ALBUM_NAME_COLUMN, album->name,
ALBUM_SIZE_COLUMN, n_photos,
-1);
......
......@@ -424,7 +424,7 @@ photoset_list_ready_cb (GObject *source_object,
gtk_list_store_append (GTK_LIST_STORE (GET_WIDGET ("photoset_liststore")), &iter);
gtk_list_store_set (GTK_LIST_STORE (GET_WIDGET ("photoset_liststore")), &iter,
PHOTOSET_DATA_COLUMN, photoset,
PHOTOSET_ICON_COLUMN, "file-catalog",
PHOTOSET_ICON_COLUMN, "file-catalog-symbolic",
PHOTOSET_TITLE_COLUMN, photoset->title,
PHOTOSET_N_PHOTOS_COLUMN, n_photos,
-1);
......
......@@ -241,7 +241,7 @@ photoset_list_ready_cb (GObject *source_object,
gtk_list_store_append (GTK_LIST_STORE (GET_WIDGET ("photoset_liststore")), &iter);
gtk_list_store_set (GTK_LIST_STORE (GET_WIDGET ("photoset_liststore")), &iter,
PHOTOSET_DATA_COLUMN, photoset,
PHOTOSET_ICON_COLUMN, "file-catalog",
PHOTOSET_ICON_COLUMN, "file-catalog-symbolic",
PHOTOSET_TITLE_COLUMN, photoset->title,
PHOTOSET_N_PHOTOS_COLUMN, n_photos,
-1);
......
......@@ -342,7 +342,7 @@ update_album_list (DialogData *data)
gtk_list_store_append (GTK_LIST_STORE (GET_WIDGET ("album_liststore")), &iter);
gtk_list_store_set (GTK_LIST_STORE (GET_WIDGET ("album_liststore")), &iter,
ALBUM_DATA_COLUMN, album,
ALBUM_ICON_COLUMN, "file-catalog",
ALBUM_ICON_COLUMN, "file-catalog-symbolic",
ALBUM_TITLE_COLUMN, album->name,
ALBUM_N_PHOTOS_COLUMN, size,
-1);
......
......@@ -138,7 +138,7 @@ photobucket_album_properties_dialog_construct (PhotobucketAlbumPropertiesDialog
gtk_list_store_append (GTK_LIST_STORE (GET_WIDGET ("album_liststore")), &iter);
gtk_list_store_set (GTK_LIST_STORE (GET_WIDGET ("album_liststore")), &iter,
ALBUM_DATA_COLUMN, album,
ALBUM_ICON_COLUMN, "file-catalog",
ALBUM_ICON_COLUMN, "file-catalog-symbolic",
ALBUM_TITLE_COLUMN, album->name,
ALBUM_N_PHOTOS_COLUMN, size,
-1);
......
......@@ -272,7 +272,7 @@ update_album_list (DialogData *data)
gtk_list_store_append (GTK_LIST_STORE (GET_WIDGET ("album_liststore")), &iter);
gtk_list_store_set (GTK_LIST_STORE (GET_WIDGET ("album_liststore")), &iter,
ALBUM_DATA_COLUMN, album,
ALBUM_ICON_COLUMN, "file-catalog",
ALBUM_ICON_COLUMN, "file-catalog-symbolic",
ALBUM_NAME_COLUMN, album->title,
ALBUM_REMAINING_IMAGES_COLUMN, n_photos_remaining,
ALBUM_USED_BYTES_COLUMN, used_bytes,
......
......@@ -439,7 +439,7 @@ update_album_list (DialogData *data)
gtk_list_store_append (GTK_LIST_STORE (GET_WIDGET ("album_liststore")), &iter);
gtk_list_store_set (GTK_LIST_STORE (GET_WIDGET ("album_liststore")), &iter,
ALBUM_DATA_COLUMN, album,
ALBUM_ICON_COLUMN, "file-catalog",
ALBUM_ICON_COLUMN, "file-catalog-symbolic",
ALBUM_NAME_COLUMN, album->title,
ALBUM_SIZE_COLUMN, used_bytes,
-1);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment