[gtranslator] Fix about dialog logo



commit f270a263eded576342ac770e7c8b08d5d776405a
Author: Daniel GarcĂ­a Moreno <danigm wadobo com>
Date:   Sat Oct 6 16:09:11 2018 +0200

    Fix about dialog logo

 src/gtr-actions-app.c | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)
---
diff --git a/src/gtr-actions-app.c b/src/gtr-actions-app.c
index 725c3d77..92fb0ac1 100644
--- a/src/gtr-actions-app.c
+++ b/src/gtr-actions-app.c
@@ -87,21 +87,13 @@ gtr_about_dialog (GtrWindow *window)
   static const gchar comments[] =
     N_("Translation file editing suite for localization of applications and libraries.");
 
-  GdkPixbuf *logo;
-  gchar *logo_file;
-
-  logo_file = g_build_filename (gtr_dirs_get_gtr_pixmaps_dir (),
-                                "gtranslator-logo.png", NULL);
-  logo = gdk_pixbuf_new_from_file (logo_file, NULL);
-  g_free (logo_file);
-
   gtk_show_about_dialog (GTK_WINDOW (window),
                          "comments", _(comments),
                          "authors", authors,
                          "copyright", copyright,
                          "license-type", GTK_LICENSE_GPL_3_0,
                          "documenters", documenters,
-                         "logo", logo, "title", _("About Gtranslator"),
+                         "logo-icon-name", PACKAGE_APPID,
                          /*
                           * Note to translators: put here your name and email so it will show
                           * up in the "about" box
@@ -112,6 +104,4 @@ gtr_about_dialog (GtrWindow *window)
                          "website-label", _("Gtranslator Web Site"),
                          NULL);
 
-  if (logo)
-    g_object_unref (logo);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]