Commit graph

1612 commits

Author SHA1 Message Date
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
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
=?UTF-8?q?Mat=C4=9Bj=20Cepl?=
b7d4570017 Use explicit set_use_underline on MenuItem.
There are many warnings

    Using positional arguments with the GObject constructor has been
    deprecated.

cluttering stderr needlessly.
Fixes #7855
2014-10-18 23:10:42 +02:00
Yann Leboulanger
ea2eebdf11 keep treeview consistent when connecting. Fixes #7434 2014-03-28 21:30:57 +01:00
Yann Leboulanger
82265425b7 copy big_brother_groups correctly when making metcontacts. Fixes #7574 2014-02-16 11:51:19 +01:00
Denis Fomin
4b33634a0b Copyright 2013>2014 2014-01-02 12:33:54 +04:00
Yann Leboulanger
6e410b463b show bookmarked rooms in invite to menu when possible. Fixes #4455 2013-12-02 12:17:32 +01:00
Yann Leboulanger
d3e6e22166 [Dicson] Do not display dialog confirm_metacontacts when using Make CONTACT first contact. Fixes #7576 2013-11-30 10:33:04 +01:00
Yann Leboulanger
5095bc6598 support direct invitation (XEP-0249). Fixes #7581 2013-11-28 21:24:17 +01:00
Yann Leboulanger
349048d937 missing return 2013-11-27 18:20:49 +01:00
Yann Leboulanger
812e8c331d fix inviting several contacts to a room. And don't allow to invite transports. Fixes 7527 2013-11-01 12:08:05 +01:00
Yann Leboulanger
b38fac4abe show transport menu in chat control banner if the chat window is with a transport. Fixes #7520 2013-10-31 15:14:06 +01:00
Yann Leboulanger
1660488da6 fix enabling / disabling accounts while creating a new one. Fixes #7477 2013-10-30 12:40:31 +01:00