[gnome-builder] headerbar: allow focusing these popovers



commit fd267d8688d3379da0e61bc3196a5253b652a716
Author: Christian Hergert <chergert redhat com>
Date:   Sat Jul 8 03:35:41 2017 -0700

    headerbar: allow focusing these popovers
    
    Without the focus, we don't have a way to track the user when the
    fullscreen popovers are displayed. Also, we should just be nicer about
    keyboard navigation.

 libide/runner/ide-run-button.c                 |    1 -
 libide/workbench/ide-perspective-menu-button.c |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/libide/runner/ide-run-button.c b/libide/runner/ide-run-button.c
index 84dea0b..6e3145a 100644
--- a/libide/runner/ide-run-button.c
+++ b/libide/runner/ide-run-button.c
@@ -58,7 +58,6 @@ create_row (const IdeRunHandlerInfo *info,
   g_assert (IDE_IS_RUN_BUTTON (self));
 
   row = g_object_new (GTK_TYPE_LIST_BOX_ROW,
-                      "can-focus", FALSE,
                       "selectable", FALSE,
                       "visible", TRUE,
                       NULL);
diff --git a/libide/workbench/ide-perspective-menu-button.c b/libide/workbench/ide-perspective-menu-button.c
index 0c3bbb5..97e30a8 100644
--- a/libide/workbench/ide-perspective-menu-button.c
+++ b/libide/workbench/ide-perspective-menu-button.c
@@ -69,7 +69,6 @@ ide_perspective_menu_button_create_row (IdePerspectiveMenuButton *self,
   icon_name = ide_perspective_get_icon_name (perspective);
 
   row = g_object_new (GTK_TYPE_LIST_BOX_ROW,
-                      "can-focus", FALSE,
                       "selectable", FALSE,
                       "visible", TRUE,
                       NULL);


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