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