Yann Leboulanger
27a6a1d7f1
redraw group row after we rename it. fixes #1728
2006-11-19 23:29:45 +00:00
Jean-Marie Traissard
31c3deb86e
Merge back [7466], [7467] and [7472] that were overwritten by ad_hoc merge. Fixes
...
#2200 .
2006-11-19 19:45:43 +00:00
Jean-Marie Traissard
917f7e8db6
Fix ad_hoc menu for transports. Fixes #2678 .
2006-11-19 17:53:04 +00:00
Tomasz Melcer
175a792cfe
Merging changes from trunk (6774:7465)
2006-11-18 20:52:28 +00:00
Tomasz Melcer
9b29c4c8b8
Merging changes from trunk (6561:6774)
2006-09-13 16:47:58 +00:00
Yann Leboulanger
4682b5bed7
add ability to execute ad hoc commands on server
2006-08-07 16:18:01 +00:00
Yann Leboulanger
c1f211b2ca
allow ad hoc commands on transports too
2006-08-01 12:56:16 +00:00
Yann Leboulanger
fd5294bd21
fix some bugs with self contact row
2006-07-19 11:08:25 +00:00
Yann Leboulanger
1f93e36844
add a self contact row when another resource is connected. we can now use ad_hoc commands in gajim
2006-07-19 11:01:09 +00:00
Tomasz Melcer
585ab90e92
Merging changes from trunk (6496:6561)
2006-07-17 19:30:53 +00:00
Tomasz Melcer
23fa0bf8e6
First version of commands window.
...
Added: glade file for commands window, src/adhoc_commands.py with a class
to create/manage the window. For now, progressbar bounces :-).
2006-06-22 22:49:39 +00:00
Tomasz Melcer
8a959c846b
"Execute command..." entry in roster in contact's popup menu, plus two fixes.
...
The fixes:
* when received a single message from a contact that has one resource online,
'start chat' entry in popup menu open only that message, not the chat
* when contact has more resources online, 'rename item' entry in popup menu
doesn't work
2006-06-19 21:30:58 +00:00
Jean-Marie Traissard
6047a41efd
Fixes #2083 TB
2006-06-18 23:38:02 +00:00
Yann Leboulanger
bc26593974
use gettext.install. Fixes #497
2006-06-15 06:49:04 +00:00
Jean-Marie Traissard
576f4eef56
Delete now unused sync param
2006-06-12 17:34:08 +00:00
Dimitur Kirov
97f66424bd
quit after unavalable oresence stanza is sent
...
(#1937 )
2006-06-12 07:38:07 +00:00
Yann Leboulanger
65f3129997
JEP-0172: send our nick when we talk for the first time to an unknown contact
2006-06-05 10:54:26 +00:00
Yann Leboulanger
59c3b7b3c8
JEP 172 support (user nickname) Fixes #464 and #884
2006-06-01 15:23:38 +00:00
Dimitur Kirov
4aa6c95398
don't drop contact in the same group if
...
destination jid belongs to other account
2006-05-31 11:45:04 +00:00
Yann Leboulanger
d848e71d3b
menu are now shown before popup so that they are correctly placed.
2006-05-26 13:25:31 +00:00
Jean-Marie Traissard
a0df4ece76
oups, fix reference problem
2006-05-25 10:40:07 +00:00
Jean-Marie Traissard
aec02d72db
Comment and clarify roster_window.on_message()
2006-05-25 10:26:55 +00:00
Dimitur Kirov
6953685979
prevent loop when adding metacontact to roster
...
(fixes #1953 and maybe #1991 )
2006-05-24 18:17:51 +00:00
Jean-Marie Traissard
c462cbba16
when clicking on a contact in roster : remove duplicate code, also open awaiting events when middle clicking
...
instead of always open chat
2006-05-21 19:35:33 +00:00
Jean-Marie Traissard
d39055fe3c
Sorted merged account line right click -> account_list
2006-05-14 16:28:09 +00:00
Jean-Marie Traissard
1dfd15631b
When in merged account mode, if we drag and drop contacts from one account to another, show drop menu,
...
allow to change group, inform user why creation of metacontact is not possible. Fixes #1383 .
2006-05-14 15:12:17 +00:00
Dimitur Kirov
1db4aa142b
redraw tabs from current window only
...
(fixes TB)
2006-05-09 13:03:52 +00:00
Jean-Marie Traissard
ab05e38d59
Even if we are using notifications, we still want to see awaiting chats when clicking systray -> show events or left
...
click
2006-05-04 19:05:41 +00:00
Dimitur Kirov
5e6b016af1
split gtkgui.glade in several small glade
...
files, which are now located in data/glade/
2006-05-02 15:53:25 +00:00
Yann Leboulanger
d25d056677
be sure that transport is really removed before we start to remove its contacts.
2006-05-01 18:29:12 +00:00
Yann Leboulanger
cab5718458
we can DND a contact on another account's group if we are in merged mode. Fixes #1888
2006-04-28 19:09:52 +00:00
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