diff options
author | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-11 01:21:34 -0700 |
commit | 18a41d682d6e91e0d28fce23eb75292f477bd620 (patch) | |
tree | bce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/synapse/fix-check-desktop.patch | |
parent | 0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff) |
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/synapse/fix-check-desktop.patch')
-rw-r--r-- | community/synapse/fix-check-desktop.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/community/synapse/fix-check-desktop.patch b/community/synapse/fix-check-desktop.patch deleted file mode 100644 index 16e039b48..000000000 --- a/community/synapse/fix-check-desktop.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff -Naur synapse-0.2.10.orig/src/core/desktop-file-service.vala synapse-0.2.10/src/core/desktop-file-service.vala ---- synapse-0.2.10.orig/src/core/desktop-file-service.vala 2012-03-18 20:02:41.000000000 +0100 -+++ synapse-0.2.10/src/core/desktop-file-service.vala 2012-03-19 12:06:43.080443401 +0100 -@@ -248,13 +248,23 @@ - - private void get_environment_type () - { -- unowned string? session_var = Environment.get_variable ("DESKTOP_SESSION"); -- -+ unowned string? session_var; -+ session_var = Environment.get_variable ("XDG_CURRENT_DESKTOP"); -+ if (session_var == null) -+ { -+ session_var = Environment.get_variable ("DESKTOP_SESSION"); -+ } -+ - if (session_var == null) return; - - string session = session_var.down (); - -- if (session.has_prefix ("kde")) -+ if (session.has_prefix ("unity")) -+ { -+ session_type = DesktopFileInfo.EnvironmentType.UNITY; -+ session_type_str = "Unity"; -+ } -+ else if (session.has_prefix ("kde")) - { - session_type = DesktopFileInfo.EnvironmentType.KDE; - session_type_str = "KDE"; |