Georges Basile Stavracas Neto
5b8a26ec71
year-view: port to css nodes
...
Mainly by removing the gtk_widget_get_state_flags()
calls.
2016-01-04 16:50:40 -02:00
Georges Basile Stavracas Neto
961bf5dc88
window: setup edit dialog from UI file
...
This commit sets up the edit dialog from the window's ui
resource file, in a series of commits that tries to move
all C code to the UI definitions.
Also, GcalManager is a full GObject class, not a simple
pointer. As such, update the property spec to be of type
object, not pointer.
2015-12-30 17:37:12 -02:00
Georges Basile Stavracas Neto
13c4145507
edit-dialog: add ::writable and ::manager properties
...
By using these properties, we gain the possibility to
bind them to the widgets and save some needless code.
This commit adds GcalEditDialog::writable and ::manager
properties. Other needed properties will be eventually
added in the subsequent commits.
2015-12-30 17:34:29 -02:00
Georges Basile Stavracas Neto
de207f9c63
edit-dialog: move bindings to UI file
...
We don't need to manually bind these properties in
the source code if we can make it on the UI files.
2015-12-30 15:05:20 -02:00
Haohong Wang
45c4e72e69
window: split arrow buttons from Today button
...
Remove the misleading of previous/next buttons' placement.
Seperated Today button from the GtkBox and reorganized
arrow buttons' order.
http://bugzilla.gnome.org/show_bug.cgi?id=755211
2015-12-14 09:57:06 -02:00
Haohong Wang
dc1a7f591b
Create event popover: swap buttons' position.
...
In the create event popover, the Create button is considered to be the right-most button. Because create is a positive action, it seems that it should be the default at the rightmost position.
Swaped create_button and details_button's left_attach arguments.
https://bugzilla.gnome.org/show_bug.cgi?id=747058
2015-12-10 11:42:44 -02:00
Seán de Búrca
0773072088
Correct string error
2015-11-01 11:03:44 -06:00
Georges Basile Stavracas Neto
d644cbc8bf
search-view: update UI to match upstream
...
Latest GNOME applications follow a clear style of
searching and displaying results, with a no results
page.
To create a coherent usage between GNOME applications,
add the No results page to search popover.
2015-07-17 02:19:44 -03:00
Georges Basile Stavracas Neto
b56540a8d7
window: add tooltips to header buttons
...
In the case the user have any doubts about each
button, a nice tooltip shows and enlightens one's
mind.
2015-07-15 21:26:50 -03:00
Georges Basile Stavracas Neto
72c2988ff3
source-dialog: remove unused code
2015-07-15 21:10:27 -03:00
Georges Basile Stavracas Neto
80693e9ae5
edit-dialog: remove unused code
2015-07-15 21:10:12 -03:00
Georges Basile Stavracas Neto
b1540e3f41
window: code cleanup
...
Remove the unneeded code to manage search bar visibility,
since it is correctly hidden now. Also, clean up some UI
code.
2015-07-15 20:57:12 -03:00
Georges Basile Stavracas Neto
0c1df74735
month-view: add keyboard navigation
...
This big patch implements keyboard navigation for
Month view and the main window. Also, refactor
some of it's drawing code.
2015-07-15 20:40:55 -03:00
Georges Basile Stavracas Neto
40b39337f3
source-dialog: remove deprecated xalign for buttons
2015-05-25 12:36:55 -04:00
Georges Basile Stavracas Neto
47674b4d61
source-dialog: remove the annoying 2px border from the dialog
2015-05-25 12:36:54 -04:00
Georges Basile Stavracas Neto
ef9d1301d9
source-dialog: use a builder .ui definition for interface
...
We know that coding interfaces sucks, so use a .ui file instead.
2015-05-25 12:36:54 -04:00
Erick Pérez Castellanos
b1fc6991e9
calendars' popover: refine UI
...
Always show Calendars Settings button. Scroll only the list of calendars.
2015-05-25 12:36:54 -04:00
Erick Pérez Castellanos
c2d89a5903
build: simplify UI files using gtk-builder-tool
2015-05-25 12:36:54 -04:00
Erick Pérez Castellanos
fb73f6574b
calendar's popover: use GbScrolledWindow
...
This solve the problem of too many calendars making the window too tall.
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=749459
2015-05-25 12:36:54 -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
a9364d83cb
window: better name Calendar Settings button
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
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
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
0142b0494e
window: instance source dialog on init
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
67ca57d1c9
source-dialog: connect ::row-activated signal to the handler
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
a704bd3d4c
source-dialog: add a smooth transition to web sources listbox
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
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
102698a9e3
source-dialog: remove unneeded fields
2015-05-25 12:35:54 -04:00
Georges Basile Stavracas Neto
70ecba33ff
source-dialog: move credentials prompter to builder UI file
...
Save us some lines.
2015-05-25 12:35:33 -04:00
Georges Basile Stavracas Neto
cdd6c967f8
source-dialog: properly update edit page top widgets
...
Build URIs for files and remote sources,
hide things for local calendars, etc. The
only major missing piece of the puzzle now
is GOA itself.
2015-05-25 12:35:33 -04:00
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