aboutsummaryrefslogtreecommitdiffstats
path: root/notes
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-06-21 13:37:37 +0800
committerChris Lahey <clahey@src.gnome.org>2000-06-21 13:37:37 +0800
commitdad705c65cc4da62ed23ad917321d274246a05a5 (patch)
tree7ec0209301cce4e8911068ce927ec0122bfc79bc /notes
parent5df817c875f094ca6477e54cabb2c5cffffda5c5 (diff)
downloadgsoc2013-evolution-dad705c65cc4da62ed23ad917321d274246a05a5.tar
gsoc2013-evolution-dad705c65cc4da62ed23ad917321d274246a05a5.tar.gz
gsoc2013-evolution-dad705c65cc4da62ed23ad917321d274246a05a5.tar.bz2
gsoc2013-evolution-dad705c65cc4da62ed23ad917321d274246a05a5.tar.lz
gsoc2013-evolution-dad705c65cc4da62ed23ad917321d274246a05a5.tar.xz
gsoc2013-evolution-dad705c65cc4da62ed23ad917321d274246a05a5.tar.zst
gsoc2013-evolution-dad705c65cc4da62ed23ad917321d274246a05a5.zip
Removed the usage of "x" and "y" arguments to EText.
2000-06-21 Christopher James Lahey <clahey@helixcode.com> * 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
Diffstat (limited to 'notes')
-rw-r--r--notes/e-note.c5
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);