Yann Leboulanger
96a50f6c07
don't depend on python2.5 Fixes #3888
2008-04-27 18:11:34 +00:00
Yann Leboulanger
a9e25aa98a
fix arguments of on_open_chat_window functions. It is called from callbacks, so first argument is widget.
2008-04-26 23:36:03 +00:00
Stephan Erb
8929f4e630
Fixing a few modelfilter bugs.
...
* Show all groups in merged accounts view that have online contacts. Fixes #3890
* Allow metacontacts over several accounts. Fixes #3889
* Fix on_drop_in_group when two accounts in merged view have the same contact
* Fix potential traceback when receiving a message
2008-04-26 10:18:33 +00:00
Yann Leboulanger
613753f308
[elghinn] codding standards
2008-04-24 13:47:37 +00:00
Yann Leboulanger
07a8d9d948
category is mendatory
2008-04-24 13:44:09 +00:00
Yann Leboulanger
6990b23bcc
fix groupchat addition to roster
2008-04-24 07:52:11 +00:00
Stephan Erb
75e44510a1
Add parameter checks to public API. Remove boiler code.
2008-04-23 22:52:22 +00:00
Stephan Erb
29d2e00803
Small roster API cleanups.
2008-04-23 22:34:10 +00:00
Yann Leboulanger
f4f38e3738
type in identities is not mendatory
2008-04-22 23:52:04 +00:00
Jean-Marie Traissard
a43e6d2cfa
Oops, *I* made an error in last changeset
2008-04-22 18:48:41 +00:00
Jean-Marie Traissard
ea3f446d8a
[elghinn] Fix logic
2008-04-22 18:43:50 +00:00
Stephan Erb
465aab8200
Fix Modelfilter regression: disconnecting a minimized groupchat was broken.
2008-04-21 22:34:32 +00:00
Stephan Erb
fb12c17fb9
In obvious cased, don't compare boolean values to True or False.
2008-04-21 20:52:35 +00:00
Stephan Erb
92b596a698
Use startswith() instead of string slicing to check for prefixes or suffixes.
...
It's cleaner and less error prone, so simply use it everywhere.
2008-04-21 20:39:55 +00:00
Stephan Erb
f877fbea13
http://python.org/dev/peps/pep-0008/ " Comparisons to singletons like None should always be done with
...
'is' or 'is not', never the equality operators."
Apply do roster_window. See r9488.
2008-04-21 20:23:03 +00:00
Stephan Erb
e504cee6fb
Revert r9519. It was breaking DND.
2008-04-21 20:07:08 +00:00
Stephan Erb
7d8f72d663
Show correct color of status_messages in roster in more cases.
...
This is only a simple port of the old non-modelfilter method. Functionality not restored yet: Custom colors are lost when refiltering the model.
2008-04-21 19:57:48 +00:00
Stephan Erb
b56c0c94af
Connect drag'n'drop signals in glade.
2008-04-21 19:02:24 +00:00
Stephan Erb
dc266592b7
Remove unused variables.
2008-04-21 18:52:15 +00:00
Jean-Marie Traissard
68fdb002df
Use good message time
2008-04-21 16:35:39 +00:00
Jean-Marie Traissard
94580b3019
Change the way last_history_time for room is saved. Save time in mem at each message logged. When closing
...
control, save the value in rooms_last_message_time table. Previous version could introduce duplicate logs or
messages not logged.
2008-04-21 15:48:06 +00:00
Yann Leboulanger
f2f0c7aba0
use tuple instead of dict in __name: dict are not hashable
2008-04-21 14:44:19 +00:00
Yann Leboulanger
dc48eeea96
fix static variable usage
2008-04-21 14:18:19 +00:00
Yann Leboulanger
f593c5c2ac
fix property definition
2008-04-21 14:16:20 +00:00
Yann Leboulanger
0527b7e0ea
move __name to static attribute of CacheItem class
2008-04-21 13:16:41 +00:00
Yann Leboulanger
ab6d9e5003
[pk] updated slovak translation
2008-04-21 13:13:35 +00:00
Yann Leboulanger
67bd94dd55
fix property code in caps.py
2008-04-21 12:57:34 +00:00
Jean-Marie Traissard
30f1a15efb
Don't log room description at each gc connection
2008-04-21 00:00:52 +00:00
Yann Leboulanger
a3827fe5d0
new XEP-0115 implementation (version 1.5)
2008-04-20 22:58:47 +00:00
Jean-Marie Traissard
be310652c4
Add THANKS.artists to Makefile.am so it is included in packages. Asterix said it's here.
2008-04-20 21:44:10 +00:00
Jean-Marie Traissard
7ad796a34a
Use a file for artists credits instead of hardcoded. Added helper func to get credits files paths
2008-04-20 20:51:05 +00:00
Jean-Marie Traissard
2c891b5b87
Translatable (desync'ed)
2008-04-20 20:06:16 +00:00
Jean-Marie Traissard
47bc1d61b4
Added one unique function to src/gajim.py to add a GC bookmark.
...
Moved newly created auto_join_bookmarks() to good source file.
Fix :
-when using bookmark auto from join dialog : Action rebuild now done; Add GC sorted in list
-when using gc_control->bookmark : Store password if any.
2008-04-20 19:45:09 +00:00
Yann Leboulanger
aaf31fbacd
[Fomin Denis] updated russian translation
2008-04-20 19:01:16 +00:00
Jean-Marie Traissard
0ca9610680
[elghinn] Cleaner way to check if we have gpg
2008-04-20 18:40:59 +00:00
Jean-Marie Traissard
8b8f139f79
Moved methods for opening new messages controls from roster.py to src/gajim.py. This is not roster related. See #3643 .
...
Sorted src/gajim.py functions, using steve-e style :p
2008-04-20 18:14:04 +00:00
Jean-Marie Traissard
1846cfefc6
Remove global temp vars after use
2008-04-20 15:24:34 +00:00
Yann Leboulanger
e54d749eec
add a new dbus signal when a contact changes his status. fixes #3655
2008-04-20 14:39:08 +00:00
Yann Leboulanger
9f8af02c74
no need of unread events in dbus informations. see #3655
2008-04-20 14:29:39 +00:00
Stephan Erb
4e6bd4ee8f
Port roster_window to gtk.TreeModelFilter.
...
Contacts are now online hidden when they connect/reconnect and not completely removed/readded. Should come with a great speed improvement for people with big rosters.
There are still a few known problems but non that should dalay this patch any longer. Related bugs will be tracked with 'modelfilter' keyword.
See #1201
2008-04-20 14:01:04 +00:00
Jean-Marie Traissard
0374e72b28
Use one function to join bookmarks automatically only. Fix bug "all bookmarks joined minimized when going back
...
from invisible". Not sure it's right place for this function.
2008-04-19 23:39:09 +00:00
Yann Leboulanger
b9fd96c863
add js in THANKS file
2008-04-19 22:36:50 +00:00
Yann Leboulanger
54608822a3
always say we want to receive pep notifications even if server don't support it.
2008-04-19 22:08:40 +00:00
Yann Leboulanger
ffbc0c65bc
use a textview to change subject of a room. Fixes #3858
2008-04-18 19:15:03 +00:00
Yann Leboulanger
0158db6001
show better error message when sending message to a room where we are no more connected. fixes #3870
2008-04-18 18:35:53 +00:00
Yann Leboulanger
ef97e91a1d
put namespace name in protocol.py
2008-04-18 18:19:33 +00:00
Yann Leboulanger
041969309d
add many supported features to disco#info reply. fixes #3872
2008-04-18 18:10:12 +00:00
Jean-Marie Traissard
a095a3249e
[elghinn] Set default icon before creating roster so it's done for roster too
2008-04-18 09:43:26 +00:00
Jean-Marie Traissard
968b2acc4f
http://python.org/dev/peps/pep-0008/ " Comparisons to singletons like None should always be done with
...
'is' or 'is not', never the equality operators."
Comparisons to None part; second one...
roster_win.py is NOT checked here (waiting for modelfilter)
2008-04-18 00:26:07 +00:00
Jean-Marie Traissard
2ce13dc40e
http://python.org/dev/peps/pep-0008/ " Comparisons to singletons like None should always be done with 'is' or 'is not', never the equality operators."
...
Comparisons to None part
roster_win.py is NOT checked here (waiting for modelfilter)
2008-04-18 00:02:56 +00:00