summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* listbox: Store child iter in a variable when removingcherry-pick-5596feaeGeorges Basile Stavracas Neto2018-08-161-3/+11
| | | | | | | | | | | | | | | | | Unparenting a GtkListBoxRow can drop its last reference, which will free its memory. Right after unparenting, though, we were accessing the row's iter - which assumes that the row is still alive. This causes a crash when, for example, binding two or more models to the listbox. Fix that by storing the iter in a variable, and not trying to access it after unparenting. After unparenting, the variables that are potentially garbage were explicitly assigned NULL for clarity. Fixes https://gitlab.gnome.org/GNOME/gtk/issues/1258 (cherry picked from commit 5596feae9b51563a33f1bffc6a370e6ba556adb7)
* Merge branch 'fix-shifted-scrolling-gtk3' into 'gtk-3-24'Matthias Clasen2018-08-151-4/+13
|\ | | | | | | | | gtkscrolledwindow: Consider shift key presses when decelerating [gtk3] See merge request GNOME/gtk!287
| * gtkscrolledwindow: Consider shift key presses when deceleratingSebastian Keller2018-08-041-4/+13
| | | | | | | | | | | | | | Otherwise horizontal scrolling using the shift key would decelerate vertically. Fixes https://gitlab.gnome.org/GNOME/gtk/issues/770
* | Merge branch 'wip/tooltip-move-to-rect' into 'gtk-3-24'Matthias Clasen2018-08-153-204/+93
|\ \ | | | | | | | | | | | | Make tooltips use gdk_window_move_to_rect() See merge request GNOME/gtk!293
| * | tooltip: Implement positioning using gdk_window_move_to_rect()Jonas Ådahl2018-08-102-201/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to make tooltip positioning portable, make use of the move_to_rect API. Some semantical changes are made, as identical semantics cannot be implemented using the move-to-rect API. Primarily the implemented semantics are: Position the tooltip in the center pixels slightly below (defaults to 4 units below) the tooltipped widget. This is always the case for keyboard driven tooltips; the case where it tries to avoid the pointer cursor is not implemented. For pointer position triggered tooltips, implement the following additional semantics: Use the current cursor size to determine the padding used to enlarge the anchor rectangle. This is to try to avoid the cursor overlapping the tooltip. If the anchor rectangle is too tall (meaning if we'd be constrained and flip on the Y axis, it'd flip too far away from the originally intended position), rely only on the pointer position to position the tooltip. The approximate pointer cursor rectangle is used as a anchor rectangle. Ideally we should use the actual pointer cursor rectangle (image used as well as hotspot coordinate), but we don't have API to get that information. If the anchor rectangle isn't to tall, just make sure the tooltip isn't too far away from the pointer position on the X axis. Closes: #134 Closes: #432 Closes: #574 Closes: #579 Closes: #878
| * | gdk/wayland: Always map windows 'moved-to-rect' as popupsJonas Ådahl2018-08-101-0/+5
| | | | | | | | | | | | | | | Only popups can make use of the move-to-rect semantics so it makes no sense to try anything other surface type.
| * | gdk/wayland: Don't remap non-subsurface as subsurfaceJonas Ådahl2018-08-101-3/+8
| | | | | | | | | | | | | | | | | | Let's just use the fact that a window was mapped as a subsurface to remap it above another transient parent instead of relying on the more complicated 'should-map-as-subsurface' helper function.
* | | Merge branch 'wip/carlosg/issue-844' into 'gtk-3-24'Jonas Ådahl2018-08-141-9/+29
|\ \ \ | | | | | | | | | | | | | | | | gdk/wayland: Avoid idempotent wl_subsurface.set_position calls See merge request GNOME/gtk!294
| * | | gdk/wayland: Avoid idempotent wl_subsurface.set_position callsCarlos Garnacho2018-08-141-9/+29
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | These may not result on wl_surface.frame callbacks, yet we do trigger a frame clock tick that would get stuck on the lack of such callback. https://bugzilla.gnome.org/show_bug.cgi?id=784314 https://gitlab.gnome.org/GNOME/gtk/issues/844 Closes: #844
* | | Updated French translationClaude Paroz2018-08-142-323/+379
| | |
* | | Update Turkish translationEmin Tufan Çetin2018-08-121-30/+31
| | |
* | | Update Turkish translationEmin Tufan Çetin2018-08-121-285/+238
| | |
* | | Update Turkish translationEmin Tufan Çetin2018-08-121-253/+310
| | |
* | | Update Chinese (Taiwan) translationYi-Jyun Pan2018-08-121-254/+302
| | |
* | | Update Polish translationPiotr Drąg2018-08-111-25/+30
| | |
* | | Updated Lithuanian translationAurimas Černius2018-08-111-49/+53
|/ /
* | Update French translationClaude Paroz2018-08-091-373/+1786
| |
* | Merge branch 'gtk-3-24-improve-error-message' into 'gtk-3-24'Matthias Clasen2018-08-081-1/+4
|\ \ | | | | | | | | | | | | gtkplacessidebar: Improve error message when unlocking volume fails See merge request GNOME/gtk!266
| * | gtkplacessidebar: Improve error message when unlocking volume failssegfault2018-07-231-1/+4
| | |
* | | Update Kazakh translationBaurzhan Muftakhidinov2018-08-061-389/+1866
| | |
* | | Update Polish translationPiotr Drąg2018-08-061-13/+13
| | |
* | | Merge branch 'gtk-3-24-fix-link-error' into 'gtk-3-24'Matthias Clasen2018-08-062-18/+16
|\ \ \ | | | | | | | | | | | | | | | | font chooser widget: Add missing build flags See merge request GNOME/gtk!290
| * | | font chooser widget: Add missing build flagsKouhei Sutou2018-08-062-18/+16
|/ / / | | | | | | | | | | | | | | | If we detect HarfBuzz and PangoFT2, GtkFontChooserWidget uses them. So we need to add CFLAGS and LIBS of them to GTK_DEP_CFLAGS/LIBS. If we don't add them, MinGW build fails to link.
* | | Updated Lithuanian translationAurimas Černius2018-08-052-340/+347
| | |
* | | Make color picker circularMatthias Clasen2018-08-051-0/+4
| | | | | | | | | | | | The need for center alignment was pointed out by Timm Baeder.
* | | color picker: Also try kwinMatthias Clasen2018-08-051-7/+8
| | | | | | | | | | | | use a kwin color picker when we run under kwin.
* | | Only use the portal color picker when appropriateMatthias Clasen2018-08-051-1/+5
| | | | | | | | | | | | This is just moving this check around.
* | | Add a kwin color pickerMatthias Clasen2018-08-053-0/+230
| | | | | | | | | | | | This uses the org.kde.kwin.ColorPicker interface.
* | | Update Polish translationPiotr Drąg2018-08-041-239/+245
| |/ |/|
* | container: Deprecate focus chainsBenjamin Otte2018-07-312-3/+12
| |
* | Deprecate show_all apisMatthias Clasen2018-07-312-4/+4
| | | | | | | | These functions are gone in GTK+ 4, so deprecate them here.
* | window: Fallback to CSD titlebar in focus-chain3.23.2Andrea Azzarone2018-07-311-0/+5
| | | | | | | | | | | | | | | | | | | | CSD titlebar are included in the focus-chain. The logic used makes sure that the initial focus avoids the titlebar, but tabbing around will eventually get there. This logic fails in case the window has no other focusable widgets apart from the ones in the header-bar. If this happens keynav focus will be lost. To handle the above scenario, we need to fallback to focus the header-bar (if any). Fixes: https://gitlab.gnome.org/GNOME/gnome-software/issues/404
* | Update a11y test resultsMatthias Clasen2018-07-311-0/+15
| | | | | | | | The color picker shows up here.
* | 3.23.2Matthias Clasen2018-07-302-1/+13
| |
* | color picker: Better debug spewMatthias Clasen2018-07-301-2/+11
| | | | | | | | This will help in debugging issues.
* | Add a color picker implementation for gnome-shellMatthias Clasen2018-07-304-1/+228
| | | | | | | | | | This adds a GtkColorPicker implementation that talks to gnome-shell to get a color.
* | Add a color picker implementation for portalsMatthias Clasen2018-07-304-1/+289
| | | | | | | | | | This adds a GtkColorPicker implementation that talks to the screnshot portal to get a color.
* | color editor: Add a color picker buttonMatthias Clasen2018-07-302-0/+63
| | | | | | | | | | The button is shown if we have a GtkColorPicker implementation. Currently, there are none, so the button is never shown.
* | Add a color picker interfaceMatthias Clasen2018-07-303-0/+124
| | | | | | | | This will be used in the color chooser, in subsequent commits.
* | Update POTFILES.inPiotr Drąg2018-07-301-0/+1
| |
* | Merge branch 'wl_text_input_clean' into 'gtk-3-24'Matthias Clasen2018-07-307-107/+1404
|\ \ | | | | | | | | | | | | Replace gtk_text_input with text_input_unstable_v3 support See merge request GNOME/gtk!272
| * | imwayland: Add text-input-unstable-v3 supportDorota Czaplejewicz2018-07-307-107/+1404
| | | | | | | | | | | | The wayland input module now represents text-input-unstable-v3 support, while the old module supporting gtk-text-input was renamed to gtkwayland.
* | | Merge branch 'issue1214-tooltips-win32' into 'gtk-3-24'Matthias Clasen2018-07-301-21/+17
|\ \ \ | | | | | | | | | | | | | | | | Gdk-Win32: Correct handling of transient state changes See merge request GNOME/gtk!248
| * | | Gdk-Win32: Correct handling of transient state changesLuca Bacci2018-07-271-21/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gdk_win32_window_set_transient_for() behaves incorrectly when called in sequence with the same arguments. This fix ensures it always operates correctly. In some cases this function gets called multiple times with the same arguments, e.g. when tooltips are shown. See issue #1214
* | | | Update Polish translationPiotr Drąg2018-07-291-42/+52
| | | |
* | | | UpdatesMatthias Clasen2018-07-291-0/+20
| | | |
* | | | Include Emoji category icons as resources tooMatthias Clasen2018-07-2941-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | These icons are very new in the Adwaita icon theme, so we can't rely on them being widely available, and will just include them for now.
* | | | Emoji chooser: Use icons for sectionsMatthias Clasen2018-07-292-18/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is more reliable than using text-style Emoji which may not be present. Based on work by Julian Sparber.
* | | | Updated Lithuanian translationAurimas Černius2018-07-281-380/+1887
| |/ / |/| |
* | | Merge branch 'wip/chergert/imwayland-leak' into 'gtk-3-24'Carlos Garnacho2018-07-281-1/+5
|\ \ \ | | | | | | | | | | | | | | | | imwayland: fix potential leak of attr list See merge request GNOME/gtk!277