Erick Pérez Castellanos
264492580e
edit-dialog: convert time to timezone
2015-02-16 09:31:21 -05:00
Erick Pérez Castellanos
8f1b118abb
event-widget: fix events with no end date
2015-02-16 09:31:21 -05:00
Erick Pérez Castellanos
4c7a99e7bf
event-widget: handle timezone properly
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
44411f233a
year-view: impl comp added properly
...
Previously we updated the sidebar completely, removing every children
and add it again after it. There's no need of it, if we provide a
sort_func to the ListBox and add only the component received
2015-02-16 09:31:20 -05:00
Erick Pérez Castellanos
6ddb9da442
month-view: fix range selection
...
We add one day in order to have the all-day event span the selected
days. If the range was selected from large day to a shorter one this was
chopping one day of the range. Adding the extra day after the range has
been sorted.
2015-02-16 09:31:20 -05:00
Erick Pérez Castellanos
cb0571987a
event-widget: properly handle timezone
...
For now, we're going to convert every widget time into our timezone
without question. Further along the way, when we have a more complete
edit-dialog we can handle this in a less strict manner.
2015-02-16 09:31:20 -05:00
Erick Pérez Castellanos
d447d45f2b
style: shorten a bit the size of the headers
2015-02-16 09:31:20 -05:00
Erick Pérez Castellanos
48f1529e15
month-view: draw overflow indicators
...
This was wrongly removed by me before, I should have changed
gtk_widget_queue_draw_area() to gtk_widget_queue_draw() instead of
removing it completely.
2015-02-16 09:31:20 -05:00
Erick Pérez Castellanos
a4212d16f2
month-view: add widgets margin to its allocation
2015-02-16 09:31:20 -05:00
Erick Pérez Castellanos
eb8d16bbc7
event-widget: fix size requisition
...
Size requisition previously add margin to the size requested. Margin
should be taken into account outside of the widget. Moving margin to the
container and use border, which previously was not used.
2015-02-16 09:31:19 -05:00
Erick Pérez Castellanos
0aa162a9e7
window: show every widget by default
2015-02-16 09:31:19 -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
bd2b6356b1
app: use gtk_widget_show() instead of show_all()
...
Remove comment
2015-02-16 09:31:19 -05:00
Erick Pérez Castellanos
6e6643d1de
build: bump glib requirements
...
This is needed for the use of G_DECARE_FINAL_TYPE macros
2015-02-13 12:35:00 -05:00
Erick Pérez Castellanos
cff527f642
month-view: fix some of the event-widget tagging
2015-02-13 09:12:15 -05:00
Erick Pérez Castellanos
46904450ad
edit-dialog: use word wrap on the description field
2015-02-13 09:12:15 -05:00
Erick Pérez Castellanos
6be8b4b5ae
app: use source-added signal to load css providers
...
After the changes of latest EDS is needed to use source-added signal
again since the some sources might take longer to connect than others.
2015-02-13 09:12:15 -05:00
Erick Pérez Castellanos
348be33329
app: event-widget CSS code for classes rewritten
2015-02-13 09:12:15 -05:00
Erick Pérez Castellanos
16d77a6718
Revert "event-widget: hardcode padding-top/bottom at 4px"
...
This reverts commit 554ef1d80b .
2015-02-13 09:12:15 -05:00
Erick Pérez Castellanos
10429b3f8c
shell-search: app set initial date to current on its own
2015-02-06 09:21:37 -05:00
Erick Pérez Castellanos
b203f4da53
manager: enable/disable shell-search model
2015-02-06 09:21:37 -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
546b137d24
utils: removing unused functions
2015-02-06 09:21:36 -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
f0e35881e7
manager: add ::source_enabled API
2015-02-06 09:21:36 -05:00
Erick Pérez Castellanos
837c33399f
misc: remove comments and debug instructions
2015-02-06 09:21:36 -05:00
Erick Pérez Castellanos
cc18c97197
shell-search: impl launch-search
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
7d7ded58aa
shell-search: fix hold/release pair of functions
2015-02-06 09:21:35 -05:00
Erick Pérez Castellanos
18dfac5e5a
shell-search: fix valgrind shown leaks
2015-02-06 09:21:35 -05:00
Erick Pérez Castellanos
16f6d28ac6
shell-search: impl activate result
2015-02-06 09:21:35 -05:00
Erick Pérez Castellanos
023dbb0632
manager: obtain event data from its uuid
...
This is only enable on the shell search provider model for now. If it
proves useful we can extend it to some other place
2015-02-06 09:21:34 -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
f4799552aa
app: set initial on GcalWindow always
...
Add function to allow the search provider to set the value.
2015-02-06 09:21:34 -05:00
Erick Pérez Castellanos
4f689b22e6
app: read uuid from cli option
...
Use also a function to set the value of the event's uuid to show.
2015-02-06 09:21:34 -05:00
Erick Pérez Castellanos
0655c34462
shell-search: improve async query preparation
2015-02-06 09:21:34 -05:00
Erick Pérez Castellanos
46c9742a90
app: properly ordered shell search initialization and setup
2015-02-06 09:21:34 -05:00
Erick Pérez Castellanos
f3e97aa3bd
shell-search: initial impl of get_search_result and get_result_metas
...
This code is missing the handling of :activate-result and :launch-search
We are not ranking and sorting the results yet, that need a bit more of tinkering
2015-02-06 09:21:34 -05:00
Erick Pérez Castellanos
25fd4ab5a9
manager: add shell search provider helpers
...
Added:
+ :query-completed signal. This would allow to know when the search has
completed and the shell search provider will be able to sort and rank
the results
Added API to:
+ set the query for the shell provider model
+ set the subscription of the view on the shell provider model
+ know when the querying of the views completed on the model and all the
events are available for retrieving
2015-02-06 09:21:34 -05:00
Erick Pérez Castellanos
b3a374dbe9
app: use GcalManager:load-completed signal
...
Use this signal to load the CSS code for the widgets just one time
instead of recreating the complete CSS code once for each source connected
2015-02-06 09:21:33 -05:00
Erick Pérez Castellanos
4527ddfa64
manager: added load_completed public API
...
The idea is to be able to retrieve the status as well listen to the
signal when needed.
2015-02-06 09:21:33 -05:00
Erick Pérez Castellanos
820d1cdb65
utils: API added
...
+ get_color_name_from_source
+ get_circle_pixbuf_from_color
The first one is use plenty in the codebase, everytime we need a color,
and the second one will be used when retrieving the search results.
2015-02-06 09:21:33 -05:00
Erick Pérez Castellanos
e942f6c885
e-cal-data-model: code updated from Evolution
2015-02-06 09:21:33 -05:00
Erick Pérez Castellanos
8f7d931340
manager: add :load-completed signal
...
:load-completed signals the end of the opening of the sources initially
read from ESourceRegistry.
2015-02-06 09:21:33 -05:00
Erick Pérez Castellanos
1dd50951f6
app: add shell provider implementation skeleton
2015-02-06 09:21:33 -05:00
Erick Pérez Castellanos
e23436248c
app: add search-provider ini file
2015-02-06 09:21:32 -05:00
Erick Pérez Castellanos
782c209246
HACKING: updated
...
The main reason to change the ordering of the functions is to avoid the
need of explicit prototypes at the top of the files
2015-01-30 12:58:12 -05:00
Erick Pérez Castellanos
d5fe2d8cb6
month-view: remove unneeded state flag
...
::start_mark_cell flags has the same function of ::clicked_cell and some
more, so ::clicked_cell plays no role.
2015-01-30 12:41:17 -05:00
Erick Pérez Castellanos
4a29759b40
build: show srcdir after configure has finished
2015-01-30 12:40:51 -05:00
Erick Pérez Castellanos
d32b9435f2
year-view: wrap add_class in save/restore block
2015-01-30 12:40:22 -05:00
Erick Pérez Castellanos
60557b3bdd
doap: updated
2015-01-30 12:16:24 -05:00
Erick Pérez Castellanos
effce4d127
month-view: avoid sigsegv at hidden event removal
...
The code was carrying some old behaviour from the days we did not
show hidden events.
2015-01-29 11:22:28 -05:00
Erick Pérez Castellanos
94a6e8bf7e
month-view: restore ::days_delay calculation.
...
This was wrongly lost on commit fa2f300362
2015-01-29 10:54:27 -05:00
Erick Pérez Castellanos
b08defc0e5
app: keep a pointer to private instance data
...
This seems faster to me
2015-01-29 10:47:41 -05:00
Erick Pérez Castellanos
79ea0817b0
month-view: fix button release behaviour
...
When starting from invalid cell button_release vfunc didnt check
properly the value of the first clicked cell, this led to non-sense
dates on new-event popover.
2015-01-29 09:56:31 -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
08b37bf8ea
views: remove unused code
2015-01-29 00:01:10 -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
25545e5bf6
month-view: match UI style of year-view popover
...
year-view: rename popover class to something more generic
2015-01-28 00:16:53 -05:00
Erick Pérez Castellanos
3f877d3bfa
misc: be consistent on attributes values
2015-01-27 23:10:15 -05:00
Erick Pérez Castellanos
0d74fcc87f
year-view: properly update active-date property
2015-01-27 23:09:32 -05:00
Erick Pérez Castellanos
c8339d333d
year-view: fix marking and placing of events
2015-01-27 23:07:44 -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
e67fc01279
app: use "Add Event…" instead of "Add new event…"
2015-01-27 17:49:44 -05:00
Erick Pérez Castellanos
9c33bd0dfc
year-view: use icaltime_compare_date()
...
Hopefully, this fix once and for all the selection of the range to show
on the sidebar.
2015-01-27 17:48:34 -05:00
Erick Pérez Castellanos
f2d84231a4
utils: added date comparison method
...
icaltime_compare_date_only() has some problems when one of the dates
passed are marked as is_date and the other not.
2015-01-27 17:42:16 -05:00
Erick Pérez Castellanos
489100ad94
year-view: popover eye candy
2015-01-27 17:25:39 -05:00
Erick Pérez Castellanos
4628799d2e
year-view: include events overlapping the range
2015-01-27 13:25:37 -05:00
Erick Pérez Castellanos
9838f8c64e
year-view: end-date passed to edit-dialog
2015-01-27 12:59:38 -05:00
Erick Pérez Castellanos
7b6037e707
year-view: add no events label to popover mode
2015-01-27 11:31:05 -05:00
Erick Pérez Castellanos
032b2fab55
year-view: fix range marking for a single day
2015-01-23 13:12:13 -05:00
Erick Pérez Castellanos
ec80a90743
year-view: iterate properly through listbox children
2015-01-23 13:12:12 -05:00
Erick Pérez Castellanos
7ee9be263c
year-view: show no events label when needed
2015-01-23 13:12:12 -05:00
Erick Pérez Castellanos
5c5d5f62f8
month-view: fixed draw clip bug
...
Updated Gtk+ version requirement to 3.15.4 where the bug is fixed.
2015-01-22 15:55:15 -05:00
Erick Pérez Castellanos
139f96e8bf
month-view: remove comments reminders
...
These issues were fixed, so the reminders have to go
2015-01-22 15:36:06 -05:00
Erick Pérez Castellanos
f06586df89
month-view: mark event-widgets edges
2015-01-22 14:26:28 -05:00
Erick Pérez Castellanos
bb41d9dc76
year-view: fix all-day events
...
icaltime_compare() keeps doing its own work as it see fits
2015-01-22 14:02:06 -05:00
Erick Pérez Castellanos
5071b94b14
application: use events edges styles
2015-01-22 13:47:25 -05:00
Erick Pérez Castellanos
a704b244b9
css-code: added harcoded styles of widgets
2015-01-22 13:46:54 -05:00
Erick Pérez Castellanos
5aace8e060
year-view: add class tagging to events
...
We add three classes:
+ slanted-start
+ slanted-end
+ slanted
Those mean an event who does not start on the first cell is drawn, and event
who does not end on the last cell its drawn and bot things at the same time.
2015-01-22 13:44:25 -05:00
Erick Pérez Castellanos
554ef1d80b
event-widget: hardcode padding-top/bottom at 4px
...
This is necessary in order to properly style slanted edges on widgets
who need it on both start and end.
2015-01-22 13:31:08 -05:00
Erick Pérez Castellanos
50702a9f53
dist: install settings schemas
...
This was wrongly removed on commit: 70b0988a
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=743344
2015-01-22 10:14:58 -05:00
Erick Pérez Castellanos
6635f31422
HACKING: updated with contributing guidelines
2015-01-21 09:29:49 -05:00
Erick Pérez Castellanos
bdda641b98
Bump version to 3.15.4.1 for release
2015-01-21 08:33:19 -05:00
Erick Pérez Castellanos
70b0988a8c
dist: fix appdata for the second time
...
... and I'm not even sure this is the right way
2015-01-21 08:33:19 -05:00
Erick Pérez Castellanos
cf0ae10d2d
NEWS: updated for release
2015-01-21 08:33:19 -05:00
Erick Pérez Castellanos
edb8f41902
Bump version to 3.15.4 for release
2015-01-20 18:24:43 -05:00
Erick Pérez Castellanos
af39760af9
dist: fix appdata
2015-01-20 18:23:01 -05:00
Erick Pérez Castellanos
a8955715eb
NEWS: updated for release
2015-01-20 17:43:34 -05:00
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