| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
_gtk_scrolled_window_get_scrollbar_spacing is only used in
gtkscrolledwindow.c, so keep it there.
|
|
|
|
|
| |
We were not filling the last free space in the custom color
row.
|
|
|
|
|
|
|
| |
Dimmed inner colorswatch shadow to make brighter colors looks nice,
increased the padding to make button states more evident, 0 border
radius to match the padding change and no colorswatch shadows when
the button is insensitive.
|
|
|
|
| |
POTFILES references them.
|
|
|
|
|
| |
To reflect latest Benjamin changes. As a bonus the colorchooser
looks better to me, same for the scss code.
|
|
|
|
| |
See https://bugzilla.gnome.org/show_bug.cgi?id=737985
|
|
|
|
| |
Name it .overlay and not .image
|
| |
|
|
|
|
| |
It's simpler code and I believe it's faster, too.
|
|
|
|
|
| |
In the case where the background is completely transparent, exit the
rendering functions before doing any expensive calculations.
|
|
|
|
| |
... instead of having a custom function for it.
|
|
|
|
| |
Instead, parse them directly to the one function that uses them.
|
|
|
|
| |
Instead, keep it as a separate variable.
|
|
|
|
| |
Simplifies code
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The code did weird things with drawing backgrounds sometimes but not
really. Now it does this:
(1) render a background
(2) render a frame
(3) render an icon
- if no icon exists, draw the generic handle icon
|
|
|
|
|
|
|
|
| |
We want to render a background *and* the current color (if there is
one).
This also adds a custom function gtk_render_add_content_path() which
adds the path of the current content area to a cairo_t.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This adds a CSS box (complete with padding and border) for the icon. The
box is even drawn when no icon is present. Use the ".image" as the style
class here instead of -active-color-badge.
Use this box to draw the circle around the selection icon in Adwaita.
|
|
|
|
|
|
|
|
| |
auth_info should be a NULL-terminated array as it is used in
e.g. g_strdupv invocations iterating over its elements until
a NULL element is encountered.
https://bugzilla.gnome.org/show_bug.cgi?id=737777
|
|
|
|
|
| |
Just like context menus, these should not inherit font
settings from the text view they are attached to.
|
| |
|
|
|
|
| |
Contextually dim the spinbutton button color a little bit.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This is a convenient shortcut for a common case. It is implemented
by adding a .monospace style class to the text view, and letting
the theme decide about the monospace font to use.
|
|
|
|
|
|
| |
Same here: We need to synchronize the visible child with the
selected row when setting a stack on the sidebar. I've noticed
this problem in the sidebar example in gtk3-widget-factory.
|
|
|
|
|
| |
We forgot to synchronize the visible child when setting a
stack on the switcher. Oops.
|
|
|
|
|
|
|
|
| |
So that the existing information about draw_layer actually
ends up in the docs. While we are at it, document the other
vfuncs.
https://bugzilla.gnome.org/show_bug.cgi?id=737952
|
|
|
|
|
|
|
| |
We enable line wrap on the internal GtkLabel, but nowadays this does
nothing unless we also set a max number of characters.
https://bugzilla.gnome.org/show_bug.cgi?id=737929
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Drawing text with Pango is quite expensive, and drawing text and also
blurring it is *really* expensive. To prevent us from drawing a lot of
text and then blurring it a lot is *really* expensive.
We now cache the blurred pixels for the last layout and shadow we made,
which means we can repeatedly draw labels with a blurred text-shadow
extremely fast.
To detect whether the shadow is up-to-date, we track the serial of the
PangoLayout alongside the radius of the box shadow. We don't support
inset shadows nor spread on text-shadow, so we don't need to track
these.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We get multiple notifications from the bookmark manager when
something changes. Every time, we reconstruct the sidebar contents
completely, by clearing the store. The bookmarks are added with
async calls though, and the code was forgetting to cancel outstanding
async requests, leading to multiple instances of the same bookmark
getting added. Use the cancellable we already have to prevent that.
This could be made much more efficient by not recreating the entire
sidebar quite so often (3-5 times for a single bookmark rename).
https://bugzilla.gnome.org/show_bug.cgi?id=737679
|
| |
|
|
|
|
|
| |
Remove return-if-fail parameter checks from static functions,
where we don't normally do these.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
GTK+ relies on this function silently failing for invalid data.
|
|
|
|
|
|
|
| |
This is common enough that we should just provide an API for it
- we already had a function for this purpose anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=672946
|
| |
|
| |
|
|
|
|
|
|
| |
I've noticed a missing image show up in my print dialog, where
the printer reported "printer-paused" as icon. Rearrange things
so we always fall back to "printer" for printer icons.
|
|
|
|
|
|
| |
It causes complication elsewhere if gtk_printer_get_icon_name()
returns NULL initially. So make the icon name default to
"printer".
|
|
|
|
|
| |
After consultation, revisit the vertical centering to center
the first 'stack', and put the second one behind it.
|
|
|
|
|
| |
Show nested tree models, inside filter or sort models. Without
this, you can't get at the data.
|
| |
|