aboutsummaryrefslogtreecommitdiff
path: root/src/main-window.vala
diff options
context:
space:
mode:
authorleigh123linux <leigh123linux@fedoraproject.org>2017-06-20 10:42:38 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-06-20 10:42:38 +0200
commit6dea496c7ecb3ae5441f07ca8b737523b3e3f07c (patch)
treeef971d107e01e065c250908d73a2491bac14c4b5 /src/main-window.vala
parentd58721ad5d758573070421245ae60b818b3e846d (diff)
downloadarctica-greeter-6dea496c7ecb3ae5441f07ca8b737523b3e3f07c.tar.gz
arctica-greeter-6dea496c7ecb3ae5441f07ca8b737523b3e3f07c.tar.bz2
arctica-greeter-6dea496c7ecb3ae5441f07ca8b737523b3e3f07c.zip
menubar clean-up before session start: i.e. kill onboard and orca on session startup (ported from slick-greeter).
Diffstat (limited to 'src/main-window.vala')
-rw-r--r--src/main-window.vala6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main-window.vala b/src/main-window.vala
index 65dde2b..0ae1dec 100644
--- a/src/main-window.vala
+++ b/src/main-window.vala
@@ -199,6 +199,12 @@ public class MainWindow : Gtk.Window
}
}
+ public void before_session_start()
+ {
+ debug ("Cleaning up menu bar related processes (i.e. orca, onboard");
+ menubar.cleanup();
+ }
+
private void monitors_changed_cb (Gdk.Screen screen)
{
Gdk.Display display;