Commit Graph

773 Commits

Author SHA1 Message Date
Yann Leboulanger 1112e8fba6 [Jim++] Don't show child icon if it is error or not in roster. See #1649 2006-03-04 00:29:29 +00:00
Yann Leboulanger c307cb61f6 fix TB when we use merged accounts and drag a contact on another from another account. Fixes #1637 and see also #1596 2006-03-01 21:00:59 +00:00
Dimitur Kirov 1f467c0fc3 show_tooltip uses less argumens, added some
docs, explaining what this arguments are for
2006-02-28 10:13:42 +00:00
Yann Leboulanger 5cf1fcfa0f add missing status in iconsets 2006-02-27 00:07:42 +00:00
Yann Leboulanger 946a28b26b [Jim++] some elif instead of if 2006-02-26 23:29:49 +00:00
Yann Leboulanger 6af1c3dbdc error / not_in_roster / requested / message icons are no more taken in transporticonset, but in jabber iconset. Fixes #1250 2006-02-26 15:08:59 +00:00
Nikos Kouremenos 62ebf355a3 fix typo 2006-02-26 14:40:49 +00:00
Nikos Kouremenos a3fd1663d0 add comment; improve varname 2006-02-26 14:33:15 +00:00
Yann Leboulanger df08d2f0c6 also redraw the window title when we change contact nick. Fixes #1599 2006-02-21 19:44:53 +00:00
Yann Leboulanger a786a13d4c update open chat window when we change contact's nick. Fixes #1599 2006-02-21 19:10:55 +00:00
Yann Leboulanger 2dcc72cb36 don't show subscription in account tooltip 2006-02-21 12:19:43 +00:00
Yann Leboulanger 3317383918 put contact in observer group when we remove it but let him see our status. Fixes #1494 2006-02-20 22:08:02 +00:00
Yann Leboulanger f4e95cdc8d when a child has awaiting events, draw parent with message icon and open chat with this child contact when we dubble click on parent 2006-02-20 17:09:14 +00:00
Yann Leboulanger 4415d770fc not_in_the_roster.png -> not_in_roster.png 2006-02-20 11:02:35 +00:00
Yann Leboulanger 54a2891ea7 decode string from GTK. Fixes #1593 2006-02-19 23:23:48 +00:00
Yann Leboulanger eb10d38708 do not allow to move a contact to transport or not in roster group. Fixes #1571 2006-02-19 23:05:00 +00:00
Yann Leboulanger bafb439d35 fix wrong logic 2006-02-19 22:21:25 +00:00
Yann Leboulanger 50407e5cca don't redraw the whole roster when we connects to an account 2006-02-19 22:20:45 +00:00
Nikos Kouremenos 57fad03435 better varname and clearer logic 2006-02-19 21:28:41 +00:00
Yann Leboulanger b006a357f7 remove fixed FIXME 2006-02-19 18:00:23 +00:00
Yann Leboulanger a081e4411a re-create the actions menu only when needed: when we popup it up, and only when one account has signed in or signed out 2006-02-19 17:25:22 +00:00
Travis Shirk 2da7a542f8 Unread message fix when quitting gajim, see #1516 2006-02-08 04:55:06 +00:00
Yann Leboulanger 59e6377546 follow RFC 3921 section 8 for subscription. This also fixes #1400 2006-02-07 23:11:24 +00:00
Yann Leboulanger 652e1df102 redraw parent's icon when a child log off to eventually remove the arrow in icon 2006-02-05 13:44:51 +00:00
Yann Leboulanger e9765bc6d8 when we drop a contact on a group row, copy/move it to this group 2006-02-05 11:30:17 +00:00
Yann Leboulanger 8e423a96ca redraw parent when we add a child 2006-02-05 10:28:58 +00:00
Nikos Kouremenos 29ec011b9a operate on model using path thus eliminate iter = model.get_iter(path) calls 2006-02-04 23:07:46 +00:00
Yann Leboulanger b25a4dbcc5 when Drag And Drop from a group to another, popup a context menu to ask if we want to change group or make as subcontact 2006-02-03 21:02:47 +00:00
Yann Leboulanger e29cf7bb9e workaround a GTK windows bug (bis) 2006-02-03 15:51:56 +00:00
Yann Leboulanger e155e9b496 workaround a GTK windows bug 2006-02-03 15:38:00 +00:00
Dimitur Kirov f62db4acfe Switched to non-blocking connections.
Removed threads and mutexes in connection.py
and gajim.py.
Add resolver through nslookup command, removed
dnspython and pydns (for now).
2006-02-03 12:17:34 +00:00
Yann Leboulanger 964d32fc48 80 margin 2006-02-03 11:20:55 +00:00
Yann Leboulanger 1d5c383095 present window before printing the "you are already in this room" error dialog. Fixes #1142 2006-02-01 21:15:56 +00:00
Yann Leboulanger 912bda3074 set contact status to '' when we go offline 2006-02-01 20:12:37 +00:00
Yann Leboulanger 4ce9c8997a draw opened/closed icon only when there is a connected child 2006-02-01 20:02:11 +00:00
Yann Leboulanger baab9a4a4a always sort meta contacts by status 2006-02-01 12:48:00 +00:00
Yann Leboulanger df1f876603 re-build opened and closed transport iconset when we change iconset 2006-01-31 23:00:51 +00:00
Yann Leboulanger d4651a3215 redraw the parent contact icon when we add / remove a subcontact 2006-01-31 22:24:46 +00:00
Yann Leboulanger f22b455da8 when we remove a contact that has subcontacts or is a subcontact, update meta contacts info stored on the server 2006-01-31 21:59:12 +00:00
Yann Leboulanger 475ebb8879 typo 2006-01-31 18:23:13 +00:00
Yann Leboulanger e3888b8202 fix TB 2006-01-31 13:52:54 +00:00
Yann Leboulanger a315c21348 create transport images with opened and closed pixbuf on it. Fixes #1491 2006-01-31 13:33:52 +00:00
Nikos Kouremenos 8b7c67414c keep 2.6.x compat [for how long.. :P] 2006-01-31 10:53:24 +00:00
Yann Leboulanger e751343173 completly remove a contact before adding it when we do DND because add_contact_ro_roster doesn't add it if one row is already in roster 2006-01-31 08:22:32 +00:00
Yann Leboulanger 568fa9e694 fix TB: missing var 2006-01-31 08:07:43 +00:00
Yann Leboulanger bee9aca0ad fix bad transparency value 2006-01-31 07:55:53 +00:00
Yann Leboulanger 276fb72c8e We now show an icon composed by the status icon and closed/opened icon for parent contacts 2006-01-30 22:52:34 +00:00
Yann Leboulanger ce99ea66f8 wrong var name 2006-01-29 13:38:01 +00:00
Yann Leboulanger ec927d3a4b We can now add and remove meta contacts by drag and drop from same group 2006-01-26 23:20:27 +00:00
Nikos Kouremenos e20945ae1b rm commented out code and improve docstring to describe new var so we remember what it is about after 3 weeks ;) 2006-01-26 19:37:13 +00:00
Yann Leboulanger 4f21775305 we can now get meta contacts from server and display them 2006-01-26 11:23:15 +00:00
Nikos Kouremenos 33b9218ba1 do not hardcode white in roster themes 2006-01-25 23:47:15 +00:00
Travis Shirk 170a1db254 We can now chat with the same contact or join the same gc using two differenct account;
closes #1421
2006-01-25 05:39:07 +00:00
Travis Shirk 2b956ec93c Change gc tab icon when we lose the room connection.
Thanks to Heather Gilmore, my wife, for grey-scaling the image. :-*
2006-01-25 02:57:11 +00:00
Travis Shirk a63132500b Pass account to window/control lookup methods 2006-01-25 02:43:55 +00:00
Yann Leboulanger 96bf76308f remove contact from gajim.contacts when we remove a transport so we don't TB 2006-01-23 22:31:47 +00:00
Travis Shirk 0650f0e493 Always use gtkgui_helpers.set_unset_urgency_hint to toggle urgency 2006-01-23 00:03:28 +00:00
Yann Leboulanger 89bf45a2c6 when wrong GPG passphrase is entered, we re-ask to user twice. Fixes [1410] 2006-01-21 21:19:14 +00:00
Yann Leboulanger 2dc4eb3f21 [campey] not in the roster -> Not in Roster. Fixes #1054 2006-01-19 21:55:01 +00:00
Yann Leboulanger ed134c32ed [SF] don't use merge if only one account Fixes #1180 2006-01-18 19:31:25 +00:00
Yann Leboulanger dceac477d6 when an account change status, send presence to gc of ONLY this account. Fixes #1380 2006-01-12 20:54:46 +00:00
Travis Shirk 1689ae3783 Window positioning/sizing, closes #1260 2006-01-12 05:45:30 +00:00
Nikos Kouremenos bc59eadfff revert accidental prints 2006-01-11 23:18:12 +00:00
Nikos Kouremenos 4ed199bd17 import os imports os.path 2006-01-11 23:17:16 +00:00
Yann Leboulanger e52a8d842d remove already resolved FIXME 2006-01-11 08:20:54 +00:00
Nikos Kouremenos a635a92781 ObserverS (plural) and adda FIXME for contacts not having groups 2006-01-11 08:18:40 +00:00
Travis Shirk 260f90811e Merged message_window branch. 2006-01-11 02:49:37 +00:00
Yann Leboulanger 83e7c0daa9 implement observer group of JEP 0162. fixes #1328 2006-01-10 18:34:23 +00:00
Yann Leboulanger d2ab3031f1 contact.name can now be empty. So use contact.get_shown_name() that returns a user friendly name 2006-01-10 18:30:57 +00:00
Travis Shirk 0da89c3996 /me works, room subject ellipses, and ui update fixes 2006-01-10 01:47:24 +00:00
Travis Shirk ebf346e03c more chatstate fixes and theme updates with config 2006-01-08 20:51:12 +00:00
Travis Shirk e53e786182 Trying to fix PM regression since merge 2006-01-08 07:50:26 +00:00
Travis Shirk c033a670d1 Merged revisions 5044-5051 via svnmerge from
svn://svn.gajim.org/gajim/trunk

