aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-10-15 06:13:46 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-30 01:50:00 +0800
commit9c183ab12ae27089ce972e29aab7000c2edfd466 (patch)
treea1d54e110940b2962b12e08ac6d09cc5e03ebdb6 /calendar
parente4489322156d487fe7346a1a564a7837c73cddc1 (diff)
downloadgsoc2013-evolution-9c183ab12ae27089ce972e29aab7000c2edfd466.tar
gsoc2013-evolution-9c183ab12ae27089ce972e29aab7000c2edfd466.tar.gz
gsoc2013-evolution-9c183ab12ae27089ce972e29aab7000c2edfd466.tar.bz2
gsoc2013-evolution-9c183ab12ae27089ce972e29aab7000c2edfd466.tar.lz
gsoc2013-evolution-9c183ab12ae27089ce972e29aab7000c2edfd466.tar.xz
gsoc2013-evolution-9c183ab12ae27089ce972e29aab7000c2edfd466.tar.zst
gsoc2013-evolution-9c183ab12ae27089ce972e29aab7000c2edfd466.zip
gnome-canvas: Change line-width handling of GnomeCanvasShape
Remove "width-pixels" property and replace the "width-units" property name with "line-width". Also adapt the code to use "line-width". It didn't really matter which property was used, because the views weren't scaled.
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/e-day-view.c6
-rw-r--r--calendar/gui/weekday-picker.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index a1ee0948f5..8f04f51006 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -1155,7 +1155,7 @@ e_day_view_init (EDayView *day_view)
day_view->drag_long_event_rect_item =
gnome_canvas_item_new (canvas_group,
gnome_canvas_rect_get_type (),
- "width_pixels", 1,
+ "line_width", 1.0,
NULL);
gnome_canvas_item_hide (day_view->drag_long_event_rect_item);
@@ -1227,14 +1227,14 @@ e_day_view_init (EDayView *day_view)
day_view->drag_rect_item =
gnome_canvas_item_new (canvas_group,
gnome_canvas_rect_get_type (),
- "width_pixels", 1,
+ "line_width", 1.0,
NULL);
gnome_canvas_item_hide (day_view->drag_rect_item);
day_view->drag_bar_item =
gnome_canvas_item_new (canvas_group,
gnome_canvas_rect_get_type (),
- "width_pixels", 1,
+ "line_width", 1.0,
NULL);
gnome_canvas_item_hide (day_view->drag_bar_item);
diff --git a/calendar/gui/weekday-picker.c b/calendar/gui/weekday-picker.c
index 8e95a728c7..8cf6367b0f 100644
--- a/calendar/gui/weekday-picker.c
+++ b/calendar/gui/weekday-picker.c
@@ -173,7 +173,7 @@ configure_items (WeekdayPicker *wp)
"y1", (double) 0,
"x2", (double) ((i + 1) * box_width),
"y2", (double) (height - 1),
- "width_pixels", 0,
+ "line_width", 0.0,
NULL);
c = get_day_text (day);