Readded tooltips in compact conversation view

This commit is contained in:
Daniel Yahalom 2023-04-21 16:01:37 -05:00 committed by Niels De Graef
parent b9889e6a42
commit 4f84f8ff42
2 changed files with 3 additions and 1 deletions

View file

@ -1878,6 +1878,7 @@ public class Application.MainWindow :
); );
this.conversation_list_actions.update_trash_button(show_trash); this.conversation_list_actions.update_trash_button(show_trash);
this.conversation_headerbar.full_actions.update_trash_button(show_trash); this.conversation_headerbar.full_actions.update_trash_button(show_trash);
this.conversation_headerbar.compact_actions.update_trash_button(show_trash);
} }
private async void update_context_dependent_actions(bool sensitive) { private async void update_context_dependent_actions(bool sensitive) {

View file

@ -25,7 +25,7 @@ public class Components.ConversationActions : Gtk.Box {
} }
} }
public int selected_conversations { get; set; } public int selected_conversations { get; set; default=1;}
public Geary.Account account { get; set; } public Geary.Account account { get; set; }
@ -58,6 +58,7 @@ public class Components.ConversationActions : Gtk.Box {
"mark_message_menu" "mark_message_menu"
); );
this.update_conversation_buttons();
this.notify["selected-conversations"].connect(() => update_conversation_buttons()); this.notify["selected-conversations"].connect(() => update_conversation_buttons());
this.notify["service-provider"].connect(() => update_conversation_buttons()); this.notify["service-provider"].connect(() => update_conversation_buttons());
this.mark_message_button.popover = new Gtk.Popover.from_model(null, mark_menu); this.mark_message_button.popover = new Gtk.Popover.from_model(null, mark_menu);