Commit Graph

54 Commits

Author SHA1 Message Date
Philipp Hörist 3d980fd6f5 Show image preview in filechooser dialog 2018-03-21 20:24:20 +01:00
Andrey Gursky c6172c86ad Fix window position restore on multi-head setups
Gajim stopped to properly restore roster and dialogs windows positions
after restart with more than one monitor attached.

Gajim saves the absolute window positions, i.e. based on the total screen size
of all monitors attached. Despite Gtk deprecated Gdk.Screen.width() and height(),
we cannot just use width() and height() for one monitor, as recommended.
We still need the total screen size, which was the base for saving the positions.

[1] https://stackoverflow.com/questions/30207586/gdk-screen-vs-monitor-vs-display
2018-03-21 19:40:54 +01:00
Philipp Hörist b7e9fb70e3 Limit width of entrys in StartChat Dialog 2018-03-19 20:04:51 +01:00
Yann Leboulanger 3abc50b22c strip muc server name before discovering it. Fixes #8886 2018-03-14 21:40:52 +01:00
Philipp Hörist 3fbce77818 Add transient argument to Dialogs 2018-03-07 19:39:33 +01:00
Philipp Hörist 618b0b87c2 Add --start-chat command 2018-02-19 22:02:40 +01:00
Philipp Hörist c5de08d45f StartChatDialog: Use HighDPI icons/avatars 2018-02-19 22:02:40 +01:00
Philipp Hörist f1aceae214 Fix avatar ratio
Fixes #8907
2018-02-19 22:02:31 +01:00
Philipp Hörist 958c898ed1 Dont mutate THANKS constant 2018-02-16 21:44:12 +01:00
Philipp Hörist d0cdc06803 Make string translatable 2018-02-16 21:36:24 +01:00
Philipp Hörist 4a65f4aeae Fix StartChatDialog
Fixes #8881
2018-02-05 20:55:48 +01:00
Philipp Hörist c5c717ddd1 Use IconTheme for some icons 2018-01-29 20:02:30 +01:00
Philipp Hörist e19f7ef9b6 Use icons from IconTheme in TransformChatToMUC 2018-01-29 00:06:46 +01:00
Philipp Hörist 4f92142d09 Use icons from IconTheme in Dialogs 2018-01-29 00:06:46 +01:00
Bronko 3a3be94aa8 integrate httpupload plugin into gajim core
add new config option 'filetransfer_preference'
add drag and drop support for file upload
2018-01-22 17:29:27 +01:00
André Apitzsch e78b676784 Update copyright 2018-01-21 23:34:19 +01:00
Daniel 792be24540 Make more strings translatable 2018-01-15 10:51:04 +01:00
Yann Leboulanger aa6e9e7084 improve string and add comment for translators 2018-01-09 10:31:50 +01:00
Philipp Hörist 1b2ab928f0 Fix focus after destruction of StartChatDialog
On destroy() the window that was last focused gets the focus
again. if destroy() is called from the StartChat Dialog, the new
ChatControl is not yet focused, because present() seems to be asynchron,
at least on KDE, and takes time.
2017-12-26 21:55:19 +01:00
Marc Schink 65bc965918 dialogs: Use get_widget_for_response() to access buttons
The get_action_area() API is deprecated and under some circumstances
the wrong button gets accessed.
2017-12-19 22:23:27 +01:00
Philipp Hörist bdf16c5182 Replace deprecated override_background_color() 2017-12-18 00:11:39 +01:00
Philipp Hörist f4a6b0299a Remove deprecated Gdk.Screen methods
height() and weidth() is not supported any more
2017-12-17 22:30:16 +01:00
Philipp Hörist e3effdcb6c Refactor SubscriptionWindow 2017-12-17 22:30:16 +01:00
Philipp Hörist 6926bdaee0 Port some error messages to new interface 2017-12-08 20:20:07 +01:00
Philipp Hörist 1afd4f0e72 New StartChat Dialog 2017-12-03 23:58:02 +01:00
Philipp Hörist ace904573a Add new Join Groupchat dialog
- Complete rewrite of the old Groupchat dialog
- Has now a "minimal" mode, which is used if we have all infos for joining except the nickname and if we want to bookmark
- Handle xmpp uris received via command line
2017-12-03 23:58:02 +01:00
Philipp Hörist d814a42345 Remove old JoinGroupchat dialog 2017-12-03 23:58:02 +01:00
Philipp Hörist 7692b376ee Refactor SpellChecker
- use Gspell instead of GtkSpell, it seems to have alot less problems
and needs less code
2017-11-26 00:44:50 +01:00
Philipp Hörist f397e1b7cb Rename OptionType.BOOL to VALUE 2017-11-01 12:25:19 +01:00
Philipp Hörist 3c103315ec Refactor Speller 2017-10-26 22:52:27 +02:00
Philipp Hörist 38406e39d6 Remove BigAvatarWindow 2017-10-08 11:26:33 +02:00
André Apitzsch 2872405f07 Fix deprecation warnings 2017-10-07 21:01:27 +02:00
André Apitzsch 624bee755c fix file lookup location and other issues 2017-09-22 19:12:26 +02:00
Yann Leboulanger 152be4473b Fix some strings for a better translation 2017-09-19 12:45:02 +02:00
Philipp Hörist dfdeb65e8f New AccountsWindow 2017-09-16 15:55:32 +02:00
Philipp Hörist ef75e93c70 Change License in AboutDialog 2017-09-13 21:52:18 +02:00
Philipp Hörist a462af555b Hide License Button only on Windows 2017-09-02 12:07:14 +02:00
Philipp Hörist 4372b67433 Refactor AboutDialog
- Move Credits to const.py
- Minor Refactoring
2017-09-02 11:22:18 +02:00
Philipp Hörist 6cacc55901 Dont use internal members in Dialogs
vbox and action_area are internal members of Gtk.Dialog.
We should use the methods provided by the API to get these Objects.
2017-08-23 19:50:29 +02:00
Philipp Hörist 80e5c27fa9 Use correct inherit pattern 2017-08-23 18:57:38 +02:00
Yann Leboulanger 3c693a7a22 fix import 2017-08-21 16:38:27 +02:00
André Apitzsch 89c7eb6e6a Rename gajim.common.gajim to avoid name conflicts 2017-08-18 20:03:20 +02:00
André Apitzsch efec098aef Use absolute imports 2017-08-18 19:48:48 +02:00
Philipp Hörist 1211a1bc59 XMLConsole: Use glade file for building widgets 2017-08-16 19:05:13 +02:00
Philipp Hörist 4f4a58e51a XMLConsole: Fix size allocate warning
It seems to be important to let all widgets realize and then
hide the ones we dont want to show, instead of not showing them
in the first place.
2017-08-15 19:45:42 +02:00
Philipp Hörist 4ad5fd9cdc Add method for creating image buttons 2017-08-15 19:23:23 +02:00
Philipp Hörist 27afece678 OptionsDialog: Center switch button vertically 2017-08-13 00:50:39 +02:00
Philipp Hörist 5554e99452 Add maximize button to XMLConsole window 2017-08-13 00:45:03 +02:00
Philipp Hörist 512e6d2c8e Redesign XML Console
- Use modern GTK Widgets (HeaderBar, ActionBar, Switch)
- Add an option to filter Stream Management stanzas
- Add a generic Option Dialog that we can reuse later
2017-08-10 02:13:20 +02:00
Philipp Hörist e6f1d29471 Remove old XML Console 2017-08-10 02:13:20 +02:00