--- a/pidgin/pidginconversationwindow.c Sun Jul 31 15:18:37 2022 -0500
+++ b/pidgin/pidginconversationwindow.c Sun Jul 31 23:17:22 2022 -0500
@@ -45,6 +45,7 @@
+ GtkTreeSelection *selection; @@ -200,6 +201,7 @@
PIDGIN_CONVERSATION_WINDOW_COLUMN_MARKUP, _("Conversations"),
PIDGIN_CONVERSATION_WINDOW_COLUMN_NAME, "__conversations__",
+ gtk_tree_selection_select_iter(window->selection, &iter); window->conversation_path = gtk_tree_model_get_path(GTK_TREE_MODEL(window->model),
@@ -236,6 +238,8 @@
gtk_widget_class_bind_template_child(widget_class, PidginConversationWindow,
+ gtk_widget_class_bind_template_child(widget_class, PidginConversationWindow, gtk_widget_class_bind_template_child(widget_class, PidginConversationWindow,
--- a/pidgin/resources/Conversations/window.ui Sun Jul 31 15:18:37 2022 -0500
+++ b/pidgin/resources/Conversations/window.ui Sun Jul 31 23:17:22 2022 -0500
@@ -84,7 +84,8 @@
<property name="headers-visible">False</property>
<property name="search-column">3</property>
<child internal-child="selection">
- <object class="GtkTreeSelection">
+ <object class="GtkTreeSelection" id="selection"> + <property name="mode">browse</property> <signal name="changed" handler="pidgin_conversation_window_selection_changed" object="PidginConversationWindow" swapped="no"/>