| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
The code for adjusting the center widget allocation in case
of uneven sides never worked right in RTL. This was finally
noticed for tabs with close button, which commonly use a
centered label.
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit 572e9a04027e213082a5b257e5d662a5daa32667.
_gtk_box_get_children was not doing exactly the same than
gtk_container_get_children does, because the latter uses the forall
implementation of GtkBox that takes into account the children pack mode while
the former just iterated the list of children. This broke the order of
the buttons in a GtkButtonBox when they were packaged with PACK_END.
|
|
|
|
| |
It's doing exactly the same thing as gtk_container_get_children.
|
| |
|
| |
|
|
|
|
| |
This will be used in GtkButtonBox.
|
|
|
|
| |
All the CSS sections are named CSS nodes, so do the same here.
|
| |
|
|
|
|
| |
Propagates to GtkActionBar.
|
| |
|
|
|
|
| |
Only update the node that changed, don't invalidate everything.
|
|
|
|
| |
It's not necessary anymore with css nodes.
|
|
|
|
| |
For the same reasons as g_object_child_notify_by_pspec.
|
|
|
|
|
| |
This lets us use inlined getters for members in there,
avoiding the type checks in the public getters.
|
|
|
|
|
|
|
|
| |
gtk_css_node_set_after/before() are now called
gtk_css_node_insert_after/before().
This brings them in line with other similar APIs (ie GtkListStore). And
it allows easier usage of the API (see changes to gtkbox.c).
|
| |
|
|
|
|
|
| |
This is a very simple patch that causes a bunch of overhead. But it
works.
|
|
|
|
| |
&& goes at the end of the line in GTK+ coding style.
|
|
|
|
|
| |
This is happening when glade is loading ui files containing
center widgets.
|
|
|
|
| |
Glade was happily adding multiple center widgets. Oops.
|
| |
|
|
|
|
|
| |
This was an omission, horizontal/vertical would only be set
when the orientation is changed.
|
| |
|
| |
|
|
|
|
|
| |
This will make it easier to convert to g_object_install_properties
in the next commit.
|
|
|
|
| |
... and use it in GtkBox and GtkGrid.
|
|
|
|
|
|
|
| |
The gtk_box_get_center_widget function is missing a transfer annotation
for the returned widget. No transfer is done, so set transfer to none.
https://bugzilla.gnome.org/show_bug.cgi?id=728093
|
|
|
|
| |
Instead of Return value:
|
|
|
|
|
|
| |
This error was causing children to not get allocated when
the center widget is the first one in the list of the box's
children.
|
|
|
|
|
| |
It makes sense to allow this, and gtk_action_bar_set_center_widget
already assumes that it can pass NULL to this function.
|
| |
|
|
|
|
|
| |
Since the function now returns a value, these checks
need to be updated.
|
| |
|
|
|
|
|
|
| |
This makes GtkCenterBox unnecessary, and at the same time
adds more features: the center widget can be expanded, and
baseline alignment is supported.
|
|
|
|
| |
https://wiki.gnome.org/Design/OS/Typography
|
|
|
|
| |
In most cases, the text itself makes the message clear enough.
|
|
|
|
| |
It is a little heavy handed. The text can speak for itself.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=702996
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The intention of the expand widget flags was to in fact propagate
legacy expand child properties as well. Due to implementation errors,
this was only happening in some cases, but not in others. To avoid
breaking old code assuming traditional expand flag behavior, this
commit removes all attempts to propagate GtkBox::expand.
This was discussed in
https://bugzilla.gnome.org/show_bug.cgi?id=698656 and
https://bugzilla.gnome.org/show_bug.cgi?id=628902
This patch was written by Tristan Van Berkom.
|
|
|
|
| |
and use it
|
| |
|
|
|
|
|
|
|
|
|
| |
Report a baseline based height and baseline whenever there
are children with ALIGN_BASELINE.
Assign baseline to childen in size_allocate. Either the one inherited
from the parent if set, or otherwise calculate one based on any
ALIGN_BASELINE children.
|
|
|
|
|
|
| |
This reverts commit 6f86e57c4fb2cd76549910302b3a7145e7fd0e8b.
https://bugzilla.gnome.org/show_bug.cgi?id=694451
|