Dimitur Kirov
e35e5029f1
prevent TB with context menu on roster
2006-04-22 12:45:01 +00:00
Yann Leboulanger
50cdffd26f
update sleepy_state value before we change our status, so we use the old status. Fixes #1879
2006-04-21 17:02:36 +00:00
Yann Leboulanger
70282f0bd5
set sleeper_state to off when we manualy go away so that we desactivate auto away
2006-04-20 21:53:41 +00:00
Jean-Marie Traissard
d691dce2a0
Do not load transport iconsets (only for 'opened' and 'closed') if it's not needed
2006-04-20 17:27:55 +00:00
Yann Leboulanger
d42bba202b
idle autostatus is activated only when we sign in. Fixes #1874
2006-04-20 17:06:05 +00:00
Dimitur Kirov
aba2527be4
fix for #1869 . More compound one will include
...
removing of notification windows, but I guess
it is not a good idea to do it for 0.10
2006-04-18 18:11:18 +00:00
Jean-Marie Traissard
365d9d4eb6
Clarify menuitem new chat code : message->chat . Correct actions->chat behaviour
2006-04-18 15:17:07 +00:00
Yann Leboulanger
9efa1a9cb4
use the correct size of the icon when computing transparent lock icon
2006-04-16 12:43:14 +00:00
Yann Leboulanger
e76b1a4fd6
draw lock icon transparent in merge accounts mode if not all accounts are secured connected.
2006-04-13 09:36:55 +00:00
Jean-Marie Traissard
ca6668d83e
In account and systray menu, put groupchat before single so menuitems with submenus are grouped and it's easier to choose
...
where to click.
Add back disco to account menu.
Use the good label for account->group chat (doesn't break string freeze)
2006-04-12 14:30:30 +00:00
Dimitur Kirov
0a7e840756
last_selected_contact is None if new selection
...
is not a contact
2006-04-12 11:33:23 +00:00
Yann Leboulanger
bd7b4bc035
use STATE_PRELIGHT colors for group rows and STATE_ACTIVE for account rows
2006-04-11 21:04:38 +00:00
Dimitur Kirov
501394553a
ACTIVE, instead of PRELIGHT
2006-04-11 20:32:50 +00:00
Dimitur Kirov
40c61de7cf
set group and account colors to tv bg prelight
...
if there are no colors specified
2006-04-11 20:02:40 +00:00
Yann Leboulanger
19cb8269c0
resset connection type when we go offline
2006-04-11 18:54:28 +00:00
Yann Leboulanger
f57cd7b0d3
remove status message before renaming an agent, and redraw it if we cancel. Fixes #1154
2006-04-11 18:20:47 +00:00
Yann Leboulanger
b383a17cfd
nk: call fire_up_unread_messages_events where it is really needed, fix coding standards
2006-04-11 07:27:04 +00:00
Nikos Kouremenos
924528aadb
first f##ck lazy hacking and respect the API. add_accounts_contacts cannot also mess with messages; second move it to new method (instead of f.e. renaming the current method) because we want to have all contacts in roster and then see events about them
2006-04-10 23:30:18 +00:00
Nikos Kouremenos
764b08924e
80chars
2006-04-10 23:16:27 +00:00
Nikos Kouremenos
86326d849d
get_um_for_contact => get_unread_msgs_for_jid because um is too vague and for_contact lies about expecting contact instance
2006-04-10 23:06:11 +00:00
Dimitur Kirov
94b194966f
show unread messages on roster load
2006-04-10 22:36:55 +00:00
Dimitur Kirov
97dc7215df
keep reference to unread messages untill they
...
are printed in tv
2006-04-10 22:08:02 +00:00
Yann Leboulanger
c22929a805
always remove agent from server list, even if it's our own server. Fixes #1834
2006-04-10 09:05:55 +00:00
Jean-Marie Traissard
38b47fc6db
Remove some right click on account menuitem as nk said
...
Really send a single when right click on account -> single (can't change the string as string are freezed and good string that
is in systray doesn't have '...' at the end)
Add missing funcion call
2006-04-09 18:14:59 +00:00
Jean-Marie Traissard
5143fcc0dd
Always use the same sort in the menu lists (account-actions)
...
FIXME : in right click on account, open_new_message open a new_chat. So what do we want ?
2006-04-09 16:53:09 +00:00
Jean-Marie Traissard
4018894f41
Use the right way to copy a list in python, thanks Yann.
2006-04-09 16:03:50 +00:00
Yann Leboulanger
42cc2360c1
make sure we don't look jid with resource in contacts
2006-04-09 11:45:21 +00:00
Jean-Marie Traissard
ce2269e73f
Join gc menu in systray. Fixes #690 .
...
Should I move add_bookmarks_list() in another file ?
2006-04-09 11:13:39 +00:00
Yann Leboulanger
da614accfa
hide subscription menuitem for not in roster contacts. Fixes #1821
2006-04-09 10:35:21 +00:00
Jean-Marie Traissard
0ef8b05a8d
List of gc bookmarks in account menu.
2006-04-09 10:05:26 +00:00
Yann Leboulanger
f16d8efb17
prevent a TB
2006-04-09 09:44:20 +00:00
Jean-Marie Traissard
d8a7246d89
Better comment
2006-04-08 23:12:32 +00:00
Jean-Marie Traissard
b72e3aa100
Re-add nk's 'Profile, Avatar' menu, make it working
2006-04-08 22:47:57 +00:00
Nikos Kouremenos
cfb307b929
respect 80 margin char please! replace word print with word show which is the correct one
2006-04-08 10:33:13 +00:00
Nikos Kouremenos
9e35ac7aeb
improve function name; move it to where we keep those
2006-04-08 10:28:53 +00:00
Dimitur Kirov
c220fed809
fixes #1827
2006-04-08 01:25:16 +00:00
Yann Leboulanger
8c56beac9b
destroy advanced_menus before creating new one. Fixes #1820
2006-04-07 21:50:27 +00:00
Jean-Marie Traissard
42edced97b
Reorganize action menu code : less checks, less loops, same functionalities
2006-04-07 20:22:12 +00:00
Yann Leboulanger
c0bcd072c0
destroy context menu when selection is done. see #1820
2006-04-07 15:51:17 +00:00
Nikos Kouremenos
637e865960
rm leftover fixme
2006-04-07 12:27:00 +00:00
Jean-Marie Traissard
f2355f9e6c
print submenus only when more than one account is connected, not when more than one is configured, sort
...
some menus in systray->chat
2006-04-06 18:37:24 +00:00
Yann Leboulanger
8ad5dec778
don't add / at the end of agent if no resource. Fixes #1813
2006-04-06 15:46:57 +00:00
Yann Leboulanger
9695633c7e
when we remove a contact with awaiting events, re-add it in not in roster group. Fixes #1809
2006-04-05 19:05:09 +00:00
Nikos Kouremenos
1a3696a026
we no longer keep xml_console_window forever in me. we allocate on demand
2006-04-05 12:01:21 +00:00
Yann Leboulanger
e181a707d5
always show show_offline_menuitem
2006-04-04 19:32:53 +00:00
Nikos Kouremenos
ff7bfc88b3
rm leftover comment
2006-04-04 17:09:48 +00:00
Yann Leboulanger
31e54bc2ed
remove many call to dialog.run() function. Some are still here, but they happend only when the user do an action (close a chat window, change status, ...). So UI is not blocked when we receive a groupchat invitation or an error message.
2006-04-02 16:11:21 +00:00
Yann Leboulanger
4447ec9406
disable DND when account if offline. Fixes #1754
2006-04-01 12:26:10 +00:00
Yann Leboulanger
c773f0966b
unsensitive most menu items in context menus of contact / group / transport / account when account is offline and prevent renaming of contact / group. See #1754
2006-04-01 12:10:02 +00:00
Yann Leboulanger
fe98c5fc55
don't show popup menu for group that can't be renamed
2006-03-30 21:39:32 +00:00
Yann Leboulanger
42fcc71bc0
prevent renaming of General group. Fixes #1780
2006-03-30 21:37:45 +00:00
Yann Leboulanger
ba7ef979b7
common/gajim can't contain _()O so move it to helpers
...
prevent renaming of special groups
2006-03-30 21:35:43 +00:00
Yann Leboulanger
66a4f406fa
Observersa in also a special group than can't be renamed / can't reveive contacts with DND
2006-03-30 21:25:38 +00:00
Yann Leboulanger
204f8b89f3
when sub=to and we remove a contact, don't show the check button "allow other part to view my status" as he is already not interested in it. This result in removing contacts with sub=none, ask=none
2006-03-30 21:00:19 +00:00
Yann Leboulanger
6ecdbb7470
when sub = 'to' and we remove contact (but allow other side to see our status) completely remove contact
2006-03-30 18:52:59 +00:00
Yann Leboulanger
028de148d3
do not remove a contact from roster when he goes offline and showoffline is True
2006-03-30 18:07:56 +00:00
Yann Leboulanger
619aaf9f73
prevent to add a contact twice in the same group
2006-03-30 17:25:06 +00:00
Yann Leboulanger
b963fd1b25
clean gajim.groups when we rename a group. Fixes #1778
2006-03-29 22:11:14 +00:00
Nikos Kouremenos
5ff9b0fcba
use new icon for rename in group menu too.fixes #1782
2006-03-29 22:05:38 +00:00
Nikos Kouremenos
5a9dfbb20c
rm leftover fixme
2006-03-29 22:00:53 +00:00
Yann Leboulanger
e3fb6c2607
we have to remove group from contact instances before removing them from roster so that gajim.groups in cleaned up. Fixes #1778
2006-03-29 21:23:13 +00:00
Yann Leboulanger
3a0e6bf000
modify treestore before iter becomes invalid
2006-03-29 20:32:36 +00:00
Yann Leboulanger
5742d670f5
move brothers to the contact I DND only if I DND big brother. Fixes #1770
2006-03-29 20:06:12 +00:00
Yann Leboulanger
dfbb506f35
remove General default group when latest is removed from it. Fixes #1775
2006-03-29 18:15:18 +00:00
Yann Leboulanger
c5e0650c91
refactor code
2006-03-29 17:31:15 +00:00
Nikos Kouremenos
705fe59669
rm leftover FIXME
2006-03-29 17:28:16 +00:00
Nikos Kouremenos
c5d6115d22
we can rename tranport now. fixes #1154
2006-03-29 17:22:56 +00:00
Nikos Kouremenos
7cd9b7caf5
typo
2006-03-29 16:44:40 +00:00
Nikos Kouremenos
cb28e2124d
use kbd_input.png (previously rename.png) for rename menuitems in roster;better names for making menus methods in roster;add (comment out though as it has a problem) rename for transport
2006-03-29 16:42:06 +00:00
Nikos Kouremenos
4d2a36707b
clean up code; obey to coding standards
2006-03-28 11:52:25 +00:00
Nikos Kouremenos
73905ec169
merge to logics about jid being a transport into one. use the superior one
2006-03-28 11:32:53 +00:00
Nikos Kouremenos
a643b7d466
revert accidental roster_window commit
2006-03-28 10:37:12 +00:00
Nikos Kouremenos
2099e3baa8
[jim++] clean logic on for handling the incoming msg, make pm special checks fixes ##1764
2006-03-28 10:27:58 +00:00
Nikos Kouremenos
b7edb82028
rm the fixme
2006-03-27 13:43:58 +00:00
Nikos Kouremenos
cc9a147dc0
startfile() instead of system() for windows
2006-03-27 13:42:28 +00:00
Nikos Kouremenos
a541c5f426
svn users can run history manager now [if they have pywin32]
2006-03-27 13:40:51 +00:00
Yann Leboulanger
a5d95b4792
when we change combobox, only look in global synced accounts if one is connected. Fixes #1724
2006-03-26 13:07:11 +00:00
Yann Leboulanger
1fafe3b08c
handle correctly resources in queue of events. Fixes #1706
2006-03-25 17:05:54 +00:00
Yann Leboulanger
59bff310b0
typo. Fixes #1744
2006-03-25 08:46:13 +00:00
Yann Leboulanger
6cec4ba128
remove online users menuitem as is in disco
2006-03-25 00:47:34 +00:00
Yann Leboulanger
fd859966c5
draw the TLS icon when we connect to a server. Fixes #1736
2006-03-24 21:51:15 +00:00
Yann Leboulanger
d3c461aca1
typo
2006-03-24 20:13:11 +00:00
Yann Leboulanger
0f52e16e45
we can now move a contact that has children to another contact
2006-03-24 14:27:52 +00:00
Yann Leboulanger
6724001ee3
correctly update parent when we drop child on another contact
2006-03-24 13:31:21 +00:00
Yann Leboulanger
f8db75e255
New metacontact way. JEP is not published yet, but I talked with the author. Old metacontact info are removed automaticaly
2006-03-24 12:55:56 +00:00
Nikos Kouremenos
6c4322483e
avoid dup of code. intro _add_history_manager_menuitem and call that instead of writing sth twice
2006-03-22 01:09:59 +00:00
Yann Leboulanger
4e7b9b64cc
add history manager menuitem when only one account too
2006-03-21 21:15:13 +00:00
Yann Leboulanger
df38aa897c
read_queue now look in awaiting_messages dict with fjid as key instead of jid. Fix #1706
2006-03-21 18:34:03 +00:00
Nikos Kouremenos
f1d4b2ceb4
(history manager) do some basic stuff for our windows users. add a fixme to test it works and test further for when I sit on Windows
2006-03-21 14:47:11 +00:00
Nikos Kouremenos
3b2c6021fa
run in background
2006-03-21 14:42:28 +00:00
Nikos Kouremenos
2eb1759a7f
now we can launch history manager via Roster Window (under advanced) fixes #1616
2006-03-21 14:26:01 +00:00
Yann Leboulanger
a5c2880b45
remove profile_avatar menuitem that sometimes appear
2006-03-18 09:59:04 +00:00
Yann Leboulanger
19ad69e3dd
remove empty group when we make latest contact of that group a child of another contact in another group. Fixes #1711
2006-03-18 08:54:50 +00:00
Nikos Kouremenos
7a31531882
hide for .10 special notification
2006-03-17 22:00:27 +00:00
Yann Leboulanger
31e3e64004
typo
2006-03-16 18:45:07 +00:00
Yann Leboulanger
a4b37a54a1
Fix when we receive a message from unknown contact
2006-03-16 16:31:34 +00:00
Nikos Kouremenos
f65a5be6e5
commit first part of special notifications (aka buddy pounces). at last make Choose Sound dlg a class; TODO: actually write to config user settings as well as take those into account [jim++]
2006-03-15 17:45:55 +00:00
Yann Leboulanger
1d172a9ffc
we reply to the resource that sends us the message. Fixes #753
2006-03-15 11:30:45 +00:00
Yann Leboulanger
db7766ea7e
when we get a message from a contact and we have a window with this resource, print it there. see #1697
2006-03-15 08:40:19 +00:00
Yann Leboulanger
6ca8c5334c
redraw correctly tabs / banner when sevral resources
2006-03-14 18:18:34 +00:00
Yann Leboulanger
51d57ba717
last_message_time is now indexed by full_jid. for [1697]
2006-03-14 17:13:34 +00:00
Yann Leboulanger
01a99ee766
fix TB when 2 resources with same status are in sub-menu
2006-03-14 16:34:02 +00:00
Yann Leboulanger
b1ce1107de
we can now talk to a specific resource
2006-03-14 13:10:09 +00:00
Nikos Kouremenos
0c6606c514
comments and 80 char margin
2006-03-13 23:25:00 +00:00
Nikos Kouremenos
ea50611b8f
[Jim++] do not print (None) if status msg is None on chat
2006-03-12 23:07:04 +00:00
Yann Leboulanger
26f33196d7
when we connect and already have opened chat windows, update them with new contact instances. Fixes #1590
2006-03-12 20:33:36 +00:00
Yann Leboulanger
f19dc78297
don't show hidden contacts that are not in observer group. Fixes #1494
2006-03-12 18:35:10 +00:00
Yann Leboulanger
d4cbe39fc2
auto_authorization is now keept in mem. This way it works correctly, but doesn't if you close gajim before your contact ask your auth. Fixes #1630
2006-03-08 10:46:36 +00:00
Yann Leboulanger
37c84ef192
when we open a message window by clicking popup menu or systray or doubble click on roster, treate it as long time ago message (don't show 2 seconds confirmation when closing it). Fixes #1591
2006-03-07 13:44:42 +00:00
Yann Leboulanger
0c8079f8b2
add an option to add_contact_to_roster to force the adding of children contacts. Fixes #1657
2006-03-06 12:50:38 +00:00
Yann Leboulanger
97183e141c
fix add_contact_to_roster so it handles correctly sub-child contacts. Fixes #1650
2006-03-06 12:24:04 +00:00
Yann Leboulanger
aa796665c5
get_contact_iter now handles sub child. Fixes #1650
2006-03-06 10:34:51 +00:00
Yann Leboulanger
cb6347ebac
typo. Fixes #1654
2006-03-05 21:32:51 +00:00
Yann Leboulanger
fe43649db9
move a contact on himself in another group now moves it there. see #1654
2006-03-05 21:32:33 +00:00
Yann Leboulanger
6ae027fe20
drop a child to a group row now works. Fixes #1665
2006-03-05 15:59:51 +00:00
Yann Leboulanger
cdc15278b1
drop on a group without control move contact and doesn't copy. Fixes #1660
2006-03-05 15:51:38 +00:00
Nikos Kouremenos
11d9f5398d
preferences window is created on the fly like every other window (well apart from FT [TODO for that]); this is good as we do not want such window to sit in memory; also fix some border width and spacing in prefs window
2006-03-05 12:18:47 +00:00
Yann Leboulanger
89f2afd048
Be sure not to create a loop when we drag parent on one of his child. Fixes #1656
2006-03-05 10:19:36 +00:00
Yann Leboulanger
08d07e3ffc
when a child change his status, redraw parent line too (parent icon may depend on children status). Fixes #1649
2006-03-04 09:49:53 +00:00
Yann Leboulanger
1112e8fba6
[Jim++] Don't show child icon if it is error or not in roster. See #1649
2006-03-04 00:29:29 +00:00
Yann Leboulanger
c307cb61f6
fix TB when we use merged accounts and drag a contact on another from another account. Fixes #1637 and see also #1596
2006-03-01 21:00:59 +00:00
Dimitur Kirov
1f467c0fc3
show_tooltip uses less argumens, added some
...
docs, explaining what this arguments are for
2006-02-28 10:13:42 +00:00
Yann Leboulanger
5cf1fcfa0f
add missing status in iconsets
2006-02-27 00:07:42 +00:00
Yann Leboulanger
946a28b26b
[Jim++] some elif instead of if
2006-02-26 23:29:49 +00:00
Yann Leboulanger
6af1c3dbdc
error / not_in_roster / requested / message icons are no more taken in transporticonset, but in jabber iconset. Fixes #1250
2006-02-26 15:08:59 +00:00
Nikos Kouremenos
62ebf355a3
fix typo
2006-02-26 14:40:49 +00:00
Nikos Kouremenos
a3fd1663d0
add comment; improve varname
2006-02-26 14:33:15 +00:00
Yann Leboulanger
df08d2f0c6
also redraw the window title when we change contact nick. Fixes #1599
2006-02-21 19:44:53 +00:00
Yann Leboulanger
a786a13d4c
update open chat window when we change contact's nick. Fixes #1599
2006-02-21 19:10:55 +00:00
Yann Leboulanger
2dcc72cb36
don't show subscription in account tooltip
2006-02-21 12:19:43 +00:00
Yann Leboulanger
3317383918
put contact in observer group when we remove it but let him see our status. Fixes #1494
2006-02-20 22:08:02 +00:00
Yann Leboulanger
f4e95cdc8d
when a child has awaiting events, draw parent with message icon and open chat with this child contact when we dubble click on parent
2006-02-20 17:09:14 +00:00
Yann Leboulanger
4415d770fc
not_in_the_roster.png -> not_in_roster.png
2006-02-20 11:02:35 +00:00
Yann Leboulanger
54a2891ea7
decode string from GTK. Fixes #1593
2006-02-19 23:23:48 +00:00
Yann Leboulanger
eb10d38708
do not allow to move a contact to transport or not in roster group. Fixes #1571
2006-02-19 23:05:00 +00:00
Yann Leboulanger
bafb439d35
fix wrong logic
2006-02-19 22:21:25 +00:00
Yann Leboulanger
50407e5cca
don't redraw the whole roster when we connects to an account
2006-02-19 22:20:45 +00:00
Nikos Kouremenos
57fad03435
better varname and clearer logic
2006-02-19 21:28:41 +00:00
Yann Leboulanger
b006a357f7
remove fixed FIXME
2006-02-19 18:00:23 +00:00
Yann Leboulanger
a081e4411a
re-create the actions menu only when needed: when we popup it up, and only when one account has signed in or signed out
2006-02-19 17:25:22 +00:00
Travis Shirk
2da7a542f8
Unread message fix when quitting gajim, see #1516
2006-02-08 04:55:06 +00:00
Yann Leboulanger
59e6377546
follow RFC 3921 section 8 for subscription. This also fixes #1400
2006-02-07 23:11:24 +00:00
Yann Leboulanger
652e1df102
redraw parent's icon when a child log off to eventually remove the arrow in icon
2006-02-05 13:44:51 +00:00
Yann Leboulanger
e9765bc6d8
when we drop a contact on a group row, copy/move it to this group
2006-02-05 11:30:17 +00:00
Yann Leboulanger
8e423a96ca
redraw parent when we add a child
2006-02-05 10:28:58 +00:00
Nikos Kouremenos
29ec011b9a
operate on model using path thus eliminate iter = model.get_iter(path) calls
2006-02-04 23:07:46 +00:00
Yann Leboulanger
b25a4dbcc5
when Drag And Drop from a group to another, popup a context menu to ask if we want to change group or make as subcontact
2006-02-03 21:02:47 +00:00
Yann Leboulanger
e29cf7bb9e
workaround a GTK windows bug (bis)
2006-02-03 15:51:56 +00:00
Yann Leboulanger
e155e9b496
workaround a GTK windows bug
2006-02-03 15:38:00 +00:00
Dimitur Kirov
f62db4acfe
Switched to non-blocking connections.
...
Removed threads and mutexes in connection.py
and gajim.py.
Add resolver through nslookup command, removed
dnspython and pydns (for now).
2006-02-03 12:17:34 +00:00