summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* macos: Use shadow size from GdkToplevelSizeresizing-fixesMatthias Clasen2020-08-121-2/+4
|
* broadway: Use shadow size from GtkToplevelSizeMatthias Clasen2020-08-121-2/+4
|
* win32: Use shadow size from GdkToplevelSizeMatthias Clasen2020-08-121-2/+3
|
* x11: Use shadow size from GdkToplevelSizeMatthias Clasen2020-08-121-2/+3
|
* window: Set shadow size in ::compute-sizeMatthias Clasen2020-08-121-0/+5
| | | | This is the new way of communicating shadow size.
* wayland: Use shadow size from GdkToplevelSizeMatthias Clasen2020-08-121-2/+5
|
* toplevelsize: Add shadow sizeMatthias Clasen2020-08-123-0/+39
| | | | | | Setting the shadow together with the size makes sense, since the shadow is needed to make sense of the size.
* Revert "gridview: Work around unexpected focus changes"Matthias Clasen2020-08-081-1/+0
| | | | This reverts commit c13d70479bfa223d44c21c16cf8a071e85d8e726.
* window: Allocate on mapMatthias Clasen2020-08-081-0/+1
| | | | | | | | We normally wait for the surface ::size-changed signal, but then we only queue a resize, which is not sufficient on map - we need to have an allocation by the time start moving focus around in show. So, call check_resize() right away.
* window: Some more renamingMatthias Clasen2020-08-081-21/+19
| | | | | | Rename gtk_window_compute_configure_request to gtk_window_compute_size and hints_changed to min_size_changed.
* window: Get rid of GdkGeometry usesMatthias Clasen2020-08-081-152/+58
| | | | Instead, store a min size in the Private struct.
* window: Some renamingMatthias Clasen2020-08-081-256/+33
| | | | | | | Rename gtk_window_move_resize to gtk_window_do_resize (no moving involved anymore), rename configure_notify_received to need_resize and replace gtk_window_guess_default_size by gtk_window_compute_default_size.
* window: Fix some issues in ::compute-sizeMatthias Clasen2020-08-081-19/+13
| | | | | | gtk_window_compute_default_size was unsetting need_default_size, before we were checking that flag in toplevel_compute_size.
* window: Drop some dead codeMatthias Clasen2020-08-081-3/+0
| | | | We always set a min size
* window: Stop using gdk_surface_constrain_sizeMatthias Clasen2020-08-081-4/+12
|
* window: Drop an unused argumentMatthias Clasen2020-08-081-5/+1
|
* window: Move the last size into the Private structMatthias Clasen2020-08-081-22/+21
|
* window: Move resize size into the Private structMatthias Clasen2020-08-081-33/+26
| | | | Another step towards getting rid of GdkGeometry here.
* window: Move default size into the Private structMatthias Clasen2020-08-081-92/+79
| | | | | This is a step towards getting rid of GdkGeometry use here.
* window: Move icon info into the Private structMatthias Clasen2020-08-081-88/+37
| | | | No need to use object data for this.
* window: Stop handling positionsMatthias Clasen2020-08-081-81/+2
| | | | We don't do positions anymore, time to stop trying.
* window: Stop counting ConfigureRequestsMatthias Clasen2020-08-081-25/+0
| | | | | | Stop counting configure reuqests and stop freezing the surface ourselves. The backend should do that if it wants to.
* wayland: bypass events for ::size-changedMatthias Clasen2020-08-081-9/+4
| | | | | This is a step towards getting rid of configure events altogether.
* wayland: Don't emit premature configure eventsMatthias Clasen2020-08-081-18/+20
| | | | | | | | | | | We should not emit configure events before we are realized - size changes at this point are not relevant. This gets rid of a mysterious emission of GdkSurface::size-changed (52, 52), that is happening when GtkWindow sets the shadow_width before the window is mapped.
* bookmarksmanager: Load bookmarks initiallyMatthias Clasen2020-08-081-0/+3
| | | | This was broken in 1e6171a4a700b0c16b2f.
* gtk-demo: Improve an error messageMatthias Clasen2020-08-081-4/+11
| | | | Be more helpful when we can't do syntax highlighting.
* Merge branch 'patch-1' into 'master'Matthias Clasen2020-08-081-5/+5
|\ | | | | | | | | Correct typos in gtktextbtree.c See merge request GNOME/gtk!2413
| * Correct typos in gtktextbtree.cFelix Yan2020-08-081-5/+5
| |
* | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2020-08-086-12/+20
|\ \ | | | | | | | | | | | | | | | | | | Matthiasc/for master Closes #3047, #3034, #3038, and #3036 See merge request GNOME/gtk!2416
| * | bookmarksmanager: Ignore delete eventsMatthias Clasen2020-08-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Surpisingly, when a monitored file gets atomically replaced with g_file_set_contents(), the file monitor reports a DELETED event for the temp file, which is not the file I'm monitoring. Just ignore DELETED events. Fixes: #3036
| * | x11: Fix getting the primary monitorMatthias Clasen2020-08-081-5/+4
| | | | | | | | | | | | | | | | | | Actually return the primary monitor. Fixes: #3038
| * | label: Disable unavailable actionsMatthias Clasen2020-08-081-0/+3
| | | | | | | | | | | | Fixes: #3034
| * | printeditor: Create the dialog every timeMatthias Clasen2020-08-081-2/+6
| | | | | | | | | | | | | | | Trying to work around gtk_show_about_dialog() is not worth it, just recreate the dialog from scratch.
| * | widgetfactory: Create the dialog every timeMatthias Clasen2020-08-081-2/+6
| | | | | | | | | | | | | | | | | | | | | Trying to work around gtk_show_about_dialog() is not worth it, just recreate the dialog from scratch. Fixes: #3047
| * | about dialog: remove unnecessary guardsMatthias Clasen2020-08-081-2/+0
| | | | | | | | | | | | | | | We decided to undeprecate gtk_window_present, so no deprecation guards needed.
* | | Merge branch 'scroll-to-cursor' into 'master'Matthias Clasen2020-08-081-16/+12
|\ \ \ | |/ / |/| | | | | | | | | | | | | | Scroll to cursor after canceling a selection Closes #2960 See merge request GNOME/gtk!2321
| * | Scroll to cursor after canceling a selectionneyfag2020-07-301-16/+12
| | |
* | | Merge branch 'surface-size' into 'master'Matthias Clasen2020-08-082-20/+55
|\ \ \ | | | | | | | | | | | | | | | | Surface size See merge request GNOME/gtk!2415
| * | | surface: Add width and height propertiesMatthias Clasen2020-08-081-0/+27
| | | |
| * | | gdk: Move the ::popup-layout-changed signalMatthias Clasen2020-08-082-20/+28
| | | | | | | | | | | | | | | | | | | | Move this signal from GdkSurface to GtkPopup, where it belongs.
* | | | Merge branch 'wip/smcv/cloudprint-redundant-decls' into 'master'Emmanuele Bassi2020-08-081-2/+0
|\ \ \ \ | |/ / / |/| | | | | | | | | | | cloudprint: Fix redundant declarations See merge request GNOME/gtk!2414
| * | | cloudprint: Fix redundant declarationsSimon McVittie2020-08-081-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | G_DEFINE_DYNAMIC_TYPE declares these functions as static, and -Werror=redundant-decls won't let us redeclare them. This is the equivalent of 72c72d0b, but for a different backend. Signed-off-by: Simon McVittie <smcv@debian.org>
* | | | Update POTFILES.in and POTFILES.skipPiotr Drąg2020-08-084-2/+2
| |_|/ |/| |
* | | Merge branch 'activatable-colorswatch-style' into 'master'Matthias Clasen2020-08-082-13/+14
|\ \ \ | | | | | | | | | | | | | | | | Adwaita: Limit color swatch's hover effect to .activatable See merge request GNOME/gtk!2411
| * | | colorbutton: Remove .activatable style class from the color swatchnana-42020-08-081-0/+1
| | | | | | | | | | | | | | | | The button itself is activatable, but its color swatch is not.
| * | | Adwaita: Limit color swatch's hover effect to .activatablenana-42020-08-081-13/+13
| | | | | | | | | | | | | | | | Non-activatable color swatches shouldn't have the interactive effect.
* | | | Merge branch 'wip/chergert/popover-offset' into 'master'Matthias Clasen2020-08-083-0/+70
|\ \ \ \ | |/ / / |/| | | | | | | | | | | popover: allow setting popup layout offset See merge request GNOME/gtk!2412
| * | | popover: allow setting popup layout offsetChristian Hergert2020-08-073-0/+70
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently there is no way to alter the offset of the popup when positioning with GdkPopupLayout. This makes using the popup difficult for scenarios like completion windows where you may need to offset the window by a given amount for aligning text. gtk_popover_set_offset() allows setting these values and are analagous to the function of the same name for GdkPopupLayout.
* | | Update Greek translationEfstathios Iosifidis2020-08-071-54/+53
| | |
* | | Merge branch 'leak-fixes' into 'master'Matthias Clasen2020-08-074-9/+8
|\ \ \ | | | | | | | | | | | | | | | | Leak fixes See merge request GNOME/gtk!2406