Commit Graph
573 Commits
Author SHA1 Message Date
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 34d458d8a9 Fixed implementation of GcalFloatingContainer. 2012-08-17 10:35:40 -04:00
Erick Pérez Castellanos 6a46b4b2f4 Corrected icaltime header inclusion. 2012-08-17 10:34:35 -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 d03c95e765 Implementing GcalWeekView to match the mockups.
What to say about this commit.
There's just one FIXME in gcal-week-view.c, about the size/width of the
GtkScrollbar used. That should not be hardcoded.
Also the background color applied to the scrollbar through css-theming might be
better placed inside the code, since the effectis part of the view.
About this view is still missing a way of signaling the current day. We are on
it, yet.
2012-07-19 00:58:35 -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
William Jon McCann 5f58dc0692 Add some details to the about dialog 2012-07-13 09:54:19 -04:00
Erick Pérez Castellanos 08f5e46513 Changed toolbar button to Toggles.
Added behavior in GcalToolbar to manage the toogling mode of the view buttons
Added parameter in gcal_window_new to set the view-type initially.
2012-07-13 09:27:31 -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 90900b3575 Added view action to application.
Added links to GcalWindow::active-view
Added fix to GcalWindow for checking for child/events widgets in view before
instantiation.
2012-07-11 10:50:29 -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 917984fa01 Theming fixes.
GcalWindow::activew-view added notify.
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 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 89a941ec36 Reorganized GcalApplication source-file.
Connected settings to GcalWindow property.
2012-07-11 10:50:29 -04:00
Erick Pérez Castellanos 9a7bd95995 Reworked view handling inside GcalWindow.
Added properties ::active-view and ::active-date.
Added method for creating new views and for updating created ones.
Added bindings of property ::active-date to the same property of GcalView
Changed to use GcalView API.
Fixed some FIXMEs.
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 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 e09ce361b0 Added GSettings to read/set the active view.
Placed code to generate G_TYPE_ENUM from my defined enums
Semi-integrated GcalWeekView
Updated TODO.
2012-07-11 10:50:28 -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 9eaa5238ae Fixed UI issue with GcalEditableReminder.
There was an issue when using the 'list-add' icon for adding a new reminder.
The issue is fixed, but still there's abunch of cleaning/aligning/redesigning
to do there.
2012-07-03 15:47:59 -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 dc0683b40b Added some infrastructure to notification system.
Warning: this particular commit may not build.
Added GtkNotification widget migrated from gnome-contacts.
Added methods in GcalWindow to show a notification.
2012-07-03 15:20:01 -04:00
Erick Pérez Castellanos caf77599aa Added done-edit signal to GcalToolbar.
Connected ::done-edit to GcalEventView widget.
Minor geometry fixes.
2012-07-03 15:20:01 -04:00
Erick Pérez Castellanos bb85e5756f Removing host field temporary. 2012-07-03 15:20:01 -04:00
Erick Pérez Castellanos 325f0d8fa3 Added EVENT_VIEW mode to GcalToolbar.
Hooked signals to GcalWindow methods which connect with GcalEventView.
2012-07-03 15:20:00 -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 6cee02a1ba UI Fixes.
Fixed opaque rounded corners
Fixed using radio instead of checkbox
Fixed using documents icon instead of list-view.
2012-07-03 15:20:00 -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 5c47b9312c Added editable widgets to Makefile.
This should be committed with the widgets.
My bad. Git ftw.
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 8b7265d5da Added a new bunch of editable widgets.
Just one or two left.
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 d4a19245d2 Started rewriting of GcalToolbar. 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 a53752013f Fixed typo. 2012-05-27 02:49:12 -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 1b39630afa Minor details 2012-05-24 00:46:33 -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 191c8a8ef7 Fixing segmentation fault when freeing twice icalcomp memory 2012-05-24 00:42:30 -04:00
Erick Pérez Castellanos 1069a161a5 Added signal for add-event button click. 2012-05-24 00:41:41 -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 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