diff options
Diffstat (limited to 'notes/e-note.c')
-rw-r--r-- | notes/e-note.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/notes/e-note.c b/notes/e-note.c index ea3fd2ebdd..998acd24f0 100644 --- a/notes/e-note.c +++ b/notes/e-note.c @@ -279,8 +279,6 @@ e_note_init (ENote *note) priv->text_item = gnome_canvas_item_new (gnome_canvas_root (GNOME_CANVAS (priv->canvas)), e_text_get_type (), - "x", 5.0, - "y", 25.0, "text", "", "font_gdk", priv->canvas->style->font, "fill_color", "black", @@ -290,6 +288,9 @@ e_note_init (ENote *note) "line_wrap", TRUE, "width", 150.0, NULL); + e_canvas_item_move_absolute(priv->text_item, + 5, 25); + gtk_signal_connect (GTK_OBJECT (E_TEXT (priv->text_item)->model), "changed", GTK_SIGNAL_FUNC (e_note_text_changed), note); |