Erick Pérez Castellanos
cff0b59b2e
style: ensure separation of code and declarations
2015-05-25 12:36:53 -04:00
Erick Pérez Castellanos
b04720135f
window: sources are unique
...
There's no need to loop through the rest of the list once the ESource has been
found
2015-05-25 12:36:53 -04:00
Erick Pérez Castellanos
44480da71a
window: I rather have these lines
...
I prefer a clean separation between declarations and code
2015-05-25 12:36:53 -04:00
Erick Pérez Castellanos
c256bec634
utils: make NULL comparison explicit
2015-05-25 12:36:53 -04:00
Georges Basile Stavracas Neto
9838c7fa41
window: fix more styling issues
2015-05-25 12:35:59 -04:00
Georges Basile Stavracas Neto
350cd5ea85
source-dialog: fix style
2015-05-25 12:35:58 -04:00
Georges Basile Stavracas Neto
bbcd5bcc49
source-dialog: use GtkEntry::get_text_length
2015-05-25 12:35:58 -04:00
Georges Basile Stavracas Neto
e3e30140b3
source-dialog: use g_clear_object instead of manual free
2015-05-25 12:35:58 -04:00
Georges Basile Stavracas Neto
6213f5cc78
source-dialog: remove useless checks before freeing memory
...
g_free is NULL-proof, no need to check if it's NULL
before using it.
2015-05-25 12:35:58 -04:00
Georges Basile Stavracas Neto
f9b3f2f6c7
source-dialog: remove unused enum
2015-05-25 12:35:58 -04:00
Georges Basile Stavracas Neto
cd872d42ed
manager: load GOA client at construction time
2015-05-25 12:35:58 -04:00
Georges Basile Stavracas Neto
27fa9983f4
manager: change ::get_client to ::get_goa_client
...
This explains better the purpose of the methods, and also
don't collide with the ECalClient prefix we already use.
2015-05-25 12:35:58 -04:00
Georges Basile Stavracas Neto
87ecb99090
application: remove unused import
2015-05-25 12:35:58 -04:00
Georges Basile Stavracas Neto
2b4e46a4b6
manager: notify when sources are enabled/disabled
...
Add the new signal for GcalManager::source-enabled that
notifies connected widgets about the source change. With
that, we can keep checkboxes syncronizes.
2015-05-25 12:35:58 -04:00
Georges Basile Stavracas Neto
023a79a90f
source-dialog: bind source::display-name with label::label
2015-05-25 12:35:58 -04:00
Georges Basile Stavracas Neto
a9364d83cb
window: better name Calendar Settings button
2015-05-25 12:35:58 -04:00
Georges Basile Stavracas Neto
c3d34ae149
window: add a nice style to the calendar listbox
2015-05-25 12:35:58 -04:00
Georges Basile Stavracas Neto
134d8678fe
source-dialog: connect the signal
2015-05-25 12:35:57 -04:00
Georges Basile Stavracas Neto
51a2695546
source-dialog: open online account settings when button is clicked
2015-05-25 12:35:57 -04:00
Georges Basile Stavracas Neto
60401426a2
source-dialog: silence gnome-control-center
2015-05-25 12:35:57 -04:00
Georges Basile Stavracas Neto
7482469b01
source-dialog: sort online accounts
2015-05-25 12:35:57 -04:00
Georges Basile Stavracas Neto
06e6f39721
source-dialog: remove accounts with GoaClient::account-removed
2015-05-25 12:35:57 -04:00
Georges Basile Stavracas Neto
1a580e3be5
source-dialog: hide empty goa rows instead of removing them
2015-05-25 12:35:57 -04:00
Georges Basile Stavracas Neto
a8631eb99a
source-dialog: initialize the icon name
...
Avoids some compiler warnings.
2015-05-25 12:35:57 -04:00
Georges Basile Stavracas Neto
321882f4b2
source-dialog: use subtitles to improve user discoveribility
...
Make it clear that you can configure your account
by clicking the row.
2015-05-25 12:35:57 -04:00
Georges Basile Stavracas Neto
2f882d2b0b
source-dialog: add accounts when they're added
2015-05-25 12:35:57 -04:00
Georges Basile Stavracas Neto
10e032f510
source-dialog: open online account when row is activated
2015-05-25 12:35:57 -04:00
Georges Basile Stavracas Neto
06cfeace4d
source-dialog: load online accounts
2015-05-25 12:35:57 -04:00
Georges Basile Stavracas Neto
3905622420
window: don't set the manager twice
2015-05-25 12:35:57 -04:00
Georges Basile Stavracas Neto
87299afe01
project: add online account row UI for source dialog
2015-05-25 12:35:57 -04:00
Georges Basile Stavracas Neto
5862f1671f
window: add source dialog to builder file again
2015-05-25 12:35:57 -04:00
Georges Basile Stavracas Neto
7942677b8e
application: move GoaClient to manager
2015-05-25 12:35:56 -04:00
Georges Basile Stavracas Neto
0142b0494e
window: instance source dialog on init
2015-05-25 12:35:56 -04:00
Georges Basile Stavracas Neto
ee7025ea99
source-dialog: add ::application property
2015-05-25 12:35:56 -04:00
Georges Basile Stavracas Neto
75de5bb5b1
source-dialog: add some more properties
2015-05-25 12:35:56 -04:00
Georges Basile Stavracas Neto
ebb08f5eeb
application: send a signal when GoaClient init finishes
2015-05-25 12:35:56 -04:00
Georges Basile Stavracas Neto
0aad536ca1
application: add method to retrieve the GoaClient
2015-05-25 12:35:56 -04:00
Georges Basile Stavracas Neto
67ca57d1c9
source-dialog: connect ::row-activated signal to the handler
2015-05-25 12:35:56 -04:00
Georges Basile Stavracas Neto
71d93bd914
application: load a GoaClient on init
...
It is done here to make it reusable for
the future initial setup dialog too.
2015-05-25 12:35:56 -04:00
Georges Basile Stavracas Neto
a61a970049
source-dialog: spawn online accounts creation on row activation
2015-05-25 12:35:56 -04:00
Georges Basile Stavracas Neto
6f8199c488
project: add Goa dependency
2015-05-25 12:35:56 -04:00
Georges Basile Stavracas Neto
5d6fe1b7f4
source-dialog: revalidates on entry activation
2015-05-25 12:35:56 -04:00
Georges Basile Stavracas Neto
b45e76b9af
source-dialog: properly hide the list of discovered sources
2015-05-25 12:35:55 -04:00
Georges Basile Stavracas Neto
a704bd3d4c
source-dialog: add a smooth transition to web sources listbox
2015-05-25 12:35:55 -04:00
Georges Basile Stavracas Neto
bbca705f55
source-dialog: show an icon on success for web sources
2015-05-25 12:35:55 -04:00
Georges Basile Stavracas Neto
cee837fe61
source-dialog: remove unneeded properties
2015-05-25 12:35:55 -04:00
Georges Basile Stavracas Neto
00b580fd6d
source-dialog: forbit selecing discovered calendars' row
2015-05-25 12:35:55 -04:00
Georges Basile Stavracas Neto
24189bddd3
source-dialog: fix sorting function
2015-05-25 12:35:55 -04:00
Georges Basile Stavracas Neto
e62d744cef
source-dialog: Add a "Calendars" label before calendar listbox
...
Also, this commit correctly hides the calendar
label and list.
2015-05-25 12:35:55 -04:00
Georges Basile Stavracas Neto
dcd1fbe6d9
source-dialog: fix insensitive button when addin file or local source
2015-05-25 12:35:55 -04:00