[gnome-photos] main-window: Fix the logo-icon-name in the about dialog
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] main-window: Fix the logo-icon-name in the about dialog
- Date: Thu, 18 Aug 2016 19:24:55 +0000 (UTC)
commit 2954c05896e949ca07d658ae434521d38ef2feac
Author: Debarshi Ray <debarshir gnome org>
Date: Thu Aug 18 21:20:12 2016 +0200
main-window: Fix the logo-icon-name in the about dialog
Fall out from 17c7939ea7b4ef8e13a22de3f4e05177e167cc1f
src/photos-main-window.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-main-window.c b/src/photos-main-window.c
index 09cbacc..a0981ad 100644
--- a/src/photos-main-window.c
+++ b/src/photos-main-window.c
@@ -485,6 +485,12 @@ photos_main_window_new (GtkApplication *application)
void
photos_main_window_show_about (PhotosMainWindow *self)
{
+ GApplication *app;
+ const gchar *app_id;
+
+ app = g_application_get_default ();
+ app_id = g_application_get_application_id (app);
+
gtk_show_about_dialog (GTK_WINDOW (self),
"artists", PHOTOS_ARTISTS,
"authors", PHOTOS_AUTHORS,
@@ -493,7 +499,7 @@ photos_main_window_show_about (PhotosMainWindow *self)
"Copyright © 2014 – 2015 Pranav Kant\n"
"Copyright © 2012 – 2016 Red Hat, Inc."),
"license-type", GTK_LICENSE_GPL_2_0,
- "logo-icon-name", PACKAGE_TARNAME,
+ "logo-icon-name", app_id,
"program-name", _(PACKAGE_NAME),
"version", _(PACKAGE_VERSION),
"website", PACKAGE_URL,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]