summaryrefslogtreecommitdiff
path: root/gtk
Commit message (Collapse)AuthorAgeFilesLines
* GtkStyleContext: Remove property cacheTimm Bäder2017-07-193-43/+0
| | | | It was only used for widget style properties which don't exist anymore.
* statusbar: Inherit from GtkWidgetTimm Bäder2017-07-193-6/+52
|
* modelmenuitem: Care about GtkAccelLabel in get_textTimm Bäder2017-07-191-0/+2
|
* modelmenuitem: Update indicator visibility when has_indicator changesTimm Bäder2017-07-191-1/+2
|
* menushell: Hide model submenus by defaultTimm Bäder2017-07-191-0/+1
|
* GtkCheckMenuItem: Remove snapshot-indicator vfuncTimm Bäder2017-07-193-50/+2
| | | | | Let the widget snapshot all child widgets and control the visibility of those child widgets instead.
* label: Remove GtkEventBox mention from docsTimm Bäder2017-07-191-4/+1
| | | | | Packing the label inside a GtkEventBox is not necessary anymore for it to receive events.
* image: Remove irrelevant code sampleTimm Bäder2017-07-191-43/+0
| | | | | Both the description and the sample itself are obsolete or uninteresting now that all widgets can receive events.
* spinbutton: Fix css node docsTimm Bäder2017-07-191-12/+12
|
* treeview: Fix row drag icon offsetsTimm Bäder2017-07-191-2/+2
|
* treeviewcolumn: Remove input windowTimm Bäder2017-07-193-124/+64
|
* spinbutton: expand the entryTimm Bäder2017-07-191-0/+2
| | | | | It's supposed to fill the entire spinbutton allocation apart from the buttons
* Adwaita: Set minimum size for modelbutton arrowsTimm Bäder2017-07-193-2/+4
| | | | Otherwise the minimum size is 1×1.
* Fix a few testsuite failuresTimm Bäder2017-07-193-5/+5
| | | | Adjust default property values, skip GtkRange:adjustment.
* widget: Make _set_clip privateTimm Bäder2017-07-192-6/+2
| | | | | We don't need this anymore since clips are now reported in size-allocate.
* checkmenuitem: Don't always snapshot the indicatorTimm Bäder2017-07-191-2/+6
| | | | | Chaining up will snapshot all child widgets, which doesn't work with GtkModelMenuItem.
* applicationwindow: Remove some useless queue_resize callsTimm Bäder2017-07-191-4/+0
| | | | | The gtk_widget_{set_parent,unparent} calls before will already cause a resize when necessary.
* modelmenuitem: Set label on menu itemsTimm Bäder2017-07-194-5/+9
| | | | We have to add a check for GTK_IS_ACCEL_LABEL too now...
* widget: Remove queue_draw_region vfuncTimm Bäder2017-07-192-21/+3
| | | | Unused
* widget: Set :focus on focus childrenTimm Bäder2017-07-194-5/+16
|
* revealer: Explain CSS odditiesTimm Bäder2017-07-191-0/+3
|
* widget: Add baseline and out_clip parameters to size-allocateTimm Bäder2017-07-1978-901/+819
| | | | | | | | | | | Since setting a clip is mandatory for almost all widgets, we can as well change the size-allocate signature to include a out_clip parameter, just like GtkCssGadget did. And since we now always propagate baselines, we might as well pass that one on to size-allocate. This way we can also make sure to transform the clip returned from size-allocate to parent-coordinates, i.e. the same coordinate space priv->allocation is in.
* widget: Don't propagate size-allocate if only the position changedTimm Bäder2017-07-191-13/+10
| | | | We can do this now so we should
* widget: Fix priv dereference in size_allocate_with_baselineTimm Bäder2017-07-191-3/+1
| | | | | Accessing ->priv is only safe *after* the GTK_IS_WIDGET precondition, so use the get_instance_private function instead.
* widget: Fix a widget/container mixupTimm Bäder2017-07-191-1/+1
|
* window: Fix resizing with solid-csdTimm Bäder2017-07-191-4/+14
| | | | | We can't use a 20px resize handle in that case so fall back to the padding area of the window. Still ugly but it works.
* gtkapplication: g_dbus_proxy_new_sync can return NULLTimm Bäder2017-07-191-0/+3
| | | | Specifically, in the case where @error is set.
* window: Fix annotations in get_size and get_positionTimm Bäder2017-07-191-4/+4
|
* widget: Remove gtk_cairo_transform_to_windowTimm Bäder2017-07-191-74/+0
| | | | Useless in a world without windows and cairo.
* popover: Add a contents nodeTimm Bäder2017-07-196-197/+319
| | | | | | | | Remove the special case in gtkwidget.c where we didn't draw any css background/border for popovers. Instead, rely on themes to not style the popover node and add a contents gizmo that gets the actual css styling. We then requeste enough space for the popover to draw both the contents and the arrow on the side.
* widget: Draw css box after pushing a opacity nodeTimm Bäder2017-07-191-24/+25
|
* Fix a few documentation issuesTimm Bäder2017-07-198-17/+11
|
* widget: Move get_resize_needed to gtkwidget.cTimm Bäder2017-07-192-6/+6
| | | | It's only used in there so we don't need it in the private header.
* notebook: Allocate unmapped tabsTimm Bäder2017-07-191-4/+5
|
* fix a few documentation problemsTimm Bäder2017-07-193-3/+2
|
* centerbox: Add some missing return value annotationsTimm Bäder2017-07-191-3/+3
|
* box: Ignore baselines when verticalTimm Bäder2017-07-191-3/+7
| | | | For now.
* bbox: Don't report a horizontal baselineTimm Bäder2017-07-191-4/+7
|
* widget: Propagate correct baselineTimm Bäder2017-07-191-9/+10
|
* widget: Always pass on baselinesTimm Bäder2017-07-192-15/+2
|
* widget: Simplify snapshot_childTimm Bäder2017-07-191-4/+3
|
* entry: Fix baseline alignmentTimm Bäder2017-07-191-1/+1
| | | | | Since we only look at priv->text_baseline later on, it would be useful to actually set it to a useful value.
* widget: Draw debug nodes for widget margins tooTimm Bäder2017-07-191-4/+27
|
* widget: Fix copy&paste error when creating debug nodesTimm Bäder2017-07-191-1/+1
|
* sizerequest: Add more assertions for baselinesTimm Bäder2017-07-191-0/+12
| | | | | min baselines must be <= natural baselines and both must lie inside the content size of the widget.
* widget: Unset PRELIGHT and ACTIVE state flags in unmapTimm Bäder2017-07-191-0/+4
|
* button: Reset in_button state in unmapTimm Bäder2017-07-191-0/+8
| | | | Since at that point the point is clearly not in the button anymore.
* label: Fix get_layout_indexTimm Bäder2017-07-191-20/+5
| | | | | Properly translate the given coordinates to layout coordinates. Fixes clicking links and selecting text.
* textview: Invalidate entire widgetTimm Bäder2017-07-191-29/+12
|
* textview: Remove size_changed check in size-allocateTimm Bäder2017-07-191-13/+0
| | | | It's broken and we only hit size-allocate when the size changes anyway.