Commit graph

64 commits

Author SHA1 Message Date
Philipp Hörist
e265514d88 Detect dependencys only on demand
This allows us to import the app module without triggering
dependency detection

Also add is_installed() for checking if a dependency is installed and
disable_dependency() in case we dont want to use a dependency
2018-04-24 19:36:33 +02:00
Yann Leboulanger
17ae4e4ccc Hide protocol combobox when adding contacts if only XMPP is available 2018-04-04 14:46:46 +02:00
Yann Leboulanger
8e144e46f8 Use XMPP logo in add contact dialog for XMPP protocol. Fixes #9049 2018-04-04 14:42:10 +02:00
Philipp Hörist
199f1c74ff Dont call show_all() on AboutDialog
Fixes #9038
2018-04-02 21:37:08 +02:00
Yann Leboulanger
ec78ce22e6 don't allow to open several filter dialogs. Fixes #8848 2018-03-29 12:26:37 +02:00
Yann Leboulanger
a9a6b048fb set a transient_for for join groupchat dialog when needed. Fixes #8994 2018-03-28 16:14:54 +02:00
Yann Leboulanger
16b8eb1fd0 ability to fix room name when browsing muc service. See #8994 2018-03-28 15:22:28 +02:00
Philipp Hörist
6f55cf3dd4 Fix some problematic imports 2018-03-26 00:19:59 +02:00
Philipp Hörist
69fd7dc737 Groupchat: Set minimize on auto join default True 2018-03-25 21:34:42 +02:00
Yann Leboulanger
faa88819a1 improve some strings 2018-03-25 16:26:29 +02:00
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