[gnome-control-center] applications: Emit sidebar-activated on sidebar row activation



commit 358dbe3ce82a83cf8adecca3266442312ad44203
Author: Adrien Plazas <kekun plazas laposte net>
Date:   Wed Jan 9 21:46:21 2019 +0100

    applications: Emit sidebar-activated on sidebar row activation
    
    This will let the window know it should focus on the panel rather than
    on the sidebar.

 panels/applications/cc-applications-panel.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/panels/applications/cc-applications-panel.c b/panels/applications/cc-applications-panel.c
index bd31d720f..abf5c2b1f 100644
--- a/panels/applications/cc-applications-panel.c
+++ b/panels/applications/cc-applications-panel.c
@@ -1426,6 +1426,7 @@ row_activated_cb (GtkListBox          *list,
                   CcApplicationsPanel *self)
 {
   update_panel (self, row);
+  g_signal_emit_by_name (self, "sidebar-activated");
 }
 
 static void


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