From dad705c65cc4da62ed23ad917321d274246a05a5 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Wed, 21 Jun 2000 05:37:37 +0000 Subject: Removed the usage of "x" and "y" arguments to EText. 2000-06-21 Christopher James Lahey * notes/e-note.c, widgets/meeting-time-sel/e-meeting-time-sel.c, widgets/shortcut-bar/e-icon-bar.c: Removed the usage of "x" and "y" arguments to EText. * widgets/e-text/e-text.c, widgets/e-text/e-text.h: Removed the "x" and "y" arguments to EText. Added vertical scrolling. svn path=/trunk/; revision=3670 --- notes/e-note.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'notes') 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); -- cgit