Commit Graph
58 Commits
Author SHA1 Message Date
Erick Pérez Castellanos 8a5d1ba4fb GcalYearView implementation of GcalView::create_event_on_current_unit.
Added code to connect the event from GcalToolbar in GcalWindow.
2012-12-01 15:29:02 -05:00
Erick Pérez Castellanos fe22adc977 Improved update of toolbar when changing view.
Whenever we change the view through the AppMenu the code for
changing the view in GcalWindow was executed twice. Fixed to execute
it only once.
2012-12-01 15:28:54 -05:00
Erick Pérez Castellanos 9b4e13f1fc Added constraint to minimum window size.
In fair play I should implement get_preferred_width/width_for_height and
friends methods on the views, but since I'm lazy and these days I doubt
someone using calendar will have less than 800x600 pixels.
2012-12-01 15:28:54 -05:00
Erick Pérez Castellanos d9a3b7ae11 Bug: Not updating toolbar when changing view through AppMenu. 2012-12-01 15:28:54 -05:00
Erick Pérez Castellanos 1fbcfeb303 Fixed text formatting issues. 2012-12-01 15:28:54 -05:00
Erick Pérez Castellanos a00ec9edc2 Hooked GcalYearView into GcalWindow and GcalApplication.
This works amost flawlessly since GcalView interface and it's methods
take care of almost everything.
Yet, this made me realize some toolbar bug.
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos e1be309095 Added source change notification connections.
Added code to GcalWindow to connect notification of change from
GcalEditDialog to GcalManager methods.
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos b4f7cee991 Handled change of end-date of an event.
Added code to GcalWindow to update the event end-date through
the manager.
2012-12-01 15:28:53 -05:00
Erick Pérez Castellanos 69871884f9 Added start-date change handling.
Missing: moving end_date accordingly.
2012-12-01 15:28:51 -05:00
Erick Pérez Castellanos eb8e31207c Minor misc fixes.
Theme fixes to show right scrollbar elsewhere.
gcal-time-entry.h cleaning.
UI fixes around the searchbar in GcalWindow.
2012-10-10 15:55:18 -04:00
Erick Pérez Castellanos 4da9b460f1 Hooked support for editing into GcalWindow
Initial stage of connection editing events functionality of the dialog
to calls in GcalManager API and updating the event widget and its position
inside the view.
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 4ef16c7f1a Improving Searchbar looking. Fixes to GcalWeekView 2012-09-10 10:48:48 -04:00
Erick Pérez Castellanos 54d42cc23a Added transient magic to GcalEditDialog. 2012-08-29 22:22:04 -04:00
Erick Pérez Castellanos 6be38d7a51 Added code to handle show/hide if searchbar.
Eventually it will be better to pack the entire searchbar into a full widget so
it can emit signals and the code become easier to read and maintain.
2012-08-25 02:01:16 -04:00
Erick Pérez Castellanos 070d10bf47 Reworked internal structure of GcalWindow.
Removed unneeded widgets. Removed unneeded layouts managers.
Added constraints to handle actors sizing.
Renamed main_toolbar attribute to toolbar_actor
Added searchbar_actor. Initial approach.
2012-08-25 00:35:12 -04:00
Erick Pérez Castellanos 9d151a625a Fixed segfault on gcal_window_show_hide_actor_cb. 2012-08-24 23:21:12 -04:00
Cosimo Cecchi 8fabdc9eb6 build: fix icaltime.h include path 2012-08-24 19:00:38 +02:00
Erick Pérez Castellanos 0e427a5f8f Added sync to GcalEventOverlay and GcalEditDialog
Added code to wait untill GcalEventOverlay is hidden to show GcalEditDialog.
2012-08-23 15:25:03 -04:00
Erick Pérez Castellanos a570538cb6 Added code to handle new signal from manager.
Added code to GcalWindow to handle event-created signal from GcalManager.
Added marshaler.
2012-08-23 15:01:06 -04:00
Erick Pérez Castellanos 2aa0054ba7 Removed gcc warning. 2012-08-23 11:17:21 -04:00
Erick Pérez Castellanos 5eadc377a4 Used timezone support at initial date retrieving. 2012-08-23 09:43:58 -04:00
Erick Pérez Castellanos 7581e8bad0 Reworked details view of an event.
Removed editable-widgets.
Added GcalEditDialog
Reworked delete-event trigger
Moved method from GcalEventOverlay to utils to use it on GcalEditDialog
2012-08-23 09:43:58 -04:00
Erick Pérez Castellanos 983b63fbac Added has_reminders get/set handling.
Minor fixes.
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 b9a4bcb4b2 Fixed clutter deprecations.
Removed clutter_actor_animate calls.
Removed clutter_box_layout_set_vertical call.
Removed clutter_bin_layout_add calls.
2012-08-19 02:54:20 -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 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
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 917984fa01 Theming fixes.
GcalWindow::activew-view added notify.
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 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 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 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 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 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 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
Erick Pérez Castellanos 9e527f823e Added to GcalMonthView class GcalView interface implementation. 2012-05-16 00:26:23 -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