Erick Pérez Castellanos
9188d37e53
manager: removed EVENT_CREATED signal
...
Since we are opening edit-dialog on event creation directly, we don't
need this notification anymore.
2014-12-05 08:17:30 -05:00
Georges Basile Stavracas Neto
e9eca7c86d
window: reset title after search
2014-12-05 10:39:28 -02:00
Yosef Or Boczko
23e4f8132a
Updated Hebrew Translation
2014-12-05 10:30:57 +02:00
Yosef Or Boczko
86578d5fc8
Don't translate unneeded string
2014-12-05 10:30:37 +02:00
Yosef Or Boczko
14ad4eaeb8
Use the unicode character '…' instead of '...'
2014-12-05 10:30:18 +02:00
Yosef Or Boczko
08c4060a1d
Updated POTFILES.in
2014-12-05 10:24:54 +02:00
Yosef Or Boczko
b9af700281
Added Hebrew translation
2014-12-05 10:19:38 +02:00
Georges Basile Stavracas Neto
8f4d6be1bf
edit-dialog: hide Delete button when creating a new event
...
Because we don't want to delete an event that is not created
2014-12-05 00:41:34 -02:00
Georges Basile Stavracas Neto
23a7cda500
month-view: fixed small position calc issue
...
When using double for *part* of the calculation of Y position, the result is completely wrong.
This commit fixes it.
2014-12-05 00:04:42 -02:00
Piotr Drąg
c67da7b24b
Updated POTFILES.in
2014-12-05 01:08:12 +01:00
Georges Basile Stavracas Neto
7cd4fd032b
window: fixed key handler code
...
When in GcalWindow::new-event-mode, the key handler cannot redirect input to search bar. This commit fixes it.
2014-12-04 20:57:31 -02:00
Erick Pérez Castellanos
1f614948a8
style: HACKING updated
2014-12-04 17:31:00 -05:00
Erick Pérez Castellanos
1916986f15
app: active More details button from new event popover
...
GcalWindow got connected to GcalManager, and pass just created component
to GcalEditDialog
GcalEditDialog gained support to handle component not committed to
manager singleton instance yet.
2014-12-04 17:10:56 -05:00
Erick Pérez Castellanos
b36a390292
manager: updated GcalManager::create_event
...
Move the API to use ECalComponent instead of uids.
2014-12-04 17:10:56 -05:00
Erick Pérez Castellanos
78bced937e
utils: add helper method for component construction
2014-12-04 17:10:56 -05:00
Erick Pérez Castellanos
1c277b99b3
window: connect signal to the right object
...
The ::remove_event handler was not connected to the GtkRevealer so it
was not executing itself when the notification was closed. That caused
the application never removed any events. Fixed now.
2014-12-04 17:10:55 -05:00
Erick Pérez Castellanos
dc941b6a9d
edit-dialog: use reccurrence_id of events
...
When generating the uuid of an event if the event is recurrent, you need
to take into account its rid.
2014-12-04 17:10:55 -05:00
Erick Pérez Castellanos
927233cabb
build: remove GcalNewEventWidget related files
2014-12-04 17:10:55 -05:00
Erick Pérez Castellanos
af3ce14ac2
app: remove GcalNewEventWidget, use GcalWindow ui
...
Since there will be no behavior on GcalNewEventWidget we can use simple
ui from GcalWindow to accomplish this.
2014-12-04 17:10:55 -05:00
Erick Pérez Castellanos
83eb99efba
manager: update retrieve sources API
...
The move to newer API is to drop GtkListStore dependency on the manager.
2014-12-04 17:10:55 -05:00
Erick Pérez Castellanos
329118079d
manager: update GcalManager::remove_event API
...
Move GcalManager::remove_event API to new style using ESource and
ECalComponent instead of uuid
Update GcalWindow uses of this API
2014-12-04 17:10:55 -05:00
Erick Pérez Castellanos
67732884bb
utils: build an uuid string
...
Use an ESource and ECalComponent to build an uuid string with the format specified
2014-12-04 17:10:55 -05:00
Erick Pérez Castellanos
e0ef2892fd
window: fixed event removed notification
...
Moved all this code into ui file.
Removed public API of GcalWindow. In time, if needed by some other
object it can be brought back.
2014-12-04 17:10:55 -05:00
Georges Basile Stavracas Neto
0856345ace
theme: use different style classes for navbar labels
2014-12-04 17:10:55 -05:00
Georges Basile Stavracas Neto
2970729324
window: move arrow buttons to headerbar
...
This is part of the ongoing efforts to fit Calendar with the latest designs.
2014-12-04 17:10:54 -05:00
Erick Pérez Castellanos
52fc61a1a5
window: set view visible before show it
...
Since the move into using GtkBuilder's files the views aren't show
automatically. That's why the setting of the view initially was failing.
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=741003
2014-12-04 17:10:54 -05:00
Georges Basile Stavracas Neto
3fdadffe08
new-event: initialize values before using them
...
Only to politely ask the compiler to stop complaining about them.
2014-12-04 17:10:54 -05:00
Erick Pérez Castellanos
947e23758c
misc: whitespace, comments and strings fixed
2014-12-04 17:10:54 -05:00
Erick Pérez Castellanos
f3bd29ba9c
app: use new search ECalDataModel
2014-12-04 17:10:54 -05:00
Erick Pérez Castellanos
7fa696c137
manager: added ECalDataModel for search alone
2014-12-04 17:10:54 -05:00
Erick Pérez Castellanos
934b1c4be0
window: more code moved into ui file
2014-12-04 17:10:54 -05:00
Erick Pérez Castellanos
f8f8991510
window: move more code into ui file
...
Probably I can load the GMenuModel of the popover directly but I don't
know exactly how, and I've asked already and you can set bindings using
builder's ui file, just like before I don't know how at this time.
2014-12-04 17:10:54 -05:00
Georges Basile Stavracas Neto
aa445c33d1
window: remove unneeded set of menu image
...
This is already done in the builder file.
2014-12-04 17:10:53 -05:00
Georges Basile Stavracas Neto
8b955cae19
window: move to builder's ui file
...
This is way better than programmatically building the entire window interface.
2014-12-04 17:10:53 -05:00
Georges Basile Stavracas Neto
c87c0e2ad0
window: use GDK_EVENT_PROPAGATE to propagate keys
...
This is good for code legibility and to be safe from any radical API update.
2014-12-04 17:10:53 -05:00
Georges Basile Stavracas Neto
c0a16ac06a
window: simplified key handler code
...
Instead of treating every case, use the builtin gtk_search_bar_handle_event function.
2014-12-04 17:10:53 -05:00
Georges Basile Stavracas Neto
97cfe4fd79
window: correctly hide search bar when not in search mode
...
Search bar shows an annoying border when it should be hidden. This commit fixes it.
Fixes bug #739913 .
2014-12-04 17:10:53 -05:00
Georges Basile Stavracas Neto
4052040be3
edit-dialog: removed unused grid
...
This grid has only one child and is completely unnecessary.
2014-12-04 17:10:53 -05:00
Georges Basile Stavracas Neto
89b6c57edd
week-view: another integer rounding issue
...
Hopefully, this is the last one on the integer rounding series.
2014-12-04 17:10:53 -05:00
Georges Basile Stavracas Neto
36cd11955f
year-view: fix integer rounding issues
2014-12-04 17:10:53 -05:00
Georges Basile Stavracas Neto
f3e83f2a7a
week-view: fixed some more integer round issues
2014-12-04 17:10:53 -05:00
Georges Basile Stavracas Neto
2e8b677d6a
app: implemented sync action
...
Useful when the local calendar differs from the remote calendar (i.e. you added an event at Google Calendar).
2014-12-04 17:10:52 -05:00
Erick Pérez Castellanos
3887951323
month-view: more double to int rounding issues
...
Style fixes
2014-12-04 17:10:52 -05:00
Erick Pérez Castellanos
260237bc85
month-view: style cleaning
2014-12-04 17:10:52 -05:00
Erick Pérez Castellanos
5cbdf28387
month-view: added current day highlight
...
Improved ::draw vfunc code. Use .current class to handle active day styling
2014-12-04 17:10:52 -05:00
Georges Basile Stavracas Neto
d25a6e4cbf
views: queue a redraw when the current date changes
...
This partially fixes bug #739550 . The warning message is still being emmited.
2014-12-04 17:10:52 -05:00
Georges Basile Stavracas Neto
bb2554b0d4
week-view: fix scrollbar size
...
Calendar should respect scrollbar natural size. Lapo pointed out that this is pretty inconsistent and should be fixed.
Fixes bug #737854 .
2014-12-04 17:10:52 -05:00
Georges Basile Stavracas Neto
ff6440d206
window: mark headerbar search string as translatable
2014-12-04 17:10:52 -05:00
Georges Basile Stavracas Neto
3e0fa5763c
month-view: fix rendering issues, smooth resizing
...
All about integer rounding.
Fixes bug #739294 .
2014-12-04 17:10:52 -05:00
Erick Pérez Castellanos
298a0e56c2
Revert: month-view: fix cell rendering glitch
...
This was not the proper fix.
2014-12-04 17:10:52 -05:00