pidgin/gtkstatusbox.c

changeset 34276
2b602f67f875
parent 34274
9169710b5af5
child 34308
cdb187c27360
child 34874
e03d555394c5
equal deleted inserted replaced
34275:a6ddc53d1c84 34276:2b602f67f875
1834 gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(status_box->cell_view), status_box->text_rend, "markup", TEXT_COLUMN, NULL); 1834 gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(status_box->cell_view), status_box->text_rend, "markup", TEXT_COLUMN, NULL);
1835 gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(status_box->cell_view), emblem_rend, "pixbuf", EMBLEM_COLUMN, "visible", EMBLEM_VISIBLE_COLUMN, NULL); 1835 gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(status_box->cell_view), emblem_rend, "pixbuf", EMBLEM_COLUMN, "visible", EMBLEM_VISIBLE_COLUMN, NULL);
1836 g_object_set(status_box->text_rend, "ellipsize", PANGO_ELLIPSIZE_END, NULL); 1836 g_object_set(status_box->text_rend, "ellipsize", PANGO_ELLIPSIZE_END, NULL);
1837 1837
1838 status_box->vbox = gtk_vbox_new(0, FALSE); 1838 status_box->vbox = gtk_vbox_new(0, FALSE);
1839 status_box->sw = pidgin_create_webview(FALSE, &status_box->webview, NULL); 1839 status_box->sw = pidgin_create_webview(TRUE, &status_box->webview, NULL);
1840 gtk_webview_set_editable(GTK_WEBVIEW(status_box->webview), TRUE); 1840 gtk_webview_hide_toolbar(GTK_WEBVIEW(status_box->webview));
1841 1841
1842 #if 0 1842 #if 0
1843 g_signal_connect(G_OBJECT(status_box->toggle_button), "button-press-event", 1843 g_signal_connect(G_OBJECT(status_box->toggle_button), "button-press-event",
1844 G_CALLBACK(button_pressed_cb), status_box); 1844 G_CALLBACK(button_pressed_cb), status_box);
1845 g_signal_connect(G_OBJECT(status_box->toggle_button), "button-release-event", 1845 g_signal_connect(G_OBJECT(status_box->toggle_button), "button-release-event",

mercurial