~synapse-core/synapse-project/trunk

« back to all changes in this revision

Viewing changes to src/plugins/screensaver-plugin.vala

  • Committer: Rico Tzschichholz
  • Date: 2018-02-03 20:45:27 UTC
  • Revision ID: ricotz@ubuntu.com-20180203204527-3af0ww92wobpoxho
core: Add some more desktop session types

"gnome-flashback", "gnome-xorg", "ubuntu" and "ubuntu-xorg"

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
          ScreenSaverPlugin.mate_lock_screen ();
77
77
          break;
78
78
        case DesktopEnvironmentType.GNOME:
 
79
        case DesktopEnvironmentType.UBUNTU:
79
80
        default:
80
81
          ScreenSaverPlugin.gnome_lock_screen ();
81
82
          break;
118
119
          is_supported = DBusService.get_default ().name_is_activatable (MateScreenSaver.UNIQUE_NAME);
119
120
          break;
120
121
        case DesktopEnvironmentType.GNOME:
 
122
        case DesktopEnvironmentType.UBUNTU:
121
123
          is_supported = DBusService.get_default ().name_is_activatable (GnomeScreenSaver.UNIQUE_NAME);
122
124
          break;
123
125
      }