[totem] data: Rename icon to org.gnome.Totem



commit 530b68d24b3219ab234341e118045a1ccd98e12c
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Apr 20 17:41:24 2016 +0200

    data: Rename icon to org.gnome.Totem
    
    To make it easier to export in xdg-app.

 data/icons/16x16/Makefile.am                       |    2 +-
 .../icons/16x16/{totem.png => org.gnome.Totem.png} |  Bin 788 -> 788 bytes
 data/icons/22x22/Makefile.am                       |    2 +-
 .../icons/22x22/{totem.png => org.gnome.Totem.png} |  Bin 1357 -> 1357 bytes
 data/icons/24x24/Makefile.am                       |    2 +-
 .../icons/24x24/{totem.png => org.gnome.Totem.png} |  Bin 1483 -> 1483 bytes
 data/icons/256x256/Makefile.am                     |    2 +-
 .../256x256/{totem.png => org.gnome.Totem.png}     |  Bin 30951 -> 30951 bytes
 data/icons/32x32/Makefile.am                       |    2 +-
 .../icons/32x32/{totem.png => org.gnome.Totem.png} |  Bin 2244 -> 2244 bytes
 data/icons/48x48/Makefile.am                       |    2 +-
 .../icons/48x48/{totem.png => org.gnome.Totem.png} |  Bin 3849 -> 3849 bytes
 data/org.gnome.Totem.desktop.in.in.in              |    2 +-
 src/backend/bvw-test.c                             |    2 +-
 src/totem-audio-preview.c                          |    2 +-
 src/totem-object.c                                 |    2 +-
 src/totem.c                                        |    4 ++--
 17 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/data/icons/16x16/Makefile.am b/data/icons/16x16/Makefile.am
index 681f28b..8a587ff 100644
--- a/data/icons/16x16/Makefile.am
+++ b/data/icons/16x16/Makefile.am
@@ -1,5 +1,5 @@
 icondir = $(datadir)/icons/hicolor/16x16/apps
-icon_DATA = totem.png
+icon_DATA = org.gnome.Totem.png
 
 EXTRA_DIST = $(icon_DATA)
 
diff --git a/data/icons/22x22/Makefile.am b/data/icons/22x22/Makefile.am
index 6f65280..184a180 100644
--- a/data/icons/22x22/Makefile.am
+++ b/data/icons/22x22/Makefile.am
@@ -1,5 +1,5 @@
 icondir = $(datadir)/icons/hicolor/22x22/apps
-icon_DATA = totem.png
+icon_DATA = org.gnome.Totem.png
 
 EXTRA_DIST = $(icon_DATA)
 
diff --git a/data/icons/24x24/Makefile.am b/data/icons/24x24/Makefile.am
index 8f0e1a7..c086cdb 100644
--- a/data/icons/24x24/Makefile.am
+++ b/data/icons/24x24/Makefile.am
@@ -1,5 +1,5 @@
 icondir = $(datadir)/icons/hicolor/24x24/apps
-icon_DATA = totem.png
+icon_DATA = org.gnome.Totem.png
 
 EXTRA_DIST = $(icon_DATA)
 
diff --git a/data/icons/256x256/Makefile.am b/data/icons/256x256/Makefile.am
index d28112b..d4ffeb7 100644
--- a/data/icons/256x256/Makefile.am
+++ b/data/icons/256x256/Makefile.am
@@ -1,5 +1,5 @@
 icondir = $(datadir)/icons/hicolor/256x256/apps
-icon_DATA = totem.png
+icon_DATA = org.gnome.Totem.png
 
 EXTRA_DIST = $(icon_DATA)
 
diff --git a/data/icons/32x32/Makefile.am b/data/icons/32x32/Makefile.am
index 12809b9..3318902 100644
--- a/data/icons/32x32/Makefile.am
+++ b/data/icons/32x32/Makefile.am
@@ -1,5 +1,5 @@
 icondir = $(datadir)/icons/hicolor/32x32/apps
-icon_DATA = totem.png
+icon_DATA = org.gnome.Totem.png
 
 EXTRA_DIST = $(icon_DATA)
 
