Commit Graph
33 Commits
Author SHA1 Message Date
Erick Pérez Castellanos f24e1a1dfa Updated docs and fixed formatting issues. 2012-12-01 15:28:58 -05:00
Erick Pérez Castellanos ef08a2a45f Optimized size_allocate method in views.
Removed some debug instructions.
2012-12-01 15:28:58 -05:00
Erick Pérez Castellanos ddae6624a3 Keeping event widget sorted inside views.
Still missing to fix GcalWeekView, but that one needs reworking.
2012-12-01 15:28:56 -05:00
Erick Pérez Castellanos ee66a85e4d Moved GcalViewChild to GcalView.
This struct contains the child data the views needs to know
about it's (event-widget) children.
2012-12-01 15:28:56 -05:00
Erick Pérez Castellanos 1b0312f653 Minor fixes and comments review. 2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos cc14e10d36 Get month names and weekdays from locale.
Added modification to extract month names from locale instead
of localization files.
2012-12-01 15:28:53 -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
Erick Pérez Castellanos 009e65cdd3 Fixed bug when destroying child widgets. 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 5b23fea95f Added create-event overlay.
Added new-event mark to month-view.
Added navigation arrows to month-view.
Initially moved edit-event to a dialog.
2012-08-20 23:45:58 -04:00
Erick Pérez Castellanos 3cdd9cfabf Fixed GcalWeekView scrollbar not showing. 2012-07-19 13:19:05 -04:00
Erick Pérez Castellanos f33feaf6b1 A bunch of UI fixes.
Made lighter the background of the views.
Added padding and fixed class to GcalToolbar.
2012-07-19 01:26:45 -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 194fd67b7d Modified GcalMonthView to fit the mockups.
Added Drawing docs to the doc folder.
Fixed styles to reach the borders.
Made some refactoring of the class.
2012-07-15 12:26:22 -04:00
Erick Pérez Castellanos f462712227 Added actua date mark to implemented views.
Following mockups by Reda Lazri, the actual day it's marked by drawing a box
around the weekday and a 2px line on the cell belonging to the actual date.
Added icon to gnome-calendar.desktop. Tweaked css a little bit.
2012-07-13 00:17:39 -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 63c7b1a91c Implemented ::set_date method.
Implemented set_date method, moving update of ::date attribute to another call
outside the construction process. The method can be used to set or update the
GcalView::active-date property
Implemented changes from GcalView API
Integrated GcalWeekView into application flow.
2012-07-11 10:50:29 -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 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 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 8bbb375ac1 Added initial version of GcalEditable family of widgets. 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 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 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 9e527f823e Added to GcalMonthView class GcalView interface implementation. 2012-05-16 00:26:23 -04:00
Erick Pérez Castellanos 12c33a6bbc Added event_window to catch input events. 2012-05-13 18:49:31 -04:00
Erick Pérez Castellanos 4454e83f9f Migrated GcalMonthView to icaltimetype instead of GDate 2012-05-04 00:10:57 -04:00
Erick Pérez Castellanos 16bd27f909 A Intergrated a bunch of stuff.
Added settings schemas
Added css file and loading in GcalApplication
Added GcalMonthView (first implementation)
Added internal structure of GcalWindow

Passed "make distcheck"
2012-04-27 21:42:16 -04:00