Commit Graph

729 Commits

Author SHA1 Message Date
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