[gnome-games/wip/exalm/ds: 2/2] nintendo-ds: Close popover after switching mode



commit 8b7bacf3fb972c21ebedc4427236ae0f974b00e9
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date:   Mon Mar 11 22:19:33 2019 +0500

    nintendo-ds: Close popover after switching mode

 plugins/nintendo-ds/src/nintendo-ds-layout-switcher.vala | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/plugins/nintendo-ds/src/nintendo-ds-layout-switcher.vala 
b/plugins/nintendo-ds/src/nintendo-ds-layout-switcher.vala
index aa313279..0e8220f9 100644
--- a/plugins/nintendo-ds/src/nintendo-ds-layout-switcher.vala
+++ b/plugins/nintendo-ds/src/nintendo-ds-layout-switcher.vala
@@ -76,6 +76,8 @@ private class Games.NintendoDsLayoutSwitcher : Gtk.Box {
                var layout = layout_item.get_layout ();
 
                settings.set_string ("screen-layout", layout);
+
+               layout_popover.popdown ();
        }
 
        private string get_layout_icon (string layout) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]