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