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
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
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
352ebd40c3
window: code cleanup
...
Removes an unused function and an unused variable.
2015-01-09 09:16:43 -05:00
Georges Basile Stavracas Neto
0b4efe3bed
window: don't change the header title when changed
...
As strongly recommended by the design team, it's redundant to have the 'Results for 'xyz'' title.
2015-01-09 09:16:42 -05:00
Georges Basile Stavracas Neto
d65f01c3f2
window: show the search popover when the entry is mapped
...
This avois the flickering of the popover trying to reach an unmaped widget.
2015-01-09 09:16:42 -05:00
Georges Basile Stavracas Neto
8933b1485a
search-view: reset states when performs the search
...
Also, reset search when starting a new search from window.
2015-01-09 09:16:42 -05:00
Georges Basile Stavracas Neto
469999cd96
window: remove list button from search bar
...
We won't be using is for now, and it causes a lot of confusion. Also, the behavior is quite broken.
2015-01-09 09:16:42 -05:00
Georges Basile Stavracas Neto
f0c126b0ee
window: fix header display
2015-01-09 09:16:42 -05:00
Georges Basile Stavracas Neto
a00bc04f71
window: properly show/hide search bar
...
Instead of relaying on hacks, properly toggle visibility based on the GtkRevealer::child-revealed property.
2015-01-09 09:16:41 -05:00
Georges Basile Stavracas Neto
7f24744455
window: don't hide search bar
2015-01-09 09:16:41 -05:00
Georges Basile Stavracas Neto
c9047c102f
search-view: handle search independently
...
Instead of letting GcalWindow handle the searches,
make GcalSearchView handle it so the widget has
more control over the general appearance of the
popover.
2015-01-09 09:16:41 -05:00