summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Adwaita: darker selected menuitem + sidebarswip/jimmac/menus-darkerJakub Steiner2020-11-231-1/+1
| | | | | | | - without sacrificing the fg/bg contrast too much, increase selected item visibility Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3390
* icon-browser: Add .sidebar style class in the main windownana-4/gtk-sidebar-style-fixesnana-42020-11-231-6/+4
| | | | So the sidebar can get the proper background and border colors.
* gtk-demo: Add .sidebar style class in the main windownana-42020-11-231-3/+3
| | | | So the sidebar can get the proper background and border colors.
* Adwaita: Unify sidebar background-colornana-42020-11-231-2/+1
| | | | | | | The sidebar item style is already unified. The sidebar background-color should be unified as well. See https://gitlab.gnome.org/GNOME/gtk/-/issues/3382
* Adwaita: Make sidebar row styling betternana-42020-11-231-11/+11
| | | | | | - Reorder declaration blocks for code legibility. - Don't lighten text color on :hover and :selected for better contrast. - Add missing :focus-visible:focus-within styling to non-:selected row.
* Adwaita: Fix some sidebar sizingnana-42020-11-231-2/+5
| | | | | | | | | - Don't set the sidebar padding twice. - Add padding to the assistant sidebar directly, as it doesn't have .navigation-sidebar internally. - Set missing margin to the sidebar separator. See https://gitlab.gnome.org/GNOME/gtk/-/issues/3382
* Adwaita: Move placessidebar-specific sizing from .navigation-sidebarnana-42020-11-231-7/+7
| | | | The common .navigation-sidebar styling should be more generic.
* Adwaita: Make treeexpander styling genericnana-42020-11-231-6/+4
| | | | | | The widget can be used outside .navigation-sidebar. This also fixes the label misalignment in the widget.
* stacksidebar: Add missing .navigation-sidebar to the inner listnana-42020-11-231-1/+1
| | | | | | Also don't set :show-separators, which is not applied in other sidebars. See https://gitlab.gnome.org/GNOME/gtk/-/issues/3382
* Merge branch 'scalebutton' into 'master'wip/jimmac/sidebar-againTimm Bäder2020-11-231-3/+3
|\ | | | | | | | | | | | | properly set ScaleButton's parent_class Closes #3381 See merge request GNOME/gtk!2877
| * properly set ScaleButton's parent_classBilal Elmoussaoui2020-11-231-3/+3
|/ | | | | GtkScaleButton doesn't subclass GtkButton anymore Fixes #3381
* Merge branch 'nullables-1' into 'master'Emmanuele Bassi2020-11-216-7/+7
|\ | | | | | | | | Fix some nullable return annotations See merge request GNOME/gtk!2873
| * Fix some nullable return annotationsSophie Herold2020-11-216-7/+7
|/
* Update POTFILES.skipPiotr Drąg2020-11-212-2/+4
|
* Merge branch 'wip/jimmac/clipped-menu-shadows' into 'master'Jakub Steiner2020-11-201-0/+1
|\ | | | | | | | | | | | | Adwaita: avoid clipping menu shadows Closes #1987 See merge request GNOME/gtk!2872
| * Adwaita: avoid clipping menu shadowsJakub Steiner2020-11-201-0/+1
| | | | | | | | Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/1987
* | Revert "Adwaita: unified sidebar styles"Jakub Steiner2020-11-201-19/+2
| | | | | | | | | | | | | | Doing the same mistake twice :( Even margin is eating from the container, not expanding outside of it. This reverts commit 6be575992f8e5b30dc8b8f2794e6a02941dc0031.
* | Merge branch 'wip/jimmac/sidebar-backdrop' into 'master'Jakub Steiner2020-11-201-6/+0
|\ \ | |/ |/| | | | | | | | | Adwaita: don't backdrop labels Closes #3377 See merge request GNOME/gtk!2868
| * Adwaita: don't backdrop labelswip/jimmac/sidebar-backdropJakub Steiner2020-11-201-6/+0
| | | | | | | | | | | | | | - instead of overriding :backdrop for sidebars, continue pursuing not to backdrop anything but headerbar items and buttons. Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3377
* | Merge branch 'wip/jimmac/unified-sidebar-styles' into 'master'Jakub Steiner2020-11-201-2/+19
|\ \ | | | | | | | | | | | | | | | | | | Adwaita: unified sidebar styles Closes #3382 See merge request GNOME/gtk!2871
| * | Adwaita: unified sidebar styleswip/jimmac/unified-sidebar-stylesJakub Steiner2020-11-201-2/+19
|/ / | | | | | | | | | | | | - stacksidebar focus, separation and color as everything else - eliminate placessidebar double padding Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/3382
* | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-11-2014-145/+498
|\ \ | | | | | | | | | | | | Matthiasc/for master See merge request GNOME/gtk!2870
| * | gtk-demo: Make a more interesting constraints demoMatthias Clasen2020-11-192-49/+405
| | | | | | | | | | | | | | | | | | Show various ways to influence spacing. This is more or less modeled on the way Androids constraint layout lets you set up 'chains'.
| * | gtk-demo: Rename some demosMatthias Clasen2020-11-189-21/+21
| | | | | | | | | | | | | | | This is just to make it easier for myself to find the right sources.
| * | docs: Update GtkSensitivityType docsMatthias Clasen2020-11-181-6/+6
| | | | | | | | | | | | | | | Don't talk about steppers here, since we are only using this type for combobox buttons nowadays.
| * | scrollbar: Don't talk about steppersMatthias Clasen2020-11-181-6/+2
| | | | | | | | | | | | | | | There steppers were lost on the way from GtkRange to GtkScrollbar, so don't talk about them in the docs.
| * | gtk-demo: Add more keywordsMatthias Clasen2020-11-182-3/+4
| | | | | | | | | | | | | | | Add GtkShortcutController as a keyword to some demos that show its use.
* | | Merge branch 'wip/carlosg/for-master' into 'master'Matthias Clasen2020-11-201-1/+10
|\ \ \ | | | | | | | | | | | | | | | | gtk/main: Do not unset active state on button release w/o implicit grab See merge request GNOME/gtk!2869
| * | | gtk/main: Do not unset active state on button release w/o implicit grabCarlos Garnacho2020-11-191-1/+10
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If an active grab gets undone on button press (e.g. closing a menu), we will receive a button release on the new target even though it didn't handle the button press, and disable ::active state. This causes warnings when handling the button release, as it tries to undo ::active state that is not really there. In order to fix this, check that the pointer focus actually had an implicit grab at the time of receiving the button release, before trying to unset the ::active state.
* | | Merge branch 'ebassi/for-master' into 'master'Emmanuele Bassi2020-11-194-39/+49
|\ \ \ | |_|/ |/| | | | | | | | Ebassi/for master See merge request GNOME/gtk!2867
| * | a11y: Hide children of GtkFishBowlEmmanuele Bassi2020-11-191-0/+3
| | | | | | | | | | | | | | | The fishbowl widget is purely presentational, and its children should not be visible in the accessibility tree.
| * | demo: Make GtkFishBowl a presentation widgetEmmanuele Bassi2020-11-191-0/+2
| | | | | | | | | | | | It has no accessible content, even if it displays widgets.
| * | a11y: Skip atspi.Cache signals for hidden elementsEmmanuele Bassi2020-11-191-0/+24
| | | | | | | | | | | | | | | | | | If the accessible object is hidden, we can skip the emission of the AddAccessible and RemoveAccessible signals on the cache, as those objects won't be visible in the accessibility tree.
| * | a11y: Get the accessible role onceEmmanuele Bassi2020-11-191-2/+4
| | | | | | | | | | | | | | | | | | Simplify getting the accessible role when checking if an accessible implementation should present itself; this avoids going through GtkAccessible twice to get the same data.
| * | a11y: Remove weak ref from atspi.CacheEmmanuele Bassi2020-11-191-32/+7
| | | | | | | | | | | | | | | | | | | | | | | | The GtkAtSpiContext is responsible for removing itself from the root, which will remove itself from the cache. Any code path that leads to the GtkAtSpiContext instance being collected passes through the unrealization phase, which will also unregister the context from the accessibility bus and from the cache.
| * | a11y: Add a fallback for the root base pathEmmanuele Bassi2020-11-191-1/+3
| | | | | | | | | | | | | | | In case g_get_prgname() returns NULL, which seems to be the case for the GTK tests.
| * | a11y: Reuse the generated AT-SPI interface nameEmmanuele Bassi2020-11-191-2/+3
| | | | | | | | | | | | We already have the name available.
| * | a11y: Use the appropriate GVariant for cache signalsEmmanuele Bassi2020-11-191-2/+3
| | | | | | | | | | | | | | | We need to wrap the argument for AddAccessible and RemoveAccessible into a tuple, as that's what GDBus expects.
* | | Merge branch 'wip/chergert/gdk-macos-for-master' into 'master'Matthias Clasen2020-11-198-25/+28
|\ \ \ | | | | | | | | | | | | | | | | GTK4: various fixes See merge request GNOME/gtk!2864
| * | | gl: add some debugging information to DEBUG_OPSChristian Hergert2020-11-182-4/+16
| | | |
| * | | lpr: fix cast warningChristian Hergert2020-11-181-1/+1
| | | |
| * | | macos: fix various compiler warningsChristian Hergert2020-11-185-19/+10
| | | |
| * | | gl: use glFramebufferTexture2D to set framebuffer textureChristian Hergert2020-11-181-1/+1
| |/ / | | | | | | | | | | | | When mapping a texture to the framebuffer, we can use the 2D form instead of the cube mapping form.
* | | Merge branch 'wip/jimmac/industrial-style-menuitems' into 'master'Jakub Steiner2020-11-191-142/+152
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Adwaita: revert edge-to-edge menuitems Closes #3366 See merge request GNOME/gtk!2866
| * | Adwaita: revert edge-to-edge menuitemswip/jimmac/industrial-style-menuitemsJakub Steiner2020-11-191-142/+152
|/ / | | | | | | | | | | | | | | | | - use the old Industrial style menuitems to make the design feel purposeful - adjust corners to have compatible border-radii of child elements - include sidebars and navigation sidebars to look consistent (plus the assistant sidebar) Implements https://gitlab.gnome.org/GNOME/gtk/-/issues/3366
* | Merge branch 'wayland-minimize' into 'master'Matthias Clasen2020-11-181-8/+10
|\ \ | | | | | | | | | | | | | | | | | | wayland: Implement minimization Closes #2688 See merge request GNOME/gtk!2861
| * | wayland: Implement minimizationwayland-minimizeMatthias Clasen2020-11-171-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the set_minimized method of the xdg_toplevel interface to implement minimization as well as possible. It is not possible, since there is no corresponding state that we could use to update our surface state, but in practice, it works well enough. Fixes: #2688
* | | Merge branch 'constraint-editor-work' into 'master'Matthias Clasen2020-11-184-15/+50
|\ \ \ | | | | | | | | | | | | | | | | Constraint editor work See merge request GNOME/gtk!2863
| * | | constraint-editor: Fix creating constant constraintsconstraint-editor-workMatthias Clasen2020-11-173-7/+26
| | | | | | | | | | | | | | | | | | | | | | | | We were not making the button sensitive in the case of a constant constraint, and we were not properly creating constant constraints either.
| * | | constraint-editor: Fix saving of constraintsMatthias Clasen2020-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | g_file_replace_contents take a gsize, so passing -1 for string length does not work here.