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
Georges Basile Stavracas Neto
c548d580ea
edit-dialog: make alarms' widgets insensitive on read-only
2016-07-06 18:54:59 -03:00
Georges Basile Stavracas Neto
37061a38f4
edit-dialog: improve sizing
2016-07-06 18:54:59 -03:00
Georges Basile Stavracas Neto
5cb2e86fa6
edit-dialog: improve titlebar button
...
Make it insensitive when the event is read-only, and add
a tooltip for users to learn what does the button do.
2016-07-06 18:54:59 -03:00
Georges Basile Stavracas Neto
a2b6b478bb
edit-dialog: fix spurious properties
2016-07-06 18:54:59 -03:00
Georges Basile Stavracas Neto
a5634dc5fb
edit-dialog: put the time selectors in a revealer
2016-07-06 18:54:59 -03:00
Georges Basile Stavracas Neto
5dd456c81d
edit-dialog: move All Day check below time row
2016-07-06 18:54:59 -03:00
Georges Basile Stavracas Neto
b6c19e8399
edit-dialog: group dates and times
...
Instead of start and end, group the selectors by
dates and times.
2016-07-06 18:54:59 -03:00
Georges Basile Stavracas Neto
025d931da8
edit-dialog: use circular icons for sources
...
They look nicer in the current UI.
2016-07-06 18:54:59 -03:00
Georges Basile Stavracas Neto
9e17710052
edit-dialog: implement moving events between sources
...
After adding the button in the headerbar, it is natural to
bring back the ability to move events between sources.
This commit finally includes the usage of GcalManager:move_event_to_source
function, which was implemented ages ago.
2016-07-06 18:54:59 -03:00
Georges Basile Stavracas Neto
4d30db74f5
edit-dialog: increase summary label width
...
Since we moved the Agenda button to the headerbar,
fill the now free space with the summary label.
2016-07-06 18:54:59 -03:00
Georges Basile Stavracas Neto
bbcf20cf44
edit-dialog: add a button in the headerbar
...
This button will be used to select the new source of the event.
2016-07-06 18:54:59 -03:00
Piotr Drąg
202ab83782
Updated POTFILES.in
2016-07-06 21:07:40 +02:00
Georges Basile Stavracas Neto
7844122dd2
event-widget: avoid crash when retrieving the DnD pixbuf
...
Since we're storing the GdkWindow relative to the event widget,
it's usually safer to create a pixbuf of the widget *after* it's
drawn, and not while it's being drawed.
This commit moves the pixbuf retrieval code to the draw-begin
implementation, so we only create the pixbuf when actually
using it.
2016-07-06 15:57:19 -03:00
Safa Alfulaij
3f606c6be3
Updated Arabic translation
2016-07-06 17:01:45 +00:00
Safa Alfulaij
e647389df5
Update Arabic translation
2016-07-06 18:58:01 +02:00
Georges Basile Stavracas Neto
c406b604e2
edit-dialog: fix Reminders dim label size
2016-07-06 12:38:09 -03:00
Daniel Mustieles
8e5fa1a10c
Updated Spanish translation
2016-07-06 07:59:33 +00:00
Georges Basile Stavracas Neto
dc1f742cfe
edit-dialog: make buttons sensitive when removing alarm
2016-07-06 03:13:38 -03:00
Georges Basile Stavracas Neto
db2983be61
edit-dialog: sort alarms by relative date
2016-07-06 03:01:56 -03:00
Georges Basile Stavracas Neto
9723d60233
edit-dialog: make already-added alarms' buttons insensitive
...
Since we only support 1 alarm per time, we have to check and
eventually make insensitive the buttons related to the alarms.
2016-07-06 03:01:56 -03:00
Georges Basile Stavracas Neto
2e7d17fe63
edit-dialog: implement add alarm popover
...
The new popover handles all the possible alarms we support.
2016-07-06 03:01:56 -03:00
Georges Basile Stavracas Neto
2a18761908
edit-dialog: show available alarms
...
This commit introduces the ability in Edit dialog to
display the currently available alarms, as well as basic
editing of these alarms.
Currently, only removing the alarms and modifying it to
play a sound or not is available. The following up commit
will add the ability to add new alarms.
2016-07-06 03:01:56 -03:00
Georges Basile Stavracas Neto
19d68573dd
utils: move utility method to get alarm's minutes
2016-07-06 03:01:56 -03:00
Georges Basile Stavracas Neto
f518cba8e4
edit-dialog: simplify action handling
...
Instead of keeping a ref to the GcalEditDialog::select-calendar
action, use the builtin facilities and simplify the action
handling by using a const structure.
This is also a preparation for the next few commits where alarms
will be added.
2016-07-06 03:01:56 -03:00
Georges Basile Stavracas Neto
1ddc690810
event: add support for alarms
...
This commit prepares GcalEvent to handle alarms. Basically,
it is now able to load the current alarms of an event, and add
and remove alarms for them.
2016-07-06 03:01:56 -03:00
Georges Basile Stavracas Neto
dfdaa3a590
year-view: simplify empty sidebar list calculation
2016-07-05 23:55:33 -03:00
Georges Basile Stavracas Neto
9fcb224032
window: avoid a crashing timeout
...
If the user quickly performs a search, open up the calendar
and close it immediately after, the timeout for showing the
event is mistakenly called after the window is destroyed and
causes Calendar to crash.
Fix that by keeping the source id tracked, and realizing it
on finalize().
2016-06-30 00:01:06 -03:00
Georges Basile Stavracas Neto
58b193f886
manager: keep the Shell's activated event alive
...
Currently, the user performs a search in Shell and activates
the result. That should show the edit dialog with the event
being edited, but it's not happening correctly.
Debugging the warnings generated, it was found that the event
was being unref()d and, obviously, that was not what we wanted.
Fix that by only unref()ing the events we don't want, and keeping
the wanted event alive.
2016-06-30 00:01:06 -03:00
Andika Triwidada
9c61fe54b5
Updated Indonesian translation
2016-06-29 23:10:31 +00:00
Piotr Drąg
02f81caf85
Updated POTFILES.in
2016-06-17 23:42:06 +02:00
Georges Basile Stavracas Neto
33c7031164
project: remove GbScrolledWindow
...
The max-content-height property was ported to GtkScrolledWindow,
which means we don't have to use a custom class anymore.
2016-06-17 18:18:38 -03:00