diff options
author | Alessandro Ghedini <al3xbio@gmail.com> | 2012-03-19 18:41:41 +0100 |
---|---|---|
committer | Alessandro Ghedini <al3xbio@gmail.com> | 2012-03-19 18:41:41 +0100 |
commit | 824159fc54dc31ac3dbdb57a85d1db7cb86cccca (patch) | |
tree | 4fa5f2436d69a9126e408e2ef7f2d6ee48c343ae /src | |
parent | 9ec9162a9c23cc0073cf8f025ca84e7e46bd3283 (diff) | |
parent | 5cf585bfd897084175f1b8f8f0d8c1c27614f288 (diff) |
Merge tag 'upstream/0.5.2'
Upstream version 0.5.2
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/indicator.vala | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/indicator.vala b/src/gui/indicator.vala index c8ef445..c334dd1 100644 --- a/src/gui/indicator.vala +++ b/src/gui/indicator.vala @@ -68,8 +68,12 @@ public class Indicator : GLib.Object { public Indicator() { string icon = ""; - - if (Gdk.X11Screen.get_window_manager_name(Gdk.Screen.get_default()) == "Mutter") + + #if HAVE_GTK_3 + if (Gdk.X11Screen.get_window_manager_name(Gdk.Screen.get_default()) == "Mutter") + #else + if (Gdk.x11_screen_get_window_manager_name(Gdk.Screen.get_default()) == "Mutter") + #endif icon = "gnome-pie"; else icon = "gnome-pie-symbolic"; |