........
r5044 | asterix | 2006-01-07 17:17:05 -0700 (Sat, 07 Jan 2006) | 2 lines

open the vcard on the real jid in gc if we know it

........
r5045 | asterix | 2006-01-07 17:23:33 -0700 (Sat, 07 Jan 2006) | 2 lines

use real jid when we open a pm message if we know it

........
r5046 | asterix | 2006-01-07 17:27:38 -0700 (Sat, 07 Jan 2006) | 2 lines

get contact from the self.contacts so that even if it's pm we get a Contact instance

........
r5047 | asterix | 2006-01-07 17:30:58 -0700 (Sat, 07 Jan 2006) | 2 lines

don't ask vcard when we get an error presence

........
r5048 | asterix | 2006-01-07 17:39:05 -0700 (Sat, 07 Jan 2006) | 2 lines

fix logic in contacts.add_contact() function

........
r5049 | asterix | 2006-01-07 18:08:21 -0700 (Sat, 07 Jan 2006) | 2 lines

do not use underline in join_gc menu

........
r5050 | asterix | 2006-01-07 18:12:09 -0700 (Sat, 07 Jan 2006) | 2 lines

don't use underline in all menus that contact an account name

........
r5051 | asterix | 2006-01-07 18:18:16 -0700 (Sat, 07 Jan 2006) | 2 lines

