Commit Graph
1155 Commits
Author SHA1 Message Date
Erick Pérez Castellanos 92ea54ac7b year-view: fix bug when ListBoxRow child is NULL 2015-01-20 17:15:17 -05:00
Erick Pérez Castellanos 4247018bde year-view: initial UI for no events days 2015-01-20 17:06:22 -05:00
Erick Pérez Castellanos 9b222e8d5f year-view: fix 31 of december and query range
icaltime_compare_date_only doesn't work as I expected. So moving back to
icaltime_compare along and fixing condition to include not all-day events
2015-01-20 17:04:16 -05:00
Erick Pérez Castellanos 2ff6bb460e gcal-view: remove unused funcs 2015-01-20 15:03:12 -05:00
Erick Pérez Castellanos 648ae18162 window: use GcalView::get_children_by_uuid 2015-01-20 14:48:46 -05:00
Erick Pérez Castellanos b03a906eee month-view: impl GcalView::get_children_by_uuid 2015-01-20 14:48:27 -05:00
Erick Pérez Castellanos 3ac46c9a3c misc: comments and whitespace fixes 2015-01-20 13:55:49 -05:00
Erick Pérez Castellanos d76ba04d92 year-view: prevent segfault when there's no child 2015-01-20 13:47:39 -05:00
Erick Pérez Castellanos a9ca220457 build: remove nav-bar unused files 2015-01-20 13:47:39 -05:00
Erick Pérez Castellanos 699bb47363 window: remove unneeded GcalNavBar
Previously GcalNavBar sported navigation buttons (which are gone) and
the labels. The labels alone are easily drawn inside the views, and we
could use the space more wisely.
2015-01-20 13:47:38 -05:00
Erick Pérez Castellanos bdacaeaa59 month-view: add view headers of its own 2015-01-20 13:47:38 -05:00
Piotr Drąg 93fa37ce11 Replace three dots with a proper ellipsis 2015-01-20 19:22:35 +01:00
Erick Pérez Castellanos 18ee4de144 year-view: impl GcalView::get_children_by_uuid 2015-01-20 13:12:01 -05:00
Erick Pérez Castellanos 03b108ff71 GcalView: add get_children by uuid method
After adding it and removing it, and adding it again. I think this time
is for good. We're keeping GcalView interface as parent of every view
shown in the application.
2015-01-20 13:12:01 -05:00
Erick Pérez Castellanos 0f13cb4a11 month-view: optimize days_delay update
No need of memory allocation and releasing which is costly.
2015-01-20 13:12:01 -05:00
Erick Pérez Castellanos 2bd81dc2ee window: disable week-view as it is unfinished
After the release we will restart the work on it
2015-01-20 13:12:00 -05:00
Erick Pérez Castellanos c62d808a35 year-view: fix subscriber callback
GcalYearView::start_selected_date will always be started into something
and comparing against zero no matters what returns will enter in one of
the two categories
Still before 3.16, this code should change.
2015-01-20 13:12:00 -05:00
Erick Pérez Castellanos ffc7a7f577 year-view: update sidebar on year changing 2015-01-20 13:12:00 -05:00
Erick Pérez Castellanos 85d7461cff year-view: added popover mode 2015-01-20 13:12:00 -05:00
Erick Pérez Castellanos 70f788ad25 year-view: comment for post-release fixes 2015-01-20 13:12:00 -05:00
Erick Pérez Castellanos e1ba556f2e year-view: connect current_date to window
Update sidebar whenever the current_date is updated.
This current_date mechanism is going to be moved completely into GcalWindow.
2015-01-20 13:12:00 -05:00
Erick Pérez Castellanos caaf492a3d year-view: add manager subscription process 2015-01-20 13:12:00 -05:00
Erick Pérez Castellanos 0dd6458ae8 event-widget: fix compare function 2015-01-20 13:11:59 -05:00
Erick Pérez Castellanos f7beeadbb2 year-view: adding second header to sidebar 2015-01-20 13:11:59 -05:00
Erick Pérez Castellanos fb3cc4caaf year-view: added update_sidebar and widget marking 2015-01-20 13:11:59 -05:00
Erick Pérez Castellanos 338f4c039f year-view: initial sidebar impl 2015-01-20 13:11:59 -05:00
Erick Pérez Castellanos 01f5276764 manager: retrieve events on a range 2015-01-20 13:11:59 -05:00
Erick Pérez Castellanos d53a3570bf event-widget: added compare function
This compare function is made to sort using the same two methods used
before but together, giving priority to the longer events.
The idea is sort event properly on year-view's sidebar.
This function will probably change later.
2015-01-20 13:11:59 -05:00
Erick Pérez Castellanos 0770a12ea9 year-view: add event handling to navigator 2015-01-20 13:11:58 -05:00
Erick Pérez Castellanos e49418a26d year-view: add navigator drawing 2015-01-20 13:11:58 -05:00
Erick Pérez Castellanos 19c8ae9d0e year-view: provide GcalView implementation 2015-01-20 13:11:58 -05:00
Erick Pérez Castellanos 0b2367200b copyright: update year 2015-01-20 13:11:58 -05:00
Erick Pérez Castellanos d15c4a5c1b view iface: remove manager property
There's no reason at all why manager should be a property inside the
views. It won't benefit of bindings or anything else inherent to GObject
property system.
2015-01-20 13:11:58 -05:00
Erick Pérez Castellanos 24b8c553dc year-view: initial commit
Dropped almost everything. Started using an ui file and using a GtkBox
as a parent.
2015-01-20 13:11:58 -05:00
Georges Basile Stavracas Neto 17e5327cf4 manager: prevent a segfault when opening edit dialog with no sources connected 2015-01-13 17:10:39 -02:00
Georges Basile Stavracas Neto 5423280398 edit-dialog: use UI file to connect signals
Fixes bug #739313.
2015-01-13 17:02:07 -02:00
Georges Basile Stavracas Neto c799acf482 edit-dialog: calculate all_day before using it to set the dates
It was using the all_day var before actually using it.

