Commit Graph
16 Commits
Author SHA1 Message Date
Erick Pérez Castellanos c22792e65e gcal-view: reworked a little more the API
Added API to get the headers for update GcalNavBar
Updated GcalMonthView, GcalWeekView and GcalYearView implementations
Updated calls in GcalWindow
2014-12-04 17:10:23 -05:00
Erick Pérez Castellanos be1358313d gcal-view: added safety check to every vfunc call 2014-12-04 17:10:21 -05:00
Erick Pérez Castellanos 3dd88ba829 gcal-view: started API migration 2014-12-04 17:10:21 -05:00
Bastien Nocera 604e4ce438 Prevent crash clicking on the "New Event" button 2012-12-06 09:19:42 +01:00
Erick Pérez Castellanos c72b37433c Added GcalView::create_event_on_current_unit.
this method is to be called whenever someone click on
the "New Event" button of the toolbar. It will instruct the active
view to generate a GcalView::create-event signal with the parametes
of the current unit (a month for GcalYearView, a day for GcalMonthView, etc)
It will allow the view to mark the current unit cell for the event creation.
2012-12-01 15:29:02 -05:00
Erick Pérez Castellanos 6e8ffcf5cf Added reposition_child to GcalView interface.
Provided implementation for GcalMonthView.
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
Erick Pérez Castellanos 0820d49e4e Improving GcalView API.
Added GcalView::update signal for when the view will change it's date range
Added GcalView::create-event signal for when the view wants to create a new
event

Added GcalView::clear_selection method for clearing new-event mark.

Note: The views can choose to mark before send a ::create-event signal the range
over which they will create the new event. This will be called new-event mark.
2012-08-19 02:47:36 -04:00
Erick Pérez Castellanos 444298ae26 Improved GcalView API.
Added ::active-date property
Added set_date/get_date pair of methods for handling the property
Added get_initial_date/get_final_date pure virtual methods.
2012-07-11 10:50:28 -04:00
Erick Pérez Castellanos f83143050c Added undo notification system to event deletion.
Added GcalEventView::will-delete to let thw window knows about the change.
GcalWindow will handle the hiding of the event-widget till the notification goes
away or the user click "Undo".
Added method in GcalView interface to retrieve and event-widget by it's uuid.
Added some cosmetic changes in GcalMonthView as well.
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 9ce40b9bf0 GcalMonthView changes.
Created GcalView interface, used in GcalMonthView
Added implementation for GtkContainer virtual funcs in GcalMonthView
Improving size_allocate/drawing methods
Added day selection drawing
2012-05-24 00:46:08 -04:00
Erick Pérez Castellanos eef3c90f45 Converted GcalMonthView to GtkContainer subclass.
Added gcal_view_add_event method GcalView interface.
Fixed size_allocate implementation in GcalMonthView to allocate children events.

There's still work to be done here.
2012-05-17 14:56:28 -04:00
Erick Pérez Castellanos 9e527f823e Added to GcalMonthView class GcalView interface implementation. 2012-05-16 00:26:23 -04:00
Erick Pérez Castellanos 99a89e0e24 Added initial implementation of GcalView interface.
Added files to Makefile.am
2012-05-15 23:30:14 -04:00