Commit Graph
2228 Commits
Author SHA1 Message Date
Kukuh Syafaat 05d9d85a23 Update Indonesian translation 2017-02-13 07:06:28 +00:00
Kjartan Maraas 261944a465 Updated Norwegian bokmål translation. 2017-02-12 12:06:19 +01:00
Inaki Larranaga Murgoitio e94cdac322 Update Basque language 2017-02-11 20:36:54 +01:00
Marek Černocký 215e20eed8 Updated Czech translation 2017-02-11 15:42:40 +01:00
Bernd Homuth 45e75c0d17 Update German translation 2017-02-10 17:53:47 +00:00
Mohammed Sadiq 1449233382 application: cleanup finalize method
Calendar now segfaults due to faling function
gtk_style_context_remove_provider_for_screen in application finalize method.

As application finalize method is called only when the application closes,
there isn't any hard requirement to cleanup every trailings. Operating
System shall take care of that.

So removing the failing functions so as to not segfault on exit anymore.

https://bugzilla.gnome.org/show_bug.cgi?id=773871
2017-02-09 11:20:49 -02:00
Georges Basile Stavracas Neto 006ee30495 Revert "application: don't remove providers from screen when finalizing"
This reverts commit 0ce04c0eeb.
2017-02-09 11:20:28 -02:00
Georges Basile Stavracas Neto 0ce04c0eeb application: don't remove providers from screen when finalizing
When finalizing the application, it is possible that the main window
had already been destroyed and the Gtk+ CSS machinery to stop working.
We currently try to remove the CSS providers from screen when finalizing,
which (i) has no effect, and (ii) causes a segfault.

Fix that by simply destroying the CSS providers, and not trying to
remove them on finalize.

https://bugzilla.gnome.org/show_bug.cgi?id=773871
2017-02-09 11:09:40 -02:00
Yash Singh 6ce45743c6 gcal-window: Declare 'view' as type guint32
Earlier 'view' was declared as a 'guint' but was used as 'gint'.
This patch changes the declaration of 'view' to gint32.

https://bugzilla.gnome.org/show_bug.cgi?id=778299
2017-02-09 10:36:05 -02:00
Georges Basile Stavracas Neto 8f34049793 views: sync header labels' style
The Week view exposed a bug where we had different
CSS selectors for the exact same label. This made
them look inconsistent, with different colors and
paddings.

Fix that by ensuring they all use the same style
class. The Year view drawing code needed to be
reworked a little.

https://bugzilla.gnome.org/show_bug.cgi?id=778391
2017-02-09 10:28:28 -02:00
Mohammed Sadiq 1e471b1b0c quick-add-popover: focus entry after calendar selection
Pressing 'Enter' key shall always save the event.
So focusing on 'Add' button after selecting calendar is redundant.

Instead, focus on the entry, so that the user can add more text without
manually focusing.

https://bugzilla.gnome.org/show_bug.cgi?id=778373
2017-02-09 09:48:45 -02:00
Georges Basile Stavracas Neto d63e007a7a week-grid, week-view: improve hour sidebar rendering
The hour strings are too soft and can barely be read. Fix
that by setting a stronger color.

https://bugzilla.gnome.org/show_bug.cgi?id=777420
2017-02-09 09:21:28 -02:00
Georges Basile Stavracas Neto 6c2653809b week-grid: simplify drawing function
This patch simplifies the drawing function by removing
the unused layout and font descriptions.

https://bugzilla.gnome.org/show_bug.cgi?id=777420
2017-02-09 09:21:28 -02:00
Jiri Grönroos ba0a15aae4 Update Finnish translation 2017-02-04 17:15:48 +00:00
Andrei Ceapa 4ab02f487c edit-dialog: allign circle with subtitle
Move the circle in the headerbar on the same line with the
subtitle, so that it will not move when the length of the event
title increases.

https://bugzilla.gnome.org/show_bug.cgi?id=772098
2017-02-01 15:14:13 -02:00
Georges Basile Stavracas Neto ba871e4004 theme: reduce vertical padding
This reduces each hour cell's height, and makes more of the
week grid visible at a glance.

https://bugzilla.gnome.org/show_bug.cgi?id=777767
2017-02-01 15:07:46 -02:00
Georges Basile Stavracas Neto cdc5bde96a week-grid: make sure events span at least 1 minute
When adding an event with the same start and end dates and
times, the event effectively spans 0 minutes, leading a division
by zero and causing varius UI glitches.

Fix that by making sure events span at least 1 minute.

https://bugzilla.gnome.org/show_bug.cgi?id=777414
2017-02-01 15:06:56 -02:00
Georges Basile Stavracas Neto e119d27718 week-grid: enforce a minimum width
https://bugzilla.gnome.org/show_bug.cgi?id=777414
2017-02-01 15:06:56 -02:00
Abishek 78a463ab53 week-header: align month_label, week_label and year_label
There was a small alignment issue with week_label, month_label and
year_label in week-view.

