[gnome-builder] icons: rename Builder icon to the application id



commit 6dadb2230acba3705474e4689d15ed94b5136239
Author: Matthew Leeds <mleeds redhat com>
Date:   Fri Jul 15 16:29:07 2016 -0400

    icons: rename Builder icon to the application id
    
    This commit changes the Builder icon file name from "builder.png" to
    "org.gnome.Builder.png", which allows Builder to access its own icon
    for the About Dialog when running under Flatpak.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=767896

 data/icons/Makefile.am                             |   12 ++++++------
 .../apps/{builder.png => org.gnome.Builder.png}    |  Bin 1149 -> 1149 bytes
 .../apps/{builder.png => org.gnome.Builder.png}    |  Bin 1638 -> 1638 bytes
 .../apps/{builder.png => org.gnome.Builder.png}    |  Bin 50377 -> 50377 bytes
 .../apps/{builder.png => org.gnome.Builder.png}    |  Bin 2663 -> 2663 bytes
 .../apps/{builder.png => org.gnome.Builder.png}    |  Bin 3857 -> 3857 bytes
 .../apps/{builder.png => org.gnome.Builder.png}    |  Bin 164777 -> 164777 bytes
 data/org.gnome.Builder.desktop.in.in               |    2 +-
 libide/application/ide-application-actions.c       |    2 +-
 libide/application/ide-application.c               |    2 +-
 10 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am
index f078028..b97c691 100644
--- a/data/icons/Makefile.am
+++ b/data/icons/Makefile.am
@@ -3,12 +3,12 @@ SUBDIRS = hicolor
 icondir = $(datadir)/icons
 
 nobase_icon_DATA = \
-       hicolor/256x256/apps/builder.png \
-       hicolor/512x512/apps/builder.png \
-       hicolor/16x16/apps/builder.png \
-       hicolor/32x32/apps/builder.png \
-       hicolor/48x48/apps/builder.png \
-       hicolor/24x24/apps/builder.png \
+       hicolor/256x256/apps/org.gnome.Builder.png \
+       hicolor/512x512/apps/org.gnome.Builder.png \
+       hicolor/16x16/apps/org.gnome.Builder.png \
+       hicolor/32x32/apps/org.gnome.Builder.png \
+       hicolor/48x48/apps/org.gnome.Builder.png \
+       hicolor/24x24/apps/org.gnome.Builder.png \
        hicolor/scalable/apps/builder-symbolic.svg \
        $(NULL)
 
diff --git a/data/org.gnome.Builder.desktop.in.in b/data/org.gnome.Builder.desktop.in.in
index 76d2214..d65b682 100644
--- a/data/org.gnome.Builder.desktop.in.in
+++ b/data/org.gnome.Builder.desktop.in.in
@@ -2,7 +2,7 @@
 _Name=Builder
 _Comment=Build software for GNOME
 Exec=gnome-builder %U
-Icon=builder
+Icon=org.gnome.Builder
 DBusActivatable=true
 StartupNotify=true
 Terminal=false
diff --git a/libide/application/ide-application-actions.c b/libide/application/ide-application-actions.c
index 80d4304..a6702cd 100644
--- a/libide/application/ide-application-actions.c
+++ b/libide/application/ide-application-actions.c
@@ -116,7 +116,7 @@ ide_application_actions_about (GSimpleAction *action,
                          "copyright", "Copyright © 2014—2016 Christian Hergert, et al.",
                          "documenters", ide_application_credits_documenters,
                          "license-type", GTK_LICENSE_GPL_3_0,
-                         "logo-icon-name", "builder",
+                         "logo-icon-name", "org.gnome.Builder",
                          "modal", FALSE,
                          "program-name", _("GNOME Builder"),
                          "transient-for", parent,
diff --git a/libide/application/ide-application.c b/libide/application/ide-application.c
index 3ad8082..39b503e 100644
--- a/libide/application/ide-application.c
+++ b/libide/application/ide-application.c
@@ -460,7 +460,7 @@ ide_application_init (IdeApplication *self)
   textdomain (GETTEXT_PACKAGE);
 
   g_set_application_name (_("Builder"));
-  gtk_window_set_default_icon_name("builder");
+  gtk_window_set_default_icon_name ("org.gnome.Builder");
 }
 
 IdeApplication *


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