Commit Graph

1625 Commits

Author SHA1 Message Date
Markus Böhme c8e990f85e Do not close chat window on ESC key when roster filtering is active
When the roster window active it can be filtered by starting to type.
If the window behavior "single window for everything" is selected,
trying to abort the filtering by pressing the ESC key also closes a chat
window. Fix this behavior by stopping event propagation in case the ESC
key is pressed while roster filtering is active.

Fixes issue #8548.
2017-03-25 14:24:30 +01:00
Philipp Hörist e00341e83e Dont use depracted override_background_color() 2017-03-02 23:58:21 +01:00
Philipp Hörist dd3a2f3abc Fix endless loop in various CellRenderers
context.get_background_color() first calls the CellRenderer to render
the cell before giving back the color.

When we call this inside a CellRenderer, this is an endless loop
2017-02-19 18:07:06 +01:00
Philipp Hörist 4a7e54347c Merge branch 'appmenu' into 'master'
Port application menu to GMenu

See merge request !52
2017-02-13 00:52:53 +01:00
Philipp Hörist 50514393f5 Fix key error on removing account 2017-02-12 19:09:48 +01:00
Philipp Hörist 6f8452667d Port application menu to GMenu 2017-02-12 18:17:27 +01:00
Johannes 'josch' Schauer f5eb35cba3 Use more gender neutral language 2017-02-11 20:05:30 +01:00
Emmanuel Gil Peyrot 2fbadc91e9 Use Enum or IntEnum instead of range() constants. 2017-02-11 02:40:07 +00:00
Emmanuel Gil Peyrot fb221a692b Remove wrong usage of the list(range(…)) pattern. 2017-02-08 02:26:21 +00:00
Emmanuel Gil Peyrot 289d82fae7 Remove unused imports. 2017-02-08 02:26:20 +00:00
Yann Leboulanger a7c833f777 Merge branch 'translations' into 'master'
Update strings for better english. Thanks to Allan Nordhøy for the suggestions

See merge request !51
2017-02-04 23:31:33 +01: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 89f861c859 Fix drag and drop on a group. 2017-02-04 17:24:31 +01:00
Tomasz Miąsko 38581b7080 Fix roster popup menu.
Replace Gdk.Event with Gdk.Event.new, so that event is constructed with
correct type information. This fixes showing a roster popup menu when
launched using keyboard shortcut (Menu key or Shift-F10).
2017-02-03 11:21:06 +01:00
Tomasz Miąsko 6f6a8d3f39 Use GtkShortcutsWindow to display keyboard shortcuts. 2017-01-24 17:22:05 +01:00
Emmanuel Gil Peyrot 553fd8f7b1 Add the actual GtkApplicationWindow to the GtkApplication. 2017-01-08 00:45:37 +00:00
Philipp Hörist e7812cbd85 Move startup code into Gtk.Application() 2017-01-03 23:08:48 +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 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 3296c23e32 Refactor Roster Tooltip 2016-11-17 03:29:18 +01:00
lovetox ec99e93a7c Create GCTooltip window only when parent is available 2016-11-18 03:41:37 +01:00
lovetox f961e0be9a Add MAM Preference Dialog 2016-10-31 02:11:46 +01:00
lovetox 4ab83c16ce Inconify Gajim instead of hiding the window - Fixes #8374
When hiding the Window the app is removed from the Ubuntu Launcher and it cannot be restored
2016-09-27 01:26:04 +02:00
lovetox 80bf5183c9 Replace deprecated gtk-dialog-authentication icon 2016-09-25 17:13:21 +02:00
tmolitor 556afac134 Added ability to use additional_data for directly sent messages not coming from history db. 2016-09-05 23:07:31 +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
Yann Leboulanger 4ccfaa1a97 fix listing GPG keys 2016-05-21 18:56:01 +02:00
Yann Leboulanger f2dd9a9773 [ralf] correctly store roster window size in one window mode. Fixes #8314 2016-04-03 16:42:21 +02:00
Yann Leboulanger 0530308a99 pending events are now in objects rather that storing parameters in tuple 2016-02-29 21:04:08 +01:00
Yann Leboulanger fbdb7656af rename msg_id to msg_log_id where it's the id from logs database 2016-02-27 19:52:46 +01:00
Yann Leboulanger 1316866265 reply to message receipt only when we are the recipient of the message. see #7548.
[tmolitor] display message receipt (xep 0184) for carbon copied messages. Fixes #8258
2016-02-20 20:04:47 +01:00
Yann Leboulanger 971b5a5316 fix A GTK error 2016-01-16 15:31:00 +01:00
Yann Leboulanger 35349d9ee4 [Bahtiar `kalkin-` Gadimov]
Shorten name of a gc entry in "Join GC" submenu

Some XMPP clients save the subject of a group chat as the bookmark name. The
subject can be very long thus the MenuItems can get also very long. This simple
patch shortens the name to a carefully chosen value.
Fixes #8218
2016-01-16 14:18:16 +01:00
Yann Leboulanger ec74544a88 do not allow to drop a group on itself or a subgroup of itself. Fixes #8211 2016-01-03 13:02:22 +01:00
Yann Leboulanger eb30ad07bd don't traceback when deleting an account. Fixes #8199 2015-12-12 13:52:18 +01:00
Yann Leboulanger 8326e56793 do not crash when we remove a contact for which neerby contcts are not in the same accounts. Fixes #8157 2015-11-15 21:07:02 +01:00
Yann Leboulanger f69ade130c place roster tooltips correctly. 2015-08-15 22:16:45 +02:00
Yann Leboulanger 685c5730e1 fix a few warnings 2015-07-18 17:27:50 +02:00
Yann Leboulanger b58a76d8ee make urgency hint work correctly in one message window mode. Fixes #7806 2015-05-06 22:05:42 +02:00
Yann Leboulanger c95e085913 prevent traceback. Fixes #7960 2015-03-07 21:03:25 +01:00
Yann Leboulanger b5dd3836ab fix typo. Fixes #7965 2015-02-15 21:14:42 +01:00
Yann Leboulanger 55e2b7f006 fix showing self contact when mode is always 2014-11-09 15:39:26 +01:00
Yann Leboulanger f087274f93 [bluec0re] Fix bug when server assign a contact to a group with empty name. Fixes #7865 2014-10-26 16:43:44 +01:00
Yann Leboulanger 9b3e2e03c9 don't allow to delete contacts from an offline account. Fixes #7822 2014-10-03 22:48:14 +02:00
Yann Leboulanger a084cad22a handle XEP-191 (blocking command) in a better way: hability to block a contact when server doesn't support privacy lists, add / remove jid to blocked list only when we get the result from server, handle blocked / unblocked contacts by other resources 2014-08-13 22:46:18 +02:00
Yann Leboulanger fae34e8be4 correctly detect when no name is provided for bookmarks 2014-08-11 22:16:11 +02:00
Yann Leboulanger 48eac87cea show first part of the JID in actions -> join group chat menu when there is no name. 2014-08-11 22:10:23 +02:00
Yann Leboulanger cc8e49b212 fix gobject warning when hidding tooltips 2014-06-21 10:39:34 +02:00
Yann Leboulanger 711a40e33c don't traceback when we try to open a remembered chat window from a contact not in roster 2014-04-09 17:56:09 +02:00