Commit Graph
208 Commits
Author SHA1 Message Date
Georges Basile Stavracas Neto 72eb5dd20b source-dialog: make remove action local to the dialog
Instead of delegating it to GcalWindow, take
the responsability to manage the source removal
logic.

This commit expose a problem we were trying to
avoid: make our widgets sensitive to source
modifications.
2015-05-25 12:35:33 -04:00
Georges Basile Stavracas Neto c7341d77f0 source-dialog: spawns GCC when gear button is clicked 2015-05-25 12:35:32 -04:00
Georges Basile Stavracas Neto d0351b9b69 window: update button name
To match the mockups
2015-05-25 12:35:32 -04:00
Georges Basile Stavracas Neto d4899eaa39 source-dialog: save the source when 'Add' button is clicked 2015-05-25 12:35:32 -04:00
Georges Basile Stavracas Neto 378d4c8c81 source-dialog: refactor mode handling code
This commit introduce changes of
how GcalSourceDialog handles the
creation of new sources.

At the moment, only file sources
are add-able.
2015-05-25 12:35:32 -04:00
Georges Basile Stavracas Neto e203887484 source-dialog: implement "Add" button menu
The actions are still stub.
2015-05-25 12:35:32 -04:00
Georges Basile Stavracas Neto 06a5a067ab source-dialog: hook "Display calendar" checkbox action
Hide & show the calendars when the
checkbox state changes.
2015-05-25 12:35:31 -04:00
Georges Basile Stavracas Neto 35a622a27b source-dialog: give back button some action
Makes it show, hide and go back to the
correct page. Nothing deep by this
point.
2015-05-25 12:35:31 -04:00
Georges Basile Stavracas Neto e11c57f0a7 source-dialog: show edit page when a calendar is selected 2015-05-25 12:35:31 -04:00
Georges Basile Stavracas Neto 81c2a929c6 source-dialog: remove needless fields
Some fields became obsolete with the
latest mockups. This commit removes
them partially.
2015-05-25 12:35:31 -04:00
Georges Basile Stavracas Neto 80d6e32fba source-dialog: add stub rows for GOA providers 2015-05-25 12:35:30 -04:00
Georges Basile Stavracas Neto 39ae58aca5 source-dialog: retrieve some useful widgets from the UI 2015-05-25 12:35:30 -04:00
Georges Basile Stavracas Neto 15c4a774ac source-dialog: partially implement the new proposed UI
The interface is looking horrible, and
most of the things are stubs now.
2015-05-25 12:35:30 -04:00
Georges Basile Stavracas Neto ab46c242ae window: update calendar popover button
The current mockups removed
the '+' button and changed
the button label to 'Calendar
Settings'. Update the popover
to match the mockups.
2015-05-25 12:35:30 -04:00
Georges Basile Stavracas Neto 397e501413 source-dialog: update source names 2015-05-25 12:35:30 -04:00
Georges Basile Stavracas Neto 3ca09ccfe4 source-dialog: use different detail frames 2015-05-25 12:35:30 -04:00
Georges Basile Stavracas Neto 70aa052b0f source-dialog: display discovered sources
Show the discovered sources in a neat
listbox. For the moment, it's just a
stub prototype.
2015-05-25 12:35:29 -04:00
Georges Basile Stavracas Neto 38d7a83664 source-dialog: remove unused details 2015-05-25 12:35:28 -04:00
Georges Basile Stavracas Neto facb1fb1fc source-dialog: remove needless placeholder 2015-05-25 12:35:28 -04:00
Georges Basile Stavracas Neto c8fc9c8b20 source-dialog: removed deprecated property 2015-05-25 12:35:28 -04:00
Georges Basile Stavracas Neto 562c35d43a source-dialog: remove needless action_area 2015-05-25 12:35:28 -04:00
Georges Basile Stavracas Neto 8f725ae622 source-dialog: replace spinner by entry pulses 2015-05-25 12:35:28 -04:00
Georges Basile Stavracas Neto 1a495b28c7 source-dialog: use GtkFileChooserButton 2015-05-25 12:35:28 -04:00
Georges Basile Stavracas Neto 3fd75163fb source-dialog: bind fields instead of programatically set them 2015-05-25 12:35:27 -04:00
Georges Basile Stavracas Neto b59da7e2e0 source-dialog: show a spinner when it should be validating 2015-05-25 12:35:27 -04:00
Georges Basile Stavracas Neto 54e6bca518 source-dialog: stub validation query 2015-05-25 12:35:27 -04:00
Georges Basile Stavracas Neto 1aa194e844 source-dialog: turn the name label into an entry 2015-05-25 12:35:26 -04:00
Georges Basile Stavracas Neto 17f56895dd window: use markup label for in-app notification 2015-05-25 12:35:26 -04:00
Georges Basile Stavracas Neto 9df8b8077d window: implement removing and undoing the removal of a calendar
We're still facing the bug where the just-added calendar segfaults when removed.
2015-05-25 12:35:26 -04:00
Georges Basile Stavracas Neto 9d222e47fc source-dialog: separate local & remote source handling 2015-05-25 12:31:07 -04:00
Georges Basile Stavracas Neto f724a6aaf6 source-dialog: add button is insensitive by default
We must convince him to get sensitive by selecting a valid source.
2015-05-25 12:31:07 -04:00
Georges Basile Stavracas Neto 8ac47264a4 source-dialog: initial implementation of local source creation 2015-05-25 12:31:07 -04:00
Georges Basile Stavracas Neto cba97f8719 source-dialog: properly save the source when the dialog is closed 2015-05-25 12:31:07 -04:00
Georges Basile Stavracas Neto ec1ad935da source-dialog: implement changing the default source 2015-05-25 12:31:07 -04:00
Georges Basile Stavracas Neto 231c3e45ff source-dialog: expand main stack 2015-05-25 12:31:06 -04:00
Georges Basile Stavracas Neto 0ea4357703 source-dialog: implement color selection 2015-05-25 12:31:06 -04:00
Georges Basile Stavracas Neto 84112ae721 source-dialog: open GNOME Control Center when the description label's link is activated 2015-05-25 12:31:06 -04:00
Georges Basile Stavracas Neto 9a3e0e51ba source-dialog: handle source name changes 2015-05-25 12:31:06 -04:00
Georges Basile Stavracas Neto 07ac22de47 source-dialog: set the minimum width of the dialog 2015-05-25 12:31:06 -04:00
Georges Basile Stavracas Neto 00e48dca82 source-dialog: emit the response signal when an action button is activated 2015-05-25 12:31:05 -04:00
Georges Basile Stavracas Neto 143444ddd5 window: show source dialog when a calendar is activated 2015-05-25 12:31:05 -04:00
Georges Basile Stavracas Neto dafdff6326 source-dialog: fixup some properties 2015-05-25 12:31:05 -04:00
Georges Basile Stavracas Neto 34f9266966 window: fix signal name 2015-05-25 12:31:05 -04:00
Georges Basile Stavracas Neto 6dccbfe431 window: show sources dialog 2015-05-25 12:31:05 -04:00
Georges Basile Stavracas Neto ee2c22b950 window: add a GcalSourceDialog instance 2015-05-25 12:31:05 -04:00
Georges Basile Stavracas Neto e6bf96c198 source-dialog: set ::'use_header_bar' property 2015-05-25 12:31:05 -04:00
Georges Basile Stavracas Neto 183cddea3d source-dialog: fix gtk+ version requirement 2015-05-25 12:31:05 -04:00
Georges Basile Stavracas Neto 61f5c9275b source-dialog: initial interface implementation
And just it, nothing else.
2015-05-25 12:31:04 -04:00
Georges Basile Stavracas Neto cb532bbfbd window: port the calendar popover to GtkListBox
This is a significant rewrite of the calendar popover. Instead of adding actions to the window, it uses a internal map to find the corresponding source.
2015-05-25 12:31:04 -04:00
Erick Pérez Castellanos da3d187ad8 window: fix builder's ui file 2015-04-29 22:32:16 -04:00