Commit graph

120 commits

Author SHA1 Message Date
Philipp Hörist
8af80a6189 Dont change mouse cursor on leave event
GTK does this on itself
2017-03-08 19:46:39 +01:00
Philipp Hörist
c61efaa2c5 Replace deprecated Gdk.Cursor.new() 2017-03-07 22:06:44 +01:00
Philipp Hörist
6de3120d43 Refactor showing tooltip in HtmlTextView
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()

Add a connect_tooltip() method that allows other classes
that use HtmlTextView to provide their own tooltip method
2017-03-07 22:06:31 +01:00
Markus Böhme
d9a2251582 Highlight all paragraphs of a search result in the history window
A single message may span multiple paragraphs. Highlight all paragraphs
of a search result because a keyword could be in any of them.

Every message already has the 'eol' tag on its newline character.
Highlight from the start of a search match up to the next 'eol' tag.
2017-02-22 12:56:31 +01: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
ac4859fb87 Remove unused imports 2016-12-22 18:19:24 +01:00
Yann Leboulanger
471329a0e0 prevent too long tooltips. Fixes #8465 2016-11-28 21:52:40 +01:00
Emmanuel Gil Peyrot
f32e99b748 Fix unknown variables in htmltextview. 2016-11-05 15:30:34 +00:00
tmolitor
065d08cebf Honor profile given on commandline for plugin dir and history db and more.
Also added new property 'additional_data' to message event objects. Changes to this attribute (a dict) are passed on from event to event and are also written to the history db as json string (reading of those values isn't implemented yet).
2016-09-05 00:01:29 +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
821b701a66 keep image tags when we replace the temporary image by the downloaded image. Fixes #8182 2015-11-15 14:28:31 +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
Denis Fomin
4b33634a0b Copyright 2013>2014 2014-01-02 12:33:54 +04:00
Denis Fomin
755c04270f Fix wrong import 2013-11-11 14:27:30 +04:00
Denis Fomin
df35dae981 Fix wrong import 2013-11-08 00:31:34 +04:00
Yann Leboulanger
722429a347 use ―*20 instead of gajim-muc-separator.png. See #7476 2013-11-02 17:06:21 +01:00
Denis Fomin
8de94af154 Fix missing import 2013-10-14 15:23:40 +04: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
e4edeb0f15 fix some GTK3 things 2013-08-24 19:14:58 +02:00
Yann Leboulanger
24237f8fb8 add ability to handle urls in htmltextview. 2013-08-16 14:06:52 +02: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
Yann Leboulanger
9c8c1de03f update my copyright 2013-04-05 21:35:39 +02:00
Yann Leboulanger
3b50fb89a5 second part of previous commit ... 2013-02-18 20:12:45 +01:00
Denis Fomin
520665a6cc fix html 2013-01-11 01:53:09 +04:00
Denis Fomin
554c3694c8 Fix font size in xhtml 2013-01-10 00:43:20 +04:00
Denis Fomin
930209e71c [Asterix] Fix clipboard again 2013-01-08 01:50:46 +04:00
Denis Fomin
30e03a575d [Asterix] Fix clipboard 2013-01-08 01:33:27 +04:00
Denis Fomin
88f0b84c69 fix clipboard 2013-01-08 01:11:53 +04:00
Denis Fomin
b6ff150282 fix tracebacks 2013-01-07 18:33:41 +04:00
Denis Fomin
60aa7f073a fix xhtml 2013-01-06 12:35:10 +04:00
Yann Leboulanger
b541736407 fix disco window (+ remove cmp() + some GTK3 changements) 2013-01-05 15:32:53 +01:00
Yann Leboulanger
e03b3c35b6 fix traceback handling
fix struc and sha1 usage (use bytes instead of string)
2013-01-05 00:03:36 +01:00
Denis Fomin
8214d37d21 fix clipbord 2013-01-03 21:21:38 +04:00
Denis Fomin
ac9253e04a Merge 2013-01-02 22:13:27 +04:00
Denis Fomin
59a621bd87 fix some CursorType 2013-01-02 17:30:54 +04:00
Yann Leboulanger
912f0e921d fix imports and many py3 changements 2013-01-02 13:54:02 +01:00
Yann Leboulanger
d27591076f fix exception handling 2013-01-01 23:18:36 +01:00
Yann Leboulanger
414e349345 python uses unicode internally 2013-01-01 19:44:25 +01:00
Yann Leboulanger
a8d946bc96 more GTK3 fixes 2012-12-27 21:58:52 +01:00
Yann Leboulanger
8f71d9f219 start porting Gajim to gobject introspection and GTK3 2012-12-23 16:23:43 +01:00
Yann Leboulanger
3a3f99d618 upgrade copyright 2012-01-11 22:20:34 +01:00
Yann Leboulanger
3c294252f0 move functions to download an image from htmltextview.py to helpers.py 2011-11-14 23:23:40 +01:00
Yann Leboulanger
a07829c0a9 use pycurl to download image in XHTML when a proxy is configured. Fixes #7037 2011-11-13 15:10:38 +01:00
Denis Fomin
6ea71da276 create fake gajim.plugin_manager.gui_extension_point method for htmltextview.py testing 2011-09-30 13:47:15 +03:00
Denis Fomin
2f6c3b5832 coding style 2011-08-09 22:16:26 +03:00
Yann Leboulanger
404ca3a68f jump newline when ending a <p> element in html. Fixes #6880 2011-07-24 21:45:57 +02:00