Georges Basile Stavracas Neto
6a64384971
year-view: don't allow selection on event list
2016-02-16 03:49:13 +01:00
Georges Basile Stavracas Neto
070bc681fc
edit-dialog: simplify code
...
We don't need to have 2 functions that do exactly
the same thing.
2016-02-14 12:17:37 -02:00
Georges Basile Stavracas Neto
34ff93ce3f
time-selector: use GDateTime
...
Pretty much like the previous commit, but porting the
GcalTimeSelector class.
2016-02-14 12:17:37 -02:00
Georges Basile Stavracas Neto
afe8def60c
date-selector: use GDateTime internally
...
Using a GDateTime improves consistency with the
other components (ideally, we'll move completely
to GDateTime) and simplifies the code.
This commit adds a new property GcalDateSelector::date
and adapts the API to use GDateTime.
2016-02-14 12:17:37 -02:00
Georges Basile Stavracas Neto
0ec0ea8121
event-widget: use GcalEvent internally
...
This saves a lot of code, and is much saner to maintain.
2016-02-14 12:17:37 -02:00
Cosimo Cecchi
f4d015759d
Rename icon to match app ID
...
In preparation for xdg-app.
https://bugzilla.gnome.org/show_bug.cgi?id=761375
2016-01-31 15:13:55 -06:00
Isaque Galdino
e8c75cea32
year-view: Added visual clue for days with events
...
Year view didn't have hints for days with events and this feature was
requested to be added to gnome-calendar.
This is an old request but in the past gnome-design team though it would
be better to keep the layout simple without hints for days with events.
Now with the changes in gnome-shell calendar and in order to keep them
in sync, this feature was added to gnome-calendar.
In order to implement this code we had to add a few css styles and a
code to add a small circle below everyday with events. Although
gnome-shell calendar uses an svg image with a 3x3 dot, we chose to use a
pango function to draw the dot.
https://bugzilla.gnome.org/show_bug.cgi?id=743317
2016-01-29 22:51:12 -02:00
Richard Hughes
5cfee45f7a
Add a missing tag to the AppData file
2016-01-25 15:40:18 +00:00
Georges Basile Stavracas Neto
b7e6de4c13
year-view: fix wrong padding
...
Since we're using css nodes now, the calendar-view
node overrides anything we could possibly set up. In
fact, I don't know how it was working before.
2016-01-04 19:22:28 -02:00
Georges Basile Stavracas Neto
21f3ed1ef1
project: more css names fixups
2016-01-04 16:50:46 -02:00
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
8b1054f638
month-view: set a css name
...
This will add a CSS Node in the style context,
and keep Calendar in sync with latest gtk+
upstream changes.
2016-01-04 16:27: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
Erick Perez Castellanos
ed580933ea
appdata: added kudos
2015-12-21 20:07:26 -06: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
Georges Basile Stavracas Neto
4d4aa8bb26
project: remove OnlyShowIn from desktop file
...
This limits the visibility of GNOME Calendar, which should
be usable in other desktop environments as well.
https://bugzilla.gnome.org/show_bug.cgi?id=758730
2015-12-09 20:43:39 -02:00
Seán de Búrca
0773072088
Correct string error
2015-11-01 11:03:44 -06:00
Jakub Steiner
0ab11b8e28
icons: provide app symbolic
...
- provide a symbolic variant of the app icon, mainly
for the HighContrast theme (and shell's top bar).
2015-09-23 18:14:18 +02: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
Igor Gnatenko
e9474b64da
desktop: use Office;Calendar; instead of Utility; categories
...
Reported-By: Michael Heyns <mike.bean.heyns@gmail.com >
Reference: https://bugzilla.gnome.org/show_bug.cgi?id=751571
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com >
2015-06-29 00:03:18 +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
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
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