Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | GtkStyleContext: Remove property cache | Timm Bäder | 2017-07-19 | 3 | -43/+0 |
| | | | | It was only used for widget style properties which don't exist anymore. | ||||
* | statusbar: Inherit from GtkWidget | Timm Bäder | 2017-07-19 | 3 | -6/+52 |
| | |||||
* | modelmenuitem: Care about GtkAccelLabel in get_text | Timm Bäder | 2017-07-19 | 1 | -0/+2 |
| | |||||
* | modelmenuitem: Update indicator visibility when has_indicator changes | Timm Bäder | 2017-07-19 | 1 | -1/+2 |
| | |||||
* | menushell: Hide model submenus by default | Timm Bäder | 2017-07-19 | 1 | -0/+1 |
| | |||||
* | GtkCheckMenuItem: Remove snapshot-indicator vfunc | Timm Bäder | 2017-07-19 | 3 | -50/+2 |
| | | | | | Let the widget snapshot all child widgets and control the visibility of those child widgets instead. | ||||
* | label: Remove GtkEventBox mention from docs | Timm Bäder | 2017-07-19 | 1 | -4/+1 |
| | | | | | Packing the label inside a GtkEventBox is not necessary anymore for it to receive events. | ||||
* | image: Remove irrelevant code sample | Timm Bäder | 2017-07-19 | 1 | -43/+0 |
| | | | | | Both the description and the sample itself are obsolete or uninteresting now that all widgets can receive events. | ||||
* | spinbutton: Fix css node docs | Timm Bäder | 2017-07-19 | 1 | -12/+12 |
| | |||||
* | treeview: Fix row drag icon offsets | Timm Bäder | 2017-07-19 | 1 | -2/+2 |
| | |||||
* | treeviewcolumn: Remove input window | Timm Bäder | 2017-07-19 | 3 | -124/+64 |
| | |||||
* | spinbutton: expand the entry | Timm Bäder | 2017-07-19 | 1 | -0/+2 |
| | | | | | It's supposed to fill the entire spinbutton allocation apart from the buttons | ||||
* | Adwaita: Set minimum size for modelbutton arrows | Timm Bäder | 2017-07-19 | 3 | -2/+4 |
| | | | | Otherwise the minimum size is 1×1. | ||||
* | Fix a few testsuite failures | Timm Bäder | 2017-07-19 | 3 | -5/+5 |
| | | | | Adjust default property values, skip GtkRange:adjustment. | ||||
* | widget: Make _set_clip private | Timm Bäder | 2017-07-19 | 2 | -6/+2 |
| | | | | | We don't need this anymore since clips are now reported in size-allocate. | ||||
* | checkmenuitem: Don't always snapshot the indicator | Timm Bäder | 2017-07-19 | 1 | -2/+6 |
| | | | | | Chaining up will snapshot all child widgets, which doesn't work with GtkModelMenuItem. | ||||
* | applicationwindow: Remove some useless queue_resize calls | Timm Bäder | 2017-07-19 | 1 | -4/+0 |
| | | | | | The gtk_widget_{set_parent,unparent} calls before will already cause a resize when necessary. | ||||
* | modelmenuitem: Set label on menu items | Timm Bäder | 2017-07-19 | 4 | -5/+9 |
| | | | | We have to add a check for GTK_IS_ACCEL_LABEL too now... | ||||
* | widget: Remove queue_draw_region vfunc | Timm Bäder | 2017-07-19 | 2 | -21/+3 |
| | | | | Unused | ||||
* | widget: Set :focus on focus children | Timm Bäder | 2017-07-19 | 4 | -5/+16 |
| | |||||
* | revealer: Explain CSS oddities | Timm Bäder | 2017-07-19 | 1 | -0/+3 |
| | |||||
* | widget: Add baseline and out_clip parameters to size-allocate | Timm Bäder | 2017-07-19 | 78 | -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 changed | Timm Bäder | 2017-07-19 | 1 | -13/+10 |
| | | | | We can do this now so we should | ||||
* | widget: Fix priv dereference in size_allocate_with_baseline | Timm Bäder | 2017-07-19 | 1 | -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 mixup | Timm Bäder | 2017-07-19 | 1 | -1/+1 |
| | |||||
* | window: Fix resizing with solid-csd | Timm Bäder | 2017-07-19 | 1 | -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 NULL | Timm Bäder | 2017-07-19 | 1 | -0/+3 |
| | | | | Specifically, in the case where @error is set. | ||||
* | window: Fix annotations in get_size and get_position | Timm Bäder | 2017-07-19 | 1 | -4/+4 |
| | |||||
* | widget: Remove gtk_cairo_transform_to_window | Timm Bäder | 2017-07-19 | 1 | -74/+0 |
| | | | | Useless in a world without windows and cairo. | ||||
* | popover: Add a contents node | Timm Bäder | 2017-07-19 | 6 | -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 node | Timm Bäder | 2017-07-19 | 1 | -24/+25 |
| | |||||
* | Fix a few documentation issues | Timm Bäder | 2017-07-19 | 8 | -17/+11 |
| | |||||
* | widget: Move get_resize_needed to gtkwidget.c | Timm Bäder | 2017-07-19 | 2 | -6/+6 |
| | | | | It's only used in there so we don't need it in the private header. | ||||
* | notebook: Allocate unmapped tabs | Timm Bäder | 2017-07-19 | 1 | -4/+5 |
| | |||||
* | fix a few documentation problems | Timm Bäder | 2017-07-19 | 3 | -3/+2 |
| | |||||
* | centerbox: Add some missing return value annotations | Timm Bäder | 2017-07-19 | 1 | -3/+3 |
| | |||||
* | box: Ignore baselines when vertical | Timm Bäder | 2017-07-19 | 1 | -3/+7 |
| | | | | For now. | ||||
* | bbox: Don't report a horizontal baseline | Timm Bäder | 2017-07-19 | 1 | -4/+7 |
| | |||||
* | widget: Propagate correct baseline | Timm Bäder | 2017-07-19 | 1 | -9/+10 |
| | |||||
* | widget: Always pass on baselines | Timm Bäder | 2017-07-19 | 2 | -15/+2 |
| | |||||
* | widget: Simplify snapshot_child | Timm Bäder | 2017-07-19 | 1 | -4/+3 |
| | |||||
* | entry: Fix baseline alignment | Timm Bäder | 2017-07-19 | 1 | -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 too | Timm Bäder | 2017-07-19 | 1 | -4/+27 |
| | |||||
* | widget: Fix copy&paste error when creating debug nodes | Timm Bäder | 2017-07-19 | 1 | -1/+1 |
| | |||||
* | sizerequest: Add more assertions for baselines | Timm Bäder | 2017-07-19 | 1 | -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 unmap | Timm Bäder | 2017-07-19 | 1 | -0/+4 |
| | |||||
* | button: Reset in_button state in unmap | Timm Bäder | 2017-07-19 | 1 | -0/+8 |
| | | | | Since at that point the point is clearly not in the button anymore. | ||||
* | label: Fix get_layout_index | Timm Bäder | 2017-07-19 | 1 | -20/+5 |
| | | | | | Properly translate the given coordinates to layout coordinates. Fixes clicking links and selecting text. | ||||
* | textview: Invalidate entire widget | Timm Bäder | 2017-07-19 | 1 | -29/+12 |
| | |||||
* | textview: Remove size_changed check in size-allocate | Timm Bäder | 2017-07-19 | 1 | -13/+0 |
| | | | | It's broken and we only hit size-allocate when the size changes anyway. |