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
Georges Basile Stavracas Neto
88730dbafb
year-view: don't render DnD when it leaves
2016-05-21 18:54:47 -03:00
Georges Basile Stavracas Neto
82c7918b15
year-view: implement the ::drag-drop operation
...
This magical commit finally implements the Drag and Drop
on Year view, enabling users to drop events from the sidebar
to the year navigator.
2016-05-21 18:54:47 -03:00
Georges Basile Stavracas Neto
44f5cbe607
year-view: render DnD selector on hover
...
This commit adds the ability to render a DnD square
to give visual feedback for the hover operation.
2016-05-21 18:54:47 -03:00
Isaque Galdino
97d8859574
year-view: Remove hardcoded values
...
Improve year-view code, removing hardcoded values.
year-view have hardcoded values for grid cell sizes (width and height).
Those values need to be recalculated every time a change in font or any
other style are changed.
Sidebar width was also hardcoded instead of getting its value directly
from the ui file. That would prevent it from drawing the content
accordingly when ui file is changed.
This patch fixes those two issues by retrieving those values from CSS or
ui files.
This patch also adds code to resize and redraw the window when
show-week-numbers property is changed.
Popover mode was also changed and now sidebar will always be shown when
show-week-numbers is set or when there is space for only 3 or less
columns.
https://bugzilla.gnome.org/show_bug.cgi?id=753533
2016-05-16 12:03:39 -03:00
Georges Basile Stavracas Neto
6a64384971
year-view: don't allow selection on event list
2016-02-16 03:49:13 +01:00
Georges Basile Stavracas Neto
5b8a26ec71
year-view: port to css nodes
...
Mainly by removing the gtk_widget_get_state_flags()
calls.
2016-01-04 16:50:40 -02:00
Erick Pérez Castellanos
c2d89a5903
build: simplify UI files using gtk-builder-tool
2015-05-25 12:36:54 -04:00
Erick Pérez Castellanos
0aa162a9e7
window: show every widget by default
2015-02-16 09:31:19 -05:00
Erick Pérez Castellanos
25545e5bf6
month-view: match UI style of year-view popover
...
year-view: rename popover class to something more generic
2015-01-28 00:16:53 -05:00
Erick Pérez Castellanos
3f877d3bfa
misc: be consistent on attributes values
2015-01-27 23:10:15 -05:00
Erick Pérez Castellanos
e67fc01279
app: use "Add Event…" instead of "Add new event…"
2015-01-27 17:49:44 -05:00
Erick Pérez Castellanos
489100ad94
year-view: popover eye candy
2015-01-27 17:25:39 -05:00
Erick Pérez Castellanos
7b6037e707
year-view: add no events label to popover mode
2015-01-27 11:31:05 -05:00
Erick Pérez Castellanos
7ee9be263c
year-view: show no events label when needed
2015-01-23 13:12:12 -05:00
Erick Pérez Castellanos
4247018bde
year-view: initial UI for no events days
2015-01-20 17:06:22 -05:00
Erick Pérez Castellanos
85d7461cff
year-view: added popover mode
2015-01-20 13:12:00 -05:00
Erick Pérez Castellanos
12708485db
year-view: updated UI
2015-01-20 13:12:00 -05:00
Erick Pérez Castellanos
338f4c039f
year-view: initial sidebar impl
2015-01-20 13:11:59 -05:00
Erick Pérez Castellanos
0770a12ea9
year-view: add event handling to navigator
2015-01-20 13:11:58 -05:00
Erick Pérez Castellanos
e49418a26d
year-view: add navigator drawing
2015-01-20 13:11:58 -05:00
Erick Pérez Castellanos
24b8c553dc
year-view: initial commit
...
Dropped almost everything. Started using an ui file and using a GtkBox
as a parent.
2015-01-20 13:11:58 -05:00