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
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
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
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
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
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
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
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
5dd0d4fce8
move functions that build icons to gtkgui_helpers instead of roster_window. Fixes #3873
2008-04-17 14:17:14 +00:00
Yann Leboulanger
278d63ca35
indentation
2008-04-17 06:55:12 +00:00
Yann Leboulanger
2d04fc6ae6
don't hide roster on startup if no systray module is available
2008-04-17 06:34:32 +00:00
Yann Leboulanger
b936fa4bfe
coding standards
2008-04-15 22:51:41 +00:00
Yann Leboulanger
db59de9397
fix argument in a menu.popup() call
2008-04-07 12:58:34 +00:00
Stephan Erb
bea91baeaa
Remove useless group redrawing. Remove unused variable.
2008-04-04 09:44:47 +00:00
Stephan Erb
611a53422e
A few small PEP GUI and code changes. No new functionality.
2008-04-03 22:50:03 +00:00
Yann Leboulanger
f3665cd689
don't remove metacontact when we reconnect. fixes #3771
2008-04-01 23:13:10 +00:00
Jean-Marie Traissard
a0d8aea90b
chat_control : fix possible var name confusion
...
roster : Fix resource problem, gajim.contacts.get_contact() can return first contact instead of specified resource. Fixes #3789 .
2008-03-23 17:44:47 +00:00
Yann Leboulanger
5b55264c92
fix call to correct function when inviting to room in roster
2008-03-21 12:46:54 +00:00
Yann Leboulanger
1008d162f4
show invitation from anonymous room in roster from a groupchat rather than from a normal Contact. fixes #3448
2008-03-21 12:30:23 +00:00
Jean-Marie Traissard
ff32d0ccb3
roster.on_quit_request() cleanups :
...
-Check if there are pending events and send offline even if we don't ask a status message (was a indentation
mistake I think)
- Really make unread and recent working according to 'notify_on_all_muc_messages' value
- be faster, hopefully
2008-03-20 20:26:58 +00:00
Jean-Marie Traissard
d7a6734601
Clarify how roster.quit_on_next_offline works with comments.
...
Use only one function when user wants to quit. Bad dup code !
Maybe see #3643 .
2008-03-20 16:31:21 +00:00
Jean-Marie Traissard
e07ce48240
Restore single click behaviour. Function was called 2 times by mistake.
2008-03-19 23:53:40 +00:00
Jean-Marie Traissard
f9ca40ff1b
- Change the way roster.fire_up_unread_messages_events()/logger.get_unread_msgs() work, so it's
...
faster
- Stop adding pm chat messages received to unread messages. This is in addition to [8311], but
works also when chat win is already opened now.
- Automatically remove unread_message lines for messages older than a month, so we will clear this
table for everybody, and keep it quite clear. Specially because messages can still be blocked here
if it's from someone not in the roster and we don't open it during the session. This can be long
at first connection with this version, because we delete a lot of lines (nearly one per PMs you
received since a long time). Could also be a very little longer during one month.
2008-03-19 21:43:01 +00:00
Jean-Marie Traissard
7dca69467e
Stop loading all transport iconsets at launch. Load them on the fly, if and when needed. Speedup gajim start and
...
use less mem :)
2008-03-19 00:25:28 +00:00
Yann Leboulanger
d26080a3dd
missing space in a string
2008-03-10 21:41:21 +00:00
Yann Leboulanger
3f98f9c53b
prevent traceback when there is a row in roster without an associated Contact instance. see #3718
2008-03-10 15:41:06 +00:00
Yann Leboulanger
244d222b82
remove blocked transport from roster when we go offline. see #3718
2008-03-10 15:38:21 +00:00
Yann Leboulanger
866d3c27ca
don't hide roster when we press Escape if a chat is opened. Fixes #3751
2008-03-10 15:11:57 +00:00
Yann Leboulanger
545eb1ec33
Don't fully clean contact list on reconnect. Fixes #3733
2008-03-10 11:20:22 +00:00
Yann Leboulanger
cdb31a2b55
remove use_pep option, always PEP it to send played song. fixes #3053
2008-03-03 22:42:04 +00:00
Yann Leboulanger
10af723f81
move configuration of pubsub menuitem to account context menu
2008-02-29 22:23:39 +00:00
Yann Leboulanger
aa3c02efcd
search lowercase in roster. see #3749
2008-02-27 10:18:56 +00:00
Yann Leboulanger
cb51401903
[shivan] don't trat emoticons created with parenthesis arround status message. fixes #3368
2008-02-26 08:31:48 +00:00
Yann Leboulanger
7c49600135
use timeout_add_seconds instead of timeout_add (when it's available), more efficient. fixes #3734 , #3736
2008-02-14 19:18:07 +00:00
Jean-Marie Traissard
894e752292
Sadly, timeout_add_seconds is only availaible since gtk 2.14. It's quite recent. I have 2.10.
...
Reverting [9324]. Reopen #3734 .
2008-02-13 18:03:29 +00:00
Yann Leboulanger
ad3935d9e9
[Goedson] use timeout_add_seconds instead of timeout_add, more efficient. fixes #3734
2008-02-13 07:14:06 +00:00
Yann Leboulanger
36438f44b6
fix the draw avatar calls
2008-02-05 21:24:48 +00:00
Jean-Marie Traissard
37ea4052e1
Cleaner way to check for 'show_avatars_in_roster'
2008-02-05 17:48:25 +00:00
Jean-Marie Traissard
4d675c42b1
Never load avatars for roster and gc-roster if we don't want them.
...
See #3718 . See also [9287].
2008-02-05 17:02:05 +00:00