[gnome-builder] GbDocumentMenuButton: hide popover after selecting search result



commit a0ebabfd1274b0118929d47c6859e3bcc6bf94db
Author: Christian Hergert <christian hergert me>
Date:   Mon Dec 8 00:29:20 2014 -0800

    GbDocumentMenuButton: hide popover after selecting search result

 src/documents/gb-document-menu-button.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/documents/gb-document-menu-button.c b/src/documents/gb-document-menu-button.c
index 01ec37b..fb2bf88 100644
--- a/src/documents/gb-document-menu-button.c
+++ b/src/documents/gb-document-menu-button.c
@@ -501,6 +501,8 @@ gb_document_menu_button_search_activate (GbDocumentMenuButton *button,
     {
       GbDocument *document;
 
+      gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), FALSE);
+
       document = g_object_get_data (G_OBJECT (row), "GB_DOCUMENT");
       gb_document_menu_button_select_document (button, document);
     }


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