Add patch to disable scaling for cardkey icon in keylist
Andreas Rönnquist
5 years ago
0 | From: =?utf-8?q?Andreas_R=C3=B6nnquist?= <andreas@ronnquist.net> | |
1 | Date: Fri, 19 Oct 2018 02:41:25 +0200 | |
2 | Forwarded: https://dev.gnupg.org/T4199 | |
3 | Subject: Disable scaling also for cardkey icon in keylist | |
4 | ||
5 | We should also disable the scaling for the cardkey icon, | |
6 | blue_yellow_cardkey.xpm when used in the keylist. | |
7 | --- | |
8 | src/icons.c | 3 ++- | |
9 | 1 file changed, 2 insertions(+), 1 deletion(-) | |
10 | ||
11 | diff --git a/src/icons.c b/src/icons.c | |
12 | index dedaeda..7615226 100644 | |
13 | --- a/src/icons.c | |
14 | +++ b/src/icons.c | |
15 | @@ -128,7 +128,8 @@ register_stock_icons (void) | |
16 | gtk_icon_source_set_direction_wildcarded (icon_source, TRUE); | |
17 | gtk_icon_source_set_state_wildcarded (icon_source, TRUE); | |
18 | if (! strcmp (xpms[i].name, GPA_STOCK_PUBLIC_KEY) | |
19 | - || ! strcmp (xpms[i].name, GPA_STOCK_SECRET_KEY)) | |
20 | + || ! strcmp (xpms[i].name, GPA_STOCK_SECRET_KEY) | |
21 | + || ! strcmp (xpms[i].name, GPA_STOCK_SECRET_CARDKEY)) | |
22 | { | |
23 | /* FIXME: For the keylist icons, we disable scaling for now | |
24 | for best visual results. */ |