+2001-10-25 [alfons] 0.6.4claws6
+
+ * src/gtkstext.c
+
+ make GtkSText follow style of GtkText (closes bug
+ #469211 "text selection while writing message");
+
+ do sync with GTK 1.2.10
+
2001-10-25 [paul] 0.6.4claws5
* src/html.c
* correct Alfons' last ChangeLog.claws entry
+>>>>>>> 1.398
2001-10-19 [alfons]
* src/pgptext.[ch]
/*
* Modified by the Sylpheed Team and others 2001. Interesting
* parts are marked using comment block following this one.
- * This modification is based on the GtkSText of GTK 1.2.8
+ * This modification is based on the GtkText of GTK 1.2.10
*/
/* SYLPHEED:
"vadjustment", vadj,
NULL);
+ /* SYLPHEED:
+ * force widget name to be GtkText so it silently adapts
+ * the GtkText widget's style...
+ */
+ gtk_widget_set_name(text, "GtkText");
+ gtk_widget_ensure_style(text);
+
return text;
}
gdk_gc_set_foreground (text->gc, MARK_CURRENT_FORE (text, &text->cursor_mark));
- gdk_draw_text_wc (text->text_area, font,
- text->gc,
- text->cursor_pos_x,
- text->cursor_pos_y - text->cursor_char_offset,
- &text->cursor_char,
- 1);
+ if (text->use_wchar)
+ gdk_draw_text_wc (text->text_area, font,
+ text->gc,
+ text->cursor_pos_x,
+ text->cursor_pos_y - text->cursor_char_offset,
+ &text->cursor_char,
+ 1);
+ else
+ {
+ guchar ch = text->cursor_char;
+ gdk_draw_text (text->text_area, font,
+ text->gc,
+ text->cursor_pos_x,
+ text->cursor_pos_y - text->cursor_char_offset,
+ (gchar *)&ch,
+ 1);
+ }
}
gdk_gc_copy(text->gc, gc);