100 Commits
Author SHA1 Message Date
Erick Perez Castellanos cfa5f530d2 build: fixed builddir != srcdir situations
Started to updating the build system in order to get rid of intltool
2016-03-15 13:14:09 -05:00
Erick Perez Castellanos 9be7233f28 date-selector: fix typo
The parsing of the date mask was never happening because it was always assuming
it was wrong.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=758391
2015-12-22 23:55:12 -06:00
Erick Perez Castellanos cb25af0164 year-view: Get selected date before hiding popover
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=757931
2015-12-21 22:53:33 -06:00
Erick Perez Castellanos ed580933ea appdata: added kudos 2015-12-21 20:07:26 -06:00
Erick Perez Castellanos 59503952c8 Bump version to 3.19.3 for release
NEWS file updated
2015-12-15 23:54:55 -06:00
Erick Perez Castellanos e611f87d6a manager: prevent excessive logging.
Skip "Job failed" warning when the error is caused by ouselves cancelling the
thread.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=749337
2015-10-21 08:49:55 -05:00
Erick Perez Castellanos e81f7090f4 date-selector: use glib string translations
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=756412
2015-10-20 09:35:54 -05:00
Erick Perez Castellanos 5f6bd95750 Fix gcal_manager_is_client_writable() semantics
Fix all the calls to it accordingly.
2015-10-07 08:39:51 -05:00
Erick Perez Castellanos d8265a498b Check for icaltime_days_in_year() properly
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=753296
2015-10-06 08:36:51 -05:00
Erick Pérez Castellanos fd54a863f4 date-selector: fix crash on some locales
As stated on the bug below Calendar crashes in some locales because of the
parsing of the string representing the date. Since parsing this string can be
very tricky, we decided to make a simple translatable string with the format it
is needed and th translators can set the proper order according to his locale.

The translatable string goes as "%d/%m/%y" being %d the representation of the
day, %m the representation of the month and, %y, the year. The translators
should place it in the correct order for its locale, for instance en_US, should
place it: "%m/%d/%y"