diff --git a/data/icons/48x48/Makefile.am b/data/icons/48x48/Makefile.am
index 22a5159..840edf0 100644
--- a/data/icons/48x48/Makefile.am
+++ b/data/icons/48x48/Makefile.am
@@ -1,5 +1,5 @@
 icondir = $(datadir)/icons/hicolor/48x48/apps
-icon_DATA = totem.png
+icon_DATA = org.gnome.Totem.png
 
 EXTRA_DIST = $(icon_DATA)
 
diff --git a/data/org.gnome.Totem.desktop.in.in.in b/data/org.gnome.Totem.desktop.in.in.in
index b7afc5a..4493ef4 100644
--- a/data/org.gnome.Totem.desktop.in.in.in
+++ b/data/org.gnome.Totem.desktop.in.in.in
@@ -3,7 +3,7 @@ _Name=Videos
 _Comment=Play movies
 _Keywords=Video;Movie;Film;Clip;Series;Player;DVD;TV;Disc;
 Exec=totem %U
-Icon=totem
+Icon=org.gnome.Totem
 DBusActivatable=true
 Terminal=false
 Type=Application
diff --git a/src/backend/bvw-test.c b/src/backend/bvw-test.c
index 2345395..3d3dba2 100644
--- a/src/backend/bvw-test.c
+++ b/src/backend/bvw-test.c
@@ -117,7 +117,7 @@ int main
                        G_CALLBACK (gtk_main_quit), NULL);
 
        bvw = bacon_video_widget_new (NULL);
-       bacon_video_widget_set_logo (BACON_VIDEO_WIDGET (bvw), "totem");
+       bacon_video_widget_set_logo (BACON_VIDEO_WIDGET (bvw), "org.gnome.Totem");
 
        g_signal_connect (G_OBJECT (bvw), "eos", G_CALLBACK (on_eos_event), NULL);
        g_signal_connect (G_OBJECT (bvw), "got-metadata", G_CALLBACK (on_got_metadata), NULL);
diff --git a/src/totem-audio-preview.c b/src/totem-audio-preview.c
index accf569..1f6b82b 100644
--- a/src/totem-audio-preview.c
+++ b/src/totem-audio-preview.c
@@ -170,7 +170,7 @@ int main (int argc, char **argv)
        textdomain (GETTEXT_PACKAGE);
 
        g_set_application_name (_("Audio Preview"));
-       g_setenv("PULSE_PROP_application.icon_name", "totem", TRUE);
+       g_setenv("PULSE_PROP_application.icon_name", "org.gnome.Totem", TRUE);
        g_setenv("PULSE_PROP_media.role", "music", TRUE);
 
        context = g_option_context_new ("Plays audio passed on the standard input or the filename passed on 
the command-line");
diff --git a/src/totem-object.c b/src/totem-object.c
index b0a1ccf..27c3324 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -257,7 +257,7 @@ totem_object_app_activate (GApplication *app)
        optionstate.had_filenames = FALSE;
 
        /* Set the logo at the last minute so we won't try to show it before a video */
-       bacon_video_widget_set_logo (totem->bvw, "totem");
+       bacon_video_widget_set_logo (totem->bvw, "org.gnome.Totem");
 
        if (optionstate.fullscreen == FALSE)
                g_application_unmark_busy (G_APPLICATION (totem));
diff --git a/src/totem.c b/src/totem.c
index 3152ae0..1e9ef16 100644
--- a/src/totem.c
+++ b/src/totem.c
@@ -70,9 +70,9 @@ main (int argc, char **argv)
 
        g_set_prgname ("totem");
        g_set_application_name (_("Videos"));
-       gtk_window_set_default_icon_name ("totem");
+       gtk_window_set_default_icon_name ("org.gnome.Totem");
        g_setenv("PULSE_PROP_media.role", "video", TRUE);
-       g_setenv("PULSE_PROP_application.icon_name", "totem", TRUE);
+       g_setenv("PULSE_PROP_application.icon_name", "org.gnome.Totem", TRUE);
 
        /* Build the main Totem object */
        totem = g_object_new (TOTEM_TYPE_OBJECT,


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