Jordi Mas
8e2e0ee34e
Update Catalan translation
2016-08-01 07:52:05 +02:00
Ernestas Kulik
c16864ff97
time-selector: fix 12-hour format
...
Currently, the date selector allows hours in range [0; 11], which is not
the convention. This commit fixes the conversion logic.
https://bugzilla.gnome.org/show_bug.cgi?id=756377
2016-07-28 16:40:56 -03:00
Ernestas Kulik
d0143db01b
time-selector: fix AM to PM time logic
...
Currently, the hour component of the time is doubled when switching from
AM to PM, which is incorrect. This commit fixes the logic by adding 12
hours when switching to PM.
https://bugzilla.gnome.org/show_bug.cgi?id=765370
2016-07-27 16:36:36 -03:00
Ernestas Kulik
dd4142f255
edit-dialog: set time format unconditionally
...
If GcalEditDialog.format_24h is initialized to zero, the call to
gcal_edit_dialog_set_time_format() from GcalWindow will not make
period_combo boxes visible on systems, where 12-hour clocks are used.
This commit fixes that by removing the if statement from the function.
https://bugzilla.gnome.org/show_bug.cgi?id=765370
2016-07-27 16:36:36 -03:00
Tiago Santos
0a4f0c0e46
Updated Portuguese translation
2016-07-27 06:59:57 +00:00
Ting-Wei Lan
f8a3c7731c
date-chooser: don't reimplement get_first_weekday
...
Function calendar_get_week_start do the same things with the same code as
function get_first_weekday, so it is better to remove calendar_get_week_start
and switch all the use of calendar_get_week_start to get_first_weekday.
This also fixes build problems on non-glibc systems because get_first_weekday
provides fallback for non-glibc systems.
https://bugzilla.gnome.org/show_bug.cgi?id=769140
2016-07-27 01:56:41 -03:00
Lapo Calamandrei
e3d29c989e
date-selector: change style class on other month days
...
use .other-month in place of .dim-label since the .dim-label style
was not fitting, so better to use a specific class then a generic
one.
2016-07-26 18:58:52 +02:00
Georges Basile Stavracas Neto
cef7f02a65
date-selector: update text even for today
...
When the date selector is initialized, the text is
blank, even when the date is set for today.
Fix that by updating the text when setting the date.
2016-07-24 20:09:37 -03:00
Lapo Calamandrei
095a209615
css: restyle date chooser...
...
...making it more consistent with shell calendar and gtkcalendar.
2016-07-24 18:55:21 +02:00
Aurimas Černius
ff44b4ac56
Updated Lithuanian translation
2016-07-24 17:04:23 +03:00
Georges Basile Stavracas Neto
faf85a7fb0
date-chooser: support hovering days
...
Another fixup in order to make the current date chooser
more streamlined with GNOME Shell's calendar.
2016-07-23 17:47:12 -03:00
Georges Basile Stavracas Neto
93900ae9e9
date-chooser: tweak style
...
To keep the current date chooser in sync with
GNOME Shell, tweak the week names to show only
the first, upcased letter of the week name.
Also, this commit avoids making day number circles
ellipses when the week number is not present.
2016-07-23 17:47:12 -03:00
Georges Basile Stavracas Neto
2744f5acd2
date-selector: bind weekday numbers with desktop
...
The current implementation of the new calendar widget
accepts showing the week numbers in a modern and much
more consistent way.
The behavior, however, is not aligned with the rest of
the application and the desktop, which share a setting
to show or hide the week number.
Fix that by synchronizing the new calendar's week number
property with the specific setting.
2016-07-23 17:47:11 -03:00
Georges Basile Stavracas Neto
459756b2a2
edit-dialog: adapt to better display the date selectors
...
This commit is purely aesthetical, and is here in order to
make the edit dialog look more like the proposed mockups.
2016-07-23 17:47:11 -03:00
Georges Basile Stavracas Neto
bdac4e4c79
date-selector: turn into a entry
...
After making the date selector use the brand
new date chooser widget, it is now time to make
it an entry.
This commit, then turns GcalDateSelector into a
GtkEntry subclass, and add all the plumbing that
is necessary to make it work as such.
As a side effect, this commit adds rudimentary
natural language support for parsing dates.
2016-07-23 17:47:11 -03:00
Georges Basile Stavracas Neto
4ef9f75dfb
date-selector: move to use the new date chooser
...
After adding the new GcalDateChooser widget, change the
current date selector to use it as the internal widget
of the popover.
The next logical step is turning GcalDateSelector into
an entry.
2016-07-23 17:47:11 -03:00
Georges Basile Stavracas Neto
c2dca8a3dc
date-chooser: add date chooser widget
...
This is mainly a copy-paste from an old branch authored
by Matthias Clasen. The code style was updated to match
Calendar's one, and the theming was improved a little bit.
2016-07-23 17:47:11 -03:00
Georges Basile Stavracas Neto
4880c68347
Bump 3.21.4 release
2016-07-20 19:11:50 -03:00
Christian Kirbach
3aae82cb7a
Updated German translation
2016-07-17 20:31:51 +00:00
Piotr Drąg
74d5ed62ef
Add Language headers to po files
...
Future versions of gettext will fail if this header is missing.
2016-07-17 20:50:07 +02:00
Chao-Hsiung Liao
8fd949eb19
Updated Chinese (Taiwan) translation
2016-07-16 02:38:51 +00:00
Lapo Calamandrei
ed4782116e
css: remove broken linked entry style
...
inherit linked entries styling from the theme.
2016-07-09 18:27:51 +02:00
Dušan Kazik
672a8d3d4d
Updated Slovak translation
2016-07-09 08:39:57 +00:00
Lapo Calamandrei
679796b403
window: remove the separator from calendar rows
2016-07-08 20:59:03 -03:00
Georges Basile Stavracas Neto
3d033e1f5f
window: toggle calendar visibility when selecting the row
...
Instead of opening the calendar for editing, toggle its visibility
when clicking the listbox row.
2016-07-08 20:59:03 -03:00
Georges Basile Stavracas Neto
33d9901c49
search-view: don't subscribe to invalid dates
2016-07-08 20:53:56 -03:00
Lapo Calamandrei
8be2ece30e
css: remove some ugly selectors
...
since Georges added all the styleclasses in the needed places.
2016-07-08 21:54:05 +02:00
Georges Basile Stavracas Neto
d7e082af0f
window: add "calendar-color-image" in calendar popover
2016-07-08 16:53:57 -03:00
Georges Basile Stavracas Neto
243c8b75da
quick-add-popover: add "calendar-color-image" css class in rows
2016-07-08 16:42:23 -03:00
Georges Basile Stavracas Neto
f8876022e1
edit-dialog: correctly center header button widgets
2016-07-08 16:39:01 -03:00
Lapo Calamandrei
fba57ee1af
Revert "edit-dialog: add calendars-list styleclass to sources_popover."
...
This reverts commit 126d6145f2 , since
a proper hacker (Georges) added the class where it makes more
sense.
2016-07-08 21:31:42 +02:00
Georges Basile Stavracas Neto
cb7f195966
utils: add "calendars-list" css class to the container
...
Following the previous commit, add the CSS class to the GtkBox
that is the container of the calendars.
2016-07-08 16:27:49 -03:00
Georges Basile Stavracas Neto
f528a36bdb
window: use a circle icon for calendars' popover
2016-07-08 16:17:32 -03:00
Georges Basile Stavracas Neto
a1882ff25e
utils: add calendar-color-image css class to popover icons
2016-07-08 16:16:19 -03:00
Lapo Calamandrei
863915feb1
css: style the calendar color dot
...
remove the unneded and ugly hover effect on buttons and add a
subtle shadow.
2016-07-08 20:44:58 +02:00
Lapo Calamandrei
126d6145f2
edit-dialog: add calendars-list styleclass to sources_popover.
2016-07-08 20:37:20 +02:00
Lapo Calamandrei
eb5e22f6f6
source-dialog: add calendars-list styleclass.
2016-07-08 20:08:47 +02:00
Lapo Calamandrei
9e7abab8b2
quick-add-popover: add calendars-list styleclass
...
add `calendars-lists` to `calendars_listbox`.
2016-07-08 20:05:42 +02:00
Lapo Calamandrei
e90c68e6c5
calendar-row: add calendar-color-image styleclass.
2016-07-08 19:21:14 +02:00
Lapo Calamandrei
456c7a0f69
edit-dialog: add calendar-color-image styleclass to source_image.
2016-07-08 19:12:53 +02:00
Lapo Calamandrei
2234ef0854
quick-add-popover: add a styleclass to color_image
...
add the `calendar-color-image` styleclass to the color_image image
to be able to style it generally.
2016-07-08 19:08:29 +02:00
Fabio Tomat
8e1b40b692
Updated Friulian translation
2016-07-08 07:25:31 +00:00
Fabio Tomat
1e91d82298
Updated Friulian translation
2016-07-08 07:22:41 +00:00
Lapo Calamandrei
318c200d6f
css: -gtk-icon-shadow in place of icon-shadow
...
muscle memory fail.
2016-07-08 01:59:28 +02:00
Lapo Calamandrei
7f8cb1a25d
css: simpler edit-dialog headerbar button
...
make it full height and visually cleaner.
2016-07-08 01:56:06 +02:00
Lapo Calamandrei
7160da43a7
css: fix a bogus selector from the previous commit.
2016-07-08 01:28:16 +02:00
Lapo Calamandrei
a6bc9da636
css: year-view sidebar
...
add some padding and move no events label down a bit to better line
up with events in the list.
2016-07-08 01:23:22 +02:00
Lapo Calamandrei
e54b023f06
css: remove year-view button superfluous side border.
2016-07-08 01:09:17 +02:00
Lapo Calamandrei
53d28d73b8
year-view: remove a superfluous border
...
simplify the related css and add correct backdrop colors in the
process.
2016-07-08 01:01:41 +02:00
Daniel Mustieles
a0f76add3d
Updated Spanish translation
2016-07-07 08:08:40 +00:00