diff options
-rw-r--r-- | src/gui/gtk/gui-gtk-chat.c | 11 | ||||
-rw-r--r-- | src/gui/gtk/gui-gtk-main.c | 4 |
2 files changed, 8 insertions, 7 deletions
diff --git a/src/gui/gtk/gui-gtk-chat.c b/src/gui/gtk/gui-gtk-chat.c index ddbf062da..e78f9e23b 100644 --- a/src/gui/gtk/gui-gtk-chat.c +++ b/src/gui/gtk/gui-gtk-chat.c @@ -381,9 +381,11 @@ gui_chat_draw (struct t_gui_buffer *buffer, int erase) void gui_chat_draw_line (struct t_gui_buffer *buffer, struct t_gui_line *line) { - //struct t_gui_window *ptr_win; - //unsigned char *message_without_color; - //GtkTextIter start, end; + /* + struct t_gui_window *ptr_win; + unsigned char *message_without_color; + GtkTextIter start, end; + */ (void) buffer; (void) line; @@ -401,8 +403,7 @@ gui_chat_draw_line (struct t_gui_buffer *buffer, struct t_gui_line *line) "\n", -1); gtk_text_buffer_get_bounds (GUI_WINDOW_OBJECTS(ptr_win)->textbuffer_chat, &start, &end); - // TODO - //gtk_text_buffer_apply_tag (ptr_win->textbuffer_chat, ptr_win->texttag_chat, &start, &end); + gtk_text_buffer_apply_tag (ptr_win->textbuffer_chat, ptr_win->texttag_chat, &start, &end); free (message_without_color); } } diff --git a/src/gui/gtk/gui-gtk-main.c b/src/gui/gtk/gui-gtk-main.c index d6a7d0e3d..a36cd291f 100644 --- a/src/gui/gtk/gui-gtk-main.c +++ b/src/gui/gtk/gui-gtk-main.c @@ -143,7 +143,7 @@ gui_main_init () gtk_widget_show (gui_gtk_scrolledwindow_chat); gtk_paned_pack1 (GTK_PANED (gui_gtk_hpaned1), gui_gtk_scrolledwindow_chat, FALSE, TRUE); - //gtk_box_pack_start (GTK_PANED (hpaned1), scrolledwindow_chat, TRUE, TRUE, 0); + /*gtk_box_pack_start (GTK_PANED (hpaned1), scrolledwindow_chat, TRUE, TRUE, 0);*/ gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (gui_gtk_scrolledwindow_chat), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS); gtk_widget_modify_text (gui_gtk_scrolledwindow_chat, GTK_STATE_NORMAL, &color_fg); @@ -153,7 +153,7 @@ gui_main_init () gtk_widget_show (gui_gtk_scrolledwindow_nick); gtk_paned_pack2 (GTK_PANED (gui_gtk_hpaned1), gui_gtk_scrolledwindow_nick, FALSE, TRUE); - //gtk_box_pack_start (GTK_PANED (hpaned1), scrolledwindow_nick, TRUE, TRUE, 0); + /*gtk_box_pack_start (GTK_PANED (hpaned1), scrolledwindow_nick, TRUE, TRUE, 0);*/ gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (gui_gtk_scrolledwindow_nick), GTK_POLICY_NEVER, GTK_POLICY_ALWAYS); gtk_widget_modify_text (gui_gtk_scrolledwindow_nick, GTK_STATE_NORMAL, &color_fg); |