mirror of
https://github.com/elementary/gala.git
synced 2024-08-17 11:00:28 +03:00
Remove PluginFunction.DESKTOP
(#1747)
This commit is contained in:
parent
2b34d8cf69
commit
5804d7fb08
@ -19,7 +19,6 @@ namespace Gala {
|
||||
public enum PluginFunction {
|
||||
ADDITION,
|
||||
WINDOW_SWITCHER,
|
||||
DESKTOP,
|
||||
WORKSPACE_VIEW,
|
||||
WINDOW_OVERVIEW
|
||||
}
|
||||
|
@ -37,7 +37,6 @@ namespace Gala {
|
||||
}
|
||||
|
||||
public string? window_switcher_provider { get; private set; default = null; }
|
||||
public string? desktop_provider { get; private set; default = null; }
|
||||
public string? window_overview_provider { get; private set; default = null; }
|
||||
public string? workspace_view_provider { get; private set; default = null; }
|
||||
|
||||
@ -156,13 +155,6 @@ namespace Gala {
|
||||
}
|
||||
window_overview_provider = name;
|
||||
return true;
|
||||
case PluginFunction.DESKTOP:
|
||||
if (desktop_provider != null) {
|
||||
warning (message, desktop_provider, name, "desktop");
|
||||
return false;
|
||||
}
|
||||
desktop_provider = name;
|
||||
return true;
|
||||
case PluginFunction.WINDOW_SWITCHER:
|
||||
if (window_switcher_provider != null) {
|
||||
warning (message, window_switcher_provider, name, "window switcher");
|
||||
|
Loading…
Reference in New Issue
Block a user