summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Adwaita: inline-toolbar separationwip/jimmac/inline-toolbars-dont-existJakub Steiner2020-11-162-0/+3
| | | | | | - they don' exist, but they can look good Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3369
* Merge branch 'wip/jimmac/menu-clipped-shadow' into 'master'Jakub Steiner2020-11-161-10/+4
|\ | | | | | | | | | | | | Wip/jimmac/menu clipped shadow Closes #1987 See merge request GNOME/gtk!2837
| * Adwaita: avoid clipping menu/popover shadowwip/jimmac/menu-clipped-shadowJakub Steiner2020-11-161-1/+1
| | | | | | | | Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/1987
| * Adwaita: remove chin on menusJakub Steiner2020-11-161-10/+4
|/ | | | | | - clipping a rounded corner seems to be working fine for first and last item. Addresses https://gitlab.gnome.org/GNOME/gtk/-/issues/3366
* Merge branch 'wip/jimmac/subtle-sidebar' into 'master'Jakub Steiner2020-11-161-6/+6
|\ | | | | | | | | | | | | Adwaita: navigation sidebar color changes Closes #3362 See merge request GNOME/gtk!2836
| * Adwaita: navigation sidebar color changesJakub Steiner2020-11-161-6/+6
| | | | | | | | | | | | - use more subtle selected state grey Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3362
* | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-11-162-1/+55
|\ \ | | | | | | | | | | | | Matthiasc/for master See merge request GNOME/gtk!2835
| * | gtk-demo: Plug a memory leakMatthias Clasen2020-11-151-0/+7
| | | | | | | | | | | | The Characters demo was leaking its columns.
| * | modelbutton: Fix keynav for check and radioMatthias Clasen2020-11-151-1/+48
|/ / | | | | | | | | | | | | The expected behavior when activating check or radio menuitems via keynav is that Space toggles the item but keeps the menu open, while Return toggles the item and closes the menu.
* | Merge branch 'fix-tooltip-trigger' into 'master'Matthias Clasen2020-11-151-0/+5
|\ \ | | | | | | | | | | | | Fix tooltip triggering See merge request GNOME/gtk!2833
| * | Fix tooltip triggeringfix-tooltip-triggerMatthias Clasen2020-11-151-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ever since 5b5d2665d373c35f, tooltips don't work properly, since we get more motion events now, and those keep the tooltips from appearing. This can be seen e.g. on the icon in the password entry in widget-factory, or on the section switcher buttons in the Emoji chooser. Ignore synthetic motion events for the purposes of determining whether the user moved the mouse.
* | | Merge branch 'widget-no-a11y-crash' into 'master'Emmanuele Bassi2020-11-151-3/+6
|\ \ \ | |/ / |/| | | | | | | | | | | | | | gtkwidget: fix crashes with GTK_A11Y=none Closes #3333 See merge request GNOME/gtk!2834
| * | gtkwidget: fix crashes with GTK_A11Y=noneChristoph Reiter2020-11-151-3/+6
|/ / | | | | | | | | | | at_context can be NULL in that case, so guard against it. Fixes #3333
* | Merge branch 'button-fill-var-removal' into 'master'Matthias Clasen2020-11-152-38/+19
|\ \ | | | | | | | | | | | | | | | | | | Adwaita: Stop using $button_fill Closes #3354 See merge request GNOME/gtk!2828
| * | Adwaita: Stop using $button_fillnana-42020-11-142-38/+19
| | | | | | | | | | | | | | | | | | | | | | | | Since the $button_fill variables are no longer used outside of the button() mixin (and it was for an ugly hack), there is no need to keep that anymore. Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3354
* | | Merge branch 'parse-debug-env-vars-always' into 'master'Matthias Clasen2020-11-155-37/+39
|\ \ \ | | | | | | | | | | | | | | | | Always parse GTK/GDK/GSK_DEBUG env vars and make some entries available in non-debug mode See merge request GNOME/gtk!2830
| * | | Always parse GTK/GDK/GSK_DEBUG env vars and make some entries available in ↵Christoph Reiter2020-11-155-37/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | non-debug mode Currently GTK can be built with G_ENABLE_DEBUG which enables various debug code and parsing of those env vars, or without, which instead of parsing them prints a warning if they are set. While building with G_ENABLE_DEBUG isn't strictly needed it's the only way to make GTK_DEBUG=interactive work, which is a nice thing to have always. This enables parsing of those env vars in any case and allows specific values being marked as also available when not built with G_ENABLE_DEBUG (interactive for example). If not built with G_ENABLE_DEBUG then all unavailable values will be marked as such in the help output and a note is added that GTK needs to be built with G_ENABLE_DEBUG to use them, which should help discoverability.
* | | | Revert "Update comment annotations of gtk_tree_model_iter_previous and ↵Christoph Reiter2020-11-151-2/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | gtk_tree_model_iter_next to state that the ITER parameter is modified." This reverts commit 1340ff2bc279329dc16b8d823100fec46b2f11d8. Same as with 53cd499621b5
* | | Update Ukrainian translationYuri Chornoivan2020-11-151-269/+191
| | |
* | | Merge branch 'wip/carlosg/for-master' into 'master'Matthias Clasen2020-11-141-4/+7
|\ \ \ | |/ / |/| | | | | | | | gtk/main: Reset active state on grab broken only if implicit See merge request GNOME/gtk!2832
| * | gtk/main: Reset active state on grab broken only if implicitCarlos Garnacho2020-11-141-4/+7
|/ / | | | | | | | | | | | | | | An implicit grab means some button is down, reset the active state only in that case when we get a grab broken event. Avoids active state accounting warnings when we do get active grabs broken (e.g. after selecting a menu option).
* | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-11-142-17/+33
|\ \ | | | | | | | | | | | | | | | | | | Matthiasc/for master Closes #3359 and #3353 See merge request GNOME/gtk!2827
| * | Adwaita: Fix list separatorsMatthias Clasen2020-11-131-2/+2
| | | | | | | | | | | | | | | | | | | | | Commit bfe5b0d1b7a1374964 ran into some specificity trouble. Fixes: #3353
| * | label: Avoid short-circuitingMatthias Clasen2020-11-131-15/+31
| | | | | | | | | | | | | | | | | | | | | Commit 0db504edde63eb77e made a mistake described here: https://en.wikipedia.org/wiki/Short-circuit_evaluation#Possible_problems Fixes: #3359
* | | Merge branch 'alatiera/nightly-demos' into 'master'Matthias Clasen2020-11-132-0/+28
|\ \ \ | | | | | | | | | | | | | | | | ci: publish demo apps to the Nightly repository See merge request GNOME/gtk!2825
| * | | ci: publish demo apps to the Nightly repositoryJordan Petridis2020-11-132-0/+28
| | |/ | |/|
* | | Merge branch 'wip/jimmac/tooltips' into 'master'Matthias Clasen2020-11-131-3/+2
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Adwaita: tooltip styling Closes #3352 See merge request GNOME/gtk!2826
| * | Adwaita: tooltip stylingwip/jimmac/tooltipsJakub Steiner2020-11-131-3/+2
|/ / | | | | | | | | | | | | | | - balance padding - increase border radius, yuck - get rid of text shadow Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3352
* | Merge branch 'wip/jimmac/submenus' into 'master'Jakub Steiner2020-11-131-3/+1
|\ \ | | | | | | | | | | | | Wip/jimmac/submenus See merge request GNOME/gtk!2824
| * | Adwaita: rounded submenusJakub Steiner2020-11-131-3/+1
| | | | | | | | | | | | | | | | | | - all corners have rounded corners See https://gitlab.gnome.org/GNOME/gtk/-/issues/2745
| * | Adwaita: double declated $button_fillJakub Steiner2020-11-131-3/+0
| | | | | | | | | | | | - this was already in place in _common, no need to have it in _colors
* | | Merge branch 'wip/jimmac/declare-buttonfill-once' into 'master'Jakub Steiner2020-11-131-3/+0
|\ \ \ | |/ / |/| | | | | | | | Adwaita: double declated $button_fill See merge request GNOME/gtk!2823
| * | Adwaita: double declared $button_fillJakub Steiner2020-11-131-3/+0
|/ / | | | | | | - this was already in place in _common, no need to have it in _colors
* | Merge branch 'wip/exalm/window' into 'master'Jakub Steiner2020-11-131-21/+20
|\ \ | |/ |/| | | | | Round window corners See merge request GNOME/gtk!1952
| * theme: Round all window cornerswip/exalm/windowAlexander Mikhaylenko2020-11-121-2/+1
| |
| * theme: Restructure window styleAlexander Mikhaylenko2020-11-121-20/+20
| |
* | Merge branch 'wip/carlosg/for-master' into 'master'Matthias Clasen2020-11-133-4/+40
|\ \ | | | | | | | | | | | | | | | | | | Improve handling of ::active with touch and multiple foci Closes #3348 See merge request GNOME/gtk!2821
| * | gtk/main: Stack ::active callsCarlos Garnacho2020-11-133-2/+33
| | | | | | | | | | | | | | | | | | | | | We may have the situation of multiple touchpoints in the same widget, or combinations with other devices. Stack those ::active states are preserved on widgets on all but the last pointer/touch going away.
| * | gtk/main: Toggle active flag with touch eventsCarlos Garnacho2020-11-131-2/+7
|/ / | | | | | | | | | | | | This went missing at some point, add the missing toggling of active state with GDK_TOUCH_BEGIN/END/CANCEL events. Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/3348
* | Merge branch 'ebassi/for-master' into 'master'Emmanuele Bassi2020-11-1217-19/+322
|\ \ | | | | | | | | | | | | Ebassi/for master See merge request GNOME/gtk!2819
| * | a11y: Use GROUP role for ShortcutsShortcutEmmanuele Bassi2020-11-121-0/+2
| | | | | | | | | | | | And hide the image from the accessible tree.
| * | a11y: Implement atspi.Text.ScrollSubstringTo for GtkTextViewEmmanuele Bassi2020-11-122-1/+101
| | | | | | | | | | | | We reuse the existing implementation in GTK3.
| * | a11y: Document GtkRevealer's accessible stateEmmanuele Bassi2020-11-121-0/+8
| | | | | | | | | | | | | | | | | | Use the GROUP role, and make sure to note that the child is always revealed. Unlike GtkExpander, GtkRevealer can only be programmatically toggled, so we cannot turn it into a "button" object.
| * | a11y: Add more accessible data to GtkTreeExpanderEmmanuele Bassi2020-11-121-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | Document the role of the GtkTreeExpander, and the behaviour of the expander button. Additionally, improve the label of the expander button, by adding a fixed "Expand" label, and setting the "labelled-by" relation to the child of the GtkTreeExpander.
| * | Establish a control relation between demo search and listEmmanuele Bassi2020-11-121-1/+5
| | | | | | | | | | | | | | | The search entry changes the content of the list view, so we should mention that relation to assistive technologies.
| * | a11y: Add accessible actions to GtkSearchEntryEmmanuele Bassi2020-11-121-0/+90
| | | | | | | | | | | | | | | Just like GtkPasswordEntry, GtkSearchEntry should have its set of accessible actions.
| * | a11y: Mark SearchEntry icons as presentationalEmmanuele Bassi2020-11-121-2/+6
| | | | | | | | | | | | | | | While the "clear the search entry" icon behaves like a button, we don't have any actual action that can trigger it, so let's ignore it.
| * | a11y: Set the role on GtkSearchBarEmmanuele Bassi2020-11-121-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | The search bar widget has a "SEARCH" landmark role, which is described as: A landmark region that contains a collection of items and objects that, as a whole, combine to create a search facility.
| * | a11y: Icons in buttons are presentationalEmmanuele Bassi2020-11-122-2/+8
| | | | | | | | | | | | Buttons are described by text, and the icon child can be safely ignored.
| * | a11y: Add more accessibility labels to GtkNotebookEmmanuele Bassi2020-11-121-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | Label the various components: - the tab list - the tab widget - the arrow widgets