Commit Graph

4119 Commits

Author SHA1 Message Date
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
Nikos Kouremenos e3c9a07aaa ask C to copy list; respect 80 chars margin; use show and not print when you mean show 2006-04-09 16:48:24 +00:00
Nikos Kouremenos 6f935c5ce0 user_profile_window will replace vcard_window in .11. the fact that this window looks a lot like gnome-about-me is not a coincidence. I like how GNOME HIG looks on gnome-about-me and also eds intergration is planned. atm I commit this, as is. strings are permanent, and those that are notes, are unchecked for translation 2006-04-09 16:34:20 +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
Jean-Marie Traissard ba2f6221fb If a contact is in 'Not in Roster' group in the roster, see him in systray->chat_with->'Not in Roster' 2006-04-09 14:08:46 +00:00
Yann Leboulanger b9c96a195d destroy dialog when we press ok in history_manager.py when we delete a jid. Fixes #1833 2006-04-09 12:38:38 +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
Nikos Kouremenos 73bdf4900d make clear and append logic non-bogus; move FIXME to the right place;TODO fix fime 2006-04-09 11:02:43 +00:00
Nikos Kouremenos c92f151f32 we can now export room logs too 2006-04-09 10:40:51 +00:00
Yann Leboulanger da614accfa hide subscription menuitem for not in roster contacts. Fixes #1821 2006-04-09 10:35:21 +00:00
Nikos Kouremenos b2032686bb we now also have nickname in history mgr 2006-04-09 10:32:34 +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
Yann Leboulanger 0793c64053 contacts.get_contact() now always returns a list (empty if needed) when no resource is given. Should fix #1821 2006-04-09 09:39:02 +00:00
Jean-Marie Traissard 3fbe15edab Do not TB in systray when a contact has 'not in the roster' for show, don't list him in chat
with.
2006-04-09 00:08:34 +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
Dimitur Kirov 0c9ceace11 nonmodla FT request dialog 2006-04-08 17:02:55 +00:00
Dimitur Kirov 481c08560f removed useless methods 2006-04-08 16:51:56 +00:00
Dimitur Kirov 29852a931f don't try to send if connection is down
(this check should be done in all functions
 that may come from user response to dialogs)
