[balsa/popover: 41/65] toolbar-factory: Make sure the popup is sensitive
- From: Peter Bloomfield <peterb src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [balsa/popover: 41/65] toolbar-factory: Make sure the popup is sensitive
 
- Date: Mon, 24 Aug 2020 20:40:53 +0000 (UTC)
 
commit 4deb01dbaa2b889afb0ab171de2fae8f574b9562
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Fri Jun 19 11:27:42 2020 -0400
    toolbar-factory: Make sure the popup is sensitive
    
    At least when the popup-widget is a GtkPopover, by default it is
    insensitive when the toolbar is insensitive, but that's not what we
    want.
 src/toolbar-factory.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/toolbar-factory.c b/src/toolbar-factory.c
index 934ec9de5..aa6071d9f 100644
--- a/src/toolbar-factory.c
+++ b/src/toolbar-factory.c
@@ -733,6 +733,7 @@ tm_popup_context_menu_cb(GtkWidget    * toolbar,
     event = gtk_get_current_event();
 
     libbalsa_popup_widget_popup(popup_menu, event, toolbar);
+    gtk_widget_set_sensitive(popup_menu, TRUE);
 
     if (event != NULL)
         gdk_event_free(event);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]