Commit graph

500 commits

Author SHA1 Message Date
Marvin W e35df88d4a
Fix UI for libadwaita 2023-01-25 11:02:02 +01:00
Marvin W cc7db3b85f
Fix scaling image for GTK4 2023-01-24 19:21:25 +01:00
Marvin W 99d9cb383a
Small UI fixes for libAdwaita 2023-01-24 19:21:25 +01:00
fiaxh 6a182ba313
Only use Adw.AboutWindow for Adwaita >= 1.2 2023-01-24 19:21:25 +01:00
fiaxh 4b391f3f31
Use Adw.StatusPage instead of custom placeholders 2023-01-24 19:20:43 +01:00
fiaxh 92aca5672d
Improve libadwaita integration 2023-01-24 19:20:43 +01:00
Teemu Ikonen 0d7c8bb6e1
Change Gtk.Paned to Adw.Leaflet in MainWindow 2023-01-24 19:20:43 +01:00
Teemu Ikonen e934a76a11
Add back button to ConversationTitlebar
Add a bool 'back_button_visible' and a signal 'back_pressed' to the
ConversationTitlebar interface.

Also add implementations to both ConversationTitlebarNoCsd and
ConversationTitlebarCsd.
2023-01-24 19:20:43 +01:00
Teemu Ikonen 04acab82c9
Remove set_window_buttons() from MainWindow 2023-01-24 19:20:43 +01:00
Teemu Ikonen ba9462503c
Use Adw.HeaderBar for CSD header bars
This allows showing the correct buttons with 'show-start-title-buttons'
and 'show-end-title-buttons' properties when folding.
2023-01-24 19:20:42 +01:00
Teemu Ikonen 2741bf21ae
Convert main window layout to 2 vertical boxes
Use Adw.Window as main window widget, add the now missing HeaderBars to
MainWindowPlaceholder and MainWindow in the NoCSD case.
2023-01-24 19:20:42 +01:00
Teemu Ikonen 1ef42b47d2
Use Adw.Application, make about dialog an Adw.AboutWindow 2023-01-24 19:20:42 +01:00
fiaxh 7da79864b3 Fix pin setting switch displaying 2023-01-16 18:37:11 +01:00
fiaxh 05289e0b4d Fix reply cancelling
fixes #1340
2023-01-16 17:39:22 +01:00
fiaxh 73c0263f35 Add debug outputs to summarize_whitespaces_to_space and don't assert_not_reached
related #1335
2023-01-13 11:44:28 +01:00
fiaxh 860c72bfc9 Fix crash when removing jid from roster
fixes #1332
2023-01-11 19:54:17 +01:00
fiaxh 75500dc767 Support pinning of conversations (locally)
fixes #290
fixes #1330
2023-01-11 19:54:02 +01:00
fiaxh cb3b19b01d Support replies and reactions to files 2023-01-11 19:49:03 +01:00
fiaxh 60371331e0 Replies: Fix quoted message not being reset after sending
fixes #1334
2023-01-07 23:35:39 +01:00
fiaxh dc52e7595c Add support for XEP-0461 replies (with fallback) 2023-01-06 14:03:54 +01:00
fiaxh 4d7809bb12 Fix compiler warnings 2022-12-30 21:34:40 +01:00
Marvin W cdd22e404e
Fix build with Vala < 0.52
MenuButton.set_child was only added to VAPIs of 0.52 and later.
Even if GTK4 is new enough, they wouldn't be available.
2022-11-10 22:32:19 +01:00
fiaxh 7a19a25156 Clean up log outputs 2022-11-04 15:57:58 -06:00
fiaxh a45280f8df Reactions: Improve style 2022-10-11 18:55:33 +02:00
fiaxh 11b6e615b7 Don't require use of MenuButton.set_child introduced with GTK 4.6 2022-10-11 17:50:54 +02:00
fiaxh 80258a874d Add support for reactions 2022-10-11 13:37:48 +02:00
fiaxh 6c6e7e3aa7 Rewrite MAM logic and add MUC MAM 2022-10-10 21:55:15 +02:00
fiaxh 9c736af765 Fix regression with channel join button not getting sensitive
fixes #1284
2022-10-09 11:48:58 +02:00
fiaxh 7d8b08deca Small fixes 2022-10-09 11:48:58 +02:00
fiaxh 03878eee49 Add account dialog: Reenable Next-button activation on enter 2022-10-09 11:48:58 +02:00
fiaxh 85342ee2eb Fix drag and drop uploading 2022-10-09 11:48:58 +02:00
fiaxh 21ab48e09a Fix channel join button not getting sensitive 2022-10-03 19:14:45 +02:00
fiaxh 146af31524 Move icons out of scalable/ui/ since it's not allowed by icon naming spec 2022-09-18 20:30:24 +02:00
fiaxh 117f193812 Fix crashes and warning in Join Conference dialog
fixes #1262
2022-08-22 13:16:46 +02:00
fiaxh 14bc3d6717 Fix crash on call window closing 2022-08-22 13:16:46 +02:00
fiaxh 054d3fec16 Fix encryption button update and reduce its required GTK version
MenuButton.activate only exists since 4.4
2022-08-21 14:16:31 +02:00
Marvin W d6afa6e8ff
GTK4: Don't require use of MenuButton.set_child introduced with 4.6 2022-08-21 00:57:46 +02:00
fiaxh 6bfa70fc70 Disable tooltips for GTK 4.6.4 - 4.6.6
A bug in GTK caused the application to crash in some tooltip-related conditions
https://gitlab.gnome.org/GNOME/gtk/-/issues/4941
2022-08-20 21:09:42 +02:00
Marvin W e51b55432f Gtk4 bug fixes and improvements 2022-07-27 20:55:54 +02:00
fiaxh f44cbe02c1 Improve Gtk4 port 2022-07-27 20:34:20 +02:00
Marvin W 2b3ce5fc95 Video for GTK4 2022-07-27 20:34:20 +02:00
fiaxh 7e7dcedaf3 Port from GTK3 to GTK4 2022-07-27 20:34:20 +02:00
Xavi92 99c076254a
Inhibit idle and suspend during calls (#1233) 2022-05-11 11:12:30 +02:00
Marvin W 193bf38a79
Allow cancellation of file transfers 2022-03-30 10:36:52 -06:00
Marvin W 339d1d8f55
Fix Version handling, add function to retrieve short version without git commit 2022-03-30 10:36:07 -06:00
fiaxh 1309d7e2e4 Fix quote formating to not (partially) expect a space after > 2022-02-14 23:49:45 +01:00
fiaxh 9838d56794 Prepare for 0.3 release 2022-02-12 22:18:06 +01:00
Marvin W 6dca4f499e
Fix call participant widget 2022-02-12 20:51:31 +01:00
Marvin W 602834bdf7
Fix build on Debian 10 2022-02-12 19:16:16 +01:00
fiaxh 06f0bc00f1 Calls: Show invite button quicker 2022-02-12 17:35:46 +01:00