Commit Graph
31 Commits
Author SHA1 Message Date
Erick Pérez Castellanos 605cb7fc25 build: stop complaints from gcc
Gcc complaints this variable may be used uninitialized
2014-12-04 17:10:46 -05:00
Erick Pérez Castellanos 3805496dbb event-widget: fix memory leak.
According to valgrind pango leaks memory when creating a PangoLayout
using gtk_widget_create_pango_layout with a literal string.
2014-12-04 17:10:44 -05:00
Erick Pérez Castellanos c2eda0e446 event-widget: fix memory corruption
GdkRBA should not be allocated using g_new0. Used G_SLICE=debug-blocks
to find it.
2014-12-04 17:10:44 -05:00
Erick Pérez Castellanos bddf1d2104 event-widget: fixed memory leak
Each property was owned by the widget, and I was not freeing its memory
at destruction time
2014-12-04 17:10:43 -05:00
Erick Pérez Castellanos 2b92e0977f event-widget: include recurid on event uuid
By taking recur id into event uuid we are able to properly handle events recurrences
2014-12-04 17:10:43 -05:00
Erick Pérez Castellanos 2a100b5fce event-widget: add method to test equality 2014-12-04 17:10:42 -05:00
Erick Pérez Castellanos 19c3c4e94f event-widget: add method to pass its internal data 2014-12-04 17:10:39 -05:00
Erick Pérez Castellanos 714e2c93f3 event-widget: set :uuid property from data 2014-12-04 17:10:39 -05:00
Erick Pérez Castellanos bc4663f8c8 event-widget: add internal #ECalComponent object
The changes made here are minimal to get this building. GcalEventWidget
needs a new rethink and rework to accommodate to those new internal
attributes, which replaces some of the old ones.
2014-12-04 17:10:38 -05:00
Erick Pérez Castellanos f37e2f6416 event-widget: use single click activation
Use pointer cursor
2014-12-04 17:10:36 -05:00
Erick Pérez Castellanos ca64eb190d gcal-event-widget: symbolic icon match the height of the text 2014-12-04 17:10:34 -05:00
Erick Pérez Castellanos 3c25ccb4e2 gcal-event-widget: remove unneeded call 2014-12-04 17:10:31 -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 f3afda6584 gcal-event-widget: added :date-end property
Added get/set accesors methods.
2014-12-04 17:10:24 -05:00
Erick Pérez Castellanos 7bb3381b6b gcal-event-widget: fix retrieve :summary property
Formatting fixes.
Added functions docs.
2014-12-04 17:10:23 -05:00
Erick Pérez Castellanos 01145b8916 Migrated to Gtk+-3.8 2013-05-17 14:41:12 -04:00
Erick Pérez Castellanos c3acffa9d7 Changed mode declaration for emacs. 2012-09-20 09:00:46 -04:00
Erick Pérez Castellanos cd106e6a5a Changed reminders icon in GcalEventWidget. 2012-08-27 20:13:07 -04:00
Erick Pérez Castellanos b6bdce9aec Minor fixes.
Changed values representing signals in GcalEventOverlay
Fixing code style in GcalEventWidget
2012-08-23 15:00:09 -04:00
Erick Pérez Castellanos fabf3c282a Changed icon used for reminders.
Removed empty lines.
2012-08-23 09:43:58 -04:00
Erick Pérez Castellanos e1a78d1975 Changed drawing mechanic of GcalEventWidget.
Added symbolic icon for reminders event
Renamed signal to GcalEventWidget::activate
Renamed properties enums
Fixed size requisition
2012-08-23 09:43:57 -04:00
Erick Pérez Castellanos 6a46b4b2f4 Corrected icaltime header inclusion. 2012-08-17 10:34:35 -04:00
Erick Pérez Castellanos 20dd623ba4 Fixes to match the changes in GcalWeekView.
Lightened some lines in GcalMonthView.
Changed cairo_set_source_rgba to cairo_set_source_rgb when applicable.
2012-07-19 01:02:34 -04:00
Erick Pérez Castellanos 55292f68ac Added regions to view.
Fixed/renamed/changed some classes names for css styling.
Fixed size_allocate, now taking into account regions differents font sizes.
2012-07-11 10:50:28 -04:00
Erick Pérez Castellanos 1021c7e781 Added GcalWeekView. Not integrated yet.
Refactoring the code inside GcalMonthView for drawing and for showing child
widgets.
Fixed ref_sink in GcalEditableRemainder. (Don't need it)
Added translation for weekdays abbreviation. (Thxs to ebassi & mclasen)
Passed make distcheck.
2012-07-11 10:50:28 -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 39ed044ca5 Glue code for using those editable widgets.
Added GcalEventWidget::activated signal.
Fixed bug in GcalMonthView preventing to get button events.
Added methods in GcalUtils from Evo for formatting time.
..and stuff
2012-07-03 15:20:00 -04:00
Erick Pérez Castellanos f0158b4ada Fixed issue with the sources view actor getting in the middle of buttons events.
Using the new API of GcalEventWidget
Drawing changes in GcalEventWidget
Some refactoring
2012-05-24 00:40:27 -04:00
Erick Pérez Castellanos c0aa703b6f Added method to set "date-start" property. 2012-05-17 14:53:35 -04:00
Erick Pérez Castellanos 24fece9529 Wrapped icaltimetype as G_TYPE_BOXED
Fixed GcalMonthView to use this.
Added date-start for GcalEventWidget.
2012-05-16 23:43:08 -04:00
Erick Pérez Castellanos cc6decc944 Added first implementaion of event widget. 2012-05-13 18:47:58 -04:00