[gnome-contacts/nielsdg/show-contact-pane] main-window: Show contact pane when selecting contact
- From: Niels De Graef <nielsdg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts/nielsdg/show-contact-pane] main-window: Show contact pane when selecting contact
- Date: Sun, 24 Jul 2022 13:34:56 +0000 (UTC)
commit d97e2416c3194561f02ad048d47a9f3b3790ee70
Author: Niels De Graef <nielsdegraef gmail com>
Date: Sun Jul 24 15:33:51 2022 +0200
main-window: Show contact pane when selecting contact
Make sure we actually show the contact pane when we select a contact,
also when we have a folded leaflet.
Fixes: https://gitlab.gnome.org/GNOME/gnome-contacts/-/issues/258
src/contacts-main-window.vala | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/contacts-main-window.vala b/src/contacts-main-window.vala
index a2fdffb7..e395d7e1 100644
--- a/src/contacts-main-window.vala
+++ b/src/contacts-main-window.vala
@@ -433,6 +433,7 @@ public class Contacts.MainWindow : Adw.ApplicationWindow {
activate_action ("stop-editing-contact", new Variant.boolean (false));
this.contact_pane.show_contact (selected);
+ show_contact_pane ();
// clearing right_header
this.right_header.title_widget = new Adw.WindowTitle ("", "");
@@ -462,6 +463,7 @@ public class Contacts.MainWindow : Adw.ApplicationWindow {
this.contacts_list.set_contacts_visible (selection, false);
this.contact_pane.show_contact (null);
this.state = UiState.NORMAL;
+ show_list_pane ();
// Build the list of contacts
var list = bitset_to_individuals (this.marked_contacts,
@@ -493,6 +495,7 @@ public class Contacts.MainWindow : Adw.ApplicationWindow {
this.contacts_list.set_contacts_visible (selection, false);
this.contact_pane.show_contact (null);
this.state = UiState.NORMAL;
+ show_list_pane ();
var individuals = bitset_to_individuals (this.store.filter_model,
selection);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]