pidgin/gtkconv.c

changeset 24052
c42d7ffd4180
parent 23500
e39b78b393fe
child 24110
e7e4fd750834
equal deleted inserted replaced
24051:a8d6c562aa93 24052:c42d7ffd4180
6602 6602
6603 if (pidgin_conv_window_is_active_conversation(conv)) 6603 if (pidgin_conv_window_is_active_conversation(conv))
6604 update_typing_icon(gtkconv); 6604 update_typing_icon(gtkconv);
6605 6605
6606 gtk_label_set_text(GTK_LABEL(gtkconv->menu_label), title); 6606 gtk_label_set_text(GTK_LABEL(gtkconv->menu_label), title);
6607 if (pidgin_conv_window_is_active_conversation(conv)) 6607 if (pidgin_conv_window_is_active_conversation(conv)) {
6608 gtk_window_set_title(GTK_WINDOW(win->window), title); 6608 const char* current_title = gtk_window_get_title(GTK_WINDOW(win->window));
6609 if (current_title == NULL || strcmp(current_title, title) != 0)
6610 gtk_window_set_title(GTK_WINDOW(win->window), title);
6611 }
6609 6612
6610 g_free(title); 6613 g_free(title);
6611 } 6614 }
6612 } 6615 }
6613 6616

mercurial