Georges Basile Stavracas Neto
d820abcb3e
date-selector: allow calendar to select the date
...
For testing reasons, we don't fire MODIFIED signal yet.
2014-12-23 12:01:39 -05:00
Georges Basile Stavracas Neto
86624ce8fd
date-selector: validate entries' input
2014-12-23 12:01:39 -05:00
Georges Basile Stavracas Neto
69db4acf4c
date-selector: limit number of digits of entries
2014-12-23 12:01:39 -05:00
Georges Basile Stavracas Neto
55c0681763
date-selector: setup date entries' text
...
They still are useless.
2014-12-23 12:01:39 -05:00
Georges Basile Stavracas Neto
b386be95d6
date-selector: ajust entries' names
2014-12-23 12:01:39 -05:00
Georges Basile Stavracas Neto
8521e5b0f1
date-selector: shows parsed date at the date's label
...
Also, GcalDateSelector do it's best to find out day, month and year relative positions at the date mask.
2014-12-23 12:01:39 -05:00
Georges Basile Stavracas Neto
a518c4e046
date-selector: set calendar's date
2014-12-23 12:01:38 -05:00
Georges Basile Stavracas Neto
714fb4ec6b
date-selector: set max width for date entries
...
Fixes those giant horrible entries that were being cutted off of the dialog.
2014-12-23 12:01:38 -05:00
Georges Basile Stavracas Neto
63e473476b
edit-dialog: fixed wrong setting of date selector sensitivity
2014-12-23 12:01:38 -05:00
Georges Basile Stavracas Neto
2be9c125dd
date-selector: load popover with date selector
2014-12-23 12:01:38 -05:00
Georges Basile Stavracas Neto
40683e5e10
date-selector: initial implementetation
...
No functionality is ready, only project settings and class type.
2014-12-23 12:01:38 -05:00
Balázs Úr
6bea205cfd
Updated Hungarian translation
2014-12-23 16:40:06 +00:00
Erick Pérez Castellanos
64a00b78b5
ignore: updated
2014-12-22 23:37:40 -05:00
Erick Pérez Castellanos
1b31d419d4
app: make DBus-activatable
...
This commit installs a service file, renames the desktop file
to follow the bus name, and adds the DBusActivatable key to the
desktop file, following
https://wiki.gnome.org/HowDoI/DBusApplicationLaunching
Updates POTFILE files accordingly
2014-12-22 23:34:29 -05:00
Erick Pérez Castellanos
43522b8845
build: update GLib required version
...
g_strv_contains is a new acquisition of Glib, so we need to bump the
dependency up.
2014-12-22 22:50:31 -05:00
Erick Pérez Castellanos
1b88c2fd89
build: remove mention to non-existent file
...
Fix make distcheck
2014-12-22 22:08:50 -05:00
Erick Pérez Castellanos
1de6a8b87a
misc: whitespace and code style minor fixes
2014-12-22 21:56:38 -05:00
Erick Pérez Castellanos
0ff177c1d8
comments: document utils functions, add FIXME
2014-12-22 21:55:55 -05:00
Erick Pérez Castellanos
4eabc0223b
build: remove unneeded code
...
GObject type system zeroing instance private data, so initialization to
NULL and FALSE is not needed.
Misc code styles fixes.
2014-12-22 21:52:35 -05:00
Erick Pérez Castellanos
8f8bb21534
event-widget: use custom class for background colors
2014-12-22 21:41:14 -05:00
Erick Pérez Castellanos
64f9e45c76
app: create custom provider for background colors
...
GcalEventWidgets get its background colors dynamically, so we are
creating a custom provider with a CSS class per calendar color, and
later on the proper class will be applied to the widget.
2014-12-22 21:37:24 -05:00
Erick Pérez Castellanos
442b26b5ea
month-view: properly handle all-day events
...
Note: when the marking of break events is made, this have to be taken
into account.
2014-12-22 14:54:05 -05:00
Erick Pérez Castellanos
5a36689e07
event-widget: advertise properly multiday status
...
When an event is marked all day, the end-date is always one day ahead of
the true end of the event, and both dates are marked as date. We need to
take this into account.
2014-12-22 14:52:34 -05:00
Erick Pérez Castellanos
748b3f74c0
manager: fix gchar** memory allocation
...
I had totally forgot you need to end the array with NULL.
2014-12-22 14:36:18 -05:00
Erick Pérez Castellanos
c00ae959d1
manager: chains ::constructed up
2014-12-22 13:10:25 -05:00
Erick Pérez Castellanos
3f093c5e13
month-view: fix drawing of overflow indicator
...
The drawing was happening but the clipping was not including the full
widget. Queuing a new draw expands the clip to the whole area of the widget.
2014-12-22 10:01:58 -05:00
Benjamin Otte
45601d39a2
Use d_ngettext() in printf format directly
...
.. instead of going via an intermediate variable.
This way, gcc is smart enough to detect that the format string is indeed
static and not throw a warning.
2014-12-22 15:10:20 +01:00
Benjamin Otte
2aeae4cd82
view: Fix compiler warnings
2014-12-22 15:07:44 +01:00
Erick Pérez Castellanos
073719ef35
manager: get all connected sources
...
Added ::get_sources_connected API to retrieve a list of every source the
application has connected, no matter whether they are enabled or not.
Use ::get_sources_connected on calendars menu in GcalWindow to enable
disabled sources.
2014-12-22 08:38:20 -05:00
Erick Pérez Castellanos
761475e47b
build: remove unusued code
...
Since we don't build treeview anymore using cell renderer, this code is
not needed.
2014-12-22 08:38:20 -05:00
Erick Pérez Castellanos
6081b9547c
manager: emit ::source-activated on enabled sources
...
The ::source-activated signal has no much sense right now, I'm leaving
it around, for a while, in case some use case pop up. Otherwise in time,
it will go.
2014-12-22 08:38:20 -05:00
Erick Pérez Castellanos
bfeef45983
manager: make ::get_sources retrieve only enabled sources
2014-12-22 08:38:20 -05:00
Erick Pérez Castellanos
f0d35f60fb
Revert "edit-dialog: update sources when their readonly state changes"
...
This reverts commit 31fa4e8e06 .
2014-12-22 08:38:20 -05:00
Erick Pérez Castellanos
c4de15eeef
window: unmark disabled sources checkbox
...
Calendars selector menu needs to know which source is enable to properly
mark the checkbox
2014-12-22 08:38:20 -05:00
Erick Pérez Castellanos
5a00fddfb3
manager: use "disabled-sources" settings
2014-12-22 08:38:19 -05:00
Erick Pérez Castellanos
9af65c8f1f
manager: hold a reference of the application's settings
...
We need to keep on the settings the list of the disabled sources
Moved code from ::init vfunc to ::constructed vfunc in order to wait for
construction properties to be set
2014-12-22 08:38:19 -05:00
Erick Pérez Castellanos
c28e345b5b
app: settings gained "disabled-sources" key
...
This key will keep a list of the uid of the sources marked as disabled
in the interface in order to keep the same state between runs of the application
2014-12-22 08:38:19 -05:00
Erick Pérez Castellanos
a08a0a66c1
event-widget: remove unused CSS tag name
...
Since Gtk+ parses automatically widgets' name, there's no need of custom class
2014-12-22 08:38:19 -05:00
Erick Pérez Castellanos
e2d4e52ec7
month-view: monitor click only on overflow indicator
2014-12-22 08:38:19 -05:00
Erick Pérez Castellanos
83bd285f3d
window: use GcalView::create-event-detailed signal
2014-12-22 08:38:19 -05:00
Erick Pérez Castellanos
c97473e955
month-view: emit ::create-event-detailed
...
Emit this signal from the "Add new event..." button of overflow popover,
the reason is mainly aesthetics since it won't look good showing one
popover after another.
2014-12-22 08:38:18 -05:00
Erick Pérez Castellanos
09f42ad955
gcal-view: signal the opening of edit-dialog directly
2014-12-22 08:38:18 -05:00
Erick Pérez Castellanos
0749520a35
edit-dialog: don't open with summary entry empty
2014-12-22 08:38:18 -05:00
Erick Pérez Castellanos
56f7f88572
month-view: fix insert ordered widgets
...
The head of the list might changed when ordering the list at insertion,
then, some events was getting lost
2014-12-22 08:38:18 -05:00
Piotr Drąg
829d6762cd
Updated Polish translation
2014-12-21 20:11:06 +01:00
Balázs Úr
6f672c682a
Updated Hungarian translation
2014-12-20 16:59:19 +00:00
Erick Pérez Castellanos
4bef6148f9
month-view: sort single-day event widgets by start date
...
This guarantee that events widgets appear sorted by its start date on
the overflow popover
2014-12-20 09:10:00 -05:00
Erick Pérez Castellanos
420e66bdb1
event-widget: add ::compare_by_start_date
...
This function will eventually deprecate gcal_compare_event_widget_by_date()
2014-12-20 09:10:00 -05:00
Erick Pérez Castellanos
f9627fcf98
month-view: show start time header on overflow popover
2014-12-20 09:10:00 -05:00
Erick Pérez Castellanos
9badd9f502
month-view: read 12/24 time format setting
...
The setting will be used when showing the start time of events in the
overflow popover.
2014-12-20 09:10:00 -05:00