Commit Graph

15 Commits

Author SHA1 Message Date
Emmanuel Gil Peyrot f6739730af Implement chatstate in MUC, as defined in XEP-0085 §5.5. 2017-04-14 16:58:04 +01:00
Philipp Hörist 8547d2b4f9 Simplify scrolling in conversation textview 2017-03-11 22:11:02 +01:00
Philipp Hörist 1e06db9fa6 Remove smooth scrolling
GTK3+ does smooth scrolling in ScrolledWindows on its own
2017-03-11 22:11:01 +01:00
Markus Böhme f1ee561b9b Fix broken command system by importing CommandContainer modules
ChatControlBase was split from ChatControl into its own module in commit
80221afc2c. With this split the import of the CommandContainer modules
was removed as well, likely because their members are not referenced
anywhere. However, importing these modules even when they are not used
directly is crucial because the contained CommandContainers are only
registered with the command system when their definitions are evaluated.

Import the modules with CommandContainers in chat_control_base.py to fix
the command system. Also add a comment stating more clearly why the
imports need to be kept around.
2017-03-07 16:46:12 +01:00
Philipp Hörist 0abb26ae36 Dont use depracted override_font() 2017-03-03 00:11:23 +01:00
Philipp Hörist 9ecabd561e Dont use depracted override_color() 2017-03-03 00:00:22 +01:00
Philipp Hörist e00341e83e Dont use depracted override_background_color() 2017-03-02 23:58:21 +01:00
Emmanuel Gil Peyrot 57fb80f1fa Remove every default argument using [] or {}. 2017-02-11 02:40:07 +00:00
Yann Leboulanger d338572271 Update strings for better english. Thanks to Allan Nordhøy for the suggestions 2017-02-04 23:29:45 +01:00
Tomasz Miąsko b678165d7d Use the same code path for shift-enter as for ctrl-enter. 2017-01-25 18:04:12 +01:00
Tomasz Miąsko 0b7d6cc175 Fix moving between lines with up and down arrows. 2017-01-25 17:05:49 +01:00
Tomasz Miąsko ffeeb8f9f5 Simplify send or insert newline logic. 2017-01-25 17:05:49 +01:00
Tomasz Miąsko 18a3258cb5 Fix inserting a newline on shift-enter.
Return false from key-press-event to propagate event to a default
handler that will insert a newline into the entry widget.
2017-01-25 17:05:49 +01:00
Philipp Hörist 277e13bdd8 Handle Exception when there is no KEY_Insert
This happens on MacOSX
2017-01-05 01:14:18 +01:00
Emmanuel Gil Peyrot 80221afc2c Split ChatControlBase into its own file. 2017-01-04 22:57:05 +00:00