[gthumb] app icons: name the app icons with the application id
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] app icons: name the app icons with the application id
- Date: Thu, 19 Dec 2019 14:30:33 +0000 (UTC)
commit c49d30dd58bf2ba7508ba15bbf840a2a03b5ab90
Author: Paolo Bacchilega <paobac src gnome org>
Date: Thu Dec 19 12:29:45 2019 +0100
app icons: name the app icons with the application id
Fixes https://gitlab.gnome.org/GNOME/gthumb/issues/77
.../{gthumb-symbolic.svg => org.gnome.gThumb-symbolic.svg} | 0
.../hicolor/16x16/apps/{gthumb.png => org.gnome.gThumb.png} | Bin
.../256x256/apps/{gthumb.png => org.gnome.gThumb.png} | Bin
.../scalable/apps/{gthumb.svg => org.gnome.gThumb.svg} | 0
data/org.gnome.gThumb.Import.desktop.in.in | 2 +-
data/org.gnome.gThumb.desktop.in.in | 2 +-
gthumb/gth-browser-actions-callbacks.c | 4 ++--
7 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/data/icons/public/hicolor/16x16/apps/gthumb-symbolic.svg
b/data/icons/public/hicolor/16x16/apps/org.gnome.gThumb-symbolic.svg
similarity index 100%
rename from data/icons/public/hicolor/16x16/apps/gthumb-symbolic.svg
rename to data/icons/public/hicolor/16x16/apps/org.gnome.gThumb-symbolic.svg
diff --git a/data/icons/public/hicolor/16x16/apps/gthumb.png
b/data/icons/public/hicolor/16x16/apps/org.gnome.gThumb.png
similarity index 100%
rename from data/icons/public/hicolor/16x16/apps/gthumb.png
rename to data/icons/public/hicolor/16x16/apps/org.gnome.gThumb.png
diff --git a/data/icons/public/hicolor/256x256/apps/gthumb.png
b/data/icons/public/hicolor/256x256/apps/org.gnome.gThumb.png
similarity index 100%
rename from data/icons/public/hicolor/256x256/apps/gthumb.png
rename to data/icons/public/hicolor/256x256/apps/org.gnome.gThumb.png
diff --git a/data/icons/public/hicolor/scalable/apps/gthumb.svg
b/data/icons/public/hicolor/scalable/apps/org.gnome.gThumb.svg
similarity index 100%
rename from data/icons/public/hicolor/scalable/apps/gthumb.svg
rename to data/icons/public/hicolor/scalable/apps/org.gnome.gThumb.svg
diff --git a/data/org.gnome.gThumb.Import.desktop.in.in b/data/org.gnome.gThumb.Import.desktop.in.in
index f660ab1a..6a2a260a 100644
--- a/data/org.gnome.gThumb.Import.desktop.in.in
+++ b/data/org.gnome.gThumb.Import.desktop.in.in
@@ -6,7 +6,7 @@ Comment=Import the photos on your camera card
Categories=GNOME;GTK;Graphics;Viewer;RasterGraphics;2DGraphics;Photography;
Exec=gthumb --import-photos %U
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
-Icon=gthumb
+Icon=org.gnome.gThumb
MimeType=x-content/image-dcf;x-content/image-picturecd;
NoDisplay=true
StartupNotify=true
diff --git a/data/org.gnome.gThumb.desktop.in.in b/data/org.gnome.gThumb.desktop.in.in
index e2b9d4d2..a64de2f6 100644
--- a/data/org.gnome.gThumb.desktop.in.in
+++ b/data/org.gnome.gThumb.desktop.in.in
@@ -8,7 +8,7 @@ Keywords=Image;Viewer;
Categories=GNOME;GTK;Graphics;Viewer;RasterGraphics;2DGraphics;Photography;
Exec=gthumb %U
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
-Icon=gthumb
+Icon=org.gnome.gThumb
MimeType=image/bmp;image/jpeg;image/gif;image/png;image/tiff;image/x-bmp;image/x-ico;image/x-png;image/x-pcx;image/x-tga;image/xpm;image/svg+xml;image/webp;
StartupNotify=true
Terminal=false
diff --git a/gthumb/gth-browser-actions-callbacks.c b/gthumb/gth-browser-actions-callbacks.c
index fc49df0c..35ac42cd 100644
--- a/gthumb/gth-browser-actions-callbacks.c
+++ b/gthumb/gth-browser-actions-callbacks.c
@@ -116,9 +116,9 @@ gth_browser_activate_about (GSimpleAction *action,
NULL);
logo = gtk_icon_theme_load_icon (gtk_icon_theme_get_for_screen (gtk_widget_get_screen (GTK_WIDGET
(browser))),
- "gthumb",
+ "org.gnome.gThumb",
128,
- GTK_ICON_LOOKUP_NO_SVG,
+ 0,
NULL);
gtk_show_about_dialog (GTK_WINDOW (browser),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]