pandusonu2
b51f8c3ca6
week-grid: realize the week-grid
...
Activate the week-grid by writing the necessary realize, unrealize, map and unmap functions
2016-12-01 23:48:53 -02:00
pandusonu2
e16426db05
week-header: correct padding and drawing
...
Correct the padding for the expand button, to set some space between the button and the border.
Remove the extra code which results in drawing of an additional line.
2016-12-01 23:48:53 -02:00
pandusonu2
97ed5267e2
week-view: fix the sync between sidebar width
...
Fix the width of the sidebar sync between the week view and week header.
2016-12-01 23:48:53 -02:00
pandusonu2
4fde7e369d
week-header: remove unnecessary code and correct access of public functions
...
Remove code of functions which are no longer being used. Also corrected a few public functions and made them private as they won't be used.
2016-12-01 23:48:53 -02:00
pandusonu2
680f220fb2
week-view: draw the hours labels
...
Draw the hour labels in the sidebar of the week grid.
2016-12-01 23:48:53 -02:00
pandusonu2
4b1ff14b6a
week-header: work around with GtkOverlay error
...
Using the height request function to fix the error with height allocation of GtkOverlay widget.
2016-12-01 23:48:53 -02:00
pandusonu2
7927d3b11f
week-header: add support for expanded and collapsed mode
...
Add the expand button and the functions require to expand and collapse the header.
2016-12-01 23:48:53 -02:00
pandusonu2
d6ef05b31d
week-header: adjust theming to match the mockups
...
Set correct font weight, size and draw lines where required.
2016-12-01 23:48:53 -02:00
pandusonu2
4544b39b47
week-header: sort events before placing them
...
Sort the events based on multiday/single day, start date and duration.
2016-12-01 23:48:53 -02:00
pandusonu2
175d22e9ef
week-header: reposition present events on changing active date.
...
When an event lasts beyond the active week, the event placement doesn't change on changing the week.
We removed all the present events and added them to the list of events to be added to reposition them.
2016-12-01 23:48:53 -02:00
pandusonu2
665f91701b
week-header: set correct padding for the grid
...
Set the margin top, left, and right for the grid, according to the mockups.
2016-12-01 23:48:53 -02:00
pandusonu2
62d8fdc057
week-header: manage event display, position and removal
...
Manage the displaying, positioning and removal of events in the week-header.
2016-12-01 23:48:53 -02:00
pandusonu2
0a53f1440e
week-header: set line width and height as in mockup
...
Set the divider line width and height to match the mockup.
2016-12-01 23:48:53 -02:00
Georges Basile Stavracas Neto
a43df17b08
week-header: turn into a GtkGrid
...
If the header is a GtkScrolledWindow, all the content
(including the top labels and week names) are scrolled.
This is a wrong behavior, since only the events should
be scrollable.
Fix that by making GcalWeekHeader a GtkGrid, and adding
the scrolled window in the correct position.
2016-12-01 23:48:53 -02:00
pandusonu2
61f25b78db
week-header: override the size_allocate()
...
Override the size_allocate() widget function to set proper alignment for the grid.
2016-12-01 23:48:53 -02:00
pandusonu2
188d7742b4
week-view: display events in header
...
Displaying events in the week-header based on duration of the event.
2016-12-01 23:48:53 -02:00
pandusonu2
16a1c9b55b
week-header: corrected the date of start of the week
...
The active date is taken as the start of the week
Added a function to get the correct date at start of the week.
2016-12-01 23:48:53 -02:00
pandusonu2
2e82f0a2b8
week-header: use GDateTime in place of icaltimetype
...
Switch to using GDateTime variables in place of icaltimetype variables wherever found.
2016-12-01 23:48:53 -02:00
pandusonu2
4dec80af4f
week-header: made the update_headers()
...
Shifted the code to update labels from the draw() to a separate new function update_headers()
2016-12-01 23:48:53 -02:00
pandusonu2
1122b24216
week-header: modify the draw() to match mockup
...
Made changes in the draw() to match the mockups.
2016-12-01 23:48:53 -02:00
pandusonu2
9ff7d79d7d
week-header: use stack-allocated structure
...
Using stack allocated structure for certain variable in the draw(). Also disabling the week-grid for now.
2016-12-01 23:48:53 -02:00
pandusonu2
bffaa3bd76
week-view: add the EcalDataModelSubscriber functions
...
Added the init, add, modified and removed functions of week-view for data model subscriber.
2016-12-01 23:48:53 -02:00
pandusonu2
16fac7c3a0
week-view: make it a template class
...
Made changes to make the week-view into a template class.
2016-12-01 23:48:53 -02:00
pandusonu2
383cd818e9
week-view: remove unused code
...
Cleaning up the week-view.c file. Removing the previously written code which won't be required.
2016-12-01 23:48:52 -02:00
pandusonu2
c658d030b8
week-grid: created the basic skeleton of week-grid
...
Created the .h, .c and .ui file of week grid. Also made changes in the Makefile.am for it to get built.
2016-12-01 23:48:52 -02:00
pandusonu2
69cade3d77
week-header: created the basic skeleton of the week-header
...
Created the .h, .c and .ui file of week header. Also made changes in the Makefile.am for it to get built.
2016-12-01 23:48:52 -02:00
pandusonu2
3656c781da
build: move week view to views/ subfolder
...
Moved the gcal-week-view.{h,c} into views folder. Made changes in the src/Makefile.am and configure.ac to include the views/gcal-week-view.h.
2016-12-01 23:48:52 -02:00
pandusonu2
d31f20ed72
window: updated update_active_date() for week-view
...
Added the code required to update_active_date for week-view.
2016-12-01 23:48:52 -02:00
pandusonu2
028eb7b994
window: initialize and include week-view in the main window
...
We add the week-view to the views_stack.
Initialize the GtkWidget week_view in the gcal-window.c
2016-12-01 23:48:52 -02:00
Christian Hergert
d29520266d
flatpak: add Calendar flatpak manifest to simplify newcomer setup
...
If using Builder 3.22.3, you can use this manifest to allow building
Calendar against the GNOME master SDK. This means that contributing to
Calendar can be as easy as installing Builder, cloning calendar, set the
manifest build preference,and Build/Run.
2016-11-30 23:58:54 -08:00
Mohammed Sadiq
0514d2b3b8
source-dialog: escape string in markup
...
Calendar name can potentially contain invalid markup texts.
So it have to be escaped to be safe.
https://bugzilla.gnome.org/show_bug.cgi?id=774986
2016-11-30 23:14:13 -02:00
Anders Jonsson
0248188c25
Update Swedish translation
2016-11-28 18:18:59 +00:00
Mohammed Sadiq
6cf5c0317d
edit-dialog: check if event is new the right way
...
Checking if a new event is already having a source succeeds
for some reason (which should actually fail).
But thankfully we already have an event_is_new gboolean flag.
Check the status of that flag and add or update the event.
https://bugzilla.gnome.org/show_bug.cgi?id=771566
2016-11-22 09:54:28 -02:00
Kjartan Maraas
2c0cd4a91c
Updated Norwegian bokmål translation.
2016-11-20 17:41:30 +01:00
Piotr Drąg
3db685f98f
Update Polish translation
2016-11-16 12:58:18 +01:00
Mario Blättermann
4d83d4719e
Update German translation
2016-11-14 08:53:35 +00:00
Fabio Tomat
b9b52377a3
Update Friulian translation
2016-11-13 21:40:04 +00:00
Marek Černocký
37670b010e
Updated Czech translation
2016-11-12 11:37:48 +01:00
Piotr Drąg
4cc24c8c4c
Use Unicode in translatable strings
...
See https://developer.gnome.org/hig/stable/typography.html
https://bugzilla.gnome.org/show_bug.cgi?id=772263
2016-11-11 17:21:19 +01:00
Cheng Lu
806168d15d
Update zh_CN translation
2016-10-29 23:11:07 +08:00
Marek Černocký
2c2caba2c8
Updated Czech translation
2016-10-28 10:38:10 +02:00
Fabio Tomat
051d08f6cb
Update Friulian translation
2016-10-24 20:17:42 +00:00
Charles Monzat
baa1d29ada
Update French translation
2016-10-23 18:06:25 +00:00
Kjartan Maraas
f1999d6ff2
Updated Norwegian bokmål translation.
2016-10-15 13:52:01 +02:00
Cheng-Chia Tseng
3a22324001
Update Chinese (Taiwan) translation
...
(cherry picked from commit 9d54ac7840aece11eb7ff4409336eb5713cf876b)
2016-10-09 13:15:32 +00:00
Milo Casagrande
9d4b7f40c6
Update Italian translation
...
(cherry picked from commit 10a8b7017fbd8add52f54ec25edd4029a2272830)
2016-10-07 07:21:53 +00:00
Isaque Galdino
7c01508620
year-view: Not in sync with month-view
...
When user changes the date in month-view, there is no sync with
year-view. The other way around works just fine, when user selects a
date in year-view, month-view goes to the same date.
Both views share an "active-date", but year-view doesn't obey that
property in some cases. Month-view also doesn't warn when changing that
property.
This commit fixes both views to keep them in sync, updating and using
"active-date" correctly.
https://bugzilla.gnome.org/show_bug.cgi?id=750478
2016-10-05 23:59:33 -03:00
Georges Basile Stavracas Neto
591d8af5e4
theme: add a nice transition on the month chooser widget
2016-10-03 19:56:42 -03:00
Georges Basile Stavracas Neto
65c619b433
edit-dialog: also set top and bottom margins
...
It looks like the cursor at the "Notes" section of the
edit dialog has no vertical space to breath, and it's
a little bit annoying as it runs away from the expected
position.
Fix that by adding a small margin at the top and the bottom
of the text view at the "Notes" section.
2016-10-03 19:37:08 -03:00
Victor Toso
c0ed70f9df
e-cal-data-model: fix critical due invalid time range
...
libecal-CRITICAL **: e_cal_recur_generate_instances_sync: assertion
'icaltime_compare (interval_start, interval_end) < 0' failed
https://bugzilla.gnome.org/show_bug.cgi?id=763047
2016-10-03 19:25:50 -03:00