This caused an issue where the start time showed as the current time.
2015-01-13 16:18:40 -02:00
Georges Basile Stavracas Neto b1daf9eeb4 edit-dialog: remove unused field
The old times when calendar used GtkTreeIter has passed, and it no longer needs the active iter field.
2015-01-13 13:29:17 -02:00
Georges Basile Stavracas Neto 3cf37cc3d2 window: remove unused prototype
The code was implemented at gcal-utils, so no need to have it here.
2015-01-13 13:25:11 -02:00
Georges Basile Stavracas Neto 6de2bdd292 edit-dialog: fix missing icons from source selection menu 2015-01-13 13:23:42 -02:00
Georges Basile Stavracas Neto 6094cb7b69 window: fix missing icons from calendar management menu 2015-01-13 13:23:10 -02:00
Georges Basile Stavracas Neto b44f14bdf2 utils: added code to show the GtkPopover menu's icons
This will be useful for the next commits, which will introduce a fix for the hidden icons at calendar menus.
2015-01-13 13:21:48 -02:00
Erick Pérez Castellanos eee9d11633 window: move search-view into ui file
This new impl of search-view will allow a lot of cleaning on GcalWindow impl
2015-01-09 15:01:02 -05:00
Erick Pérez Castellanos ea21ffdd70 search-view: internal manager is not a property
The idea here it to include SearchView as a widget in GcalWindow
Builder UI file.
2015-01-09 15:01:01 -05:00
Georges Basile Stavracas Neto 7f8e8eaa1f window: show search view when animation finish, hide when animation starts
This prevents a warning, and makes the behavior a little bit more polished.
2015-01-09 12:53:42 -02:00
Georges Basile Stavracas Neto ee09608a58 search-view: remove non-working connection
All the source update stuff is done internally by ECalDataModel, and we don't need to do it again.
2015-01-09 12:40:16 -02:00
Erick Pérez Castellanos 79f4000271 year-view: fix reminders of the merge 2015-01-09 09:22:03 -05:00
Erick Pérez Castellanos 029e34a205 year-view: remove debug statement 2015-01-09 09:16:44 -05:00
Erick Pérez Castellanos 372c6fba3d search-view: fix memory leak
Use internal icaltimetype from ECalComponentDateTime. Mark
GcalSearchView::event-activated signal parameter as constant.
2015-01-09 09:16:44 -05:00
Erick Pérez Castellanos 4832f5e79e providers: remove from screen on app::finalize
This fixes the quirks of decreasing the refcount after attaching the
providers to the default screen.
2015-01-09 09:16:44 -05:00