Commit Graph
101 Commits
Author SHA1 Message Date
Javier Sánchez Ochando 50f8f2de37 gcal-window: the calendar window remember its geometry. 2014-12-04 17:10:34 -05:00
Erick Pérez Castellanos 258283a01d gcal-window: use toolkit's close-button in HeaderBar 2014-12-04 17:10:34 -05:00
Erick Pérez Castellanos 5e4488c315 gcal-window: fixed bug on split event uuid
Fixed the case when the event uid have a ':' colon
character on it.
2014-12-04 17:10:33 -05:00
Erick Pérez Castellanos 2919eedc5f gcal-window: added cute close button 2014-12-04 17:10:33 -05:00
Erick Pérez Castellanos 76a0211377 gcal-window: added dates adjusting on event-creation
Adjust dates according to the active view when necessary
2014-12-04 17:10:31 -05:00
Erick Pérez Castellanos fa73bb5e90 gcal-window: fixed bug on events-modified signal
On GcalDayView objects fail to reparent easily.
2014-12-04 17:10:31 -05:00
Erick Pérez Castellanos 78b4a9c879 gcal-window: improved new-event widget placement 2014-12-04 17:10:31 -05:00
Erick Pérez Castellanos 7c976b5a86 gcal-window: handled reentrancy of new-event widget 2014-12-04 17:10:31 -05:00
Erick Pérez Castellanos 44693ab6c5 gcal-window: added new-event flow
Added Esc key closes new-event widget
Added summary entry get focus when new-event widget is shown
Reworked new-event creation flow
Renamed gcal_window_get_manager to get_manager
2014-12-04 17:10:30 -05:00
Erick Pérez Castellanos f9a37293eb build: fixing deprecations from gtk+-3.10 2014-12-04 17:10:29 -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 6b7e27a115 gcal-window: ordered according to HACKING
Renamed methods
2014-12-04 17:10:29 -05:00
Erick Pérez Castellanos 005e583341 gcal-window: started migration to GcalNewEventWidget
Removed GcalEventOverlay
Hooked GcalView:create-event signal from views
2014-12-04 17:10:28 -05:00
Erick Pérez Castellanos 04d14cfaca gcal-window: added new-event-mode as property.
Bind StackSwitcher sensitive state and GAction:enabled to new-event-mode property
2014-12-04 17:10:28 -05:00
Erick Pérez Castellanos b54ac5510b gcal-window: fixed update_view method
Used new GcalView:clear to destroy all the event-widget children of a view
2014-12-04 17:10:27 -05:00
Erick Pérez Castellanos 9da7e71eed gcal-window: initial support for navigation
Handled nav buttons actions
Reorganized gcal-window source a little
2014-12-04 17:10:27 -05:00
Erick Pérez Castellanos c365e9124a gcal-view: cleaned API
Removed unneeded GcalView:reposition_child method.
Reworked gcal_window_events_modified to use GcalView:get_by_uuid
2014-12-04 17:10:26 -05:00
Erick Pérez Castellanos aabf226344 gcal-window: reposition notification widget
Setting the overlay to cover the NavBar widget as well, so the notifications
show up, below the toolbars
2014-12-04 17:10:26 -05:00
Erick Pérez Castellanos 9f530a5b8a gcal-view: modified API
Implemented in views.
Reworked GcalDayView implementation to allow bigger
than days events.
2014-12-04 17:10:26 -05:00
Erick Pérez Castellanos 31a363999d gcal-window: refactored some code 2014-12-04 17:10:25 -05:00
Erick Pérez Castellanos de0902028f gcal-window: fixed initialization on DayView mode 2014-12-04 17:10:25 -05:00
Erick Pérez Castellanos 85a2002e76 gcal-window: changed transition-type between views
Requires master from Gtk+
2014-12-04 17:10:25 -05:00
Erick Pérez Castellanos 9b828b39be gcal-window: added new application flow
gcal-window changes:
  1. Added #GtkStackSwitcher for view-switching handling
  2. Reworked view switching behavior
  3. Added window states: search-mode, new-event-mode
  4. Implemented search using #GtkSearchBar, allowing to handle [Esc] keys closing the search
  5. Removed temporally SourcesView

