Commit Graph

605 Commits

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