add an ACE option to hide the avatar in tabbed chat window

........
2006-01-08 05:05:16 +00:00
Yann Leboulanger ca2f5f7c32 don't use underline in all menus that contact an account name 2006-01-08 01:12:09 +00:00
Yann Leboulanger 47a13bdd2f do not use underline in join_gc menu 2006-01-08 01:08:21 +00:00
Travis Shirk 41be225383 FIXMEs 2006-01-08 00:15:54 +00:00
Travis Shirk 5c53bdbee6 Merged revisions 5030-5031,5033-5038 via svnmerge from
svn://svn.gajim.org/gajim/trunk

........
r5030 | asterix | 2006-01-07 10:04:18 -0700 (Sat, 07 Jan 2006) | 2 lines

when we add a bookmark, we add our nick by default

........
r5031 | nicfit | 2006-01-07 10:24:50 -0700 (Sat, 07 Jan 2006) | 2 lines

Grammatical fix

........
r5033 | asterix | 2006-01-07 11:36:56 -0700 (Sat, 07 Jan 2006) | 2 lines

cell_renderer_image now take in argument the index of the column and the index in the model

........
r5034 | asterix | 2006-01-07 11:37:28 -0700 (Sat, 07 Jan 2006) | 2 lines

typo

........
r5035 | asterix | 2006-01-07 11:38:18 -0700 (Sat, 07 Jan 2006) | 2 lines

don't show header in emoticonManager so that cellrenderer correctly compute the area to redraw

........
r5036 | asterix | 2006-01-07 11:39:41 -0700 (Sat, 07 Jan 2006) | 2 lines

prevent a TB

........
r5037 | nicfit | 2006-01-07 13:26:08 -0700 (Sat, 07 Jan 2006) | 2 lines

Increment later

........
r5038 | nicfit | 2006-01-07 13:29:05 -0700 (Sat, 07 Jan 2006) | 2 lines

Fixed syntax error

........
2006-01-07 20:47:06 +00:00
Yann Leboulanger 4b6ff22001 cell_renderer_image now take in argument the index of the column and the index in the model 2006-01-07 18:36:56 +00:00
Travis Shirk f52afdcbe8 Merged revisions 5017-5020,5022-5029 via svnmerge from
svn://svn.gajim.org/gajim/trunk

........
r5017 | asterix | 2006-01-06 01:55:51 -0700 (Fri, 06 Jan 2006) | 2 lines

use escape for pango markup

........
r5018 | asterix | 2006-01-06 02:21:39 -0700 (Fri, 06 Jan 2006) | 2 lines

missing new contacts function

........
r5019 | asterix | 2006-01-06 11:03:07 -0700 (Fri, 06 Jan 2006) | 2 lines

handle the click on toggle_gpg_encryption menuitem

........
r5020 | asterix | 2006-01-06 11:14:14 -0700 (Fri, 06 Jan 2006) | 2 lines

use the saved size even if a chat window is already opened

........
r5022 | asterix | 2006-01-07 03:43:47 -0700 (Sat, 07 Jan 2006) | 2 lines

we can now resume filetransfert

........
r5023 | asterix | 2006-01-07 03:56:31 -0700 (Sat, 07 Jan 2006) | 2 lines

[Knuckles] Google E-Mail Notification

........
r5024 | asterix | 2006-01-07 04:02:16 -0700 (Sat, 07 Jan 2006) | 2 lines

better string

........
r5025 | asterix | 2006-01-07 04:14:32 -0700 (Sat, 07 Jan 2006) | 2 lines

fix a TB

........
r5026 | asterix | 2006-01-07 05:36:55 -0700 (Sat, 07 Jan 2006) | 2 lines

we can now drag a file on a contact in the roster to send him a file

........
r5027 | asterix | 2006-01-07 06:26:28 -0700 (Sat, 07 Jan 2006) | 2 lines

contact.groups is always a list, even if emtpy

........
r5028 | asterix | 2006-01-07 06:54:30 -0700 (Sat, 07 Jan 2006) | 2 lines

make all buttons insensitive on a category row in disco

........
r5029 | asterix | 2006-01-07 07:19:25 -0700 (Sat, 07 Jan 2006) | 2 lines

auto open groupchat configuration window when we create a new room

........
2006-01-07 17:25:35 +00:00
Yann Leboulanger ae55c7149f contact.groups is always a list, even if emtpy 2006-01-07 13:26:28 +00:00
Yann Leboulanger 205dc155c6 we can now drag a file on a contact in the roster to send him a file 2006-01-07 12:36:55 +00:00
Travis Shirk 2a5b0afc44 More groupchat goodness 2006-01-06 06:59:55 +00:00
Travis Shirk 58f2d03dd3 Groupchat roster work 2006-01-06 03:36:07 +00:00
Travis Shirk 8ab5887301 state update fixes 2006-01-06 01:48:59 +00:00
Travis Shirk 893f15aeee Working on GroupchatControl 2006-01-05 05:51:28 +00:00
Travis Shirk 757ed426e3 Merged revisions 4987-4989,4991-4996,4999,5003 via svnmerge from
svn://svn.gajim.org/gajim/trunk

