Mercurial > pidgin
changeset 10065:006410d0ae0c
[gaim-migrate @ 11040]
sf patch 1035572, give a title to the disconnected window.
Thanks to Philip Van Hoof (freax)
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 27 Sep 2004 21:46:01 +0000 |
parents | 467144765989 |
children | 2c8a9f9a71e6 |
files | COPYRIGHT src/gtkconn.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/COPYRIGHT Mon Sep 27 02:51:53 2004 +0000 +++ b/COPYRIGHT Mon Sep 27 21:46:01 2004 +0000 @@ -169,6 +169,7 @@ Chris Toshok Junichi Uekawa István Váradi +Philip Van Hoof David Vermeille Bjoern Voigt Nathan Walp
--- a/src/gtkconn.c Mon Sep 27 02:51:53 2004 +0000 +++ b/src/gtkconn.c Mon Sep 27 21:46:01 2004 +0000 @@ -377,7 +377,7 @@ GtkTreeSelection *sel = NULL; GtkTreeModel *model = NULL; GaimAccount *account = NULL; - + switch (id) { case GTK_RESPONSE_APPLY: /* Reconnect All */ model = gtk_tree_view_get_model(GTK_TREE_VIEW(disconnect_window->treeview)); @@ -572,6 +572,7 @@ gtk_container_set_border_width(GTK_CONTAINER(disconnect_window->window), 6); gtk_window_set_resizable(GTK_WINDOW(disconnect_window->window), FALSE); + gtk_window_set_title(GTK_WINDOW(disconnect_window->window), _("Disconnected")); gtk_dialog_set_has_separator(GTK_DIALOG(disconnect_window->window), FALSE); gtk_box_set_spacing(GTK_BOX(GTK_DIALOG(disconnect_window->window)->vbox), 12); gtk_container_set_border_width(GTK_CONTAINER(GTK_DIALOG(disconnect_window->window)->vbox), 6); @@ -631,7 +632,7 @@ col = gtk_tree_view_column_new_with_attributes (_("Time"), rend, "text", 2, NULL); gtk_tree_view_append_column (GTK_TREE_VIEW(disconnect_window->treeview), col); - + g_object_unref(G_OBJECT(list_store)); gtk_container_add(GTK_CONTAINER(disconnect_window->sw), disconnect_window->treeview);