Mercurial > pidgin.yaz
comparison src/gtkconn.c @ 7409:2ea9bf5686ad
[gaim-migrate @ 8009]
SimGuy says this will do something, but what does he know? Some stuff,
probably.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sun, 02 Nov 2003 08:36:11 +0000 |
parents | 0c0bde5a3959 |
children | 643cbc9a6035 |
comparison
equal
deleted
inserted
replaced
7408:fd464e819dbe | 7409:2ea9bf5686ad |
---|---|
313 GtkTreeIter iter; | 313 GtkTreeIter iter; |
314 | 314 |
315 icon = create_prpl_icon(gaim_connection_get_account(gc)); | 315 icon = create_prpl_icon(gaim_connection_get_account(gc)); |
316 scale = gdk_pixbuf_scale_simple(icon, 16, 16, GDK_INTERP_BILINEAR); | 316 scale = gdk_pixbuf_scale_simple(icon, 16, 16, GDK_INTERP_BILINEAR); |
317 | 317 |
318 label_text = g_strdup_printf("<span weight=\"bold\" size=\"larger\">%s has been disconencted.</span>\n\n%s\n%s", | 318 label_text = g_strdup_printf("<span weight=\"bold\" size=\"larger\">%s has been disconnected.</span>\n\n%s\n%s", |
319 gaim_account_get_username(gaim_connection_get_account(gc)), gaim_date_full(), | 319 gaim_account_get_username(gaim_connection_get_account(gc)), gaim_date_full(), |
320 text ? text : _("Reason Unknown.")); | 320 text ? text : _("Reason Unknown.")); |
321 | 321 |
322 if (!disconnect_window) { | 322 if (!disconnect_window) { |
323 GtkWidget *hbox, *vbox, *img; | 323 GtkWidget *hbox, *vbox, *img; |
388 | 388 |
389 g_object_unref(G_OBJECT(list_store)); | 389 g_object_unref(G_OBJECT(list_store)); |
390 gtk_container_add(GTK_CONTAINER(disconnect_window->sw), disconnect_window->treeview); | 390 gtk_container_add(GTK_CONTAINER(disconnect_window->sw), disconnect_window->treeview); |
391 | 391 |
392 sel = gtk_tree_view_get_selection (GTK_TREE_VIEW (disconnect_window->treeview)); | 392 sel = gtk_tree_view_get_selection (GTK_TREE_VIEW (disconnect_window->treeview)); |
393 gtk_widget_set_size_request(disconnect_window->treeview, -1, 96); | |
393 g_signal_connect (G_OBJECT (sel), "changed", | 394 g_signal_connect (G_OBJECT (sel), "changed", |
394 G_CALLBACK (disconnect_tree_cb), list_store); | 395 G_CALLBACK (disconnect_tree_cb), list_store); |
395 } else { | 396 } else { |
396 list_store = GTK_LIST_STORE(gtk_tree_view_get_model(GTK_TREE_VIEW(disconnect_window->treeview))); | 397 list_store = GTK_LIST_STORE(gtk_tree_view_get_model(GTK_TREE_VIEW(disconnect_window->treeview))); |
397 gtk_list_store_append (list_store, &iter); | 398 gtk_list_store_append (list_store, &iter); |