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
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
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
10b0672f9e
treewide: Remove GtkEventBox
...
https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-gtkeventbox
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:24 -07:00
Anton Lazarev
ee3abc009a
treewide: Replace libhandy with libadwaita
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:24 -07:00
Anton Lazarev
4ed1bba0b8
treewide: Subclass custom classes from GtkWidget
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-06 08:15:24 -07:00
Anton Lazarev
b26faf1b13
calls-new-call-box: compose with GtkBin instead of subclassing GtkBox
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-01 18:37:57 -07:00
Anton Lazarev
2141c1ffc2
in-app-notification: compose with GtkBin instead of subclassing GtkRevealer
...
Note that the GtkOverlay must pass-through interactions for this to
work, meaning it's no longer possible to interact with the
notifications. I'm leaving it like this since I'll need to replace it
with AdwToast later anyways.
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-01 18:37:57 -07:00
Anton Lazarev
f1e63c4979
history-box: compose with GtkBin instead of subclassing GtkStack
...
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714 >
2024-04-01 18:37:57 -07:00
Evangelos Ribeiro Tzaras
8173d4a9ee
new-call-box: Reindent
2022-10-13 13:24:19 +00:00
Evangelos Ribeiro Tzaras
8a16439cc8
new-call-box: Switch to using CuiDialpad
...
It has been in libcall-ui for some time, so let's use it.
This will also easy the transition to Gtk4 as it's one less widget we
have to worry about.
2022-10-13 13:24:19 +00:00
Guido Günther
c893a44f9f
main-window: Add translator comment to not translate the application name
2022-08-23 17:41:17 +00:00
Evangelos Ribeiro Tzaras
757351b39c
record-row: Add SMS action
...
Add a menu entry in the history popover to open the default "sms" URI
handler.
Closes : #182
2022-08-05 10:30:06 +02:00
Evangelos Ribeiro Tzaras
a6faac2940
history-box: Dynamically adjust slice list model size
...
The slice get's increased by 50 items if scrolled to the bottom
and reset to the initial 75 items if scrolled back to the top.
The defined threshholds make sure that the UX still feels smooth.
2022-07-27 16:29:39 +02:00
Evangelos Ribeiro Tzaras
c1be092dea
account-widgets: Make row activatable
...
This brings us closer to the intended design and let's us get rid of
some code.
2022-05-24 11:55:52 +00:00
Evangelos Ribeiro Tzaras
f102fb3fcd
account-widgets: Conform to style
...
Closes #396
2022-05-24 11:55:52 +00:00
Evangelos Ribeiro Tzaras
41479eea09
account-row: Use delayed state changes for GtkSwitch
...
When trying to go online/offline we're always waiting for confirmation
from the stack (even if it's a timeout) so the delayed pattern is a good choice.
2022-05-24 11:55:52 +00:00
Evangelos Ribeiro Tzaras
b00deccdcb
record-row: Use per protocol dial action
...
This allows us to deactivate actions if there is no origin that can handle them.
Closes #293
2022-01-31 17:08:38 +00:00
Evangelos Ribeiro Tzaras
827594dc2e
record-row: Add context menu entry for adding a new contact
...
Fixes #157
2022-01-18 02:12:37 +00:00
Evangelos Ribeiro Tzaras
cc8da717b1
account-overview: Reindent ui file
...
This was done to avoid the diff noise in the previous commit introducing
the in app notifications to the account overview.
2022-01-11 12:00:10 +00:00
Evangelos Ribeiro Tzaras
2a9791a9a3
account-overview: Show notification on account message
...
Accounts implement the CallsMessageSource interface and emit messages when
there are state changes of which the user should be informed.
Closes #340
2022-01-11 12:00:10 +00:00
Evangelos Ribeiro Tzaras
4df3ea005d
record-row: Only create popover when needed
...
Creating a popover for each CallsCallRecordRow comes with a big performance
hit when scrolling the history, so we should avoid doing this.
Fixes #198
2021-12-10 18:12:30 +01:00
Christopher Davis
50847dfe43
ui: Remove explicit can-focus
...
Glade misleads us into thinking we need these, but the
property is somewhat confusing in GTK3. In general we don't
want `can-focus` to be true for containers, as that will
break keynav for the children. For non-containers, the
defaults are appropriate.
Instead of manually setting `can-focus`, we should just
use the default values. GTK has sane defaults.
Fixes https://gitlab.gnome.org/GNOME/calls/-/issues/366
2021-12-04 14:40:08 -08:00
Christopher Davis
aaf87e5e89
new-call-box: Clamp everything
...
This prevents items from stretching out of bounds.
2021-11-30 19:37:28 +00:00
Christopher Davis
89dd2d6e8f
contacts-box: mimmic HdyStatusPage styling for contacts
2021-11-24 15:16:29 +00:00
Christopher Davis
409f6598d9
history-box: Use HdyStatusPage for empty state
...
We have a standard widget for empty states in HdyStatusPage.
This commit uses that instead of rolling our own.
2021-11-24 15:16:29 +00:00
Christopher Davis
48825b4ccd
Remove history-header-bar.ui
...
This is unused.
2021-11-24 13:41:10 +00:00
Christopher Davis
ddbf404af4
main-window: Remove unused placeholder text
...
This way translators aren't translating something that
will never be seen.
2021-11-24 13:41:10 +00:00
Evangelos Ribeiro Tzaras
dc96d892f5
Remove encryption indicator
...
Not used anymore since we switched to libcall-ui.
Should've been removed as a part of !425 .
2021-11-19 15:56:37 +01:00
Evangelos Ribeiro Tzaras
edd8560291
Remove CallsCallDisplay
2021-11-16 09:39:34 +01:00
Evangelos Ribeiro Tzaras
28516cda32
new-call-box: Clarify accessible name
2021-10-19 09:43:48 +02:00
Evangelos Ribeiro Tzaras
b36725c69b
selector-item: Name label does not need to be translatable
...
The code will set a name here, so the label as in the ui file will never be
shown in the running application.
Closes #338
2021-10-18 17:07:48 +02:00
Evangelos Ribeiro Tzaras
110dcdf4ad
record-row: Clarify "Call" for translators with a comment
...
Fixes #319
2021-10-07 21:29:45 +00:00
Evangelos Ribeiro Tzaras
fbb6316fee
record-row: Right justify time
...
Fixes #336
2021-09-28 08:04:12 +00:00