Commit Graph
3419 Commits
Author SHA1 Message Date
Efstathios Iosifidis 74582db200 Update Greek translation 2019-12-08 20:53:53 +00:00
Michael Catanzaro 9766cd1858 Fix app ID outside devel profile
We accidentally have a trailing period here except when the Devel
profile is selected, which is not a valid app ID.
2019-12-06 14:06:41 -06:00
Georges Basile Stavracas Neto 2be799d78d edit-dialog: Make the new alarm row have a label
With the introduction of the new event editor, Calendar
saw it receive sections of editable properties of the
events. One of these sections is the "Reminders" section,
that contains the reminders (also called alarms) of an
event.

However, this section's row to add a new alarm does not
match the proposed mockups for it. It currently has a
combo box that shows the popover with selectable reminder
times, instead of being a clickable row.

Make it a clickable listbox row, and show the alarms popover
when clicked.

https://gitlab.gnome.org/GNOME/gnome-calendar/issues/502
2019-12-06 16:37:12 -03:00
Piotr Drąg 488ef346fa Update POTFILES.in 2019-12-04 18:35:43 +01:00
Niels De Graef 4d05ffb9d3 Don't forget to chain up to parent finalize
This can give a small memory leak and can prevent the necessary closing
of resources.
2019-12-02 19:53:59 +00:00
Georges Basile Stavracas Neto 866cdabe9c edit-dialog: Move the all day switch to the top of the list
As nitpicked by Sam.
2019-12-02 16:41:56 -03:00
Georges Basile Stavracas Neto 87c1ffb9d5 Reimplement alarm support
This is a complete reimplementation of alarms in Calendar.

Rejoice.
2019-12-02 16:41:56 -03:00
Georges Basile Stavracas Neto e871486766 edit-dialog: Split recurrency widgets in different rows 2019-12-02 16:41:56 -03:00
Georges Basile Stavracas Neto 23e1544a25 edit-dialog: Simplify notes widgetry
Remove an intemediary GtkBox that is now not necessary anymore.
2019-12-02 16:41:56 -03:00
Georges Basile Stavracas Neto 4a1c5b9cc6 edit-dialog: Split Reminders to its own section 2019-12-02 16:41:56 -03:00
Georges Basile Stavracas Neto ce47cfea86 time-selector: Make it a GtkBox directly 2019-12-02 16:41:56 -03:00
Georges Basile Stavracas Neto 34eb3a2343 utils: Use GDate to compare dates 2019-12-02 16:41:56 -03:00
Georges Basile Stavracas Neto 3896aac734 edit-dialog: Make date & time rows expandable
Add a human-readable label and move the widgets to the expandable
section.
2019-12-02 16:41:56 -03:00
Georges Basile Stavracas Neto 948447d8bf edit-dialog: Turn the All Day check a switch 2019-12-02 16:41:56 -03:00
Georges Basile Stavracas Neto d14175895a date-selector: Reduce width 2019-12-02 16:41:56 -03:00
Georges Basile Stavracas Neto d5529f1782 edit-dialog: Move widgets to lisbox rows 2019-12-02 16:41:56 -03:00
Georges Basile Stavracas Neto bb310421c1 edit-dialog: Make it a HdyDialog subclass 2019-12-02 16:41:56 -03:00
Georges Basile Stavracas Neto 646a002826 project: Add libhandy dependency 2019-12-02 16:41:56 -03:00
Georges Basile Stavracas Neto b772349c3f Move UI files to src/
Keep it in sync with what To Do and Settings do.
2019-12-02 16:41:56 -03:00
Georges Basile Stavracas Neto d843885fc0 data: Remove unused menu.ui file 2019-12-02 16:41:56 -03:00
Yi-Jyun Pan 94f16d1328 Update Chinese (Taiwan) translation 2019-11-27 14:34:30 +00:00
Georges Basile Stavracas Neto 15a76a636c 3.35.2 2019-11-25 11:30:44 -03:00
Stas Solovey 1b193ffb91 Update Russian translation
(cherry picked from commit 0db9e4c07fe444853d536beb715b0b88eefc37bf)
2019-11-13 19:18:53 +00:00
Jordi Mas 0adfefb394 Update Catalan translation 2019-10-10 17:09:58 +02:00
Georges Basile Stavracas Neto 58974cb7e2 manager: Only remove connected calendars
The "source-removed" signal can pass any kind of source,
including source collections that even have the calendar
extension, but are not connected.
2019-10-09 13:02:35 -03:00
Georges Basile Stavracas Neto cafd17627c year-view: Trivial code cleanup 2019-10-09 12:37:01 -03:00
Georges Basile Stavracas Neto 1c39e501f6 calendar: Always initialize color 2019-10-09 12:37:01 -03:00
Georges Basile Stavracas Neto 262cd40eec manager: Instrument removing calendars 2019-10-09 12:37:01 -03:00
Georges Basile Stavracas Neto 1308e33f1d manager: Always return if calendar creation fails
This is an embarrassing mistake: when an error is propagated,
we always need to return! The error matching should only be
used for deciding whether to warn or not.

