diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/arctica-greeter.vala | 2 | ||||
-rw-r--r-- | src/main-window.vala | 6 |
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; |