aboutsummaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/arctica-greeter.vala2
-rw-r--r--src/main-window.vala6
2 files changed, 8 insertions, 0 deletions
diff --git a/src/arctica-greeter.vala b/src/arctica-greeter.vala
index 4fba8a1..dc574b5 100644
--- a/src/arctica-greeter.vala
+++ b/src/arctica-greeter.vala
@@ -196,6 +196,8 @@ public class ArcticaGreeter
c = null;
refresh_background (screen, background_surface);
+ main_window.before_session_start();
+
if (test_mode)
{
debug ("Successfully logged in! Quitting...");
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;