........
r4987 | nk | 2006-01-03 04:00:51 -0700 (Tue, 03 Jan 2006) | 1 line

commit 48x48 transport online/offline imgs by Grenshad (I pngcrushed them)
........
r4988 | nk | 2006-01-03 04:32:01 -0700 (Tue, 03 Jan 2006) | 1 line

icon in notification window not always jabber now. MSN if he uses msn etc. thanks stian barmen for helping me test
........
r4989 | nk | 2006-01-03 04:40:44 -0700 (Tue, 03 Jan 2006) | 1 line

all strings I got report about them, are not translatable; pot/po update
........
r4991 | asterix | 2006-01-03 08:08:21 -0700 (Tue, 03 Jan 2006) | 2 lines

don't remove the jid entry in _contacts[account] when we remove a contact

........
r4992 | asterix | 2006-01-03 08:18:30 -0700 (Tue, 03 Jan 2006) | 2 lines

fix logic

........
r4993 | asterix | 2006-01-03 09:04:14 -0700 (Tue, 03 Jan 2006) | 2 lines

a GC_Contact can have a resource if we knoe his real JID

........
r4994 | asterix | 2006-01-03 09:32:58 -0700 (Tue, 03 Jan 2006) | 2 lines

missing argument in create_gc_contact

........
r4995 | asterix | 2006-01-03 10:36:41 -0700 (Tue, 03 Jan 2006) | 2 lines

we save gc_contact vcard instance in instances[self.account]['infos'][Fake_jid]

........
r4996 | asterix | 2006-01-03 11:17:43 -0700 (Tue, 03 Jan 2006) | 2 lines

in DataForm, a field of type 'list-single' can have no <value> element. Create a default one in such a case to prevent TB

........
r4999 | asterix | 2006-01-04 05:52:26 -0700 (Wed, 04 Jan 2006) | 2 lines

prevent TB when we move a contact that was in no group

........
r5003 | asterix | 2006-01-04 09:03:42 -0700 (Wed, 04 Jan 2006) | 2 lines

handle correctly unlabeled option values in DataForms

........
2006-01-05 03:17:36 +00:00
Travis Shirk 715afc7113 Chatstate and tab redraw fixes 2006-01-05 02:58:59 +00:00
Yann Leboulanger edaa70740e prevent TB when we move a contact that was in no group 2006-01-04 12:52:26 +00:00
Yann Leboulanger c6978c15e0 fix logic 2006-01-03 15:18:30 +00:00
Travis Shirk 5464701cda A gc control and a chat control in the same window is realized. 2006-01-03 07:34:18 +00:00
Travis Shirk deba09827c All code from chat.py and tabbed_chat.py has been merged into the new framework. Lot's of testing to follow and then onto groupchat *in the same window*, w00t! 2006-01-03 04:44:56 +00:00
Travis Shirk b239d4ff00 History action, some chatstate stuff moved over, etc. 2006-01-02 01:23:40 +00:00
Travis Shirk 1360933ba9 Merged in trunk updates, including meta_contacts
Merged revisions 4951,4962-4969 via svnmerge from
svn://svn.gajim.org/gajim/trunk

........
r4951 | nk | 2005-12-30 16:50:36 -0700 (Fri, 30 Dec 2005) | 1 line

fixes in greek transl
........
r4962 | asterix | 2006-01-01 11:41:04 -0700 (Sun, 01 Jan 2006) | 2 lines

merge meta_contacts branch with trunk. Meta contacts are not in gajim yet, but framework is here. We now use gajim.contacts.many_functions() to handle contacts and groupchat_contacts.

........
r4963 | asterix | 2006-01-01 11:43:24 -0700 (Sun, 01 Jan 2006) | 2 lines

correct contacts file

........
r4964 | asterix | 2006-01-01 11:47:26 -0700 (Sun, 01 Jan 2006) | 2 lines

dict.remove() doesn't exists, it's del dict[]

........
r4965 | asterix | 2006-01-01 11:50:15 -0700 (Sun, 01 Jan 2006) | 2 lines

some missing commits from branch

........
r4966 | asterix | 2006-01-01 11:53:30 -0700 (Sun, 01 Jan 2006) | 2 lines

end of gc_contact.nick -> gc_contact.name

........
r4967 | asterix | 2006-01-01 12:05:59 -0700 (Sun, 01 Jan 2006) | 2 lines

new ACE option: send_sha_in_gc_presence that allow to send sha info in groupchat presences

........
r4968 | asterix | 2006-01-01 12:12:36 -0700 (Sun, 01 Jan 2006) | 2 lines

0.9.1-2 in debian that solve the group bug (commit [4924])

........
r4969 | asterix | 2006-01-01 12:31:13 -0700 (Sun, 01 Jan 2006) | 2 lines

typo

