Georges Basile Stavracas Neto
095fd60ba8
source-dialog: initial stub implementation
2015-05-25 12:31:04 -04:00
Georges Basile Stavracas Neto
cb532bbfbd
window: port the calendar popover to GtkListBox
...
This is a significant rewrite of the calendar popover. Instead of adding actions to the window, it uses a internal map to find the corresponding source.
2015-05-25 12:31:04 -04:00
Erick Pérez Castellanos
d49c056d0c
manager: squash compilation warning
2015-05-15 23:39:06 -04:00
Milan Crha
b72de0c8b0
Misleading counts of events in the Calendar view's mini-calendar
...
It was caused by missing view events remove notifications when replacing
ongoing ECalClientView. The previously known (ViewData::lost_components)
were not notified as removed, thus made incorrect counts in the mini-calendar.
2015-04-29 22:27:10 -04:00
Erick Pérez Castellanos
601f3c461e
app: add event uses current date as start
...
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=748133
2015-04-26 21:49:25 -04:00
Erick Pérez Castellanos
0ac46215eb
app: make window NULL upon destruction
...
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=748166
2015-04-26 15:10:41 -04:00
Marcus Lundblad
adfffad88d
window: mark date format string for new event popover for translation
...
https://bugzilla.gnome.org/show_bug.cgi?id=746928
2015-04-07 10:17:27 -03:00
Georges Basile Stavracas Neto
c85b7394f9
search: split listbox sort function
...
It'll be needed for future work on
pagination, so the sorting logic can
be reused.
2015-04-03 10:06:19 -03:00
Georges Basile Stavracas Neto
f4d0e48569
search: small refactoring of the code
...
Use GObject::set_data and ::get_data
to get rid of an useless hash table.
2015-04-03 09:41:46 -03:00
Georges Basile Stavracas Neto
955c934956
window: block automatic creation of nameless events
...
We shouldn't let nameless events be created.
This commit blocks all ways to create them
when the name is not set.
The user can still edit events' data.
2015-04-02 12:35:29 -03:00
Erick Pérez Castellanos
e5c7dee5d8
misc: code style fixing
2015-03-16 13:07:54 -04:00
Erick Pérez Castellanos
cac370e6b7
edit-dialog: handle timezone properly
2015-03-16 13:07:34 -04:00
Erick Pérez Castellanos
46c67688e1
year-view: set sidebar range timezone
2015-03-16 12:41:11 -04:00
Erick Pérez Castellanos
636df18f64
event-widget: convert date/time to local timezone
2015-03-16 12:37:43 -04:00
Erick Pérez Castellanos
abc999dff0
shell-search: fix timezone handling
2015-03-16 12:25:14 -04:00
Erick Pérez Castellanos
f7e897fefe
search-view: fix timezone handling
2015-03-16 12:24:39 -04:00
Erick Pérez Castellanos
c7563da2d0
app: handle calendars colours better
...
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=745487
2015-03-06 11:32:32 -05:00
Erick Pérez Castellanos
9f20c3f2f9
edit-dialog: fix ref leak when selecting a calendar
2015-03-06 10:35:25 -05:00
Erick Pérez Castellanos
8589cde0f5
utils: clean description of whitespaces
2015-03-06 10:35:25 -05:00
Erick Pérez Castellanos
47e78ce1b1
date-selector: fix labels order in RTL locales
2015-03-04 10:14:38 -05:00
Erick Pérez Castellanos
52634b982e
date-selector: fix children order in RTL locales
...
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=745117
2015-03-04 10:02:42 -05:00
Erick Pérez Castellanos
96c8120d28
month-view: optimized event-widget parts removal
2015-02-17 08:06:19 -05:00
Erick Pérez Castellanos
edec70fe0d
search: use new compare function
2015-02-17 08:06:18 -05:00
Erick Pérez Castellanos
87d35dd443
utils: gained compare API
2015-02-17 08:06:18 -05:00
Erick Pérez Castellanos
b502ccd363
misc: fix styling
2015-02-16 12:54:41 -05:00
Erick Pérez Castellanos
aef9960d73
search-view: fix double free of ListBox's rows
2015-02-16 12:54:41 -05:00
Erick Pérez Castellanos
b86f381705
search-view: changed sorting of results
...
This sorting promotes the results closer to the time when the search was done.
2015-02-16 12:54:41 -05:00
Erick Pérez Castellanos
91defe22de
window: handle reissue of in-app notification
...
For now we throw the first one away, and show the second. Eventually we
could handle this better.
2015-02-16 09:31:21 -05:00
Erick Pérez Castellanos
15604b13d8
year-view: fix sidebar headers
2015-02-16 09:31:21 -05:00
Erick Pérez Castellanos
264492580e
edit-dialog: convert time to timezone
2015-02-16 09:31:21 -05:00
Erick Pérez Castellanos
8f1b118abb
event-widget: fix events with no end date
2015-02-16 09:31:21 -05:00
Erick Pérez Castellanos
4c7a99e7bf
event-widget: handle timezone properly
2015-02-16 09:31:21 -05:00
Erick Pérez Castellanos
8fadbaa760
misc: fix various memory leaks
2015-02-16 09:31:20 -05:00
Erick Pérez Castellanos
44411f233a
year-view: impl comp added properly
...
Previously we updated the sidebar completely, removing every children
and add it again after it. There's no need of it, if we provide a
sort_func to the ListBox and add only the component received
2015-02-16 09:31:20 -05:00
Erick Pérez Castellanos
6ddb9da442
month-view: fix range selection
...
We add one day in order to have the all-day event span the selected
days. If the range was selected from large day to a shorter one this was
chopping one day of the range. Adding the extra day after the range has
been sorted.
2015-02-16 09:31:20 -05:00
Erick Pérez Castellanos
cb0571987a
event-widget: properly handle timezone
...
For now, we're going to convert every widget time into our timezone
without question. Further along the way, when we have a more complete
edit-dialog we can handle this in a less strict manner.
2015-02-16 09:31:20 -05:00
Erick Pérez Castellanos
48f1529e15
month-view: draw overflow indicators
...
This was wrongly removed by me before, I should have changed
gtk_widget_queue_draw_area() to gtk_widget_queue_draw() instead of
removing it completely.
2015-02-16 09:31:20 -05:00
Erick Pérez Castellanos
a4212d16f2
month-view: add widgets margin to its allocation
2015-02-16 09:31:20 -05:00
Erick Pérez Castellanos
eb8d16bbc7
event-widget: fix size requisition
...
Size requisition previously add margin to the size requested. Margin
should be taken into account outside of the widget. Moving margin to the
container and use border, which previously was not used.
2015-02-16 09:31:19 -05:00
Erick Pérez Castellanos
ef774ad2c2
window: update subscriptions after active-date
...
notification
Some views need to update itself when the dates changes,
e.g. WeekView. This allows to update the state of the view and be ready
properly for the components update.
2015-02-16 09:31:19 -05:00
Erick Pérez Castellanos
bd2b6356b1
app: use gtk_widget_show() instead of show_all()
...
Remove comment
2015-02-16 09:31:19 -05:00
Milan Crha
b94a804d3a
manager: Enable authentication for eds calendars
2015-02-13 13:02:55 -05:00
Erick Pérez Castellanos
cff527f642
month-view: fix some of the event-widget tagging
2015-02-13 09:12:15 -05:00
Erick Pérez Castellanos
6be8b4b5ae
app: use source-added signal to load css providers
...
After the changes of latest EDS is needed to use source-added signal
again since the some sources might take longer to connect than others.
2015-02-13 09:12:15 -05:00
Erick Pérez Castellanos
348be33329
app: event-widget CSS code for classes rewritten
2015-02-13 09:12:15 -05:00
Erick Pérez Castellanos
16d77a6718
Revert "event-widget: hardcode padding-top/bottom at 4px"
...
This reverts commit 554ef1d80b .
2015-02-13 09:12:15 -05:00
Milan Crha
560fddeebe
manager: port to latest EDS
2015-02-06 14:09:08 -05:00
Erick Pérez Castellanos
10429b3f8c
shell-search: app set initial date to current on its own
2015-02-06 09:21:37 -05:00
Erick Pérez Castellanos
b203f4da53
manager: enable/disable shell-search model
2015-02-06 09:21:37 -05:00
Erick Pérez Castellanos
14bdca1605
window: use current_date
...
Streamline code a bit
2015-02-06 09:21:37 -05:00