[gnome-calendar/wip/pandusonu/week-view] week-grid: set child widgets' orientation to vertical
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/wip/pandusonu/week-view] week-grid: set child widgets' orientation to vertical
- Date: Thu, 15 Dec 2016 19:04:18 +0000 (UTC)
commit 9da0704e37f3d103cc230787238af0e6023784ce
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Dec 15 17:03:26 2016 -0200
week-grid: set child widgets' orientation to vertical
src/views/gcal-week-grid.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/views/gcal-week-grid.c b/src/views/gcal-week-grid.c
index 5ab9c94..ae982e7 100644
--- a/src/views/gcal-week-grid.c
+++ b/src/views/gcal-week-grid.c
@@ -1009,9 +1009,13 @@ gcal_week_grid_add_event (GcalWeekGrid *self,
g_return_if_fail (GCAL_IS_WEEK_GRID (self));
- widget = gcal_event_widget_new (event);
- start = 0;
end = 0;
+ start = 0;
+
+ widget = g_object_new (GCAL_TYPE_EVENT_WIDGET,
+ "event", event,
+ "orientation", GTK_ORIENTATION_VERTICAL,
+ NULL);
self->children_changed = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]