Commit graph

304 commits

Author SHA1 Message Date
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
Philipp Hörist
209154edb2 Refactor showing tooltip in ConversationTextview
the 'query-tooltip' event does essentially the same
as the 'motion-notify-event' but supplys us with coordinates,
which lets us get rid of deprecated get_client_pointer()
2017-03-08 16:14:07 +01:00
Philipp Hörist
c61efaa2c5 Replace deprecated Gdk.Cursor.new() 2017-03-07 22:06:44 +01:00
Philipp Hörist
0abb26ae36 Dont use depracted override_font() 2017-03-03 00:11:23 +01:00
Emmanuel Gil Peyrot
57fb80f1fa Remove every default argument using [] or {}. 2017-02-11 02:40:07 +00:00
Emmanuel Gil Peyrot
289d82fae7 Remove unused imports. 2017-02-08 02:26:20 +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
Philipp Hörist
430c4b1536 Merge branch 'printline' into 'master'
print_conversation_line() refactoring

See merge request !3
2017-01-03 21:20:32 +01:00
Philipp Hörist
d129abbed6 Catch exceptions on invalid URLs
Closes #8494

Conflicts:
	src/common/helpers.py
2017-01-03 20:17:14 +01:00
Philipp Hörist
39216af2de print_conversation_line() refactoring
It now orders all messages with the given timestamp
this also includes inserting messages at the correct
point

The timestamp precision for incoming and outgoing messages
was raised to include fractions of a second
2017-01-02 19:09:06 +01:00
Philipp Hörist
ac4859fb87 Remove unused imports 2016-12-22 18:19:24 +01:00
lovetox
194508d405 Workaround for strftime bug on Windows
see: http://bugs.python.org/issue8304
2016-10-13 01:43:26 +02:00
Linus Heckemann
3dcdee70ba Fix fuzzy time 2016-10-10 13:47:56 +01:00
tmolitor
baff629433 Added ability to diconnect muc from tab context menu 2016-09-05 21:11:02 +02:00
tmolitor
fffa50979c Added new gui extension point 'print_real_text' which is executed before the message line is printed 2016-09-05 20:24:13 +02:00
tmolitor
86345055cc Added ability to read additional_data from history db and use it in gui extension point print_special_text.
I also found an iterator reuse in common/logger.py, maybe this fixes bug #8277
2016-09-05 03:25:37 +02:00
Emmanuel Gil Peyrot
ba7d612fdc Widget.get_iter_at_location returns a 2-tuple on GTK+ 3.20, so get the actual iterator.
Fixes #8312.
2016-04-02 14:36:33 +01:00
Yann Leboulanger
6337606c49 add new option to allow popup notifications when a chat control is opened. See #7891, #8158 2015-10-25 15:06:37 +01:00
Yann Leboulanger
c69ab30ed6 allow to add EventBox to conversation textview for plugins for example. 2015-08-09 13:48:02 +02:00
Yann Leboulanger
ea888a1e34 remove useless code 2015-10-04 20:51:07 +02:00
Yann Leboulanger
92f14ae27c print subject from received messages correctly. Fixes #8042 2015-05-17 21:56:17 +02:00
Yann Leboulanger
79d52abb0e gtk-spell-check icon is not available under windows 2015-02-28 22:22:14 +01:00
Yann Leboulanger
c2ac09cce2 punyencode only the host part of the URL. Fixes #7981 2015-02-28 15:47:51 +01:00
Yann Leboulanger
cc8e49b212 fix gobject warning when hidding tooltips 2014-06-21 10:39:34 +02:00
Yann Leboulanger
c5c59967be remove all icons for all menus 2014-11-11 23:11:15 +01:00
=?UTF-8?q?Mat=C4=9Bj=20Cepl?=
eb6fa81854 =?UTF-8?q?Don=E2=80=99t=20use=20positional=20arguments=20?= =?UTF-8?q?with=20*MenuItem=20inits.?=
Avoid DepreciationWarning for ImageMenuItem, CheckMenuItemi, and MenuItem.

