summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove pointless inout argumentsebassi/inout-argsEmmanuele Bassi2020-11-177-24/+30
| | | | | | | | | | | | | | | | GtkTreeView.get_tooltip_context() takes an inout X and Y coordinates, but the "out" side is a side effect: the conversion from widget-relative to bin window-relative coordinates is not documented, and can be done using public API, if needed. GtkIconView.get_tooltip_context() follows the same pattern, and takes two inout arguments for the coordinates, but it does not change them any more, after GtkIconView's bin window was dropped in commit 8dc5e13e. There's really no point in having these `inout` arguments, and while GtkTreeView and GtkIconView are certainly de-emphasised in GTK4, and we nudge developers to move to the new list views, we should take advantage of the API break to remove warts.
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-11-1724-83/+96
|\ | | | | | | | | Matthiasc/for master See merge request GNOME/gtk!2851
| * widget-factory: Remove an unused size groupMatthias Clasen2020-11-171-5/+0
| | | | | | | | | | This was left behind when 361407201b88c3aae2ee removed the unused popover that this size group applied to.
| * docs: Fix the links for keybinding signalsMatthias Clasen2020-11-1720-77/+80
| | | | | | | | | | GtkBindingSignal does not exist anymore, so link to GtkSignalAction for an explanation of keybinding signals.
| * popover: Document signalsMatthias Clasen2020-11-171-0/+15
| |
| * menubutton: Fix a gtk-doc complaintMatthias Clasen2020-11-171-0/+1
| |
| * gtk: Fix a doc oversightMatthias Clasen2020-11-171-1/+0
| |
| * gsk: Fix a doc oversightMatthias Clasen2020-11-171-1/+1
|/
* Merge branch 'fix-gi-warning' into 'master'Matthias Clasen2020-11-171-1/+1
|\ | | | | | | | | Fix a warning caused by difference between prototype and definition See merge request GNOME/gtk!2849
| * Fix a warning caused by difference between prototype and definitionQiu Wenbo2020-11-171-1/+1
| | | | | | | | | | | | This commit fix the warning: ../gdk/wayland/gdkdisplay-wayland.c:1079: Warning: GdkWayland: gdk_wayland_display_set_cursor_theme: unknown parameter 'name' in documentation comment, should be 'theme'
* | Merge branch 'wip/exalm/caption' into 'master'Matthias Clasen2020-11-171-1/+1
|\ \ | |/ |/| | | | | widget-factory: Fix caption style class name See merge request GNOME/gtk!2850
| * widget-factory: Fix caption style class namewip/exalm/captionAlexander Mikhaylenko2020-11-171-1/+1
|/ | | | It's lowercase.
* Merge branch 'gsk-binding-api' into 'master'Matthias Clasen2020-11-177-44/+93
|\ | | | | | | | | | | | | gsk: Avoid using gtk css types in public api Closes #2454 See merge request GNOME/gtk!2848
| * gsk: Avoid using gtk css types in public apigsk-binding-apiMatthias Clasen2020-11-167-44/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using GtkCssSection in public headers here may be ok from the C perspective, since it all ends up in the same library anyway. But it causes circular dependency problems for our gir files that are still split by namespace. To avoid this problem, copy the GtkCssLocation struct struct as GskParseLocation, and pass take two of them instead of a GtkCssSection in the error callback. Update all users. Fixes: #2454
* | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-11-173-21/+17
|\ \ | |/ |/| | | | | | | | | popover: Fix submenu navigation Closes #3301 See merge request GNOME/gtk!2847
| * popover: Fix submenu navigationMatthias Clasen2020-11-163-21/+17
|/ | | | | | | | | | | | | | | | In commit 024d832d943b2abf4f0d, we introduced a cascade-popdown property that makes closing a submenu propagate up and close its parent menus. This is the behavior we want when a menuitem in the submen is activated. What we overlooked is that we still need to be able to close a submenu during navigation, before opening another one. And in this case, propagating the closing is breaking things. Fix this by adding a private close_submenu api to GtkPopoverMenu that avoids the propagation. Fixes: #3301
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-11-176-241/+8
|\ | | | | | | | | Matthiasc/for master See merge request GNOME/gtk!2846
| * widget-factory: Remove an unused popoverMatthias Clasen2020-11-161-235/+0
| | | | | | | | | | We are no longer using the hand-rolled variant of that popover on page 3, so drop it from the ui file.
| * docs: Mention cairo-gobject as build requiresMatthias Clasen2020-11-161-1/+2
| | | | | | | | | | | | Using cairo from a system dependency and cairo-gobject as subproject is problematic and left me stuck on a hard-to-understand build error.
| * gsk: Fix some docs oversightsMatthias Clasen2020-11-161-3/+3
| | | | | | | | | | These apis have been renamed a few times, and the docs haven't kept up.
| * gdk: Docs cosmeticsMatthias Clasen2020-11-161-0/+2
| | | | | | | | Add a few missing parameters in doc comments.
| * docs: Fix a typoMatthias Clasen2020-11-161-1/+1
| |
| * docs: Remove gtk_render_insertion_cursorMatthias Clasen2020-11-161-1/+0
| | | | | | | | This function was removed in 2bcef7f03058dac7cbac.
* | Merge branch 'ebassi/for-master' into 'master'Emmanuele Bassi2020-11-1626-234/+567
|\ \ | | | | | | | | | | | | Ebassi/for master See merge request GNOME/gtk!2840
| * | a11y: Ensure valid object paths in the fallback codeEmmanuele Bassi2020-11-161-1/+21
| | | | | | | | | | | | | | | | | | When falling back to using the program name to create a unique base path for the objects on the accessibility bus we need to ensure that the name is a valid DBus object path.
| * | a11y: Implement atspi.CacheEmmanuele Bassi2020-11-166-67/+309
| | | | | | | | | | | | | | | | | | | | | | | | | | | The AT-SPI cache interface is used to quickly populate the accessible objects tree. The tricky bit is ensuring that we emit change notifications on the cache only when the cache is available, which means waiting until the root is asynchronously registered.
| * | a11y: Update the Cache interface introspectionEmmanuele Bassi2020-11-161-2/+2
| | | | | | | | | | | | | | | The type for cached items is, unsurprisingly, wrong when compared to the implementation inside atk-spi2-atk.
| * | a11y: Add getters for GtkAtSpiContextEmmanuele Bassi2020-11-163-0/+53
| | | | | | | | | | | | We are going to use them in order to implement atspi.Cache.
| * | a11y: Use the tab widget to label the notebook stack pageEmmanuele Bassi2020-11-161-0/+3
| | |
| * | a11y: Compute the base path in the root objectEmmanuele Bassi2020-11-163-39/+57
| | | | | | | | | | | | | | | | | | | | | | | | The root path is shared by all AtSpiContext instances, so we should compute it once, instead of every time we instantiate a new context. This allows us to defer the path creation at realization time and ensure that we have a registered application.
| * | a11y: Resync the AT-SPI XMLEmmanuele Bassi2020-11-1618-128/+125
| | | | | | | | | | | | | | | Mostly just changes in the annotations coming from at-spi2-core, but it's good to try and keep the XML in sync.
* | | Merge branch 'wip/exalm/button' into 'master'Matthias Clasen2020-11-162-2/+1
|\ \ \ | | | | | | | | | | | | | | | | Allow pressing multiple buttons at once on touch See merge request GNOME/gtk!2813
| * | | button: Don't make the gesture exclusivewip/exalm/buttonAlexander Mikhaylenko2020-11-121-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | With the last commit, pressing the same button with multiple fingers doesn't cause extra emissions, so we can remove exclusive and allow pressing multiple buttons at once on touch.
| * | | gestureclick: Only emit release for the same sequenceAlexander Mikhaylenko2020-11-121-1/+1
| | | | | | | | | | | | | | | | Avoid spurious releases when touching the same widget with another finger.
* | | | Merge branch 'wip/jimmac/popover-menu-submenus' into 'master'Jakub Steiner2020-11-161-29/+36
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | Adwaita: fix up submenus again See merge request GNOME/gtk!2845
| * | | | Adwaita: fix up submenus againJakub Steiner2020-11-161-29/+36
| | | | | | | | | | | | | | | | | | | | | | | | | - move menubar section under more generic popover.menu rather than resort to specificity dir(ltr) hacks
* | | | | Merge branch 'wip/chergert/for-master' into 'master'Matthias Clasen2020-11-161-1/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | gsk: use glFrameBufferTexture2D and release texture See merge request GNOME/gtk!2842
| * | | | | gsk: use glFrameBufferTexture2D and release textureChristian Hergert2020-11-161-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | glFrameBufferTexture maps to all faces of a cube and that is not needed here. Additionally, texture_id is not deleted after we use the additional flipped texture, but should be.
* | | | | | Merge branch 'wip/jimmac/circular-button-focus' into 'master'Jakub Steiner2020-11-161-0/+4
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adwaita: circular button focus Closes #3368 See merge request GNOME/gtk!2844
| * | | | | Adwaita: circular button focusJakub Steiner2020-11-161-0/+4
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | - have the same focus look like the other items Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3368
* | | | | Merge branch 'wip/jimmac/spinbutton-spacing' into 'master'wip/jimmac/circular-button-paddingMatthias Clasen2020-11-161-0/+1
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | Adwaita: spinbutton spacing Closes #3370 See merge request GNOME/gtk!2841
| * | | | Adwaita: spinbutton spacingJakub Steiner2020-11-161-0/+1
| | | | | | | | | | | | | | | | | | | | Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3370
* | | | | Merge branch 'wip/jimmac/circular-button-padding' into 'master'Jakub Steiner2020-11-161-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | Adwaita: circular buttons See merge request GNOME/gtk!2838
| * | | | Adwaita: circular buttonsJakub Steiner2020-11-161-1/+1
|/ / / / | | | | | | | | | | | | - the vertical padding was thown off with the chin/forehead of menus removed
* | | | 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