summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gtkfilechooserwidget: Forward events to filechooser through key controllerCarlos Garnacho2018-06-211-10/+12
| | | | | Instead of manually calling gtk_binding_set_activate_event() on an ::event callback in the save entry.
* gtkfilechoooserentry: Handle tab completion through key controllerCarlos Garnacho2018-06-211-26/+24
|
* gtkemojicompletion: Use GtkEntry key controller to handle key pressesCarlos Garnacho2018-06-211-14/+16
|
* gtkentrycompletion: Properly remove controller from entryCarlos Garnacho2018-06-211-1/+5
| | | | | When disconnecting the GtkEntry from the GtkEntryCompletion, we must remove the controller in order to avoid dangling callbacks.
* gtkentrycompletion: Move focus out handling to key controllerCarlos Garnacho2018-06-211-17/+3
| | | | We can use the already present key controller to handle focus out.
* gtkentrycompletion: Perform event handling on popup through controllersCarlos Garnacho2018-06-211-37/+27
| | | | Instead of a ::event signal handler.
* gtkplacessidebar: Replace ::event signal handlers with gesturesCarlos Garnacho2018-06-211-85/+113
| | | | | | Set up a gesture on the sidebar rows to detect pointer clicks on it. The row DnD management has been moved to the row widget itself, it makes more sense even if the drag is began from the sidebar widget.
* gtkwindow: Move map/delete/configure event management to gtkmainCarlos Garnacho2018-06-213-60/+43
| | | | | | Toplevels are about the only widgets interested in these events, just handle those without going through the capture/bubble handling code.
* gtkwindow: Simplify WM drag/resize handlingCarlos Garnacho2018-06-213-118/+42
| | | | | | | We still need a drag gesture both on front (capture) and back (bubble) to handle dragging from both the GtkWindow widget and chrome in the headerbar. But we can do it through 2 drag gestures, instead of special event handling code.
* gtkmenushell: Port to GtkGestureCarlos Garnacho2018-06-211-157/+199
| | | | | We still need to poke the current event at places, but this is better than the ::event vfunc.
* gtkpopover: Fix key navigationCarlos Garnacho2018-06-211-1/+7
| | | | | | | | | | | This has been broken since we switched key event delivery to follow the same semantics than pointer/touch. There, GTK+ grabs will influence the topmost widget during event delivery, rendering the toplevel unable to handle key navigation. The toplevel must handle those key events in an explicit manner then. We don't render the keyboard focus rectangle yet, but I assume that's something else.
* gtkpopover: Port to GtkEventController/GtkGestureCarlos Garnacho2018-06-211-63/+83
| | | | | Use GtkEventControllerKey and GtkGestureMultiPress to replace key/button event handling.
* gtkwindow: Handle focus in/out through key controllerCarlos Garnacho2018-06-211-13/+10
| | | | | One less use of ::event in this widget, now mostly left to map/delete/configure, those puny events.
* gtkspinbutton: Use GtkEventControllerKeyCarlos Garnacho2018-06-211-35/+30
| | | | And drop the ::event vfunc implementation with it.
* gtkfontchooser: Use GtkEventControllerKeyCarlos Garnacho2018-06-214-28/+18
| | | | | | | Use an event controller on GtkFontChooserDialog, a nice side effect is that we can use gtk_event_controller_key_forward() and gtk_search_entry_set_key_capture_widget() instead of passing events around for dialog search.
* gtkfilechooserwidget: Drop usage of ::event vmethodCarlos Garnacho2018-06-212-19/+22
| | | | Use a key controller set up in the UI file instead.
* gtkfilechooserentry: Use GtkEntry key controller for focus-out handlingCarlos Garnacho2018-06-213-25/+21
| | | | | Expose the GtkEntry key controller in private API, so we don't have to create yet another one just to handle focus-out.
* gtkentry: Use gestures for entry iconsCarlos Garnacho2018-06-217-173/+110
| | | | | | | | | | Instead of doing all handling manually in the ::event vfunc, set up drag/multipress gestures on icon images, and implement emission of ::icon-press/release and DnD there. As a side effect, the GdkEvent field in ::icon-press/release signals has been dropped. Callers that might be interested on it may still use gtk_get_current_event*().
* gtkbutton: remove keyboard device GTK+ grabCarlos Garnacho2018-06-211-21/+1
| | | | | | This isn't really necessary, if keyboard focus forcibly goes somewhere else we will get ::grab-notify, which is sufficient to deactivate the button again.
* gtkbutton: Use key controller for button (de)activation through keybindingsCarlos Garnacho2018-06-211-23/+32
| | | | And stop using GtkWidget::event for good.
* x11: Fix dnd action handlingMatthias Clasen2018-06-201-2/+2
| | | | We were mistakenly assigning an Atom to a flags value.
* EmojiCompletion: Avoid another un/signed warningDaniel Boles2018-06-201-1/+1
| | | | The cherry-pick missed this, I guess.
* EmojiCompletion: Avoid un/signed compare warningsDaniel Boles2018-06-201-3/+3
| | | | | (A) Use gsize to match the result of g_variant_n_children (B) Use guint for n_matches, like the struct (and all other n_matches)
* themes: Remove leftover bit of .linked workaroundDaniel Boles2018-06-206-30/+16
| | | | | Now that .linked acts like the .path-bar already did, there is no point in applying the same styles again (with higher specificity).
* container: Remove SPECIAL_CONTAINER hackTimm Bäder2018-06-201-18/+0
| | | | | | As discussed in !129 Closes !129
* stackswitcher: Remove icon-size propertyTimm Bäder2018-06-201-52/+2
| | | | This ought to be controlled via css these days.
* infobar: Remove priv pointerTimm Bäder2018-06-202-29/+37
|
* Remove some unnecessary snapshot implementationsTimm Bäder2018-06-206-70/+1
|
* fixed: Remove priv pointerTimm Bäder2018-06-202-17/+11
|
* listbox: Use widget insert API instead of fiddling with CSS nodesTimm Bäder2018-06-201-23/+5
|
* button: Remove ICON_SIZE_BUTTON mention in docsTimm Bäder2018-06-201-3/+3
| | | | | The icon will have the size given by css, not whatever GTK_ICON_SIZE_BUTTON was.
* adjustment: Only emit ::changed from dispatch_properties_changedTimm Bäder2018-06-201-40/+7
|
* adjustment: Remove adjustment_changed_stampTimm Bäder2018-06-201-12/+31
|
* testsuite: Print tested property name in notify testTimm Bäder2018-06-201-0/+2
|
* adjustment: Use public setters in set_propertyTimm Bäder2018-06-201-11/+25
|
* themes: Regenerate CSS for recent commitsDaniel Boles2018-06-204-26/+30
| | | | e.g. the box.linked one, which didn't update the compiled CSS.
* HC: Avoid excessive selectors from prev commitDaniel Boles2018-06-201-3/+3
| | | | | The new rule does not need to affect all those other pseudoclasses. I just put it in the wrong scope.
* HC: Avoid same BG/FG colors in flat treeview entryDaniel Boles2018-06-203-2/+7
| | | | | | | | | | | | Selected rows in tree views in HighContrast have a background colour the same or nearly as the normal text colour, so we cannot let entries in such rows have transparent backgrounds, or the text inside the entry becomes nearly or totally impossible to see. Dodge this by giving entry.flat inside treeview and with :focus the $base_color, which is different from the text & so lets that be seen. https://gitlab.gnome.org/GNOME/gtk/merge_requests/125
* searchenginetracker: Don't leak the hits' GFilesDaniel Boles2018-06-201-0/+4
| | | | https://gitlab.gnome.org/GNOME/gtk/merge_requests/206
* Merge branch 'issue1084' into 'master'Matthias Clasen2018-06-209-31/+128
|\ | | | | | | | | | | | | application: Complete the startup sequence before quitting remote instances Closes #979 See merge request GNOME/gtk!156
| * Merge branch 'master' into 'issue1084'Matthias Clasen2018-06-20243-14656/+12903
| |\ | |/ |/| | | # Conflicts: # gdk/gdk.c
* | window: Remove priv pointerTimm Bäder2018-06-202-294/+316
| |
* | pathbar: Remove unused defineTimm Bäder2018-06-201-3/+0
| |
* | docs: Remove a duplicate line in gdk4-sections.txtMatthias Clasen2018-06-191-1/+0
| | | | | | | | This was causing another docs build break.
* | docs: fix a typoMatthias Clasen2018-06-191-1/+1
| | | | | | | | Invalid syntax in gdk4-sections.txt was causing docs builds to fail.
* | Merge branch '1160-crash-clearing-gtkentry-icon-tooltip-master' into 'master'Daniel Boles2018-06-191-1/+1
|\ \ | | | | | | | | | | | | | | | | | | Resolve "Crash clearing GtkEntry icon tooltip" Closes #1160 See merge request GNOME/gtk!205
| * | a11y/entry: Fix copy-pasteo re 2ndary icon tooltip1160-crash-clearing-gtkentry-icon-tooltip-masterDaniel Boles2018-06-191-1/+1
| | | | | | | | | | | | | | | | | | | | | The else case was wrongly resetting the accessible description on the primary icon, which might not exist and can therefore cause a crash. https://gitlab.gnome.org/GNOME/gtk/issues/1160
* | | win32: Fix typoBenjamin Otte2018-06-191-1/+1
| | | | | | | | | | | | This should fix gtk-doc erroring out.
* | | Revert "Add aligned allocator functions to GSK"Benjamin Otte2018-06-194-152/+2
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 8e74eb382f0c617b7b65a6850952d6acc9fd3018. This code is not necessary. It worked around a bug in graphene where graphene was requiring stricter alignment than glib allocators could guarantee.
* | | Revert "Use aligned allocators for GtkSnapshot"Benjamin Otte2018-06-193-151/+12
| | | | | | | | | | | | | | | | | | | | | This reverts commit c02bc22cc575470aab870599f2781c3781fb75e6. This code is not necessary. The bug causing this problem ws prsent in the graphene library.