Skip to content

Commit

Permalink
Popdown Popover when a button is clicked (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
marbetschar committed Jul 22, 2021
1 parent 84916b0 commit a718d1e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/MainView.vala
Expand Up @@ -96,13 +96,15 @@ public class OnlineAccounts.MainView : Gtk.Grid {
transient_for = (Gtk.Window) get_toplevel ()
};
caldav_dialog.show_all ();
add_account_popover.popdown ();
});

imap_menuitem.clicked.connect (() => {
var imap_dialog = new ImapDialog () {
transient_for = (Gtk.Window) get_toplevel ()
};
imap_dialog.show_all ();
add_account_popover.popdown ();
});
}

Expand Down

0 comments on commit a718d1e

Please sign in to comment.