~ci-train-bot/indicator-power/indicator-power-ubuntu-xenial-landing-002

« back to all changes in this revision

Viewing changes to src/service.c

  • Committer: CI Train Bot
  • Author(s): Ubuntu MATE Developers
  • Date: 2015-04-02 20:30:52 UTC
  • mfrom: (279.2.1 indicator-power)
  • Revision ID: ci-train-bot@canonical.com-20150402203052-urqf29p63mw2r2hv
This merge proposal adds support for MATE Desktop.
Approved by: Ted Gould

Show diffs side-by-side

added added

removed removed

Lines of Context:
769
769
        {
770
770
          control_center_cmd = "xfce4-power-manager-settings";
771
771
        }
 
772
      else if (!g_strcmp0 (g_getenv ("DESKTOP_SESSION"), "mate"))
 
773
        {
 
774
          control_center_cmd = "mate-power-preferences";
 
775
        }
772
776
      else if (!g_strcmp0 (g_getenv ("XDG_CURRENT_DESKTOP"), "Pantheon"))
773
777
        {
774
778
          control_center_cmd = "switchboard --open-plug system-pantheon-power";