summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Adwaita: popover menu stylingwip/jimmac/menu-styling-adjustments-popoverJakub Steiner2020-05-073-10/+19
| | | | | | - match existing popover styling for menus See https://gitlab.gnome.org/GNOME/gtk/-/issues/2675
* Adwaita: radios and checks for menusJakub Steiner2020-05-073-60/+65
| | | | | | - smaller, no border for checks, different alignments See https://gitlab.gnome.org/GNOME/gtk/-/issues/2675
* Adwaita: menu popover metricsJakub Steiner2020-05-071-6/+8
| | | | See https://gitlab.gnome.org/GNOME/gtk/-/issues/2675
* Adwaita: use thinner arrows for navigationJakub Steiner2020-05-071-2/+2
| | | | | | - go-next go-previous instead of pan-end pan-start See https://gitlab.gnome.org/GNOME/gtk/-/issues/2675
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-05-071-8/+1
|\ | | | | | | | | Fix an inspector crash See merge request GNOME/gtk!1855
| * Fix an inspector crashMatthias Clasen2020-05-061-8/+1
|/ | | | | | Fix the listmodel semantics of the controller model, by making get_item return a reference. This was broken in 4b9e5304cc.
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-05-071-10/+19
|\ | | | | | | | | modelbutton: Unify activation code paths See merge request GNOME/gtk!1854
| * modelbutton: Unify activation code pathsMatthias Clasen2020-05-061-10/+19
|/ | | | | | Opening submenus by Enter or Space wasn't working, because we had different code paths for activation via keynav and via click. Unify them.
* Merge branch 'ebassi/for-master' into 'master'Emmanuele Bassi2020-05-062-4/+5
|\ | | | | | | | | Ebassi/for master See merge request GNOME/gtk!1853
| * Annotate gtk_text_child_anchor_get_widgets() correctlyEmmanuele Bassi2020-05-061-2/+3
| | | | | | | | | | | | We switched from returning a list to returning a C array, which means we need to update the introspection annotation and the documentation to match the implementation.
| * Annotate gdk_motion_event_get_history() correctlyEmmanuele Bassi2020-05-061-2/+2
|/ | | | | We moved from returning a list to returning a C array, and this requires a change in the annotations.
* Merge branch 'gbsneto/array-clear-func' into 'master'Georges Basile Stavracas Neto2020-05-061-1/+0
|\ | | | | | | | | | | | | icontheme: Don't free array element Closes #2717 See merge request GNOME/gtk!1851
| * icontheme: Don't free array elementGeorges Basile Stavracas Neto2020-05-061-1/+0
| | | | | | | | | | | | | | | | | | | | | | When setting a clear function on a GArray, unlike most other places, this free func is expected to *not* free the array element itself -- only its contents. Don't free the array element. Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/2717
* | Merge branch 'wip/exalm/polish' into 'master'Matthias Clasen2020-05-063-15/+26
|\ \ | | | | | | | | | | | | Random polish See merge request GNOME/gtk!1850
| * | widget-factory: Remove duplicate margin-startAlexander Mikhaylenko2020-05-071-1/+0
| | |
| * | widget-factory: Align spinbutton in the list on page 2Alexander Mikhaylenko2020-05-071-0/+4
| | |
| * | video: Use more appropriate revealer transitionAlexander Mikhaylenko2020-05-071-0/+1
| | |
| * | adwaita: Remove a redundant -gtk-icon-shadow: noneAlexander Mikhaylenko2020-05-071-2/+0
| | | | | | | | | | | | Buttons have no icon shadows anymore anyway.
| * | adwaita: Don't style window menu button anymoreAlexander Mikhaylenko2020-05-071-7/+5
| | | | | | | | | | | | | | | Those were removed with the introduction of GtkWindowControls, no need to exclude them from the round style anymore.
| * | adwaita: Use tabular figures where appropriateAlexander Mikhaylenko2020-05-071-1/+7
| | | | | | | | | | | | Port 82b9be3297db7baeb605c286b01978bab02b5373 from GTK3.
| * | adwaita: Make popover border transparentAlexander Mikhaylenko2020-05-071-2/+4
| | | | | | | | | | | | Port 379669b153595fd1a33b200f6b08e7d5ba0407f4 from GTK3.
| * | adwaita: Update app icon shadowAlexander Mikhaylenko2020-05-071-2/+5
| | | | | | | | | | | | Port f95f3c707aa5a4b1c7b76b2bb43a43519eaf9433 from GTK3.
* | | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-05-061-1/+1
|\ \ \ | |_|/ |/| | | | | | | | nodeeditor: Don't use container api on list box rows See merge request GNOME/gtk!1852
| * | nodeeditor: Don't use container api on list box rowsMatthias Clasen2020-05-061-1/+1
|/ / | | | | | | GtkListBoxRow is not a container anymore.
* | Merge branch 'gbsneto/fix-text-child-header' into 'master'Matthias Clasen2020-05-061-1/+1
|\ \ | | | | | | | | | | | | textchild: Include <gtk/gtkwidget.h> See merge request GNOME/gtk!1846
| * | textchild: Include <gtk/gtkwidget.h>Georges Basile Stavracas Neto2020-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | | This header is exported, so it needs to include the gtkwidget.h header with the gtk/ prefix. This was broken in 289b157e3251581cff91c7bca5f5ed34ff309260
* | | Merge branch 'master.struct.msvc' into 'master'Matthias Clasen2020-05-061-6/+8
|\ \ \ | | | | | | | | | | | | | | | | gtk/gtkaccelgroup.c: Fix build on Visual Studio See merge request GNOME/gtk!1785
| * | | gtk/gtkaccelgroup.c: Fix build on Visual StudioChun-wei Fan2020-04-291-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | Visual Studio does not allow one to initialize structure members with non-constant expressions, caused by using strlen(s), so fix this by using sizeof(s) - 1 instead.
* | | | Merge branch 'wip/exalm/row' into 'master'Matthias Clasen2020-05-061-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | placesview: Stop using gtk_container_add() for GtkListBoxRow See merge request GNOME/gtk!1849
| * | | | placesview: Stop using gtk_container_add() for GtkListBoxRowAlexander Mikhaylenko2020-05-071-2/+2
| | | | |
* | | | | Merge branch 'drop-click-gesture-area' into 'master'Matthias Clasen2020-05-063-89/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | gestureclick: Drop the area See merge request GNOME/gtk!1847
| * | | | | gestureclick: Drop the areaMatthias Clasen2020-05-063-89/+2
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | This is a rarely used api, and our general trend has been to use widgets whenever we need an area singled out.
* | | | | Merge branch 'master-disable-introspection' into 'master'Matthias Clasen2020-05-061-0/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | CI: disable introspection with mingw to avoid flaky builds See merge request GNOME/gtk!1848
| * | | | | CI: disable introspection with mingw to avoid flaky buildsChristoph Reiter2020-05-061-0/+3
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | g-i has started to fail and it's not clear why, so disable it for now to keep the build green. See https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/340
* | | | | CI: use bash style variable expansion for the mingw cache keyChristoph Reiter2020-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It doesn't understand the powershell syntax which leads to the cache key being empty which leads to cache restore being skipped which leads to slow builds not using ccache. See https://gitlab.com/gitlab-org/gitlab-runner/-/issues/2747
* | | | | Merge branch 'wip/jimmac/HC-focus' into 'master'Jakub Steiner2020-05-061-0/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | HC: more contrasty focus rings See merge request GNOME/gtk!1845
| * | | | | HC: more contrasty focus ringsJakub Steiner2020-05-061-0/+4
| |/ / / /
* | | | | Merge branch 'abolish-size-allocate' into 'master'Matthias Clasen2020-05-0618-176/+117
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | Abolish size allocate Closes #2705 See merge request GNOME/gtk!1833
| * | | | widget: Drop the ::size-allocate signalMatthias Clasen2020-05-061-32/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This signal is mainly used for bad things, and we don't want to emit signals during layout if we can avoid it. If you are subclassing, you should either use a layout manager or override the size_allocate vfunc. If you are using a GtkDrawingArea or GtkGLArea, use their ::resize signals to learn about size changes. Fixes: #2705
| * | | | tooltipwindow: Stop using the ::size-allocate signalMatthias Clasen2020-05-061-30/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of connecting to ::size-allocate, call gtk_native_set_tooltip and rely on the native to allocate the tooltip window.
| * | | | tooltipwindow: Drop some dead codeMatthias Clasen2020-05-061-9/+0
| | | | |
| * | | | tooltip: Add private api to allocate the windowMatthias Clasen2020-05-064-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add private gtk_tooltip_maybe_allocate() function and use it from GtkWindow and GtkPopover. This will let us stop using the ::size-allocate signal, without having to redo all the tooltip management first. That will happen later.
| * | | | Explicitly update widget a11y bounds when allocatingEmmanuele Bassi2020-05-063-19/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The a11y machinery is using signal subscription to get notified of size changes and notify listeners in turn. This is suboptimal for a couple of reasons: - if something connects to the GtkWidget::size-allocate signal we need to emit it; currently, we have an optimization in place that will skip the signal emission if there are no handlers, and it would be nice to go through the fast path - the accessibility implementation is part of GTK, and should not go through additional hoops like any out-of-tree API consumer
| * | | | tests: Stop using ::size-allocateMatthias Clasen2020-05-062-50/+0
| | | | |
| * | | | inspector: Stop using ::size-allocateMatthias Clasen2020-05-061-8/+3
| | | | | | | | | | | | | | | | | | | | | | | | | This signal is going away. Currently, there is no other way for the inspector to monitor the allocation.
| * | | | examples: Use GtkDrawingArea::resizeMatthias Clasen2020-05-061-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | This signal is a replacement for this (ab)use of the ::size-allocate signal, which is going away.
| * | | | gtk-demo: Use GtkDrawingArea::resizeMatthias Clasen2020-05-061-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | This signal is a replacement for this (ab)use of ::size-allocate.
| * | | | drawingarea: Add a ::resize signalMatthias Clasen2020-05-062-2/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This can be used as a replacement for ::size-allocate to prepare size-dependent resources, like a backing surface. It mirrors the GtkGLArea::resize signal.
| * | | | a11y: Avoid a gratitious use of ::size-allocateMatthias Clasen2020-05-061-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | The paned widget has a position property, just use it.
| * | | | cellarea: CosmeticsMatthias Clasen2020-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | Remove an occurrence of size-allocate in a comment.