Commit Graph

779 Commits

Author SHA1 Message Date
Jean-Marie Traissard f041f8dd5e JID->Jabber ID in gc tooltip
if print_time==sometimes : Show the day if needed also. Use locale for time format (do
not force
24h)
Delete a lot of unused locale variables (thanks pychecker)
del gajim.py useless global vars after use
configpaths.py : use self. not this.
2006-11-21 18:46:33 +00:00
Jean-Marie Traissard 2ca94a530a Fix send message to group.
Delete duplicate code
2006-11-20 22:22:30 +00:00
Yann Leboulanger 9259d870d5 get group name from jid column, not name column (it contains number of online / total contacts) 2006-11-20 22:02:08 +00:00
Jean-Marie Traissard 173ab72b46 var name 2006-11-20 17:24:52 +00:00
Yann Leboulanger 1c09951eb2 put just_connected_bg_color and just_disconnected_bg_color in ACE. fixes #2677 2006-11-20 08:03:05 +00:00
Yann Leboulanger a6c6d6a27f 80 margin 2006-11-20 07:53:58 +00:00
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