Georges Basile Stavracas Neto
df9af0e8f9
month-view: remove leftover
...
This was supposed to be removed, since there's no
use in setting a state and immediately restore the
context.
2016-01-04 22:24:10 -02: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
6de0376ab6
month-view: fix warnings
...
We were calling gtk_style_context_get() with a state
different than that of the style_context, which yiels
warnings.
Fix that by saving, setting the flag and restoring the
context.
2016-01-04 16:50:47 -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
ef9868a0d7
event-widget: port to css nodes
...
This commit add a css name, and use the style
context's state flags as well.
2016-01-04 16:27: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
2280a74856
edit-dialog: notify property before manually check sensitivity
...
When we check start & end time selector's sensitivity before
notifying the property change, the check is overriden by the
binding.
Fix that by performing the checks after the notification of the
property change.
2016-01-04 02:18:19 -02:00
Akom Chotiphantawanon
b8393209b0
Updated Thai translation.
2016-01-03 16:26:47 +07:00
Mario Blättermann
003107bb9b
Updated German translation
2016-01-01 18:57:44 +00:00
Enrico Nicoletto
2028774e45
Updated Brazilian Portuguese translation
2015-12-31 17:32:36 +00:00
Georges Basile Stavracas Neto
abd6fa8b2d
window: properly case ::manager property getter
...
It's a readwrite property, thus it must have an
case PROP_MANAGER set in get_property.
2015-12-31 00:37:36 -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
Georges Basile Stavracas Neto
4d19950c2c
edit-dialog: cosmetic changes
...
Fixes some alignment issues, as well as some
needless checks. Also, use some handy glib
functions to shrink the code even more.
2015-12-30 14:59:16 -02:00
Georges Basile Stavracas Neto
3396291e3e
edit-dialog: remove needless casts
...
These widgets are already stored as GtkWidgets,
and there is no need to do these casts.
2015-12-30 14:40:34 -02:00
Georges Basile Stavracas Neto
6f1eb7ca9d
edit-dialog: turn into a final class
...
This commit updates GcalEditDialog's code for
it to be a final class. As such, we don't need
the GcalEditDialogPrivate type - we can simply
move our data to the GcalEditDialog struct.
2015-12-30 14:36:27 -02:00
Georges Basile Stavracas Neto
0ac827d87d
edit-dialog: remove dead code
...
This is already set in the UI definition file
for the dialog.
2015-12-30 14:12:02 -02:00
Paul Seyfert
1184d3e7c4
Updated German translation
2015-12-28 12:25:57 +01:00
Erick Perez Castellanos
9be7233f28
date-selector: fix typo
...
The parsing of the date mask was never happening because it was always assuming
it was wrong.
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=758391
2015-12-22 23:55:12 -06:00
Erick Perez Castellanos
cb25af0164
year-view: Get selected date before hiding popover
...
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=757931
2015-12-21 22:53:33 -06:00
Miguel Vaello Martínez
2001273c28
Fix uninitialized variable
...
In the 'icaltime_compare_with_current' function, the 'result' was
uninitialized. As a consequence, this simplifies the if-else
condition.
https://bugzilla.gnome.org/show_bug.cgi?id=759588
2015-12-21 20:11:42 -06:00
Erick Perez Castellanos
ed580933ea
appdata: added kudos
2015-12-21 20:07:26 -06:00
Erick Perez Castellanos
59503952c8
Bump version to 3.19.3 for release
...
NEWS file updated
2015-12-15 23:54:55 -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
Aurimas Černius
1bf77d82a8
Updated Lithuanian translation
2015-11-20 20:55:43 +02:00
Yosef Or Boczko
000485182a
Updated Hebrew translation
2015-11-19 21:16:10 +02:00
Cheng-Chia Tseng
a75f4f00f3
Updated Chinese (Taiwan) translation
2015-11-19 15:08:49 +00:00
Muhammet Kara
e98d07304c
Updated Turkish translation
2015-11-17 23:15:43 +00:00
Efstathios Iosifidis
4a09715854
Updated Greek translation
2015-11-17 21:31:04 +00:00
GNOME Translation Robot
c0a0dc6298
Updated Scottish Gaelic translation
2015-11-17 18:14:38 +00:00
GNOME Translation Robot
4b9e3ec72b
Added Scottish Gaelic translation
2015-11-17 18:01:29 +00:00
Daniel Mustieles
27dd3c0d56
Updated Spanish translation
2015-11-17 18:49:08 +01:00
Kjartan Maraas
af9e57e5bd
Updated Norwegian bokmål translation.
2015-11-14 16:17:17 +01:00
Mingye Wang
0561aba763
Updated Chinese (Taiwan) translation
2015-11-11 00:41:50 +00:00
Marek Černocký
c1f5e84c9e
Updated Czech translation
2015-11-09 14:51:27 +01:00
Dušan Kazik
418c19d13d
Updated Slovak translation
2015-11-08 13:26:09 +00:00
Daniel Șerbănescu
beaa6eff53
Added Romanian translation
...
(cherry picked from commit 5b09520f204fc8125dc45831ae827ccec14a3369)
2015-11-03 18:12:55 +00:00
Jiri Grönroos
256cdac6b7
Updated Finnish translation
2015-11-03 13:12:07 +00:00
Pedro Albuquerque
76b95ffeda
Updated Portuguese translation
2015-11-03 09:47:50 +00:00
Sveinn í Felli
641bf18cdf
Updated Icelandic translation
...
(cherry picked from commit 6b8037e273618d09fb2c290a16283d88a7e09ecc)
2015-11-02 13:15:01 +00:00
Anders Jonsson
ac22fdcf9a
Updated Swedish translation
2015-11-02 12:22:47 +00:00
Seán de Búrca
0773072088
Correct string error
2015-11-01 11:03:44 -06:00
Fabio Tomat
c7c9072efb
Updated Friulian translation
2015-10-28 15:05:17 +00:00
Georges Basile Stavracas Neto
b6bec55185
month-view: don't show popover when clicking an invalid cell
...
Because we're using a simple (gint) cast to round y value of
the clicked point, a negative y was rounding to a valid cell
position and showing the popover even when the user clicked
on the blank cells before the actual month view.
Fix that by properly checking if y is negative.
https://bugzilla.gnome.org/show_bug.cgi?id=755910
2015-10-27 12:00:49 -02:00
Georges Basile Stavracas Neto
6afa9b98f6
month-view: fix mirroring macro
...
It was using a local variable, which is a bad idea. It
only worked because we were using it in the context of
that local variable, but it was luck.
2015-10-27 11:57:51 -02:00
Erick Perez Castellanos
e611f87d6a
manager: prevent excessive logging.
...
Skip "Job failed" warning when the error is caused by ouselves cancelling the
thread.
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=749337
2015-10-21 08:49:55 -05:00