........
2006-01-01 20:06:26 +00:00
Travis Shirk 6036368b6e Window/control shutdown 2006-01-01 19:40:05 +00:00
Yann Leboulanger 63e5defe39 merge meta_contacts branch with trunk. Meta contacts are not in gajim yet, but framework is here. We now use gajim.contacts.many_functions() to handle contacts and groupchat_contacts. 2006-01-01 18:41:04 +00:00
Travis Shirk c30ee542dc Close to usable for chat, receiving messages, etc. 2005-12-31 21:55:44 +00:00
Travis Shirk 1102356937 Window and control lookup functions, and set_Active_tab 2005-12-31 17:00:04 +00:00
Travis Shirk 496199aaef Preliminary GroupchatControl support 2005-12-31 07:35:14 +00:00
Travis Shirk 008dfea48b More menus, compact mode, etc. 2005-12-31 07:19:43 +00:00
Travis Shirk fc6af37467 Config updating, tab label markup abstraction, auto window sizing/positioning, window title 2005-12-31 06:27:22 +00:00
Travis Shirk b7761d7256 Moved MessageWindowMgr singleton to gajim.interface and emoticon menu support 2005-12-31 04:53:14 +00:00
Travis Shirk 96d7dcbce2 Sending messages, and more framework 2005-12-31 03:53:48 +00:00
Travis Shirk 1eec68634c Drawing widgets and tabs. Migrated some of the keyboard event handling as well 2005-12-31 00:50:33 +00:00
Travis Shirk a4477f88ee chat controls created and showing up in MessageWindow 2005-12-30 20:47:59 +00:00
Yann Leboulanger f3deefc372 support of contacts in no group 2005-12-30 14:04:01 +00:00
Yann Leboulanger 61c27375fa prevent TB 2005-12-30 11:48:43 +00:00
Yann Leboulanger 3522c89b31 typo 2005-12-30 11:43:17 +00:00
Yann Leboulanger ed8ccffcbc missing new functions 2005-12-30 11:42:48 +00:00
Yann Leboulanger f69154f06a prevent TB 2005-12-30 11:33:39 +00:00
Yann Leboulanger 5c5594bb31 missing new function in roster 2005-12-30 11:10:39 +00:00
Yann Leboulanger 349c69d5b3 continue using new functions to handle contacts 2005-12-29 21:44:35 +00:00
Yann Leboulanger 6914d65b4e C_NAME column contacts pango escaped group name, so when we search a group iter, compare with the pago escaped name we search 2005-12-29 19:48:05 +00:00
Travis Shirk 18984fe7cb Creating window through the manager, introduced Control types, config stuff, etc. 2005-12-29 03:20:06 +00:00
Nikos Kouremenos af242e3840 ACE: roster_window_skip_taskbar 2005-12-27 20:27:02 +00:00
Yann Leboulanger 0af7e48bf1 create Contact instances with the new functions 2005-12-21 13:00:56 +00:00
Yann Leboulanger fd89e6eaab add_transport_to_roster goes to roster.py 2005-12-20 21:27:15 +00:00
Yann Leboulanger 60eebb7888 remove event from queue as soon as we click notification window 2005-12-19 20:01:32 +00:00
Yann Leboulanger 8607a9ecad load_iconset return {} if path doesn't exists 2005-12-14 18:10:55 +00:00
Yann Leboulanger 51dbb1398e remove old images when we change to an iconset that has no 32x32 icons 2005-12-14 17:32:38 +00:00
Yann Leboulanger b2d6cd9919 cleanup in iter compare function (thx SF) 2005-12-13 13:27:04 +00:00
Yann Leboulanger ee0f764df0 always create the ['32'][transport] list, even if it's emtpy (load_iconset checks if folder exists) 2005-12-13 12:58:14 +00:00
Nikos Kouremenos 19a64469f4 failsafe to dcraven 2005-12-12 15:14:58 +00:00
Nikos Kouremenos f7ee0dffd9 we now use 32x32 in Tabbed Chat banner img for state; and can control the size between 32x32 and 16x16 in general [of course only for those iconsets that ship 32x32 2005-12-12 15:13:31 +00:00
Yann Leboulanger 45479d7708 pange_escape contact name when we rename them
when we want old_group_name, we get it from C_JID column so that it's not escaped
2005-12-10 14:41:09 +00:00
Yann Leboulanger 3b029ad541 pango_escape group names 2005-12-10 14:22:14 +00:00
Yann Leboulanger 612716e2db change copyright from "Gajim Team" to real people 2005-12-09 23:30:28 +00:00
Yann Leboulanger cae7ce3bac "Gajim Team" in all hearders become "Contributors for this file" 2005-12-09 17:15:30 +00:00
Yann Leboulanger eda8ec8436 fix a TB: we can have a row without an account during a short time ... I don't know why 2005-12-08 22:39:01 +00:00
Yann Leboulanger e71989dfa0 when 2 contacts have the same name we compare account name and then jid so we are sure of the order 2005-12-08 18:10:46 +00:00
Yann Leboulanger 34255e5682 Vincent left us a long time ago 2005-12-07 23:09:10 +00:00
Yann Leboulanger 043b81cd58 typo: autopopup message when we are online even if we check don't autopopup when away/xa 2005-12-07 21:56:44 +00:00
Nikos Kouremenos eb94b9632a remove trailing whitespaces and fix coding styles etc and add a FIXME 2005-12-06 17:43:21 +00:00
Yann Leboulanger 0cd7356807 escape for pango account names 2005-12-02 19:01:54 +00:00
Nikos Kouremenos 524866db6f add tlen, fix gadu gadu to gg, and use dot because ggore@jabber.FOO can exist 2005-12-02 13:09:43 +00:00
Yann Leboulanger 2265a42269 escape for pango markup contact's name 2005-12-01 19:04:27 +00:00
Nikos Kouremenos 80b40b77ec chat using acct not chat with account [unless account is human been! :D] 2005-12-01 18:19:51 +00:00
Yann Leboulanger cec9b1e861 send offline status to gc before we disconnect 2005-11-30 17:54:34 +00:00
Travis Shirk a2e68a1fc2 80 col formatting 2005-11-29 01:23:14 +00:00
Yann Leboulanger 4b42e0fa01 [Jim] don't ask status message when going invisible 2005-11-28 22:16:57 +00:00
Yann Leboulanger 3f2cbf7c46 [SF] show "with account acct_name" instead of "as jid" in menus 2005-11-28 16:29:04 +00:00
Yann Leboulanger 5008a15838 prevent from drag-n dropping a contact to "transport" or "not in the roster" group 2005-11-28 15:26:17 +00:00
Yann Leboulanger 8afb79747b we must decode ALL string from GTK to prevent TB when there are contacts with non-ascii chars 2005-11-28 15:22:12 +00:00
Yann Leboulanger 11d45a5740 update the value of the status combobox when we go invisible and cancel because of the groupchat warning, or when there is no synced with golbal status account 2005-11-26 15:03:03 +00:00
Nikos Kouremenos caade489ee new db design and improved migration script. if you ran before the migration please remove you old logs.db as it is incompatible with the new one and rerun migration if you care about old logs. a print on show is on purpose, bonus of the first to traceback and give us the value of show that causes the tb. yea svn got unstable these days. sorry about that but big changes 2005-11-25 23:23:25 +00:00
Yann Leboulanger e59058845c we can now revoke a contact's authorization 2005-11-25 21:32:56 +00:00
Yann Leboulanger 004c2b546e SingleMEssageWindow now shows resource of sender 2005-11-23 18:19:22 +00:00
Yann Leboulanger c9ad61044d awaiting_events now keep resource of sender when event_type is chat or normal 2005-11-23 18:15:24 +00:00
Yann Leboulanger f5fca6dfa3 fix bug in get_contact_iter when we use merge mode 2005-11-20 12:04:21 +00:00
Yann Leboulanger 5fa3da5538 draw_contact doesn't draw the avatar anymore
new draw_avatar function that is called only when needed
2005-11-19 16:59:09 +00:00
Nikos Kouremenos 965e9cb8c7 running pychecker in some files and fixing cleaning up those errors/info that REALLY matter 2005-11-18 13:12:16 +00:00
Yann Leboulanger 26b0e1780f typo 2005-11-18 11:51:12 +00:00
Yann Leboulanger cac6a82be6 temporary feature:
when we are in merge mode, we add (account_name) in the roster when there are 2 contacts with the same nick
2005-11-16 19:44:06 +00:00
Nikos Kouremenos 2493be0698 remove a print 2005-11-16 10:21:58 +00:00
Nikos Kouremenos 0901a6db53 do not autojoin bookmarks if you are invisible 2005-11-16 10:21:43 +00:00
Nikos Kouremenos fac2a002c7 [sef] ask avatars on startup ace 2005-11-15 23:26:22 +00:00
Nikos Kouremenos 1ed82a95d6 cleanups 2005-11-15 19:56:49 +00:00
Nikos Kouremenos 1e78707dab clean ups 2005-11-15 16:48:40 +00:00
Yann Leboulanger f3eef962c6 gc now have draw_contact, draw_roster and draw_all_roster functions and they are used to update style, iconset ... 2005-11-15 09:08:08 +00:00
Yann Leboulanger df6474ec3b fix account tooltip 2005-11-14 10:24:38 +00:00
Yann Leboulanger 6a432bbb67 ask all unknown vcard at startup 2005-11-14 10:08:50 +00:00
Nikos Kouremenos 1921c43a94 try to prevent circular imports 2005-11-13 20:25:04 +00:00
Nikos Kouremenos 6487b8463c fix tb 2005-11-13 20:05:03 +00:00
Yann Leboulanger cdde62ac88 reconnect to all gc when connection comes back 2005-11-13 17:24:08 +00:00
Nikos Kouremenos 082fc7aaa9 fixing dict name: gajim.interface.windows --> gajim.interface.instances 2005-11-13 15:08:47 +00:00
Nikos Kouremenos 33e7b103c0 gtkexcepthook only for those that run svn versions; release user should not be bugged with TBs as they should be minor to overall functionality and he should not care. if he is advanced he knows how to find out what is wrong (how to get to see a traceback etc); also moving get_avatar_pixbuf_from_cache to gtkgui_helpers (all in one commit because of import issues) 2005-11-12 21:24:54 +00:00
Yann Leboulanger d97125de42 fix TB 2005-11-12 20:56:44 +00:00
Yann Leboulanger a67d009497 fix icon in tooltip (sorry I can't test) 2005-11-12 20:07:46 +00:00
Nikos Kouremenos 67844ff1dc him --> him or her 2005-11-12 14:20:20 +00:00
Nikos Kouremenos 2a770a1ebf he --> he or she 2005-11-12 14:17:27 +00:00
Nikos Kouremenos a38263dcdb his --> his or her 2005-11-12 14:15:32 +00:00
Yann Leboulanger e55db9645d middle click on merged accounts row now works 2005-11-10 09:59:27 +00:00
Yann Leboulanger 7d827f0764 add tooltip for merged accounts row 2005-11-09 21:05:55 +00:00
Nikos Kouremenos cb3010993e minor: dropped not droped 2005-11-09 10:55:42 +00:00
Yann Leboulanger 8eaa1f45ad add a 'merged account' row with a context menu 2005-11-09 07:00:46 +00:00
Nikos Kouremenos 8ecb477844 underscore in string 2005-11-08 21:34:41 +00:00
Nikos Kouremenos fcfb314163 typo 2005-11-08 20:52:09 +00:00
Nikos Kouremenos 23099dffca gajim.contacts[account][jid][0] --> gajim.get_contact_instance_with_highest_priority(account, jid) which is superior and at worst the same 2005-11-08 20:33:52 +00:00
Nikos Kouremenos e64bb76274 fix logic 2005-11-08 19:19:09 +00:00
Nikos Kouremenos 3d7dee624e avatar is now set in draw_contact; we need a better place though 2005-11-08 15:47:27 +00:00
Nikos Kouremenos 3492272881 only one line for status msg under contact 2005-11-08 15:24:19 +00:00
Nikos Kouremenos 51f6e125f6 align avatar and padlock to to right 2005-11-08 14:25:23 +00:00
Nikos Kouremenos 99636d5ccf [gjc]commit better analogy for colors in contact row 2005-11-08 14:09:56 +00:00
Nikos Kouremenos 4034efa762 we now have avatars in roster. I default to 48x48 (gaim defaults to that too) u can change that to whatever you want via ACE and you can take avatars off via PREFS; defaulting to 32x32 is too small. njoy 2005-11-08 13:04:59 +00:00
Yann Leboulanger bd868245e0 support JEP 162 (show / hide some contacts according to their subscription / ask status) 2005-11-07 21:15:15 +00:00
Nikos Kouremenos b89fe57543 inital patch to make status msg change color in gc too [does not work yet] 2005-11-07 11:07:55 +00:00
Nikos Kouremenos 846e9881fb [gjc] color for status msg under roster is half between fg and bg color no matter the state (selected or not) 2005-11-07 10:50:40 +00:00
Nikos Kouremenos 8c4217fd5c status msg under gc roster too 2005-11-06 16:29:52 +00:00
Nikos Kouremenos 4d3784e2f7 fix for good spaces identation pb 2005-11-06 15:08:54 +00:00
Yann Leboulanger 8c9bf693e7 fix indentation 2005-11-06 15:04:35 +00:00
Nikos Kouremenos ea11076a0e we now show status message under contact name in roster thanks to initial patch by Michał Sobiegraj. if you do not like that, go to prefs and uncheck it. dimgrey to become white when row is selected 2005-11-06 14:30:17 +00:00
Yann Leboulanger 79d611032a always update self.previous_status_combobox_active, even when we don't manually change the combobox 2005-11-05 18:09:57 +00:00
Yann Leboulanger 51d2175b18 ChangeStatusMessageDialog now shows the last_status_message even when we choose "change status message" menuitem 2005-11-05 17:52:49 +00:00
Yann Leboulanger e0b1dd77f8 at the end of the account creatio we don't need to enter the password if we entered it in the paramteres (even is save pass is not checked) 2005-11-05 11:21:41 +00:00
Nikos Kouremenos 9bd80e6772 fix a string 2005-11-04 15:08:49 +00:00
Yann Leboulanger acd09eaba2 FirstTimeWizard -> AccountCreationWizard 2005-11-03 09:27:45 +00:00
Yann Leboulanger d1ebec6ad4 we can now copy (not move) a contact to another group 2005-11-01 22:52:04 +00:00
Nikos Kouremenos 9b1881cbbd catch a async tb 2005-10-30 21:46:48 +00:00
shteef b69bc501ae New Service Discovery, couple of quick notes about this commit:
* src/disco.py contains all the disco stuff
 * registration remains in src/config.py
 * data/pixmaps/agents contains the icons used in the toplevel server browser
   and the banner. They're referenced at the top of src/disco.py.
2005-10-30 09:58:13 +00:00
Yann Leboulanger 1142cc1e7d don't remove the event if it's not handled in open_event function 2005-10-28 22:37:58 +00:00
Yann Leboulanger a42c43748c introduce a var in order not to duplicate long var 2005-10-28 22:37:14 +00:00
Nikos Kouremenos ca60bacdb5 code optimization: tupples not lists in stuff like: 'if foo in [abc]' etc 2005-10-27 13:15:03 +00:00
Nikos Kouremenos 1f1d87019f optimize: xrange instead of range 2005-10-27 12:47:54 +00:00
Nikos Kouremenos 0e7630fc85 avoid double change in change status msg mni in combobox 2005-10-26 17:33:37 +00:00
Nikos Kouremenos cb32099db6 fix a bug in Change status msg menuitem in status combobox: all renderers have to be insensitive so all row can end up insensitive 2005-10-26 16:40:59 +00:00
Yann Leboulanger f0d68cb441 fix TB 2005-10-21 18:13:33 +00:00
Yann Leboulanger 726640ef4b the old self.plugin variable becomes gajim.interface, no need to pass it to every functions/classes 2005-10-20 11:17:17 +00:00
Yann Leboulanger 9d42d10853 file-stopped and file-completed can be saved in awiting_events queue 2005-10-19 21:14:51 +00:00
Yann Leboulanger af7fef5ec1 file-send-error can now be added to the awaiting queue 2005-10-19 20:16:22 +00:00
Nikos Kouremenos e2f317723b fix typo in comment. thx Yann 2005-10-19 11:13:41 +00:00
Nikos Kouremenos 5894307bf9 we no longer stay in change status message item in status switcher 2005-10-19 11:03:01 +00:00
Yann Leboulanger 314fd4a8bf file-request-error can now be saved in the awaiting_events queue
better code to handle all these events
2005-10-18 20:30:26 +00:00
Yann Leboulanger 63c1d3d3f0 file transfer request can now be stored in awaiting_events queue and recalled from roster / filetransfer / popup notification 2005-10-18 09:07:52 +00:00
Yann Leboulanger 85cd5634ff fix logic 2005-10-17 10:17:35 +00:00
Yann Leboulanger 77cb852057 single messages are well handled: they are saved in awaiting_events if needed and are printed when we dubble click a contact row, or systray or popup window 2005-10-16 13:18:34 +00:00
Yann Leboulanger 966afbb031 awaiting_messages is now named awaiting events
it now contains subject of messages
2005-10-15 20:49:08 +00:00
Yann Leboulanger 95ad04abfb don't remove chat state when we receive a presence 2005-10-13 18:23:47 +00:00
Yann Leboulanger d3089ffa8c fix TB 2005-10-11 16:35:33 +00:00
Yann Leboulanger f03cae3e0e fix bug while sorting iters when merge is True 2005-10-11 16:02:57 +00:00
Nikos Kouremenos fb4ea9c947 fix comment 2005-10-10 22:49:20 +00:00
Nikos Kouremenos f5089a8c69 now sensitivity on/off for change status menuitem works ok 2005-10-10 22:46:28 +00:00
Nikos Kouremenos fbc668841e logic fixes in change status message, add code for sensitivity. TODO: find the best place to make sensitivity on/off 2005-10-10 21:45:59 +00:00
Yann Leboulanger 7dffeb86df change status message in status combobox and in systray now concern only accounts that have sync_with_global_status True 2005-10-10 19:10:59 +00:00
Nikos Kouremenos 9fb9a453eb combobox menus do not use mnemonic according to HIG 2005-10-10 14:57:16 +00:00
Yann Leboulanger 7c303891f9 typo 2005-10-10 10:02:57 +00:00
Nikos Kouremenos 3e0e623e9a fix code quality. if user presses Cancel in Status change dialog do not set the new status; add comments to code, make it cleaner (use 'SEPARATOR' and not '' for string for combobox; HIG (add ... to finish menuitems that need it and add a missing mnemonic) 2005-10-09 22:24:18 +00:00
Yann Leboulanger 45fcf1e08f on middle click on an account row, open change status message dialog 2005-10-09 21:08:13 +00:00
Yann Leboulanger 21298945d2 add image to change status message in status combobox 2005-10-09 20:57:32 +00:00
Yann Leboulanger 078398efb3 fix HIG 2005-10-09 20:34:02 +00:00
Yann Leboulanger 83eeb0639e add the change status message iter in status combobox 2005-10-09 20:28:04 +00:00
Nikos Kouremenos a0e5a45ff2 HIG says menuitems are Header 2005-10-09 18:52:57 +00:00
Nikos Kouremenos 708b9d5d6d use better image for rename/changing status (generally means: you have to type new string). thanks Bernhard Walle 2005-10-09 18:45:03 +00:00
Nikos Kouremenos 8bf623f1bc nothing 2005-10-09 16:13:55 +00:00
Nikos Kouremenos c5f90e9bc6 get_uf_show can return strings with mnemonics 2005-10-09 16:08:18 +00:00
Yann Leboulanger 8f3dafa920 account context menu and systary context menu now contain a change status message item
TODO:
global status combobox need it
2005-10-09 14:49:14 +00:00
Nikos Kouremenos 9eb9112de9 user should see cannot/does not and can't doesn't 2005-10-09 13:53:21 +00:00
Nikos Kouremenos c8602d63c4 commit almost there code for tooltip over ---- line. Dimitur plz read this commit and FIXME I have 2005-10-08 16:47:35 +00:00
Nikos Kouremenos 7ee643c02e comments to help code not become a beast; clean and adhere to coding style 2005-10-07 14:46:10 +00:00
Yann Leboulanger 0de8924af8 typo 2005-10-07 14:26:00 +00:00
Yann Leboulanger d827d157e8 don't show send_file_menuitem if we don't have a resource 2005-10-07 14:21:31 +00:00
Yann Leboulanger bd941ea8bf catch the resource when we get a message from an unknown contact 2005-10-07 14:01:35 +00:00
Nikos Kouremenos 7e9d446fda do not repeat the same var twice to user 2005-10-07 13:00:44 +00:00
Nikos Kouremenos b325e15756 callbacks to open links 2005-10-06 23:34:23 +00:00
Yann Leboulanger 856632ff59 max width = 80 2005-10-06 21:00:20 +00:00
Alex Mauer 6dbafc84cf Show our own priority in self tooltip instead of the default '5' 2005-10-01 03:54:44 +00:00
Nikos Kouremenos 6cc565063d fix string; add fixme 2005-09-30 20:27:57 +00:00
Nikos Kouremenos 4765c32b92 fix string 2005-09-30 18:21:31 +00:00
Yann Leboulanger 76e0838c81 forbid a user to join a room when he is invisible 2005-09-30 17:52:25 +00:00
Yann Leboulanger 42ffc5d810 remove the contact_mutual_removal advanced option and add a checkbutton in remove_contact dialog to ask if we want to remove both subscriptions 2005-09-28 14:35:06 +00:00
Yann Leboulanger 63c890da2b systray.add_jid and systray.remove_jid now have another argument: the typ of message: ('gc' or 'chat' or 'single_chat' or 'pm')
systary now can handle pm messages
2005-09-24 09:42:10 +00:00
Yann Leboulanger 8f93012465 groupchat_window now has an on_message function that can hold pm in queues so they are not printed (systray is not handled yet) 2005-09-23 21:01:42 +00:00