gcal-application changes:
  1. Added actions for [Search] and [New Event] with its keyboard-shorcut

A lot of ground work is set here, the code is fill with FIXMEs and comment
for stuff-TODO
2014-12-04 17:10:24 -05:00
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 3327207c9d gcal-window: fixed memory leak when handling date
Fixed construction method
2014-12-04 17:10:22 -05:00
Erick Pérez Castellanos a71491377e gcal-window: updated to new GtkSearchBar API 2014-12-04 17:10:22 -05:00
Erick Pérez Castellanos 09f6261550 ui: integrated GcalDayView in GcalWindow
Initial work. Added option to GcalApplication action.
2014-12-04 17:10:22 -05:00
Erick Pérez Castellanos 0177641993 gcal-nav-bar: removed #GcalNavBar:move signal
Use back/forward buttons :clicked signal
2014-12-04 17:10:21 -05:00
Erick Pérez Castellanos b248a049dd misc: A bunch minor fixes.
libgd: Removed unused widgets from compilation
gitignore: Update to skip resources
gcal-window: Removed warning about non-use vars
2014-12-04 17:10:20 -05:00
Erick Pérez Castellanos c8b155270b ui: Added GcalNavBar widget.
GcalNavBar widget is composited using templates.
Great work of Tristan Van Berkom <tristanvb@openismus.com> on
using this.
2014-12-04 17:10:20 -05:00
Erick Pérez Castellanos 72358c7ca4 ui: Removed Clutter from GcalEventOverlay
This commit got mixed in, and that's why you will
see warnings. Future commits will fix this.
This one builds, though.
2014-12-04 17:10:20 -05:00
Erick Pérez Castellanos c19ce22e73 ui: Updating to GtkSearchBar new API 2014-12-04 17:10:20 -05:00
Erick Pérez Castellanos a2306981f0 ui: reverting hack made for GdHeaderBar 2014-12-04 17:10:20 -05:00
Erick Pérez Castellanos 131aa97d92 ui: use GtkStack instead of GdStack 2014-12-04 17:10:20 -05:00
Erick Pérez Castellanos dd969cf14d ui: migrating from GdHeaderBar to GtkHeaderBar 2014-12-04 17:10:20 -05:00
Erick Pérez Castellanos d434daa35f ui: connected new-event button
It's just the connection what has been updated, since the
widget is still working with clutter there's no visible
effect when clicking [New Event] button

[New Event] button changed to text button, and updated
style

Removed non-needed code
2014-12-04 17:10:19 -05:00
Erick Pérez Castellanos ed4da78a6b Updated Notification system to new UI
Still mising here some way to solve the stacked notifications issue.
2014-12-04 17:10:19 -05:00
Erick Pérez Castellanos 21b7e3d42e Removed ClutterActor from main UI
Use GtkSearchbar
2014-12-04 17:10:19 -05:00
Erick Pérez Castellanos ccd014c820 Initial GdHeaderBar migration 2014-12-04 17:10:18 -05:00
Erick Pérez Castellanos d8e902ee0a Added initial changes to GcalWindow
Replaced GcalToolbar for GdHeaderBar
Commented out code for ensure building
2014-12-04 17:10:18 -05:00
Erick Pérez Castellanos d68f0fbf68 Replaced demo-code for GcalSearchbar in GcalWindow. 2013-05-11 11:32:17 -04:00
Cosimo Cecchi dc450104b8 Don't depend on libedataserverui
libedataserverui has been removed from evolution-data-server this cycle;
we only use it for ECellRendererColor, so import a copy of it in-tree
and remove the dependency.
2013-01-10 18:13:24 -05:00
Daniel Mustieles 09a0270162 Remove uneeded space 2012-12-04 11:41:11 +01:00
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