Georges Basile Stavracas Neto
17f56895dd
window: use markup label for in-app notification
2015-05-25 12:35:26 -04:00
Georges Basile Stavracas Neto
9df8b8077d
window: implement removing and undoing the removal of a calendar
...
We're still facing the bug where the just-added calendar segfaults when removed.
2015-05-25 12:35:26 -04:00
Georges Basile Stavracas Neto
4585b44941
window: remove annoying compile warning
...
Hey GCC, they're just pointers!
2015-05-25 12:31:07 -04:00
Georges Basile Stavracas Neto
d6b4aef582
window: sort calendars by name
2015-05-25 12:31:07 -04:00
Georges Basile Stavracas Neto
df1b7def8c
window: refresh calendar list when a source is edited
2015-05-25 12:31:07 -04:00
Georges Basile Stavracas Neto
c91d5bbb59
window: hide calendar popover when the dialog is trigged
2015-05-25 12:31:06 -04:00
Georges Basile Stavracas Neto
b08165364a
window: set the source dialog's manager field
2015-05-25 12:31:06 -04:00
Georges Basile Stavracas Neto
557ec083da
window: set the source to be edited
2015-05-25 12:31:05 -04:00
Georges Basile Stavracas Neto
95af5c72d3
window: hide the dialog after the response
2015-05-25 12:31:05 -04:00
Georges Basile Stavracas Neto
143444ddd5
window: show source dialog when a calendar is activated
2015-05-25 12:31:05 -04:00
Georges Basile Stavracas Neto
7e9d722206
window: set source dialog to create mode
2015-05-25 12:31:05 -04:00
Georges Basile Stavracas Neto
6dccbfe431
window: show sources dialog
2015-05-25 12:31:05 -04:00
Georges Basile Stavracas Neto
ee2c22b950
window: add a GcalSourceDialog instance
2015-05-25 12:31:05 -04:00
Georges Basile Stavracas Neto
cb532bbfbd
window: port the calendar popover to GtkListBox
...
This is a significant rewrite of the calendar popover. Instead of adding actions to the window, it uses a internal map to find the corresponding source.
2015-05-25 12:31:04 -04:00
Georges Basile Stavracas Neto
66c464d92e
window: remove unneeded shortcuts
2015-05-14 15:35:38 -03:00
Georges Basile Stavracas Neto
6a017cca8b
window: add view switching shortcuts
...
<Ctrl>PgUp to go to the previous view
<Ctrl>PgDn to go to the next view
<Ctrl>2 to go to month view
<Ctrl>3 to go to year view
2015-05-13 20:13:18 -03:00
Georges Basile Stavracas Neto
a75d458f69
window: use a macro to simplify code
2015-05-13 15:22:37 -03:00
Georges Basile Stavracas Neto
052e64eb53
window: add accelerators to change date
...
<Alt>Left for previous date
<Alt>Down or <Ctrl>t for today
<Alt>Right for next date
More expected shortcuts are being discussed and
registered at https://etherpad.gnome.org/p/calendar-keynav .
2015-05-13 11:39:14 -03:00
Erick Pérez Castellanos
601f3c461e
app: add event uses current date as start
...
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=748133
2015-04-26 21:49:25 -04:00
Marcus Lundblad
adfffad88d
window: mark date format string for new event popover for translation
...
https://bugzilla.gnome.org/show_bug.cgi?id=746928
2015-04-07 10:17:27 -03:00
Georges Basile Stavracas Neto
955c934956
window: block automatic creation of nameless events
...
We shouldn't let nameless events be created.
This commit blocks all ways to create them
when the name is not set.
The user can still edit events' data.
2015-04-02 12:35:29 -03:00
Erick Pérez Castellanos
c7563da2d0
app: handle calendars colours better
...
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=745487
2015-03-06 11:32:32 -05:00
Erick Pérez Castellanos
91defe22de
window: handle reissue of in-app notification
...
For now we throw the first one away, and show the second. Eventually we
could handle this better.
2015-02-16 09:31:21 -05:00
Erick Pérez Castellanos
8fadbaa760
misc: fix various memory leaks
2015-02-16 09:31:20 -05:00
Erick Pérez Castellanos
ef774ad2c2
window: update subscriptions after active-date
...
notification
Some views need to update itself when the dates changes,
e.g. WeekView. This allows to update the state of the view and be ready
properly for the components update.
2015-02-16 09:31:19 -05:00
Erick Pérez Castellanos
14bdca1605
window: use current_date
...
Streamline code a bit
2015-02-06 09:21:37 -05:00
Erick Pérez Castellanos
b1df382ee3
app: use get_color_name_from_source()
2015-02-06 09:21:36 -05:00
Erick Pérez Castellanos
06768733f7
window: fix calendars popover population
...
When the application load as a service by the time a user opens a window
GcalManager:source-added signals has passed and the calendars popover
does not contains any items. Use GcalManager::load_completed API
2015-02-06 09:21:36 -05:00
Erick Pérez Castellanos
bed360b013
window: set search terms API
2015-02-06 09:21:35 -05:00
Erick Pérez Castellanos
e79484f6f4
window: style issue
2015-02-06 09:21:35 -05:00
Erick Pérez Castellanos
158523bb6b
window: wait for callbacks execution
...
When the date has been just moved, the ECalDataModel callbacks has not
had time to execute so the vie wis empty. Schedule a request to allow
the callbacks execution.
2015-02-06 09:21:35 -05:00
Erick Pérez Castellanos
c96b9f05e4
window: add func to show an event from its uuid
2015-02-06 09:21:34 -05:00
Erick Pérez Castellanos
8af1e6c02a
window: month view navigation fixed for February
...
Since February have 28 days sometimes when you add month to January, 29
icaltime_normalize() takes you to February, 29 which is actually, March, 1.
The same happens for January 30 and 31.
2015-01-29 09:20:27 -05:00
Erick Pérez Castellanos
88e95081c5
month-view: highlight current date properly
...
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=703323
2015-01-28 15:54:16 -05:00
Erick Pérez Castellanos
86d5a23ddd
app: initial current date marking work
2015-01-28 15:18:53 -05:00
Erick Pérez Castellanos
2465dfca40
window: add month-view and year-view to UI file
2015-01-27 22:52:20 -05:00
Erick Pérez Castellanos
fa2f300362
app: move view subscription to GcalWindow
...
Initialize :manager property first and :active-date later. Allocate
::active_date instance on instance init vfunc.
2015-01-27 22:37:44 -05:00
Erick Pérez Castellanos
6d2dfdf9a1
app: update date when change in views
...
year-view: update date on selection
2015-01-27 19:10:28 -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
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
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
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
e49418a26d
year-view: add navigator drawing
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
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
6094cb7b69
window: fix missing icons from calendar management menu
2015-01-13 13:23:10 -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