| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
This commit ports baobab to GTK and makes use of libadwaita
widgets and styling.
Things depending on Events have been reworked to use
shortcuts and eventcontrollers, like drag and drop or
the various shortcuts for the treeview.
There have also been tweaks to the styling made to fit
in better with the new Adwaita look and feel.
|
|
|
|
| |
And do some cleanup.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The ringchart was calling get_background_color on the toplevel context
with a fixed state of NORMAL without saving the context first. If the
toplevel however had additional state flags set, such as BACKDROP, this
could trigger an invalidation and cause a redraw, resulting in a redraw
loop.
Instead of saving/restoring the context, this patch uses the current
state of the context, which is the right thing to do in general anyway
and does not require saving/restoring the context unless the context is
actually modified.
https://bugzilla.gnome.org/show_bug.cgi?id=754703
|
|
|
|
|
|
|
| |
It's causing problems when hidpi scale factor is bigger than 1.
As for the background color, we can fetch it from the toplevel window.
https://bugzilla.gnome.org/show_bug.cgi?id=742394
|
|
|
|
|
| |
1. Tooltips are now painted starting from the biggest element.
2. Text is ellipsized if too long, instead of just hiding the tooltip.
|
|
|
|
|
|
|
|
|
|
| |
Previously the border between angular sectors in Ringschart was obtained
by a cairo_stroke() with the background color. The problem with this is that
we needed to fetch the color from the theme somehow and this was not always
possible (for instance the HighContrast theme does not define @theme_bg_color).
Now we just draw to an offscreen surface and obtain the borders by clearing the
relevant pixels. The surface is finally painted on the window.
|
| |
|
| |
|
|
|
|
|
| |
The gtk-tooltip-timeout setting is being deprecated in favor of a hardcoded value.
We hardcode our timeout to twice the GTK+ value.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Redesign the central disk, leaving it transparent and adding a thin
border when there are no children sectors.
While at it, consolidate the code for drawing a sector in a single
method.
|
| |
|
|
|
|
| |
Designer's request
|
|
|
|
|
|
| |
Depending on the theme, the tooltip background could be partially
transparent, so clip the line to avoid it being visible below the
tooltip.
|
|
|
|
|
|
| |
Instead of hardcoding colors, padding, subfolder tips styling.
Requires up-to-date gnome-themes-standard.
|
|
Almost a line-by-line translation of the original C code. Main
differences are:
* _freeze() and _thaw() methods are removed (now useless as a spinner is
used for the busy state
* GObject properties are used throughout the code
* contextual menu implemented with GMenu/GActions
* slight rework of the subfolder tips code in RingsChart
|