The validation of the translated string is lacking some strength. It could use
some improving.

Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1226823
2015-06-03 14:46:00 -04:00
Erick Pérez Castellanos d5cc7efcd0 build: fix merge leftovers 2015-05-25 12:43:49 -04:00
Erick Pérez Castellanos bb67518418 source-dialog: squash compilation warning 2015-05-25 12:36:55 -04:00
Erick Pérez Castellanos b1fc6991e9 calendars' popover: refine UI
Always show Calendars Settings button. Scroll only the list of calendars.
2015-05-25 12:36:54 -04:00
Erick Pérez Castellanos c2d89a5903 build: simplify UI files using gtk-builder-tool 2015-05-25 12:36:54 -04:00
Erick Pérez Castellanos fb73f6574b calendar's popover: use GbScrolledWindow
This solve the problem of too many calendars making the window too tall.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=749459
2015-05-25 12:36:54 -04:00
Erick Pérez Castellanos 3d7ffdbaa7 app: add GbScrolledWindow
GbScrolledWindow comes from Builder, courtesy of christian Hergert.
We'll use it in calendars' popover.
2015-05-25 12:36:54 -04:00
Erick Pérez Castellanos fdba286915 source-dialog: g_object_ref() returns the object 2015-05-25 12:36:54 -04:00
Erick Pérez Castellanos 53e3c04bb2 source-dialog: make NULL comparison explicit 2015-05-25 12:36:54 -04:00
Erick Pérez Castellanos 2677ec560a source-dialog: avoid unneeded comparisons
Sources are unique, so the comparison can be avoided once the source is
found
2015-05-25 12:36:54 -04:00
Erick Pérez Castellanos 1431f4b895 style: align arguments properly 2015-05-25 12:36:54 -04:00
Erick Pérez Castellanos 46a92fd96b source-dialog: join two conditionals
Below the main conditionals were another if with no else block.
Those can be joined using && operator.
Some minor style fixes in here also.
2015-05-25 12:36:54 -04:00
Erick Pérez Castellanos d1f437f4d9 style: use the entire line 2015-05-25 12:36:54 -04:00
Erick Pérez Castellanos d4f6963328 style: remove unneeded curly brackets 2015-05-25 12:36:54 -04:00
Erick Pérez Castellanos 899928e795 style: remove whitespace 2015-05-25 12:36:53 -04:00
Erick Pérez Castellanos 798b63903d source-dialog: sources are unique
Destroy the row and break the loop as soon as the source is found
2015-05-25 12:36:53 -04:00
Erick Pérez Castellanos cfa81e86a5 style: group variables declarations 2015-05-25 12:36:53 -04:00
Erick Pérez Castellanos cff0b59b2e style: ensure separation of code and declarations 2015-05-25 12:36:53 -04:00
Erick Pérez Castellanos b04720135f window: sources are unique
There's no need to loop through the rest of the list once the ESource has been
found
2015-05-25 12:36:53 -04:00
Erick Pérez Castellanos 44480da71a window: I rather have these lines
I prefer a clean separation between declarations and code
2015-05-25 12:36:53 -04:00
Erick Pérez Castellanos c256bec634 utils: make NULL comparison explicit 2015-05-25 12:36:53 -04:00
Erick Pérez Castellanos d49c056d0c manager: squash compilation warning 2015-05-15 23:39:06 -04:00
Erick Pérez Castellanos e0c5bed540 doap: added George as new maintainer 2015-05-06 14:27:00 -04:00
Erick Pérez Castellanos da3d187ad8 window: fix builder's ui file 2015-04-29 22:32:16 -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
Erick Pérez Castellanos af75852b77 misc: add editorconfig file 2015-04-26 15:14:55 -04:00
Erick Pérez Castellanos 0ac46215eb app: make window NULL upon destruction
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=748166
2015-04-26 15:10:41 -04:00
Erick Pérez Castellanos df28af8145 Bump version to 3.16.1 for release
NEWS: updated
2015-04-15 23:49:24 -04:00
Erick Pérez Castellanos 7669a634de Bump version to 3.16.0 for release 2015-03-20 13:31:52 -04:00
Erick Pérez Castellanos 5b3575edff Bump version to 3.15.92 for release 2015-03-16 13:21:46 -04:00
Erick Pérez Castellanos 1ad15b6155 misc: remove unused gitmodules file 2015-03-16 13:15:47 -04:00
Erick Pérez Castellanos e5c7dee5d8 misc: code style fixing 2015-03-16 13:07:54 -04:00
Erick Pérez Castellanos cac370e6b7 edit-dialog: handle timezone properly 2015-03-16 13:07:34 -04:00
Erick Pérez Castellanos 46c67688e1 year-view: set sidebar range timezone 2015-03-16 12:41:11 -04:00
Erick Pérez Castellanos 636df18f64 event-widget: convert date/time to local timezone 2015-03-16 12:37:43 -04:00
Erick Pérez Castellanos abc999dff0 shell-search: fix timezone handling 2015-03-16 12:25:14 -04:00
Erick Pérez Castellanos f7e897fefe search-view: fix timezone handling 2015-03-16 12:24:39 -04: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 9f20c3f2f9 edit-dialog: fix ref leak when selecting a calendar 2015-03-06 10:35:25 -05:00
Erick Pérez Castellanos 8589cde0f5 utils: clean description of whitespaces 2015-03-06 10:35:25 -05:00
Erick Pérez Castellanos 47e78ce1b1 date-selector: fix labels order in RTL locales 2015-03-04 10:14:38 -05:00
Erick Pérez Castellanos 12188aed7f date-selector: fix style on RTL locales 2015-03-04 10:10:24 -05:00
Erick Pérez Castellanos 52634b982e date-selector: fix children order in RTL locales
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=745117
2015-03-04 10:02:42 -05:00
Erick Pérez Castellanos 81241a19e8 Bump version to 3.15.91 for release 2015-03-02 14:13:29 -05:00
Erick Pérez Castellanos 6f2a131d7b search-view: set popover bottom position explicitly 2015-03-02 14:04:32 -05:00
Erick Pérez Castellanos 96c8120d28 month-view: optimized event-widget parts removal 2015-02-17 08:06:19 -05:00
Erick Pérez Castellanos edec70fe0d search: use new compare function 2015-02-17 08:06:18 -05:00
Erick Pérez Castellanos 87d35dd443 utils: gained compare API 2015-02-17 08:06:18 -05:00
Erick Pérez Castellanos c0acef2d19 Bump version to 3.15.90 for release 2015-02-17 08:03:57 -05:00
Erick Pérez Castellanos a752e00aeb NEWS: updated for release 2015-02-17 08:03:57 -05:00
Erick Pérez Castellanos b502ccd363 misc: fix styling 2015-02-16 12:54:41 -05:00
Erick Pérez Castellanos aef9960d73 search-view: fix double free of ListBox's rows 2015-02-16 12:54:41 -05:00
Erick Pérez Castellanos b86f381705 search-view: changed sorting of results
This sorting promotes the results closer to the time when the search was done.
2015-02-16 12:54:41 -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 15604b13d8 year-view: fix sidebar headers 2015-02-16 09:31:21 -05:00
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