Commit graph

17 commits

Author SHA1 Message Date
Igor Sharonov e6b8ff34ed Support dark theme switch in settings 2024-04-24 16:13:37 +03:00
Xavier Del Campo Romero f2096694c6 Add send button / Enter key settings
Two new switches have been added to the application preferences:

- Enable send button
- Use Enter to insert newline ('\n')

The latter cannot be active or sensitive if the former is not active.
Otherwise, users would not be able to send messages.

Thanks to horazont for suggesting a separate switch for the behaviour
of the Enter key.
2024-03-29 16:58:50 +03:00
Maxim Logaev 3e352b5a94 Use default encryption only for 1-on-1 chats
Signed-off-by: Maxim Logaev <maxlogaev@proton.me>
2024-03-26 19:59:29 +03:00
Xavier Del Campo Romero d3a2e52285 Setup default encryption settings 2024-03-26 11:22:56 +03:00
fiaxh 9bf304095c Remove spell check setting
As there is currently no spell check support for GTK4
2023-02-09 12:35:50 +01:00
Christopher Davis b19986a685 settings_dialog: Use AdwPreferencesWindow and AdwActionRow
AdwPreferencesWindow contains a nice API for preferences
windows, and AdwActionRow is the widget to use for rows
of preferences.
2023-02-09 11:36:33 +01:00
fiaxh 7e7dcedaf3 Port from GTK3 to GTK4 2022-07-27 20:34:20 +02:00
fiaxh f12fc371a3 Make spell checking a setting, store language per conversation 2021-01-21 15:51:41 +01:00
fiaxh 161e4c1986 Add non-CSD alternative for more windows 2019-03-14 17:39:31 +01:00
Translations 4067e45779 Update translations
Arabic: ButterflyOfFire <ButterflyOfFire@protonmail.com>
Basque: Aitor Beriain <beriain@bitmessage.ch>
Chinese (Simplified): 朱陈锬 <201603748@stu.lzjtu.edu.cn>
Esperanto: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Finnish: mjlapin <muu@kapsi.fi>
Flemish: Nathan Follens <nathan@email.is>
French: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
Italian: Valerio Baldisserotto <svalo@libersoft.it>
Japanese: Mako N <mako@pasero.net>
Luxembourgish: Dennis Fink <dennis.fink@c3l.lu>
Norwegian Bokmål: Allan Nordhøy <epost@anotheragency.no>
Romanian: Licaon Kter <licaon.kter@protonmail.com>
Spanish: mgueji <miguejim@mailbox.org>
2018-05-01 00:24:57 +02:00
fiaxh a8ee61b34c Move notification sounds (canberra dependency) into plugin, introduce libdino/NotificationEvents 2018-03-05 15:43:02 +01:00
Rahix 08c8b9c6d6 Implement notification sounds
Add a new setting to toggle notification sounds on or off. Plays the
systems default instant messaging message sound (message-new-instant)
whenever a notification is shown if toggled on.
2018-02-17 21:51:02 +01:00
fiaxh 387433ebb9 Notifications + typing notifications + message marker settings per conversation 2017-05-30 22:33:33 +02:00
hrxi e876f4b316 Fix a couple of warnings relating to parents of dialogs
Fixes these kind of warnings:
```
(dino:<PID>): Gtk-CRITICAL **: gtk_window_set_transient_for: assertion 'parent == NULL || GTK_IS_WINDOW (parent)' failed
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
(dino:<PID>): GLib-GObject-WARNING **: invalid cast from 'GtkPaned' to 'GtkWindow'
```

Also centers these dialogs (settings, add chat, join conversation) on
top of their parent windows.
2017-05-09 14:53:26 +02:00
fiaxh 9bc83539d1 Gettext support 2017-04-10 15:47:21 +02:00
Marvin W 2804799f61
Reduce GTK dependency to 3.16, fix dark theme 2017-03-13 15:34:17 +01:00
Marvin W e27d63269d
Move UI code into main dir 2017-03-11 23:58:35 +01:00
Renamed from libdino/data/settings_dialog.ui (Browse further)