https://gitlab.gnome.org/GNOME/gnome-calendar/issues/470
https://gitlab.gnome.org/GNOME/gnome-calendar/issues/264
2019-10-09 12:37:01 -03:00
Michael Catanzaro e053c0cae8 quick-add-popover: Use more g_signal_connect_object
We need to disconnect from the GcalManager when the GcalQuickAddPopover
is destroyed, or crashes happen.
2019-10-07 10:37:50 -05:00
Georges Basile Stavracas Neto 357ec18a0a Fix GcalContext management
GObject automatically notifies when passing
properties as part of g_object_new(). This
happens after the instance is created, thus
after constructed().

By passing G_PARAM_EXPLICIT_NOTIFY, we avoid
this behavior. However, we are still notifying
PROP_CONTEXT in GcalWindow. Removing this other
notify fixes the crashes related to GcalContext.

https://gitlab.gnome.org/GNOME/gnome-calendar/issues/417
2019-10-04 20:54:05 -03:00
Georges Basile Stavracas Neto a0403b0b3e search-model: Wait for results before returning
Dazzle is very sensitive to returning empty search results,
and ends up flickering when we pass a search model that is
not yet populated.

Wait for a few results, or for 150ms, before returning the
model.

https://gitlab.gnome.org/GNOME/gnome-calendar/issues/468
2019-10-04 01:55:08 -03:00
Georges Basile Stavracas Neto 44092da60b edit-dialog: Use GtkCalendar internally
Instead of tracking the ESource, which is an extra
complication on top of this messy code.
2019-10-04 00:58:41 -03:00
Georges Basile Stavracas Neto 970cc1fca5 application: Remove -d as short form of --debug
Both --debug and --date had their short form -d, causing
problems. Let's make -d stand for --date, since --debug
is more of a development tool.

https://gitlab.gnome.org/GNOME/gnome-calendar/issues/456
2019-10-03 20:19:40 -03:00
Nick Gasson b034bd4bf0 Update GcalMultiChoice label when format callback changes
Currently the label text is only updated when set_value is called and
the new value is different to the current value. So if a format callback
is configured after the GcalMultiChoice is created, this won't be
applied until the value is changed to something other than the default.

The problem in issue #100 is that the default value for "month" is
0=>January. gcal_date_chooser_init sets the format callback and then
calls gcal_multi_choice_set_value with value==0 which won't update the
label.

Fix by having gcal_multi_choice_set_format_callback update the label
text with the result of applying the format callback to the current
value.

Fixes #100
2019-10-01 17:44:04 +00:00
Piotr Drąg a6066f2203 Update POTFILES.in 2019-10-01 19:01:16 +02:00
Jordan Petridis af91bd62bb meson.build: Only depend on git if the profile is development
Git is only needed for getting the short sha to append to
the version string in the development version of the application.
And as such it shouldn't be required for normal builds.
2019-10-01 11:05:49 +03:00
Georges Basile Stavracas Neto 5d87a8459d icons: Simplify icon management 2019-09-30 13:18:41 -03:00
Georges Basile Stavracas Neto 01da00b3fa flatpak: Actually drop the suffix
I've been told they can be dropped with the nightly icon!
2019-09-30 13:14:29 -03:00
Georges Basile Stavracas Neto 1ba204540b flatpak: Switch to (Nightly) suffix 2019-09-30 13:12:34 -03:00
Georges Basile Stavracas Neto ec26156344 Revert "ci: Remove collon from job names"
We're actually not hitting that bug.
2019-09-30 12:53:21 -03:00
Georges Basile Stavracas Neto bbbd89b17a ci: Remove collon from job names
Looks like we're hitting https://gitlab.com/gitlab-com/support-forum/issues/2597
2019-09-30 12:50:36 -03:00
Jordan Petridis 985e6d3a42 ci: quote yaml strings 2019-09-30 18:31:34 +03:00
Georges Basile Stavracas Neto 86ce0b7c80 ci: Remove double deploy stages 2019-09-30 12:27:38 -03:00
Georges Basile Stavracas Neto d91984ed54 ci: Actually deploy Flatpaks 2019-09-30 12:21:16 -03:00
Georges Basile Stavracas Neto c3fb16bb1b Reimplement Flatpak publishing 2019-09-30 12:19:06 -03:00
Christopher Davis 18814e014d CI: Use development profile for CI builds
Adds the -Dprofile=development argument to meson args for
CI builds. Syncs CI with flatpak manifest.
2019-09-30 12:04:08 -03:00
Christopher Davis 0aa9e42016 flatpak: Add development styling to window
Adds .devel style class to the main window for development
builds of Calendar.

Related to https://gitlab.gnome.org/GNOME/gnome-calendar/issues/285
2019-09-30 12:04:08 -03:00
Christopher Davis 0d6b2327e0 flatpak: Allow dual installation of app bundles
Part of https://gitlab.gnome.org/GNOME/Initiatives/issues/1.
Allows for the installation of development bundles alongside
stable versions.

Related to https://gitlab.gnome.org/GNOME/gnome-calendar/issues/285
2019-09-30 12:04:08 -03:00
Georges Basile Stavracas Neto 151c47a8b3 Bump 3.35.0 2019-09-30 12:03:36 -03:00