[balsa/popover: 43/65] balsa-message: Pop down the parts popup
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [balsa/popover: 43/65] balsa-message: Pop down the parts popup
- Date: Thu, 20 Aug 2020 20:54:33 +0000 (UTC)
commit 3d66f8843143ab143363db3a6157e1a94a16b272
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Sat Jun 20 16:32:29 2020 -0400
    balsa-message: Pop down the parts popup
    
    Pop down the parts popup after selecting an option.
 src/balsa-message.c | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/src/balsa-message.c b/src/balsa-message.c
index e722f3b41..dff9f3f90 100644
--- a/src/balsa-message.c
+++ b/src/balsa-message.c
@@ -813,6 +813,9 @@ toggle_all_inline_change_state(GSimpleAction *action,
         g_object_unref(info);
     }
 
+    if (GTK_IS_POPOVER(balsa_message->parts_popup))
+        gtk_popover_popdown((GtkPopover *) balsa_message->parts_popup);
+
     g_simple_action_set_state(G_SIMPLE_ACTION(action), parameter);
 }
 
@@ -838,6 +841,9 @@ show_part_change_state(GSimpleAction *action,
         g_object_unref(info);
     }
 
+    if (GTK_IS_POPOVER(balsa_message->parts_popup))
+        gtk_popover_popdown((GtkPopover *) balsa_message->parts_popup);
+
     g_simple_action_set_state(G_SIMPLE_ACTION(action), parameter);
 }
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]