| 1741 status_box->webview_visible = FALSE; |
1741 status_box->webview_visible = FALSE; |
| 1742 status_box->network_available = purple_network_is_available(); |
1742 status_box->network_available = purple_network_is_available(); |
| 1743 status_box->connecting = FALSE; |
1743 status_box->connecting = FALSE; |
| 1744 status_box->typing = 0; |
1744 status_box->typing = 0; |
| 1745 status_box->toggle_button = gtk_toggle_button_new(); |
1745 status_box->toggle_button = gtk_toggle_button_new(); |
| 1746 status_box->hbox = gtk_hbox_new(FALSE, 6); |
1746 status_box->hbox = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6); |
| 1747 status_box->cell_view = gtk_cell_view_new(); |
1747 status_box->cell_view = gtk_cell_view_new(); |
| 1748 status_box->vsep = gtk_vseparator_new(); |
1748 status_box->vsep = gtk_vseparator_new(); |
| 1749 status_box->arrow = gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_NONE); |
1749 status_box->arrow = gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_NONE); |
| 1750 |
1750 |
| 1751 status_box->store = gtk_list_store_new(NUM_COLUMNS, G_TYPE_INT, G_TYPE_STRING, GDK_TYPE_PIXBUF, G_TYPE_STRING, G_TYPE_STRING, |
1751 status_box->store = gtk_list_store_new(NUM_COLUMNS, G_TYPE_INT, G_TYPE_STRING, GDK_TYPE_PIXBUF, G_TYPE_STRING, G_TYPE_STRING, |
| 1828 gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(status_box->cell_view), status_box->icon_rend, "stock-id", ICON_STOCK_COLUMN, NULL); |
1828 gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(status_box->cell_view), status_box->icon_rend, "stock-id", ICON_STOCK_COLUMN, NULL); |
| 1829 gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(status_box->cell_view), status_box->text_rend, "markup", TEXT_COLUMN, NULL); |
1829 gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(status_box->cell_view), status_box->text_rend, "markup", TEXT_COLUMN, NULL); |
| 1830 gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(status_box->cell_view), emblem_rend, "pixbuf", EMBLEM_COLUMN, "visible", EMBLEM_VISIBLE_COLUMN, NULL); |
1830 gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(status_box->cell_view), emblem_rend, "pixbuf", EMBLEM_COLUMN, "visible", EMBLEM_VISIBLE_COLUMN, NULL); |
| 1831 g_object_set(status_box->text_rend, "ellipsize", PANGO_ELLIPSIZE_END, NULL); |
1831 g_object_set(status_box->text_rend, "ellipsize", PANGO_ELLIPSIZE_END, NULL); |
| 1832 |
1832 |
| 1833 status_box->vbox = gtk_vbox_new(0, FALSE); |
1833 status_box->vbox = gtk_box_new(GTK_ORIENTATION_VERTICAL, FALSE); |
| 1834 status_box->sw = pidgin_create_webview(TRUE, &status_box->webview, NULL); |
1834 status_box->sw = pidgin_create_webview(TRUE, &status_box->webview, NULL); |
| 1835 pidgin_webview_hide_toolbar(PIDGIN_WEBVIEW(status_box->webview)); |
1835 pidgin_webview_hide_toolbar(PIDGIN_WEBVIEW(status_box->webview)); |
| 1836 |
1836 |
| 1837 #if 0 |
1837 #if 0 |
| 1838 g_signal_connect(G_OBJECT(status_box->toggle_button), "button-press-event", |
1838 g_signal_connect(G_OBJECT(status_box->toggle_button), "button-press-event", |