GNOME Bugzilla – Bug 707352
Fails to detect Unity platform
Last modified: 2013-09-03 12:59:37 UTC
Created attachment 253930 [details] [review] Patch When running Unity under Ubuntu, yelp fails to detect platform:unity and instead detects platform:gnome-shell. When running Unity under Ubuntu, there is still an org.gnome.Shell dbus session. This means that both env_shell and env_unity are TRUE (libyelp/yelp-settings.c, yelp_settings_constructed() function). When we get to the if..then block starting on line 323 of libyelp/yelp-settings.c, we see that env_shell is TRUE and store that setting. We never make it to the else-if-env_unity branch. Swapping the order of the env_shell and env_unity checks resolves this issue.
Fixed in master. Thanks.