[gnome-shell] data: merge gnome-shell.desktop and gnome-shell-wayland.desktop into one file



commit b8e29ae8c78658917c8a8ddd391667d7d9e36971
Author: Ray Strode <rstrode redhat com>
Date:   Wed Dec 17 12:31:38 2014 -0500

    data: merge gnome-shell.desktop and gnome-shell-wayland.desktop into one file
    
    We can autodetect what to do based on the user's session, so drop
    the separate desktop files.
    
    This, along with some future changes, will enable us to be bus
    activatable.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=741666

 .gitignore                                         |    6 ++----
 data/Makefile.am                                   |    8 +++-----
 data/gnome-shell-wayland.desktop.in.in             |   15 ---------------
 ...desktop.in.in => org.gnome.Shell.desktop.in.in} |    2 +-
 man/gnome-shell.xml                                |    2 +-
 5 files changed, 7 insertions(+), 26 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index c1eddbf..f39b477 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,10 +17,8 @@ config.status
 config
 configure
 data/50-gnome-shell-*.xml
-data/gnome-shell.desktop
-data/gnome-shell.desktop.in
-data/gnome-shell-wayland.desktop
-data/gnome-shell-wayland.desktop.in
+data/org.gnome.Shell.desktop
+data/org.gnome.Shell.desktop.in
 data/gnome-shell-extension-prefs.desktop
 data/gnome-shell-extension-prefs.desktop.in
 data/gnome-shell-theme.gresource
diff --git a/data/Makefile.am b/data/Makefile.am
index 7f7ee4b..7adb5be 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -2,7 +2,7 @@ CLEANFILES =
 NULL =
 
 desktopdir=$(datadir)/applications
-desktop_DATA = gnome-shell.desktop gnome-shell-wayland.desktop  gnome-shell-extension-prefs.desktop
+desktop_DATA = org.gnome.Shell.desktop gnome-shell-extension-prefs.desktop
 
 if HAVE_NETWORKMANAGER
 desktop_DATA += org.gnome.Shell.PortalHelper.desktop
@@ -104,8 +104,7 @@ convertdir = $(datadir)/GConf/gsettings
 convert_DATA = gnome-shell-overrides.convert
 
 EXTRA_DIST =                                           \
-       gnome-shell.desktop.in.in                       \
-       gnome-shell-wayland.desktop.in.in               \
+       org.gnome.Shell.desktop.in.in                   \
        gnome-shell-extension-prefs.desktop.in.in       \
        $(introspection_DATA)                           \
        $(menu_DATA)                                    \
@@ -121,8 +120,7 @@ EXTRA_DIST =                                                \
        $(NULL)
 
 CLEANFILES +=                                          \
-       gnome-shell.desktop.in                          \
-       gnome-shell-wayland.desktop.in                  \
+       org.gnome.Shell.desktop.in                      \
        gnome-shell-extension-prefs.in                  \
        $(desktop_DATA)                                 \
        $(keys_DATA)                                    \
diff --git a/data/gnome-shell.desktop.in.in b/data/org.gnome.Shell.desktop.in.in
similarity index 91%
rename from data/gnome-shell.desktop.in.in
rename to data/org.gnome.Shell.desktop.in.in
index 058269e..d3321b6 100644
--- a/data/gnome-shell.desktop.in.in
+++ b/data/org.gnome.Shell.desktop.in.in
@@ -10,7 +10,7 @@ X-GNOME-Bugzilla-Version= VERSION@
 Categories=GNOME;GTK;Core;
 OnlyShowIn=GNOME;
 NoDisplay=true
-X-GNOME-Autostart-Phase=WindowManager
+X-GNOME-Autostart-Phase=DisplayServer
 X-GNOME-Provides=panel;windowmanager;
 X-GNOME-Autostart-Notify=true
 X-GNOME-AutoRestart=false
diff --git a/man/gnome-shell.xml b/man/gnome-shell.xml
index 90b194e..e93ea2b 100644
--- a/man/gnome-shell.xml
+++ b/man/gnome-shell.xml
@@ -140,7 +140,7 @@
 
                 <para>
                         <filename>/usr/share/gnome-session/sessions/gnome.session</filename>,
-                        <filename>/usr/share/applications/gnome-shell.desktop</filename>.</para>
+                        <filename>/usr/share/applications/org.gnome.Shell.desktop</filename>.</para>
         </refsect1>
 
         <refsect1>


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