Commit 268dc8a6 authored by Niels De Graef's avatar Niels De Graef

Remove custom person icon

We can use "avatar-default-symbolic", which is provided by the XDG icon
spec, so it should work for everyone. It's also nicer for non-installed
environments (such as when developing).
parent a999b648
Pipeline #64481 passed with stage
in 4 minutes and 22 seconds
......@@ -23,7 +23,6 @@ namespace Seahorse {
public const string ICON_KEY = "seahorse-key";
public const string ICON_SECRET = "seahorse-key-personal";
public const string ICON_KEY_SSH = "seahorse-key-ssh";
public const string ICON_PERSON = "seahorse-person";
public const string ICON_SIGN = "seahorse-sign";
public const string ICON_SIGN_OK = "seahorse-sign-ok";
public const string ICON_SIGN_BAD = "seahorse-sign-bad";
......
......@@ -32,7 +32,7 @@ foreach size: [ 22, 48 ]
# ..../apps
icon_subfolder = join_paths('hicolor', icon_size_str, 'apps')
foreach private_icon: [ 'key', 'key-personal', 'key-ssh', 'person' ]
foreach private_icon: [ 'key', 'key-personal', 'key-ssh' ]
install_data(
join_paths(icon_subfolder, 'seahorse-@0@.png'.format(private_icon)),
install_dir: join_paths(private_icons_install_dir, icon_subfolder),
......
......@@ -381,7 +381,7 @@ names_populate (SeahorsePgpKeyProperties *self, GtkTreeStore *store, SeahorsePgp
g_autoptr(GCancellable) cancellable = NULL;
uid = SEAHORSE_PGP_UID (u->data);
icon = g_themed_icon_new (SEAHORSE_ICON_PERSON);
icon = g_themed_icon_new ("avatar-default-symbolic");
gtk_tree_store_append (store, &uiditer, NULL);
gtk_tree_store_set (store, &uiditer,
UIDSIG_OBJECT, uid,
......@@ -446,7 +446,6 @@ do_names (SeahorsePgpKeyProperties *self)
/* Icon column */
renderer = gtk_cell_renderer_pixbuf_new ();
g_object_set (renderer, "stock-size", GTK_ICON_SIZE_LARGE_TOOLBAR, NULL);
gtk_tree_view_insert_column_with_attributes (self->names_tree,
-1, "", renderer,
"gicon", UIDSIG_ICON, NULL);
......@@ -844,7 +843,6 @@ do_owner (SeahorsePgpKeyProperties *self)
/* Make the columns for the view */
renderer = gtk_cell_renderer_pixbuf_new ();
g_object_set (renderer, "stock-size", GTK_ICON_SIZE_LARGE_TOOLBAR, NULL);
gtk_tree_view_insert_column_with_attributes (self->owner_userid_tree,
-1, "", renderer,
"gicon", UID_ICON, NULL);
......@@ -859,7 +857,7 @@ do_owner (SeahorsePgpKeyProperties *self)
g_autoptr(GIcon) icon = NULL;
markup = seahorse_object_get_markup (l->data);
icon = g_themed_icon_new (SEAHORSE_ICON_PERSON);
icon = g_themed_icon_new ("avatar-default-symbolic");
gtk_list_store_append (store, &iter);
gtk_list_store_set (store, &iter,
UID_OBJECT, l->data,
......
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