Guido Günther
b5af7f5e7d
calls-ringer: Don't restart when feedback got ended explicitly
...
If a user e.g. lowers the gobal feedback level we don't want to
retrigger the events.
Without this calls assumes events ended naturally and restarts the
ringing without any events. As that is never ended even subsequent calls
don't receive any ringing.
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/734 >
2024-06-23 12:02:59 +00:00
Anton Lazarev
2fa17c86d3
main-window: Use AdwBanner
for the permanent error label
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/732 >
2024-06-20 12:39:59 +00:00
Anton Lazarev
14362843c9
about: Switch to AdwAboutWindow
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/726 >
2024-05-22 11:24:33 -07:00
Anton Lazarev
36cd614310
treewide: Use gtk4.12, libadwaita 1.4
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/729 >
2024-05-21 20:27:49 -07:00
Anton Lazarev
72e3ae36ba
main-window: Change GtkDialog to GtkWindow
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/729 >
2024-05-21 20:27:48 -07:00
Anton Lazarev
b2f191eaec
treewide: Replace StyleContext with GtkWidget CSS operations
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/729 >
2024-05-21 20:27:48 -07:00
Anton Lazarev
e2fa92ff45
build: Use gtk4.10, libadwaita 1.3
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/729 >
2024-05-21 20:27:48 -07:00
Anton Lazarev
b2e3e8445d
calls-contacts-box: Migrate to GListModel
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:29 -07:00
Anton Lazarev
27e6b7a9db
treewide: Remove requires
glade-isms from ui definitions
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:29 -07:00
Anton Lazarev
7cf7fc02d6
build: Specify required GTK version
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:29 -07:00
Anton Lazarev
933655e8e0
new-call-box: Expand to fill horizontal width
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:28 -07:00
Anton Lazarev
51e74ef595
treewide: Ensure memory is not disposed multiple times
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:28 -07:00
Anton Lazarev
8a464224a3
contacts-box: Use AdwToolbarView
with search as top bar
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:28 -07:00
Anton Lazarev
9fb5a11c69
contacts-box: Use AdwStatusPage
for the placeholder
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:28 -07:00
Anton Lazarev
a3a193b77f
main-window: Replace AdwViewSwitcherTitle
...
https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/migrating-to-breakpoints.html#replace-adwviewswitchertitle
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:28 -07:00
Anton Lazarev
001d599495
treewide: Parent from AdwBin
where possible
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:28 -07:00
Anton Lazarev
4fc1374fe8
call-window: Remove superfluous GtkViewport
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:28 -07:00
Anton Lazarev
52b4aa7769
call-record-row: Fix layout
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:28 -07:00
Anton Lazarev
eef5b33ad4
call-record-row: Improve event handling
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:28 -07:00
Anton Lazarev
caecf10cc1
treewide: Remove visible=True
on adwaita widgets
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:28 -07:00
Anton Lazarev
8ea553bd0c
call-selector-item: Remove misc unavailable properties
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:28 -07:00
Anton Lazarev
e550d31b60
calls-main-window: Widgets are visible by default
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:28 -07:00
Anton Lazarev
afc01b1146
calls-application: subclass AdwApplication
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:28 -07:00
Anton Lazarev
b7789a59d1
main-window: Set menu-model
directly on the GtkMenuButton
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:28 -07:00
Anton Lazarev
543a55d741
contacts-box: Use title-1
instead of large-title
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:28 -07:00
Anton Lazarev
fb93535806
treewide: Use GtkButton:icon-name
instead of manual GtkImage
child
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:27 -07:00
Anton Lazarev
58779b57a3
treewide: image-button style class is automatically handled by GTK
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:27 -07:00
Anton Lazarev
87d357729c
call-window: receives_default is already true for buttons
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:27 -07:00
Anton Lazarev
229bf6f722
treewide: Remove unused placeholder elements
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:27 -07:00
Anton Lazarev
c9dc3ceffd
treewide: Replace "content" style class with "boxed-list"
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:27 -07:00
Anton Lazarev
b83339980b
treewide: Use AdwToolbarView for all windows with header bars
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:27 -07:00
Anton Lazarev
76697050e8
calls-in-app-notification: migrate to AdwToastOverlay
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:27 -07:00
Anton Lazarev
915b855ec8
call-record-row: Accessible role changes
...
AtkObject has been removed
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:27 -07:00
Anton Lazarev
861ea19a62
calls-account-overview: Use content
property for AdwWindow
...
https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/migrating-libhandy-1-4-to-libadwaita.html#adapt-to-gtkcontainer-removal
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:27 -07:00
Anton Lazarev
a2cb767bdc
history-box: expand to fill available horizontal space
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:27 -07:00
Anton Lazarev
2ee3f347ce
main-window: Use menu model for app menu popover
...
https://docs.gtk.org/gtk4/migrating-3to4.html#gtkmenu-gtkmenubar-and-gtkmenuitem-are-gone
Unclear why the invisible entries for `Keyboard shortcuts` and `Help`
are there. I've left them ported but commented out for now.
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:27 -07:00
Anton Lazarev
b32faf39f8
main-window: Replace vbox internal-child with content_area
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:27 -07:00
Anton Lazarev
732388303a
main-window: Stop setting ::has-default
...
https://docs.gtk.org/gtk4/migrating-3to4.html#stop-setting-has-default-and-has-focus-in-ui-files
Oddly, there were previously 2 different default widgets? I just chose
the first one.
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:27 -07:00
Anton Lazarev
8b57a05836
call-window: Remove no-show-all property
...
https://docs.gtk.org/gtk4/migrating-3to4.html#widgets-are-now-visible-by-default
Not sure why it was there in the first place; it was never unset.
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:27 -07:00
Anton Lazarev
36f19d5e9f
treewide: Remove GtkWindow::hide-titlebar-when-maximized
...
92b0d2e8ea
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:26 -07:00
Anton Lazarev
a21b2b7d4a
treewide: Replace gtk_widget_hide_on_delete with hide-on-close property
...
The `delete-event` signal was removed in GTK4.
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:26 -07:00
Anton Lazarev
ef0b5a9ff8
treewide: Adapt to GtkHeaderBar
API changes
...
https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-gtkheaderbar-and-gtkactionbar-api-changes
- `show-close-button` replaced with `show_title_buttons` wherever
applicable, respecting new default value of `TRUE`
- `title` removed and managed by setting window title if needed
- NOTE: I'm not 100% sure if the title logic here matches the GTK3
version. I also just removed the SIP account widget titles
altogether, since it's I couldn't figure out where the widget gets
placed.
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:26 -07:00
Anton Lazarev
a236339809
new-call-box: Stop using GtkButton
's image-related API
...
https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-gtkbuttons-image-related-api
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:26 -07:00
Anton Lazarev
7c89bbab3d
treewide: remove <packing>
from Adwaita widgets
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:26 -07:00
Anton Lazarev
a656776b19
treewide: Dispose and layout manager implementations
...
https://docs.gtk.org/gtk4/migrating-3to4.html#adapt-to-gtkcontainer-removal
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:26 -07:00
Anton Lazarev
e2a5f04fa0
stylesheet: Don't use -gtk-outline-...-radius
...
https://docs.gtk.org/gtk4/migrating-3to4.html#dont-use-gtk-outline-radius-in-your-css
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:26 -07:00
Anton Lazarev
1b567131b7
main-window: Adapt to View Switcher API Changes
...
https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/migrating-libhandy-1-4-to-libadwaita.html#adapt-to-view-switcher-api-changes
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:26 -07:00
Anton Lazarev
b73016ac8c
main-window: Stop using GtkContainer::border-width
...
https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-gtkcontainerborder-width
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:26 -07:00
Anton Lazarev
fd9378267d
ui: gtk4-builder-tool simplify --3to4 --replace *.ui
...
plus some manual tweaks to restore True/False instead of 1/0
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:26 -07:00
Anton Lazarev
8aea5498d7
calls-record-store: GtkApplicationWindow is not a GListModel
...
I'm not sure how this worked in GTK3, but it doesn't anymore. The list
model is now composed with the record store instead of inherited.
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:26 -07:00