| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This is too simple to be useful, but its a start.
|
|
|
|
| |
Make the password entry demo show password strength.
|
|
|
|
| |
This is used in password entries now.
|
|
|
|
|
|
| |
Use a levelbar to show password strength.
The strength value itself is provided by
the application via a signal.
|
| |
|
|
|
|
|
|
|
|
|
| |
Add a ::show-peek-icon property and show a clickable
icon when it is set. Clicking it toggles the visibility
of the content. The same functionality is also accessible
via a context menu item.
This is a common feature of password entries.
|
|
|
|
|
| |
Set a style class, and theme the Caps Lock icon to
be less promient, so it does not appear clickable.
|
|
|
|
|
|
|
| |
We don't want it to appear clickable, but we still
need to keep it pickable for the tooltip to work,
so explicitly give it the same cursor that we use
for the text.
|
|
|
|
|
| |
There is no need for that, we don't want to
handle input here at all.
|
|
|
|
|
| |
This is more in line with how Caps Lock
is typically indicated.
|
| |
|
|
|
|
|
|
| |
Add ::placeholder-text and ::activates-default properties.
Password entries are going to be used in dialogs, where
these two properties are useful.
|
|
|
|
|
| |
The icon was erroneously showing up before the first
focus-in event.
|
|
|
|
| |
Remove the GtkEntry assumption from more places.
|
| |
|
| |
|
|
|
|
| |
The previous arguments were equivalent to using NULL.
|
| |
|
| |
|
|
|
|
| |
One is always 0, the other is always equal to gtk_widget_get_width()
|
| |
|
|
|
|
| |
Fixes !574
|
|
|
|
|
|
|
|
|
| |
gsk/gskenums.h:181: Error: Gsk: multiple "@GSK_TRANSFORM_CATEGORY_2D" parameters for identifier "GskTransformCategory":
* @GSK_TRANSFORM_CATEGORY_2D: The matrix is a 2D matrix. This is equivalent
^
gsk/gsktransform.c:1342: Warning: Gsk: gsk_transform_to_2d: unknown parameter 'm' in documentation comment, should be 'self'
gsk/gsktransform.c:1368: Warning: Gsk: gsk_transform_to_2d: invalid return annotation
gsk/gsktransform.c:1461: Warning: Gsk: gsk_transform_to_translate: unknown parameter 'm' in documentation comment, should be 'self'
|
|
|
|
| |
And make the revealer on page 2 of the widget-factory use one.
|
| |
|
|
|
|
| |
They are good for nothing.
|
|
|
|
| |
That one was missing and killing performance in the fishbowl.
|
|
|
|
|
| |
Remove all the nodes that are subnodes of GtkText nowadays and refer to
the GtkText docs instead.
|
| |
|
|
|
|
| |
Otherwise we remove them, causing additional texture uploads.
|
|
|
|
|
| |
This commit adds gsk_transform_perspective(), gtk_snapshot_perspective()
and support for perspective() in the CSS syntax.
|
|
|
|
|
|
|
|
| |
This reinstates diffing in the same way that it worked for offset nodes.
It would be possible to add diffing for affine transforms or even all
transforms, but I think this is unnecessary right now - and also quite
expensive to compute.
|
|
|
|
| |
This is the optimization from bbd4e2f60d9e060fbe3b0c2dcebcd1d6b7335a2a
|
|
|
|
|
|
|
|
|
|
|
| |
Make the API expect a tranform of the proper category instead of
doing the check ourselves and returning TRUE/FALSE.
The benefit is that the mai use case is switch (transform->category)
statements and in those we know the category and don't need to check
TRUE/FALSE.
Using the wrong matrix will now cause a g_warning().
|
|
|
|
|
|
|
|
| |
... instead of computing it every time we need it.
This should be faster and we want to use it a lot more prominently.
Also, we have the struct memory available anyway.
|
|
|
|
|
|
| |
And use it.
And test it.
|
|
|
|
|
| |
This used to be a good idea back when GskTransform was intended to be
used for transitions, but without it, it's not anymore.
|
|
|
|
|
|
| |
This concludes pushing transforms down into GskTransform.
What's remaining is potentially pushing it further into the renderers.
|
|
|
|
|
|
|
| |
In particular, check that to_matrix() and to_2d(), to_affine() and
to_translate() return the same values.
This also requires a recent Graphene version or the tests will fail.
|
|
|
|
| |
We were printing the wrong variable.
|
|
|
|
|
| |
This is mainly for accuracy: We can guarantee the math we do for 2D
rotations results in a 2D matrix.
|
|
|
|
| |
Also rename it from GskMatrixCategory to GskTransformCategory.
|
|
|
|
|
| |
It is not interesting to users of GskTransform how it is made up
internally. Users should just use the gsk_transform_to_*() APIs.
|
|
|
|
| |
This is an attempt to push GskTransform deeper into the stack.
|
|
|
|
|
|
|
|
|
|
| |
In particular, add a per-category querying API for the matrix:
- gsk_transform_to_translate()
- gsk_transform_to_affine()
- gsk_transform_to_2d()
- gsk_transform_to_matrix()
This way, code can use the relevant one for the given category.
|
|
|
|
| |
The renaming of the prefix makes this a large patch.
|
|\
| |
| |
| |
| |
| |
| | |
Adwaita: Fix typo (missing comma)
Closes #1713
See merge request GNOME/gtk!618
|
| |
| |
| |
| |
| |
| | |
Closes https://gitlab.gnome.org/GNOME/gtk/issues/1713
(cherry picked from commit 0b61d6f6aef9fba35e896ac437a66b78eb649f75)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In case the theme doesn't set a height/min-height for the treeview
separator the treeview drawing gets confused and draws rows on top of each
other depending on the redraw area.
This is due to gtk_tree_view_get_row_height() assuming that a node with a
height <= 0 is not set and not a separator and it will default to the
expander size.
Ideally gtk_tree_view_get_row_height() would know if it operates on a separator,
but there are too many calls/levels, so just make sure the separator height
is at least 1 (Adwaita already sets "min-height: 2px", so no change there)
Cherry-picked from !614 to master
|
|\ \
| | |
| | |
| | |
| | | |
notebook: Notify the notebook page, not the child
See merge request GNOME/gtk!616
|