Erick Pérez Castellanos
b8525fc0f6
app: fix about dialog build
2014-12-04 17:10:40 -05:00
Georges Basile Stavracas Neto
7dc4ae6a84
nav-bar: implemented today button
...
Implements today button between previous and forward buttons.
Fix bug #703316 .
2014-12-04 17:10:40 -05:00
Erick Pérez Castellanos
21356d926d
app: update about dialog
2014-12-04 17:10:40 -05:00
Georges Basile Stavracas Neto
a5c65af0fb
project: remove libgd dependency
...
This patch fixes bug #737729 , removing all libgd dependencies.
Every GdHeaderButton was replaced by GtkButton, and GdNotification was replaced by a custom-styled GtkFrame inside a GtkRevealer.
2014-12-04 17:10:40 -05:00
Erick Pérez Castellanos
6fa533ba79
manager: improved ESource/EClient connection flow
2014-12-04 17:10:40 -05:00
Erick Pérez Castellanos
503d0345d9
window: restore GcalEditDialog:response handling
...
Now, this method will be improved later since the modify response will
use some new API
2014-12-04 17:10:40 -05:00
Erick Pérez Castellanos
b094f39288
build: remove unused GcalArrowBin
2014-12-04 17:10:40 -05:00
Erick Pérez Castellanos
6d3e30b160
edit-dialog: added stub code
...
The code added make the dialog show up. Probably anything else works,
but it's start to keep the project building while GcalManager migration
is finished and new GcalEditDialog is built.
2014-12-04 17:10:40 -05:00
Erick Pérez Castellanos
67fc66a8f4
window: migrated to match latest GcalManager API
...
Reorganized some code as mentioned on HACKING code style file
Removed unused methods
Started migration on new EditDialog flow to match latest GcalManager API
Updated GcalManager:events-modified handler to match lastet GcalManager
API
2014-12-04 17:10:40 -05:00
Erick Pérez Castellanos
65653d16b4
manager: remove get_event* methods
...
Now those values are accesible from inside GcalEventWidget and
GcalEditDialog using its internals copies of ECalComponent of the event
they represent
2014-12-04 17:10:39 -05:00
Erick Pérez Castellanos
b88e6574b4
utils: fixed debug method
2014-12-04 17:10:39 -05:00
Erick Pérez Castellanos
19c3c4e94f
event-widget: add method to pass its internal data
2014-12-04 17:10:39 -05:00
Erick Pérez Castellanos
4bd4322cf8
manager: enable sources by default
2014-12-04 17:10:39 -05:00
Erick Pérez Castellanos
def5345fce
manager: update functions docs
2014-12-04 17:10:39 -05:00
Erick Pérez Castellanos
d8cc980a1d
month-view: implement GcalView::wil_add_event vfunc
2014-12-04 17:10:39 -05:00
Erick Pérez Castellanos
714e2c93f3
event-widget: set :uuid property from data
2014-12-04 17:10:39 -05:00
Erick Pérez Castellanos
8ca256b130
window: update GcalManager:objects-added handler
2014-12-04 17:10:39 -05:00
Erick Pérez Castellanos
bc4663f8c8
event-widget: add internal #ECalComponent object
...
The changes made here are minimal to get this building. GcalEventWidget
needs a new rethink and rework to accommodate to those new internal
attributes, which replaces some of the old ones.
2014-12-04 17:10:38 -05:00
Erick Pérez Castellanos
76582329ef
view: add :will_add_event vfunc and stub methods
...
Note: this commit probably won't build, but this is the right order of
keeping history.
2014-12-04 17:10:38 -05:00
Erick Pérez Castellanos
ef6d464071
manager: migrate :objects-added signal
...
GcalManager:objects-added signal pass a list of struct containing
ECalComponents for the event widgets. This ECalComponent instance will
be owned and released by the event widget. Look at: GcalEventWidget::finalize
2014-12-04 17:10:38 -05:00
Erick Pérez Castellanos
43eb35fc6e
manager: more work into migration
...
1. Some code style updated
2. Remove unneeded function
2014-12-04 17:10:38 -05:00
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