diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-06-21 13:37:37 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-06-21 13:37:37 +0800 |
commit | dad705c65cc4da62ed23ad917321d274246a05a5 (patch) | |
tree | 7ec0209301cce4e8911068ce927ec0122bfc79bc /widgets/meeting-time-sel | |
parent | 5df817c875f094ca6477e54cabb2c5cffffda5c5 (diff) | |
download | gsoc2013-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 'widgets/meeting-time-sel')
-rw-r--r-- | widgets/meeting-time-sel/e-meeting-time-sel.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/widgets/meeting-time-sel/e-meeting-time-sel.c b/widgets/meeting-time-sel/e-meeting-time-sel.c index 99c9430775..10544a81e4 100644 --- a/widgets/meeting-time-sel/e-meeting-time-sel.c +++ b/widgets/meeting-time-sel/e-meeting-time-sel.c @@ -46,6 +46,7 @@ #include <libgnomeui/gnome-canvas-widget.h> #include "../../e-util/e-canvas.h" +#include "e-util/e-canvas-utils.h" #include "e-meeting-time-sel.h" #include "e-meeting-time-sel-item.h" #include "e-meeting-time-sel-list-item.h" @@ -1253,13 +1254,15 @@ e_meeting_time_selector_attendee_add (EMeetingTimeSelector *mts, "max_lines", 1, "editable", TRUE, "text", attendee_name ? attendee_name : "", - "x", (gdouble) E_MEETING_TIME_SELECTOR_ICON_COLUMN_WIDTH - + E_MEETING_TIME_SELECTOR_TEXT_X_PAD, - "y", (gdouble) (mts->attendees->len * mts->row_height + 1 - + E_MEETING_TIME_SELECTOR_TEXT_Y_PAD), "clip_width", (gdouble) item_width, "clip_height", (gdouble) font->ascent + font->descent, NULL); + + e_canvas_item_move_absolute(attendee.text_item, + E_MEETING_TIME_SELECTOR_ICON_COLUMN_WIDTH + + E_MEETING_TIME_SELECTOR_TEXT_X_PAD, + mts->attendees->len * mts->row_height + 1 + + E_MEETING_TIME_SELECTOR_TEXT_Y_PAD); #if 0 gnome_canvas_item_hide (attendee.text_item); #endif |