pidgin/pidginconversationwindow.c

changeset 41443
60cec3b7ad30
parent 41441
e114ed471a1e
child 41476
1a53026013e4
equal deleted inserted replaced
41442:80d00b75945c 41443:60cec3b7ad30
83 83
84 changed = TRUE; 84 changed = TRUE;
85 } 85 }
86 86
87 if(!changed) { 87 if(!changed) {
88 gtk_stack_set_visible_child_name(GTK_STACK(window->stack), "__empty__"); 88 gtk_stack_set_visible_child_name(GTK_STACK(window->stack), "__conversations__");
89 } 89 }
90 } 90 }
91 91
92 static gboolean 92 static gboolean
93 pidgin_conversation_window_key_pressed_cb(GtkEventControllerKey *controller, 93 pidgin_conversation_window_key_pressed_cb(GtkEventControllerKey *controller,
196 -1); 196 -1);
197 197
198 gtk_tree_store_append(window->model, &iter, NULL); 198 gtk_tree_store_append(window->model, &iter, NULL);
199 gtk_tree_store_set(window->model, &iter, 199 gtk_tree_store_set(window->model, &iter,
200 PIDGIN_CONVERSATION_WINDOW_COLUMN_MARKUP, _("Conversations"), 200 PIDGIN_CONVERSATION_WINDOW_COLUMN_MARKUP, _("Conversations"),
201 PIDGIN_CONVERSATION_WINDOW_COLUMN_NAME, "__conversations__",
201 -1); 202 -1);
202 window->conversation_path = gtk_tree_model_get_path(GTK_TREE_MODEL(window->model), 203 window->conversation_path = gtk_tree_model_get_path(GTK_TREE_MODEL(window->model),
203 &iter); 204 &iter);
204 } 205 }
205 206

mercurial