Commit Graph
480 Commits
Author SHA1 Message Date
Erick Pérez Castellanos 9752b719f0 manager: initial work on new design
GcalManager new design includes:
1. remove deprecated methods from eds
2. remove event cache
3. remove the need for keeping date range logic
4. reorder code according to HACKING code style document

This changes will cause some other changes among the application. While
this commit build just fine, work is missing yet. Next I will fix
GcalEventWigdet and the rest of the affected components.
2014-12-04 17:10:38 -05:00
Erick Pérez Castellanos 000b1a843b docs: update code style 2014-12-04 17:10:38 -05:00
Georges Basile Stavracas Neto 4287cc72ef month-view: fixed wrong day selection 2014-12-04 17:10:38 -05:00
Erick Pérez Castellanos 84ca745eb4 build: fix distcheck 2014-12-04 17:10:38 -05:00
Erick Pérez Castellanos 24ea81583d build: update/clean autotools machinery 2014-12-04 17:10:38 -05:00
Erick Pérez Castellanos 1d95b5e8a9 window: new-event-mode doesn't need CONSTRUCT flag 2014-12-04 17:10:38 -05:00
Erick Pérez Castellanos 27565d487e time: properly set time and timezone 2014-12-04 17:10:37 -05:00
Erick Pérez Castellanos 7ab1af4e96 app: remove unused view type action 2014-12-04 17:10:37 -05:00
Erick Pérez Castellanos 333363205c app: update application menu
Use only application wide actions in the menu, as stated in GNOME HIG
Migrated to use GtkBuilder files
2014-12-04 17:10:37 -05:00
Erick Pérez Castellanos 693b34da28 build: update requirements 2014-12-04 17:10:37 -05:00
Erick Pérez Castellanos 80fdc33e0d window: queue draw on update view 2014-12-04 17:10:37 -05:00
Georges Basile Stavracas Neto 1e1052c65c window: use GtkPopovers
GNOME Calendar uses a custom GtkOverlay-based widget, witch is not necessary anymore. It should be replaced by GtkPopover.
2014-12-04 17:10:37 -05:00
Georges Basile Stavracas Neto a9e8eb311a window: fix timeout resource handler
Update the handler after the save_geometry(...) method is called
2014-12-04 17:10:37 -05:00
Georges Basile Stavracas Neto 4f241168de window: fix timeout resource handler
Update the handler after the save_geometry(...) method is called
2014-12-04 17:10:37 -05:00
Erick Pérez Castellanos 9afcc4dfa5 nav_bar: remove deprecated margin definitions 2014-12-04 17:10:37 -05:00
Erick Pérez Castellanos 6c893eb333 window: remove geometry related debug sentences 2014-12-04 17:10:36 -05:00
Erick Pérez Castellanos ed9342b237 window: hook key events to search-mode 2014-12-04 17:10:36 -05:00
Erick Pérez Castellanos 1d8cc8a01c manager: use timezone info in time_t conversion 2014-12-04 17:10:36 -05:00
Erick Pérez Castellanos 48f5b36c29 views: ensure initial/final dates have timezones 2014-12-04 17:10:36 -05:00
Erick Pérez Castellanos e06033910c utils: add print_date debug method 2014-12-04 17:10:36 -05:00
Erick Pérez Castellanos db9d2dfa6b week-view: fixed doc sections 2014-12-04 17:10:36 -05:00
Erick Pérez Castellanos f37e2f6416 event-widget: use single click activation
Use pointer cursor
2014-12-04 17:10:36 -05:00
Erick Pérez Castellanos b63c59b1d1 week-view: remove deprecated methods and warnings 2014-12-04 17:10:36 -05:00
Erick Pérez Castellanos ee1d760398 week-view: modernize Gobject boilerplate code 2014-12-04 17:10:36 -05:00
Erick Pérez Castellanos 5ed966dfda week-view: draw header updated 2014-12-04 17:10:35 -05:00
Erick Pérez Castellanos 04dfcd582a week-view: remove navigation controls
This commit just remove the related code. We will make the view work
further along the way.
2014-12-04 17:10:35 -05:00
Erick Pérez Castellanos 5b617388ce week-view: modernize accessing private instance 2014-12-04 17:10:35 -05:00
Erick Pérez Castellanos 7cc4ab07b1 week-view: implement get_left/right_header methods
Add macro to include private instance data into GcalWeekView objects
2014-12-04 17:10:35 -05:00
Erick Pérez Castellanos 50cd68273d year-view: fixed drawing and colors 2014-12-04 17:10:35 -05:00
Erick Pérez Castellanos ff11049f30 build: remove calls to deprecated methods 2014-12-04 17:10:35 -05:00
Erick Pérez Castellanos 1ad998b54b month-view: fixed drawing of the grid
Updated colors and line widths
2014-12-04 17:10:35 -05:00
Georges Basile Stavracas Neto 4edca6b255 theme: use system colors
It's better and more portable than using custom hardcoded colors
2014-12-04 17:10:35 -05:00
Erick Pérez Castellanos 420db914db window: changed system icon for menu icon 2014-12-04 17:10:35 -05:00
Erick Pérez Castellanos c5131db240 application: load css file from resources 2014-12-04 17:10:34 -05:00
Erick Pérez Castellanos e0e1517061 build: moved resource file to data
Add css style to resources
2014-12-04 17:10:34 -05:00
Erick Pérez Castellanos bee7b6fa1c build: rename instance variable and add docs 2014-12-04 17:10:34 -05:00
Erick Pérez Castellanos 8a3ad4fc98 gcal-window: fixed minor sigsegv when no positionis saved 2014-12-04 17:10:34 -05:00
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
Yosef Or Boczko aa79428ce4 fix API break on templates 2014-12-04 17:10:34 -05:00
Erick Pérez Castellanos ca64eb190d gcal-event-widget: symbolic icon match the height of the text 2014-12-04 17:10:34 -05:00
Erick Pérez Castellanos 724435872c gcal-all-day-grid: fixed y coordinate calculation 2014-12-04 17:10:34 -05:00
Erick Pérez Castellanos 37b93f6d48 gcal-day-view: hooked to AllDayGrid signals
Added :clear_marks calls chaining
This code is full of debugging statements yet.
2014-12-04 17:10:33 -05:00
Erick Pérez Castellanos 948aae4d6f gcal-all-day-grid: added get_cell_position helper
Helper to detect the position of a marked cell
2014-12-04 17:10:33 -05:00
Erick Pérez Castellanos 34707c5253 gcal-days-grid: reworked size calculations
GcalDaysGridPrivate:scale_width includes left and right padding.
2014-12-04 17:10:33 -05:00
Erick Pérez Castellanos 94ff8dc538 gcal-days-grid: reworded comments 2014-12-04 17:10:33 -05:00
Erick Pérez Castellanos fd87ba68c6 gcal-days-grid: refactored a bit :draw method
Moved querying the background color to only when
it's needed
2014-12-04 17:10:33 -05:00
Erick Pérez Castellanos 2ee59deedf gcal-all-day-grid: make it reactive
Added button press/release/motion handlers.
Added signaling mechanism to communicate to its
parent about the marked cells
2014-12-04 17:10:33 -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