| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
The box was somehow overlooked in the diagrams.
|
|
|
|
|
| |
Put the combobox child into the box we added for this purpose. That way,
we don't have to maintain the child's position ourselves anymore.
|
|
|
|
| |
This is so we can put the entry into the box in the next commit.
|
|
|
|
|
| |
Windows theme needs the expansion for correct drawing of the focus
outline.
|
|
|
|
|
| |
Previously add/remove on the combobox would result in a cellview being
created.
|
|
|
|
|
| |
The call to gtk_widget_set_state_flags immediately before these already
queues a redraw/allocate/resize in case they have to be queued.
|
|
|
|
|
| |
gcc 6 warns about this sort of thing. There were also some
stray ; here.
|
|
|
|
|
| |
Add the .linked style class to combo boxes which have
an entry, since that is what they are.
|
| |
|
|
|
|
| |
The box was removed a while ago.
|
|
|
|
|
| |
It does not add any value to what can be achieved through regular CSS
styling.
|
|
|
|
|
| |
Wrap the size request and allocate code into a GtkCssCustomGadget. This
makes margins work on GtkComboBox.
|
|
|
|
| |
Instead of dereferencing the same variable over and over.
|
| |
|
|
|
|
| |
The combobox always has a window.
|
|
|
|
|
| |
We can now use the newly introduced GtkIcon widget to properly render
the arrow in the combobox with CSS.
|
|
|
|
|
| |
We used to pick a master pointer "at random", use the default seat pointer
instead.
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=759309
|
|
|
|
|
|
|
| |
After removal of the selectable header and separator from the combo box,
the method to update the menu sensitivity must be changed as it assumes
at least two items within each sub menu and contains special handling
for the separator. Removing this fixes bug #759079.
|
|
|
|
|
| |
It interferes with getting the desired styling for combo boxes
with an entry, and is not needed.
|
| |
|
|
|
|
|
|
|
|
|
| |
The differences between the existing properties and the newly added
GtkWidget:focus-on-click property are minimal (different owner_type
in GParamSpec), so it is extremely unlikely that dropping the former
would break anything.
https://bugzilla.gnome.org/show_bug.cgi?id=757269
|
|
|
|
|
|
| |
Use combobox as the element name for the main CSS nodes of
GtkComboBox and GtkComboBoxText. Add the .combo style class
to the button and entry. in a GtkComboBox or GtkComboBoxText.
|
|
|
|
|
|
|
| |
And remove the API to set that variable.
If you want the entry to not fill its whole allocated area,
gtk_widget_set_valign (entry, GTK_ALIGN_FILL);
will give you the old behavior.
|
|
|
|
| |
Instead of get_path_for_child() use CSS nodes.
|
|
|
|
|
|
|
|
| |
Instead of putting it inside the button manually, put it there properly
by adding a box containing the cell view and the arrow.
Do the same thing in list mode, instead of creating an event box that
tries to behave as a button.
|
| |
|
| |
|
|
|
|
| |
... in the two places it can be created.
|
| |
|
|
|
|
|
| |
The button is the same in both menu and list mode, so there's no need to
destroy and recreate it.
|
| |
|
|
|
|
| |
The visible check is always FALSE, so no need to keep the code around.
|
|
|
|
|
|
|
| |
... when in menu mode.
Now that we don't have a separator anymore, the box is not needed
anymore.
|
|
|
|
|
|
|
| |
It was a special case and it's not used by themes anymore.
Plus, in the CSS world, if a theme wants a separator, it can just
style the button's border to create one.
|
| |
|
| |
|
|
|
|
| |
Cell views can draw their own frames now.
|
|
|
|
|
| |
We don't add new children to the child's parent, we add them to ourself.
Because guess who a child's parent is?
|
| |
|
| |
|
|
|
|
| |
Fix warnings due to -Wdeclaration-after-statement and -Wshadow.
|
|
|
|
|
| |
This can be done with CSS these days. Also, these days the background of
cell views is transparent, so it doesn't even have to be done.
|
| |
|
|
|
|
| |
Use the newer constructed instead, which has a fast path in GObject.
|
|
|
|
|
|
| |
This reverts commit 0f4751c08e22a4f45d58e2368e4ae82df407d330.
This causes warnings from the notebook and combobox code.
|
| |
|
|
|
|
| |
This will be used to make the popup appear in the inspector.
|
| |
|
| |
|