[Xfce4-commits] [apps/xfce4-screensaver] 383/425: Enable access to OnlyShowIn=MATE and OnlyShowIn=GNOME screensavers since we have the same codebase

noreply at xfce.org noreply at xfce.org
Mon Oct 15 01:53:50 CEST 2018


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-screensaver.

commit 35cd83fc76ba4357c03a37c268f8cdc6d20f0fe9
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Mon Oct 8 21:55:07 2018 -0400

    Enable access to OnlyShowIn=MATE and OnlyShowIn=GNOME screensavers since we have the same codebase
---
 src/desktop-entries.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/desktop-entries.c b/src/desktop-entries.c
index 513ce7a..b46f4e7 100644
--- a/src/desktop-entries.c
+++ b/src/desktop-entries.c
@@ -108,7 +108,8 @@ static guint get_flags_from_key_file(DesktopEntry* entry, GKeyFile* key_file, co
       show_in_xfce = FALSE;
       for (i = 0; strv[i]; i++)
         {
-          if (!strcmp (strv[i], "XFCE"))
+          /* Since we use the same codebase as MATE and GNOME, don't let them have all the fun. */
+          if (!strcmp (strv[i], "XFCE") || !strcmp (strv[i], "MATE") || !strcmp (strv[i], "GNOME"))
             {
               show_in_xfce = TRUE;
               break;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list