Change the y-align property of month_label,week_label and year_label
in week-header.ui to 0, so that they are aligned properly.

https://bugzilla.gnome.org/show_bug.cgi?id=777417
2017-01-30 14:44:26 -02:00
Piotr Drąg 0b1dd67d2d Fix translator comments
They need to be exactly one line above a string to show up in .po files.
2017-01-26 04:58:52 +01:00
Efstathios Iosifidis 063dfb1371 Update Greek translation 2017-01-25 22:23:59 +00:00
Baurzhan Muftakhidinov 4ad67a623d Update Kazakh translation 2017-01-25 08:57:11 +00:00
Georges Basile Stavracas Neto e4555ea292 search-view: various fixes 2017-01-24 09:22:57 -02:00
Georges Basile Stavracas Neto 53f9158f25 search-view: only decrease search counter when something is removed
Because we were blindlessly decreasing the search hit counter without
considering that we could've not removed anything, the search hit
counter is going nuts.

Fix that by properly checking if something was removed, and only decrease
the search hit counter when that happens.
2017-01-24 08:59:00 -02:00
Jordi Mas c6b7d753a9 Update Catalan translation 2017-01-22 22:02:14 +01:00
Piotr Drąg 8f28eeb302 Update Polish translation 2017-01-20 22:56:02 +01:00
Dušan Kazik 008df8bae4 Update Slovak translation 2017-01-18 19:00:15 +00:00
Fabio Tomat a21a043d73 Update Friulian translation 2017-01-18 13:51:11 +00:00
Piotr Drąg c5d92c22d5 Use Unicode en dash in a translatable string
See https://developer.gnome.org/hig/stable/typography.html

https://bugzilla.gnome.org/show_bug.cgi?id=772263
2017-01-17 15:21:52 +01:00
Piotr Drąg 8ab952b7ce Update POTFILES.in 2017-01-17 15:12:29 +01:00
Georges Basile Stavracas Neto c573201b74 Update POTFILES.in 2017-01-17 11:29:36 -02:00
Georges Basile Stavracas Neto e74cfc0e22 project: move views to views/ folder 2017-01-17 11:28:48 -02:00
Georges Basile Stavracas Neto 1f3f275cd6 Merge branch 'wip/pandusonu/week-view' 2017-01-17 11:25:53 -02:00
Georges Basile Stavracas Neto 7a21e1e5ac week-header: implement drag n' drop 2017-01-17 11:24:22 -02:00
Georges Basile Stavracas Neto 4974e03216 event-widget: properly draw dnd icon
Instead of using a pixbuf and relying on the underlying GdkWindow,
simply perform a custom draw() over a manually created cairo context
and avoid nasty crashes.
2017-01-17 11:24:22 -02:00
Georges Basile Stavracas Neto 530aaa24c4 week-grid: implement drag n' drop 2017-01-17 11:24:22 -02:00
Georges Basile Stavracas Neto 096327e046 week-view: set the header's and grid's manager as well 2017-01-17 10:50:32 -02:00
Georges Basile Stavracas Neto 661d1d0926 Update POTFILES.in 2017-01-17 09:37:04 -02:00
Sveinn í Felli eae645637c Update Icelandic translation
(cherry picked from commit ebd6928d26ef6505df3e9c7867d357fbf1144fd4)
2017-01-10 06:54:34 +00:00
Georges Basile Stavracas Neto 529acca239 week-grid: fix index sorting
This was causing conflicts on event overlapping calculation.
2017-01-09 18:25:55 -02:00
Dušan Kazik 1accfdccd4 Update Slovak translation 2017-01-07 15:47:33 +00:00
Efstathios Iosifidis f80ccd645f Update Greek translation 2016-12-24 09:17:19 +00:00
Daniel Mustieles a30ce11721 Updated Spanish translation 2016-12-22 20:08:28 +01:00
Jiri Grönroos 6470d1af25 Update Finnish translation 2016-12-16 19:59:37 +00:00
Georges Basile Stavracas Neto 30cb8a5020 week-header: improve rendering of selection 2016-12-15 17:32:27 -02:00
Georges Basile Stavracas Neto f013d7442e week-header: fix event margins 2016-12-15 17:09:45 -02:00
Georges Basile Stavracas Neto 9da0704e37 week-grid: set child widgets' orientation to vertical 2016-12-15 17:03:26 -02:00
Georges Basile Stavracas Neto 4074bee50e event-widget: implement GtkOrientable
So that we can control how much information, and how this
information is displayed, depending on the widget orientation.
2016-12-15 17:02:51 -02:00
Georges Basile Stavracas Neto 69ad53352d week-grid: remove unused vars 2016-12-15 17:01:20 -02:00
Georges Basile Stavracas Neto 33f1e4cd31 week-header: minor improvements on date selection 2016-12-14 17:18:48 -02:00