Fix #7858

Signed-off-by: Matěj Cepl <mcepl@redhat.com>
---
 src/chat_control.py          |  8 +++----
 src/conversation_textview.py |  5 ++--
 src/groupchat_control.py     |  4 ++--
 src/gui_interface.py         |  2 +-
 src/gui_menu_builder.py      | 15 +++++++-----
 src/roster_window.py         | 56 +++++++++++++++++++++++++++-----------------
 src/statusicon.py            | 13 ++++++----
 7 files changed, 61 insertions(+), 42 deletions(-)
2014-10-20 17:20:38 +02:00
Yann Leboulanger
ff93ad5737 fix receiving highlighted corrected message. Fixes #7431 2014-01-29 22:10:48 +01:00
Denis Fomin
4b33634a0b Copyright 2013>2014 2014-01-02 12:33:54 +04:00
Yann Leboulanger
58fdefa1d3 gobject -> GLib 2014-02-15 21:11:45 +01:00
Yann Leboulanger
67662ef6c0 unicode() -> str() 2014-02-15 21:09:13 +01:00
Yann Leboulanger
90847091c5 improve XEP-184 mark colors. see #7476 2013-11-30 10:04:50 +01:00
Yann Leboulanger
722429a347 use ―*20 instead of gajim-muc-separator.png. See #7476 2013-11-02 17:06:21 +01:00
Yann Leboulanger
eb11474c2d fix showing tooltips of emoticons. fixes #7453 2013-10-30 14:02:21 +01:00
Yann Leboulanger
1b9672560d use ✓ and ✖ instead of gtk-yes / gtk-no icons for XEP-184 marks. Fixes #7445, see #7476 2013-10-28 19:24:11 +01:00
Yann Leboulanger
fcfaed6f39 apply modification to markedmsgcolor immediatly. Fixes #7436 2013-09-16 16:48:07 +02:00
Yann Leboulanger
c0c965e2ca escape previous message in last message correction tooltip. Fixes #7453 2013-09-15 12:09:07 +02:00
Yann Leboulanger
b60e4db4ff some cleanup in icons folder. Fixes #7455 2013-09-08 18:58:27 +02:00
Yann Leboulanger
7732b04759 render the whole line when we use XEP-309 Last Message Correction. Fixes #7400, #7453 2013-09-08 18:18:23 +02:00
Yann Leboulanger
ba554b2592 [lumirayz and mrDoctorWho] Ignore /me when determining direction_mark. Fixes #7414 2013-09-03 18:19:46 +02:00
Denis Fomin
619500c3d4 Replacing some of the icons. Fixes #7445 2013-08-28 18:33:27 +04:00
Yann Leboulanger
24237f8fb8 add ability to handle urls in htmltextview. 2013-08-16 14:06:52 +02:00
Yann Leboulanger
0e6fdb181f [x11term] prevent traceback 2013-08-16 09:21:32 +02:00
Yann Leboulanger
25ed96236f print correctly when we correct a /me message. Fixes #7400 2013-08-13 21:18:44 +02:00
Denis Fomin
7ca4ede596 [mrDoctorWhо and Darlan] Fix day and time in RTL message. see #7284 2013-08-06 23:42:02 +04:00
Yann Leboulanger
9e32328e3c fix more bidi things 2013-08-01 22:53:48 +02:00
Yann Leboulanger
025f879f25 modify_fg/bg/font -> override_* 2013-07-31 16:40:33 +02:00
Denis Fomin
2205bda1c8 fix textbuffer get_text 2013-07-30 18:45:20 +04:00
Yann Leboulanger
593f3c3b7a remove call to deprecated get_pointer() 2013-07-29 14:38:09 +02:00
Yann Leboulanger
fd0ff877a3 GObject.* -> GLib.* 2013-07-28 20:50:30 +02:00