Commit Graph
37 Commits
Author SHA1 Message Date
Erick Pérez Castellanos a53b3e8225 gcal-manager: add API to get default calendar 2014-12-04 17:10:30 -05:00
Erick Pérez Castellanos 1ada96616b build: moved gobject construction to new sugar
Misc formatting fixes
Misc minor refactoring
2014-12-04 17:10:29 -05:00
Erick Pérez Castellanos 0c03de1631 docs: fixed docs string 2014-12-04 17:10:23 -05:00
Erick Pérez Castellanos ca4dc4f739 gcal-manager: fixed memory leak 2014-12-04 17:10:23 -05:00
Erick Pérez Castellanos 4d31236ea7 Changed event-created signal emission.
GcalManager::event-created signal emission changed.
The new code isn't reentrant so eventually has to be fixed.
2012-12-01 15:29:01 -05:00
Erick Pérez Castellanos 1062d3e435 Debarshi's suggestion about g_clear_object use.
Removed if (pointer != null) condition when using
g_clear_object.
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos 6ada73c619 Added support for moving events between sources.
Added support in GcalManager for moving events.
The implementation is pretty simplistic. It doesn't handle
any errors, but since I'm lazy I'm planning to let it that
way till the day bugs start appearing.
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos 9cc6eb8e77 Added method for setting event end-date.
GcalManager::set_event_end_date method added.
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos 21088e7fb9 Added API to modify some events properties.
New APIS:
    GcalManager::set_event_summary
    GcalManager::set_event_location
    GcalManager::set_event_description
    GcalManager::set_event_start_date

Note: GcalManager::set_event_start_date isn't finished since still
      needs to handle all-day status of the event.
2012-10-10 15:55:18 -04:00
Erick Pérez Castellanos c3acffa9d7 Changed mode declaration for emacs. 2012-09-20 09:00:46 -04:00
Cosimo Cecchi 3b1c9f04b1 all: don't use custom marshallers
Just use NULL, which gives us the generic GObject marshaller.
2012-09-04 15:43:11 -04:00
Cosimo Cecchi 4448954370 all: fix GCC uninitialized variables warnings 2012-08-24 19:00:55 +02:00
Erick Pérez Castellanos 49afd07fc7 Added GcalManager::event-created signal.
The signal is emitted when an event is created through GcalManager.
2012-08-23 14:58:08 -04:00
Erick Pérez Castellanos 4801dd3513 Added more details to event-details view.
Added start and end date loading.
Added start and end time loading.
Added calendar loading.
2012-08-23 11:26:00 -04:00
Erick Pérez Castellanos bba41ad784 Added read-only query API to GcalManager. 2012-08-23 09:43:58 -04:00
Erick Pérez Castellanos 22163f1d86 Added initial timezone support. 2012-08-23 09:43:58 -04:00
Erick Pérez Castellanos fc3c165f04 Added has_reminders API to GcalManager. 2012-08-23 09:43:57 -04:00
Erick Pérez Castellanos a9da2aa552 Made simple-add event work.
Fixed GcalEventOverlay handling of dates.
Added initial code and methods to handle adding events to GcalManager.
Fixed in GcalMonthView handling of dates passed to event-creation.
Fixed gcal-utils sources for gcc warning.
Fixed calling order in GcalWindow.
2012-08-23 09:43:57 -04:00
Erick Pérez Castellanos 4cce38de72 Made this changes too long ago and can't remember what this was about. 2012-08-20 23:43:56 -04:00
Giovanni Campagna 970529cb2f [PATCH] Port to newer EvolutionDataServer
Since 3.5.3, evolution-data-server has changed API regarding
storage and retrieval of sources, introducing the ESourceRegistry
and removing GConf.
Adapt to that.
2012-07-12 10:04:56 -04:00
Erick Pérez Castellanos a4276a1263 Handled sources_model::active changes.
Handled sources_model::active changes by emitting fake ::events-added and
::events-removed signals.
Updated methods hooked to ECalClientView signals to take into account
GcalManagerUnit::enabled field.
2012-07-11 10:50:29 -04:00
Erick Pérez Castellanos ade7c97aed Added method for faking ::events-added signal.
Added a method for sending a fake signal to newly created that don't cause an
update of the timespan covered by the actual query of GcalManager.
Added get_event_all_day method for find out if and event is all-day.
2012-07-11 10:50:29 -04:00
Erick Pérez Castellanos b819b70208 Added method for send ::events-added signal.
Added a hack for send ::events-added signal to newly created views even when the
range of dates covered is not changed.
2012-07-11 10:50:29 -04:00
Erick Pérez Castellanos 07ac070f08 First approach of Event view ended.
For now the view, works only for viewing, and not for editing.
The delete button works, though.
It's needed yet a notification for an event deletion.
2012-07-03 15:20:01 -04:00
Erick Pérez Castellanos e113e60e0f Fixes and enhancements.
Fixed a bunch of warnings.
Added scode for methods in GcalEventView.
Fixed typo in GcalManager
2012-07-03 15:20:00 -04:00
Erick Pérez Castellanos 0709722107 Added reminders widget.
This one implies a lot of assumptions/simplification,
mostly because the API to manage Alarm in e-d-s is huge,
and we want simplicity.
2012-07-03 15:20:00 -04:00
Erick Pérez Castellanos 8e35adf4a0 Added method to get events properties. 2012-07-03 15:20:00 -04:00
Erick Pérez Castellanos 2bda18e55e Removing _gcal prefix to indicate internal functions instead of static modifier. 2012-07-03 15:19:59 -04:00
Erick Pérez Castellanos a5dcdcc924 Started EventView coding. 2012-07-03 15:19:59 -04:00
Erick Pérez Castellanos 0fa5701210 Added check to e_cal_client_new. 2012-05-25 12:20:24 -04:00
Erick Pérez Castellanos 191c8a8ef7 Fixing segmentation fault when freeing twice icalcomp memory 2012-05-24 00:42:30 -04:00
Erick Pérez Castellanos 61f2b0f778 Added methods to get color, summary of an event. 2012-05-17 14:54:56 -04:00
Erick Pérez Castellanos a873e0b73f Added a bunch of changes.
Fixed some minors align issues
Added method to GcalManager to get dtstart from events
Added method to GcalManager to sync COLUMN_ACTIVE with GcalManagerUnit::enabled
attribute
Added method for receiving button press events of view in GcalWindow
2012-05-15 23:32:29 -04:00
Erick Pérez Castellanos deccf55055 Changes in GcalManager
Added loading active sources to GcalManager
Added objects-added signal hook, processing, and emission of events-added signal
2012-05-10 17:11:56 -04:00
Erick Pérez Castellanos 38c901e311 Added signals to GcalManager
Added internal structure to keep events, cal_clients, etc.
2012-05-09 19:45:22 -04:00
Erick Pérez Castellanos 809f54bc0f Complete migration to icaltimetype. 2012-05-04 11:48:30 -04:00
Erick Pérez Castellanos 7890bd684b Added GcalManager, updated GcalApplication for using it 2012-05-02 22:31:56 -04:00