shellDBus: Rename ShowMonitorLabels2 to ShowMonitorLabels

The original ShowMonitorLabels has been removed so we can change things
back to use ShowMonitorLabels again.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/491
This commit is contained in:
Benjamin Berg 2019-04-11 19:43:35 +02:00
parent 3996309f8a
commit 2c8d380e67
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
<method name="ShowOSD">
<arg type="a{sv}" direction="in" name="params"/>
</method>
<method name="ShowMonitorLabels2">
<method name="ShowMonitorLabels">
<arg type="a{sv}" direction="in" name="params"/>
</method>
<method name="HideMonitorLabels"/>

View File

@ -207,7 +207,7 @@ var GnomeShell = class {
this._grabbers.delete(name);
}
ShowMonitorLabels2Async(params, invocation) {
ShowMonitorLabelsAsync(params, invocation) {
let sender = invocation.get_sender();
let [dict] = params;
Main.osdMonitorLabeler.show(sender, dict);