Commit Graph
2367 Commits
Author SHA1 Message Date
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 e997fa8fc6 format: ordering content of headers
Make gcal-application.h and gcal-event-widget.h the same as
the rest.
2014-12-04 17:10:31 -05:00
Erick Pérez Castellanos 8d9e88013e gcal-year-view: refactored draw new-event marks
Make it more readable.
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 0527350db7 gcal-month-view: added security check
Prevented button release handling when not needed
2014-12-04 17:10:31 -05:00
Erick Pérez Castellanos 5f0ee1d62f gcal-year-view: addapted to one-click create-event flow 2014-12-04 17:10:30 -05:00
Erick Pérez Castellanos 65bc0d1269 gcal-month-view: fixed days number drawing
Updated GcalMonthViewPrivate:days_delay on every day update
2014-12-04 17:10:30 -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 a98d90591c gcal-new-event-widget: finished API
Added method to set calendars
Added method to set default calendar
Added method to get selected calendar
Added method to get entered smmary string
Fixed formatting issues
2014-12-04 17:10:30 -05:00
Erick Pérez Castellanos a53b3e8225 gcal-manager: add API to get default calendar 2014-12-04 17:10:30 -05:00
Erick Pérez Castellanos 3e7f9f4636 gcal-utils: pass size to gcal_get_pixbuf_from_color 2014-12-04 17:10:30 -05:00
Erick Pérez Castellanos 41f490aa8d gcal-month-view: fixed drawing issue
Fixed drawing issue with :mark_current_unit method
2014-12-04 17:10:30 -05:00
Erick Pérez Castellanos ebf0401722 gcal-new-event-widget: added more getter methods 2014-12-04 17:10:30 -05:00
Erick Pérez Castellanos 05a05eb768 gcal-view: fixed whitespaces issues 2014-12-04 17:10:30 -05:00
Erick Pérez Castellanos c1d163b24e gcal-year-view: implemented new GcalView API
Added missing methods :mark_current_unit and :clear_marks
2014-12-04 17:10:29 -05:00
Erick Pérez Castellanos a24eca0386 gcal-view: modified mark_current_unit API
Added x,y return values, positions of the current unit
2014-12-04 17:10:29 -05:00
Erick Pérez Castellanos 8cbac83723 gcal-month-view: migrated to new GcalView API
Migrated to new event creation flow, compliant with one click create event.
Moved to new private instance data API.
2014-12-04 17:10:29 -05:00
Erick Pérez Castellanos 92c2d2e090 gcal-new-event-widget: adding new getter API
Added GcalNewEventWidget:get_close_button
Added GcalNewEventWidget:get_create_button
Added GcalNewEventWidget:get_details_button
2014-12-04 17:10:29 -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 c5f11e674a build: updated configure.ac
Upgraded glib and gtk+ required versions
Removed clutter definitions
Removed revelear build option from libgd module
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 239057a041 css: update styles to new ui
Cleaned unused rules
Fixed rules to match GcalNewEventWidget
2014-12-04 17:10:28 -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 984ec9f07f gcal-new-event-widget: initial rework of new-event-widget
Moved into new-style composited widget
Added GtkBuilder ui file
Added gmodule-export-2.0 dependency
2014-12-04 17:10:28 -05:00
Erick Pérez Castellanos 2b7d22d44c gcal-arrow-bin: reorder file according to HACKING 2014-12-04 17:10:28 -05:00
Erick Pérez Castellanos 773b575a7b build: move ui files into data subdir 2014-12-04 17:10:28 -05:00
Erick Pérez Castellanos 20390c1443 gcal-aplication: cleaning some code
Don't think a user will use shorcuts for changing 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 bd8f2379c7 gcal-view: rename GcalView:clear_mark vfunc 2014-12-04 17:10:28 -05:00
Erick Pérez Castellanos d3758a3e99 gcal-application: clean header file 2014-12-04 17:10:28 -05:00
Erick Pérez Castellanos f3df3e784d misc: cleaning unused code. 2014-12-04 17:10:28 -05:00
Erick Pérez Castellanos 37dc43c518 gcal-view: implementing GcalView:clear vfunc 2014-12-04 17:10:27 -05:00
Erick Pérez Castellanos 1c7483e87b gcal-window: removed unneeded title 2014-12-04 17:10:27 -05:00
Erick Pérez Castellanos 3b222e4e01 gcal-day-view: fixed all-day events allocation 2014-12-04 17:10:27 -05:00
Erick Pérez Castellanos 0a5540bfac gcal-edit-dialog: ui fixes
Build against gtk+ master without warnings.
Used new GtkHeaderBar as titlebar of the dialog.
Reworked read-only event notification. Show up on the titlebar now.
2014-12-04 17:10:27 -05:00
Erick Pérez Castellanos 6e7deface2 gcal-day-view: implemented GtkContainer:remove 2014-12-04 17:10:27 -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 fcef0d64d1 gcal-view: added :clear vfunc
Added to prevent the need of a troubling implementation
of GtkContainer:forall method in DayView and WeekView composited widgets
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 3c038ac3c3 gcal-view: more cleaning of GcalView API
Removed GcalView:updated signal
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 edf5d42ed9 gcal-day-view: source cleaning 2014-12-04 17:10:26 -05:00
Erick Pérez Castellanos 6238b77590 gcal-day-view: fixed :draw_event check 2014-12-04 17:10:26 -05:00
Erick Pérez Castellanos 912a5d46e9 gcal-all-day-grid: allocate event largers than one day 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 318cd4dd33 build: updated libgd to latest
Fixed build warning
2014-12-04 17:10:26 -05:00