Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | window: Drop size-allocate usagewip/oholy/drop-size-allocate | Ondrej Holy | 2022-01-07 | 1 | -10/+11 |
| | | | | | | The `size-allocate` signal is used to determine width of the sidebar, but it is no more availabe in GTK 4. Let's use `notifiy::position` on `GtkPaned` instead to get rid of the runtime warnings. | ||||
* | query-editor: HACK for search entry event forward | António Fernandes | 2022-01-05 | 1 | -1/+16 |
| | | | | We should build our own custom entry instead of doing this. | ||||
* | files-view: Drop arrow from background context menu | António Fernandes | 2022-01-05 | 1 | -0/+2 |
| | | | | It doesn't have an specific target to point to. | ||||
* | toolbar: visual refinements | António Fernandes | 2022-01-05 | 1 | -48/+49 |
| | |||||
* | Adw goodies | António Fernandes | 2022-01-05 | 3 | -77/+43 |
| | |||||
* | view-icon-item-ui: Use .caption style for captions | António Fernandes | 2022-01-05 | 1 | -3/+3 |
| | | | | Instead of .dim-label. | ||||
* | view-icon-item-ui: Use GtkPicture instead of GtkImage | António Fernandes | 2022-01-05 | 3 | -5/+5 |
| | | | | | | | | | GtkImage is simpler now, with only 2 available sizes. We need to use the new GtkPicture instead to restore the expected icon sizes. It can grow to fill the space available to fit the intrinsic size of the image. -gtk-icon-filter CSS extensions don't work on GtkPicture. Instead, use a filter to achieve a similar visual result. | ||||
* | properties-window: Set Image pixel size | António Fernandes | 2022-01-05 | 1 | -0/+6 |
| | | | | | GtkImage no longer sets an icon size on construction. Set a pixel size which matches the intrinsic size of the paintable. | ||||
* | css: Replace legacy color names | António Fernandes | 2022-01-05 | 1 | -25/+14 |
| | | | | With the actual colors they are now alias for. | ||||
* | css: Update custom styles for current stylesheet | António Fernandes | 2022-01-05 | 1 | -19/+19 |
| | |||||
* | view-icon-controller: Set .view style class | António Fernandes | 2022-01-05 | 1 | -0/+1 |
| | | | | | Removing redundant custom styles revealed we weren't adding this the class to this view, as we should. | ||||
* | css: Drop unused, redundant or obsolete styles | António Fernandes | 2022-01-05 | 1 | -35/+0 |
| | |||||
* | application: Unconditionally add custom styles | António Fernandes | 2022-01-05 | 1 | -38/+5 |
| | | | | | | | | | With libadwaita, the existing code wasn't loading the custom themes as it should. But thanks to libadwaita, we can make assumptions on the existing stylesheet. In the future we may want to unify our 2 css files and maybe adopt AdwApplication to have it load the custom styles automatically. | ||||
* | general: Drop parameter from GtkEntry::icon-* signals | António Fernandes | 2022-01-05 | 3 | -3/+0 |
| | | | | The signal signature changed and doesn't include a GdkEvent anymore. | ||||
* | general: Assorted leftovers changes -- IT BUILDS NOW | António Fernandes | 2022-01-05 | 16 | -24/+21 |
| | |||||
* | general: GdkPixbuf -> GdkPaintable/GdkTexture | António Fernandes | 2022-01-05 | 13 | -133/+133 |
| | | | | | | | | | | | Generally we should be able to use any paintable. Unfortunately GtkCellRendererPixbuf doesn't accept paintables other than textures. The other two usages of textures require a GIcon. We could create a GThemedIcon using GtkIconPaintable:icon-name, but to keep changes at a minimum short here, that's left for a later enhancement. | ||||
* | window: gtk_window_get_size() -> gtk_window_get_default_size() | António Fernandes | 2022-01-05 | 1 | -19/+1 |
| | | | | The new method ignores maximized and tiled size, which is convenient. | ||||
* | window: GtkWidget.delete_event() -> GtkWindow.close_request() | António Fernandes | 2022-01-05 | 1 | -4/+5 |
| | |||||
* | general: Replace GtkBindingSet with GtkShortcut | António Fernandes | 2022-01-05 | 3 | -20/+11 |
| | | | | As per porting guide. | ||||
* | search-popover: Adapt to GtkCalendar API changes | António Fernandes | 2022-01-05 | 1 | -16/+3 |
| | | | | GDateTime-centric now. | ||||
* | general: Adapt to gtk_show_uri* API changes | António Fernandes | 2022-01-05 | 2 | -9/+6 |
| | |||||
* | general: Drop GtkIconSize parameters | António Fernandes | 2022-01-05 | 7 | -29/+13 |
| | | | | As per migration guide. | ||||
* | -- WIP -- must focus | António Fernandes | 2022-01-05 | 4 | -18/+43 |
| | |||||
* | search-engine-recent: Adapt to GtkRecentInfo time getter changes | António Fernandes | 2022-01-05 | 1 | -10/+6 |
| | | | | They return an internal GDateTime pointer now, not a time_t. | ||||
* | general: Adapt to GtkDrawingArea API changes | António Fernandes | 2022-01-05 | 3 | -17/+27 |
| | | | | Now we set a function instead of listening to a signal. | ||||
* | general: GtkSpinner:active -> GtkSpinner:spinning | António Fernandes | 2022-01-05 | 2 | -2/+2 |
| | |||||
* | general: Replace child properties with GtkStackPage | António Fernandes | 2022-01-05 | 2 | -9/+9 |
| | |||||
* | general: Adapt to GtkFileChooser API changes | António Fernandes | 2022-01-05 | 2 | -8/+8 |
| | | | | The API is GFIle-only now, and as such always supports non-local URIs. | ||||
* | general: gtk_toggle_button_*() -> gtk_check_button_*() | António Fernandes | 2022-01-05 | 4 | -29/+29 |
| | | | | Check button is not a subclass of toggle button anymore. | ||||
* | monitors -- squash with later change | António Fernandes | 2022-01-05 | 1 | -1/+1 |
| | |||||
* | general: GdkScreen -> GdkDisplay | António Fernandes | 2022-01-05 | 2 | -5/+5 |
| | |||||
* | general: gtk_label_set_line_wrap -> gtk_label_set_wrap | António Fernandes | 2022-01-05 | 2 | -2/+2 |
| | |||||
* | general: GdkWindow -> GdkSurface | António Fernandes | 2022-01-05 | 3 | -23/+22 |
| | | | | | Also includes some backend-specific API changes which are more than simple substitution. | ||||
* | general: Adapt to coordinate parameter type changes | António Fernandes | 2022-01-05 | 2 | -12/+12 |
| | | | | Coordinates are generally doubles now. | ||||
* | general: Use new cursor API | António Fernandes | 2022-01-05 | 5 | -44/+17 |
| | | | | There is no need to go through GDK anymore. | ||||
* | general: gtk_widget_show_all() -> gtk_widget_show() | António Fernandes | 2022-01-05 | 20 | -29/+28 |
| | | | | | All widgets are visible by default. So, there is no need to make children visible. | ||||
* | general: Adapt to EventController API changes | António Fernandes | 2022-01-05 | 11 | -175/+109 |
| | | | | | We no longer have to keep a reference and manage their lifecycle, because gtk_widget_add_controller() takes ownership of the controller. | ||||
* | --- WIP --- Scroll-event for ZOOM | António Fernandes | 2022-01-05 | 1 | -57/+26 |
| | |||||
* | general: GtkWidget::get_toplevel() -> GtkWidget::get_root() | António Fernandes | 2022-01-05 | 10 | -25/+25 |
| | |||||
* | general: GtkGestureMultiPress -> GtkGestureClick | António Fernandes | 2022-01-05 | 6 | -84/+84 |
| | |||||
* | files-view: GtkOverlay:pass-through -> GtkWidget:can-target | António Fernandes | 2022-01-05 | 1 | -16/+6 |
| | | | | As per porting guide | ||||
* | general: Update API moved from GtkEntry to GtkEditable | António Fernandes | 2022-01-05 | 13 | -46/+46 |
| | |||||
* | general: Discard const qualifier for GdkEvent | António Fernandes | 2022-01-05 | 4 | -7/+7 |
| | | | | | The struct members are private now, so this is meaningless and the API no longer expects it. | ||||
* | general: gdk_event_get_state -> gdk_event_get_modifier_state | António Fernandes | 2022-01-05 | 3 | -5/+5 |
| | |||||
* | general: Update copy-pasted GTK code | António Fernandes | 2022-01-05 | 18 | -3197/+2225 |
| | | | | | | And update other code for the API changes. REGRESSION: Populating the sidebar context menu is disabled. | ||||
* | general: Use gtk_window_destroy() instead of gtk_widget_destroy() | António Fernandes | 2022-01-05 | 18 | -39/+39 |
| | |||||
* | general: Adapt to popover API changes | António Fernandes | 2022-01-05 | 8 | -34/+60 |
| | | | | | | | | GMenuModel-bound popovers become GtkPopoverMenu and have a parent instead of an attach widget. If the parent doesn't have built-in popover support (such as GtkMenuButton), then we must manage the popover lifecycle explicitly and call gtk_popover_present() when moving parent. | ||||
* | resources/ui: Update definitions for GTK4 | António Fernandes | 2022-01-05 | 24 | -1845/+1555 |
| | | | | | Manually curated from the output of 'gtk4-builder-tool simplify --3to4' and further streamlined and validated with 'gtk4-builder-tool validate'. | ||||
* | general: GtkWidget:can_focus -> GtkWidget:focusable | António Fernandes | 2022-01-05 | 10 | -53/+53 |
| | | | | | As per porting guide. GtkWidget:can-focus stil exists but has a different meaning now. | ||||
* | general: Port from libhandy to libadwaita | António Fernandes | 2022-01-05 | 23 | -79/+80 |
| | | | | | | libhandy is GTK 3-only. libadwaita is not only its functional successor, but also the new GNOME platform library, so it makes sense for a core GNOME app to depend on it for platform integration. |