2006-04-08 16:40:43 +00:00
Dimitur Kirov a49e89c6b5 don't try to do a nasty connect 2006-04-08 16:29:16 +00:00
Dimitur Kirov 2fa30b7e1e use realm from first challenge response 2006-04-08 15:58:50 +00:00
Dimitur Kirov 6556d01cbe change(s) from xmpppy 2006-04-08 15:39:37 +00:00
Jean-Marie Traissard 039a74adff Sort contact by show in systray->chat with if sort_by_show is on. Fixes #1539 2006-04-08 14:33:04 +00:00
Nikos Kouremenos 40f41bf81d typo 2006-04-08 11:38:16 +00:00
Nikos Kouremenos f0b186808f typo 2006-04-08 10:34:47 +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
Dimitur Kirov e95cd81587 show roster when there are no old and new logs 2006-04-08 01:11:11 +00:00
Dimitur Kirov 71314f2b08 don't try to reconnect if socket was never
connected
2006-04-08 00:30:33 +00:00
Dimitur Kirov 077e3e1084 take care for winners 2006-04-07 23:49:49 +00:00
Nikos Kouremenos eb4aa3b9c9 take commit comment to actual code comment so readability is increased and comment is on-line help 2006-04-07 23:47:24 +00:00
Dimitur Kirov ad803388ad destroy banner tooltip on close 2006-04-07 23:44:34 +00:00
Yann Leboulanger c73abbab57 correctly handle resources when chat window get focus. Fixes #1785 2006-04-07 23:29:07 +00:00
Yann Leboulanger e9bd817680 destroy sub menus in systray popup menu before creating new. Fixes #1820 2006-04-07 23:07:14 +00:00
Dimitur Kirov 52d01323ce mirate logs by spawing a child python process
No progress text, only pulsebar
2006-04-07 22:57:27 +00:00
Yann Leboulanger 8c56beac9b destroy advanced_menus before creating new one. Fixes #1820 2006-04-07 21:50:27 +00:00
Dimitur Kirov 1273e35617 typo: wrong ticket number, should be #1629 2006-04-07 21:05:16 +00:00
Dimitur Kirov 047ebf27ef try reconnect if connection has failed befor
auth to server (#1663)
2006-04-07 21:01:37 +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 30f7f7bea8 don't rescale image when size is < 1 2006-04-07 19:03:38 +00:00
Yann Leboulanger c0bcd072c0 destroy context menu when selection is done. see #1820 2006-04-07 15:51:17 +00:00
Yann Leboulanger 163d3ebadf fix encoding problem. Fixes #1825 2006-04-07 15:44:33 +00:00
Nikos Kouremenos d47db39011 introduce new class for non modal filechooser. atm still blocks 2006-04-07 14:23:21 +00:00
Nikos Kouremenos 81cc6e9a5b tab label left align 2006-04-07 13:40:54 +00:00
Nikos Kouremenos 00fe7bf965 fix so tab label expands and fills 2006-04-07 13:34:48 +00:00
Nikos Kouremenos 637e865960 rm leftover fixme 2006-04-07 12:27:00 +00:00
Nikos Kouremenos db1cffb299 parent.destroy() destroys childs too 2006-04-07 11:09:11 +00:00
Jean-Marie Traissard 7c85a32cbb Include users with no group un "General" group in systray->chat with 2006-04-06 21:19:26 +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 8502d69f8d handle click on old-style popup window the same way as for new-style. Fixes #1785 2006-04-06 18:13:06 +00:00
Yann Leboulanger 2c552d2b85 remove no more used func 2006-04-06 17:27:33 +00:00
Yann Leboulanger 1bc78a3818 we remove agent even if it doesn't reply. Fixes #1756 2006-04-06 16:58:20 +00:00
Yann Leboulanger 29f41b223a we can now disable avatars by setting width or height to 0. Partially fixes #1816 2006-04-06 16:20:59 +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
Jean-Marie Traissard 515cbaa270 Do not create and show xml console when creating an account. Fixes #1815 2006-04-06 11:15:04 +00:00
Yann Leboulanger 897fd6c35e show YesNoDialogs. Fixes #1814 2006-04-06 11:04:41 +00:00
Dimitur Kirov 14c5213a58 Jim: typo 2006-04-06 10:58:19 +00:00
Jean-Marie Traissard e226313777 Avoid code duplication in old popups coloring 2006-04-05 19:57:13 +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
Yann Leboulanger 37fd51363a remove contact from roster when we read latest event (including non-message event) if showOffline is False. Fixes #1812 2006-04-05 18:53:21 +00:00
Nikos Kouremenos 35f2132815 add some new comments in notify.py 2006-04-05 18:37:53 +00:00
Yann Leboulanger a2b3acd864 remove contact from roster when we read his awaiting events and showOffline is False. Fixes #1812 2006-04-05 17:25:02 +00:00
Nikos Kouremenos 397d255c42 [jim++] fix muc invitation old style popup (perhpas new too) says event_type as text (#1797) 2006-04-05 16:32:22 +00:00
Nikos Kouremenos d86797d034 [jim++] pango escape text. (#1806) 2006-04-05 14:57:09 +00:00
Nikos Kouremenos e703218466 coding standards. rm too much identation 2006-04-05 14:54:17 +00:00
Nikos Kouremenos a899295d80 enrich comment 2006-04-05 12:12:37 +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 2f9b0eab28 [dkirov] JEP says we should not use EXTVAL in vcard 2006-04-05 11:29:35 +00:00
Yann Leboulanger d91d0e0b0e emoticons_menu is created only once, and correctly destroyed when we change emoticon theme. (It was never destroyed before -> memory leak) 2006-04-05 09:55:22 +00:00
Yann Leboulanger e181a707d5 always show show_offline_menuitem 2006-04-04 19:32:53 +00:00
Yann Leboulanger 0828f88e29 fix logic. Fixes #1798 2006-04-04 19:32:12 +00:00
Nikos Kouremenos 5e46d05431 logic fix. thanks Jim 2006-04-04 18:07:10 +00:00
Yann Leboulanger 7b102e4813 fix TB when getting chatstate from contact not in roster of offline storaged chatstate 2006-04-04 17:51:52 +00:00
Nikos Kouremenos 5957e968d7 do not tb on kind gc_msg 2006-04-04 17:50:14 +00:00
Yann Leboulanger f36a6af404 remove useless indentation 2006-04-04 17:46:19 +00:00
Nikos Kouremenos 72d035eb15 escape for pango. thanks jim for refreshing my mem 2006-04-04 17:28:46 +00:00
Nikos Kouremenos 4f0a5096bd include check for status colors in history managers. 2006-04-04 17:26:22 +00:00
Nikos Kouremenos d7e6979887 fjid ==> full_jid so we can distinguish it from fjid (which should progressively become fake_jid) 2006-04-04 17:21:38 +00:00
Nikos Kouremenos cdf325d477 add colors to show your and other party's message on history mgr (#1659) 2006-04-04 17:10:58 +00:00
Nikos Kouremenos 9fecec7edd fix copyright stuff 2006-04-04 17:10:12 +00:00
Nikos Kouremenos ff7bfc88b3 rm leftover comment 2006-04-04 17:09:48 +00:00
Nikos Kouremenos b4465083ce fix copyright stuff 2006-04-04 17:09:29 +00:00
Yann Leboulanger 671985c50f handle correctly resource when we already have chat window opened. Fixes #1785 2006-04-04 15:20:12 +00:00
Yann Leboulanger fe9bdf1737 nothing: remove useless line 2006-04-04 15:19:33 +00:00
Yann Leboulanger 6efe0ce886 show confiramtion windows. Fixes #1795 2006-04-04 14:49:56 +00:00
Nikos Kouremenos 7ad5bf4580 improve comment 2006-04-04 11:44:17 +00:00
Dimitur Kirov cd8a5dca72 file tag is needed only when restoring previous
transfers
2006-04-04 08:31:36 +00:00
Dimitur Kirov 2c41c831b9 no file tag for stream initiation result
(#1796)
2006-04-04 08:27:27 +00:00
Yann Leboulanger bf56c34a83 count only incoming messages for gajim.last_message_time value. Fixes #1281 2006-04-03 16:55:31 +00:00
Yann Leboulanger 543a2df0ee check title before setting the label with it 2006-04-03 14:21:51 +00:00
Yann Leboulanger ddfd3d7be6 better title / text in popup windows. Fixes #1790 2006-04-03 07:40:15 +00:00
Yann Leboulanger c31f3cf03a remove unwanted label385 in room config window. Fixes #1794 2006-04-03 05:26:26 +00:00
Yann Leboulanger 6999fae260 hide finish button in Account creation wizard until latest page 2006-04-02 20:10:32 +00:00
Yann Leboulanger c201b03dce typo: update correctly gajim.last_message_time when we receive a message. Fixes #1281 2006-04-02 17:38:06 +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 e63de7d933 remove some useless import 2006-04-02 16:07:03 +00:00
Yann Leboulanger f727ef1c85 remove some useless import 2006-04-02 16:04:33 +00:00
Nikos Kouremenos bed7a29414 fix a typo 2006-04-02 15:11:27 +00:00
Yann Leboulanger a803ba2758 take into account notify_on_new_message option for pm 2006-04-01 20:56:34 +00:00
Yann Leboulanger 9541b75559 prevent TB 2006-04-01 20:30:37 +00:00
Yann Leboulanger c23a517a20 typo 2006-04-01 20:21:21 +00:00
Yann Leboulanger becf3c4c3a handle correctly pm 2006-04-01 18:55:53 +00:00
Yann Leboulanger 90e5561860 JEP 0091 support: timestamp in presences. Fixes #1675 2006-04-01 18:16:06 +00:00
Yann Leboulanger 81d3d38455 fix logic in handle_event_msg so messages from lower resource doesn't behaves incorrectly. Fixes #1785 2006-04-01 17:03:36 +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 117acf702c contact.show can be not in roster. Fixes #1792 2006-04-01 10:23:40 +00:00
Nikos Kouremenos bd4a18b861 if we have status message for contact that signs in/out and we have such notifications, include the status message information in those windows 2006-04-01 09:35:07 +00:00
Nikos Kouremenos befc5ac529 in notifications say the message and do not dup info that new msg is in. fixes #1790 2006-04-01 09:17:15 +00:00
Travis Shirk 39b2c854d4 Since gajim-remote is a user script and the output of which is often parsed I think
it unwise to include the "inconsistent use of tabs and spaces in indentation" warning.
Filtering stderr works, but may also filter out useful info.
2006-04-01 05:01:42 +00:00
Yann Leboulanger 111ea2c9b6 cleanup ichat mode code. No need of timeout. Fixes #1213 2006-03-31 20:08:47 +00:00
Nikos Kouremenos fcf31413dc fix hawke patch 2006-03-31 18:40:10 +00:00
Yann Leboulanger d0f7758647 clean common.contacts._contacts when we remove a contact. Fixes #1788 2006-03-31 17:54:52 +00:00
Alex Mauer ff5fd60861 * Add option 'dont_ack_s10n' to prevent the infinite loop with jabberd2 subscription acknowledgements. 2006-03-31 17:35:05 +00:00
Nikos Kouremenos b3f1956da9 apply underlines to labels. apply correct focus target for them. fix some strings 2006-03-31 11:45:11 +00:00
Nikos Kouremenos b4574c341b print time sometimes or never disables being able to change before after time entries 2006-03-31 11:25:29 +00:00
Nikos Kouremenos 60c916b53a [jim] rm a space 2006-03-31 10:44:47 +00:00
Yann Leboulanger efcc8a1c94 prevent infinite loop when using show all pending events from systray 2006-03-31 07:47:27 +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
Nikos Kouremenos 99276b5b8b revert buttons in notif-daemon popups. notif-daemon new release will fix position bug reported as attach in #1537 2006-03-30 20:08:55 +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 b7e4465ed5 add contact to roster when he becomes observer (and was none before) 2006-03-30 18:48:24 +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 276415f570 we can now re-add a contact that was ith sub=none (so not shown at all in roster) 2006-03-30 17:55:25 +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 883bff804c we now can't remove / rename accounts with unread events 2006-03-30 17:23:06 +00:00
Nikos Kouremenos 62951fb718 coding standards; convert a TODO to more like testing stuff 2006-03-30 16:10:50 +00:00
Nikos Kouremenos 1dc069f237 overkill to use sre for just replace 2006-03-30 16:08:54 +00:00
Yann Leboulanger ef6ead5d84 fix TB: button_text is now always set 2006-03-30 14:08:57 +00:00
Yann Leboulanger a2b7c819a1 re-introduce button in notification in order to see it fully on screen. I just took Andrew's code from #1388 patch04. Fixes #1537 2006-03-30 12:57:38 +00:00
Dimitur Kirov 114264ca13 stop if Process has return 0, meaning that it
closed the connection
2006-03-29 23:33:17 +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 4849c2f815 we go offline in rooms when we go invisible 2006-03-29 21:06:01 +00:00
Yann Leboulanger 0e873f24ca edit groups now works for non-metacontacts too :). Fixes #1778 2006-03-29 21:00:33 +00:00
Yann Leboulanger 3a0e6bf000 modify treestore before iter becomes invalid 2006-03-29 20:32:36 +00:00
Yann Leboulanger 7043aeeb7e when we edit groups of a contact, groups of all brothers are also updated to they are sync. Fixes #1770 2006-03-29 20:26:20 +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 3b46d08e5d prevent a useless stanza 2006-03-29 20:04:48 +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 12959a7888 prevent adding twice a group in a contact.groups 2006-03-29 18:07:58 +00:00