Stephan Erb
8c963e2de0
Load icons for history window only once.
2008-05-03 10:15:47 +00:00
Jean-Marie Traissard
bd812b8f26
[elghinn] Specify exception we want to catch so we see if there are others
...
problems.
2008-05-03 01:30:05 +00:00
Jean-Marie Traissard
d77b4feb9f
Search function in good module. Fixes #3915 .
2008-05-02 23:25:31 +00:00
Jean-Marie Traissard
f3fec5c791
oups, syntax error
2008-05-02 16:15:39 +00:00
Jean-Marie Traissard
7ce16668fb
Remove 2 generalization in dialogs, we are not generalizing here.
2008-05-02 14:36:28 +00:00
Jean-Marie Traissard
b6c10c31d4
Remove useless import
2008-05-02 02:12:16 +00:00
Jean-Marie Traissard
cb9d2a3ca0
Revert "when removing last metacontact little brother, remove meta tag for big brother" from [9553],
...
that breaks meta over multiple accounts. Thanks steve-e
2008-05-01 18:24:31 +00:00
Jean-Marie Traissard
7144520bc0
Fix edit group problems :
...
-redraw group expand state
-when removing last metacontact little brother, remove meta tag for big brother. Else that confuse when
moving via edit group.
Note that edit group is broken by http://trac.gajim.org/changeset/9551
2008-05-01 14:27:53 +00:00
Stephan Erb
79f4d22fa4
Fix inconsisten indentation.
2008-05-01 08:40:20 +00:00
Stephan Erb
df5a4c2281
Reimplement _get_contact_iter to be faster in bigger rosters.
2008-05-01 08:38:08 +00:00
Jean-Marie Traissard
299f560749
This is needed finally, reverting from previous changeset
2008-05-01 02:32:57 +00:00
Jean-Marie Traissard
6c8d196383
[modelfilter]
...
-fix row not expanded when contact connected in group with no one online yet
-fix WHEN filter is done when contact disconnect/connect
-fix number of connected contacts not showed for new groups
-fix General created when moving a contact to another group
2008-05-01 02:13:00 +00:00
Jean-Marie Traissard
60bb033a90
Cleaner way to check for account line expand state. Fixes #3884 .
2008-04-30 00:51:36 +00:00
Jean-Marie Traissard
6b465a4218
Some little on_model_row_has_child_toggled() speedups
2008-04-30 00:28:34 +00:00
Jean-Marie Traissard
d555954ee5
[modelfilter]
...
-restore call to _adjust_group_expand_collapse_state() even if not filtering in
on_model_row_has_child_toggled(). Is used.
-restore "# Draw the contact and its groups contact" removed in last changeset but
-change way to toogle self.starting so it works when add_account_contacts() is called from gajim.py too. One
useless call to draw_account() added, maybe.
-If showingOfflines, all contacts are visible, set visibility True FAST
2008-04-29 23:50:44 +00:00
Jean-Marie Traissard
cc97c3ce7b
[modelfilter]
...
-Always use self.modelfilter instead of self.tree.get_model()
-filter twice to show groups with no contacts inside in the correct expand state when showingOfflines. ( We
can't expand the group before we filter, and we need to filter to effectively show tree expand state in model )
-UNSURE : call _adjust_group_expand_collapse_state() only if filtering in on_model_row_has_child_toggled(). That
seems sufficient and when not filtering, it works better with :
-when contact change status, don't refilter, only adjust group row state. Steve-e, do we need to filter in a
case I don't see ?
-in visible_func : Don't initialize 'accounts' var if not needed
-Don't draw anything in add_contact(), that seems to be done somewhere else anyway
2008-04-29 22:07:59 +00:00
Jean-Marie Traissard
ab8d2f6320
Add missing call to adjust_group_expand_collapse_state()
2008-04-28 22:49:19 +00:00
Jean-Marie Traissard
2056ee8886
[steve-e only]modelfilter fixes about group and account collapse
...
little bug, fix follow
2008-04-28 22:46:49 +00:00
Yann Leboulanger
ec08797805
[js] fix nick completion in groupchats
2008-04-28 21:13:13 +00:00
Jean-Marie Traissard
f0c4bef25d
Wrap text in change subject dialog and use a bigger width. Subjects are usually long and on one line.
2008-04-28 18:19:25 +00:00
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
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
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