Commit graph

1390 commits

Author SHA1 Message Date
Yann Leboulanger
406e142b25 prevent bug when merging metacontacts 2009-12-29 16:02:50 +01:00
mariolenz
05a86e8357 harmonize indentation. Fixes #5518 2009-12-28 23:04:23 +01:00
Stephan Erb
65ba840cbd Slightly faster version of get_contact_iter and get_role_iter. 2009-12-28 20:14:15 +01:00
Stephan Erb
a8e3dc771e Extract a few methods to make some code a tiny bit easier to understand and read. 2009-12-28 16:32:58 +01:00
Thibaut GIRKA
a4c122e74a Handle jingle-incoming events in roster too 2009-12-19 22:17:56 +01:00
Yann Leboulanger
ae3a0b6db6 [dm] prevent traceback when pressing DEL on the merged account row. Fixes #5498 2009-12-08 17:43:13 +01:00
Yann Leboulanger
108aaa0027 move enable_location_listener to location_listener.py directly 2009-12-07 23:40:28 +01:00
Yann Leboulanger
869ad9ec2b a bit of refactorization 2009-12-07 23:30:12 +01:00
Yann Leboulanger
2a944e5404 ability to get address / location from geoclue and send it via PEP 2009-12-07 23:16:30 +01:00
Yann Leboulanger
99d406c8bf add some missing argument when adding a new row due to new geolocation column. Fixes #5491 2009-12-07 18:50:32 +01:00
Yann Leboulanger
07be0727de [Florob] show in roster and message window geolocalisation of a contact. Fixes #5485 2009-12-07 18:32:42 +01:00
Yann Leboulanger
002b8a720f finish using icon theme. Fixes #2378 2009-12-01 15:50:58 +01:00
Stephan Erb
9b7ae8cac3 Small cleanups for avatar save. Also fixes #5461.
* set default file type for avatars centrally
 * remove client side decision logic determing if a avatar loookup shall happen for a groupchat contact or for a normal contact
 * remove unused method (this one was triggering the traceback in #5461)
2009-11-29 23:06:49 +01:00
Alexander Cherniuk
1ad6f217a8 gtk.ACCEL_VISIBLE is not needed anymore 2009-11-28 15:00:51 +02:00
Alexander Cherniuk
f5fff3e4e6 Refactored CTRL+J 2009-11-28 14:53:31 +02:00
Alexander Cherniuk
af67012f63 Added CTRL+J shortcut for joining a conference 2009-11-28 13:29:28 +02:00
Yann Leboulanger
c6dffb8864 fix Gajim startup when bonjour is not available. 2009-11-26 23:00:57 +01:00
Alexander Cherniuk
a23961fbf6 Big portion of doc-string refactoring 2009-11-25 22:59:43 +02:00
Yann Leboulanger
a59011138b merge diff from default 2009-11-25 21:15:36 +01:00
Yann Leboulanger
39dc648ec8 don't use removed variables 2009-11-24 15:42:31 +01:00
Yann Leboulanger
478454985b fix strimg comparison according to locales. Fixes #4201 2009-11-24 15:41:16 +01:00
Yann Leboulanger
d664daad1a we can now send pep thing to a zeroconf connection objec, it will just send nothing. so GUI doesn't have to know it's a zeroconf connection or not. fixes #5432 2009-11-19 20:36:40 +01:00
Stephan Erb
d6e6a5d62d Do not try to send (and fail) sending PEP via Zeroconf. Fixes #5432. 2009-11-17 23:17:08 +01:00
Stephan Erb
10428555aa Various pep-related cleanups.
Most important change is that pep send/retract functions no reside on the ConnectionPEP object.
2009-11-16 19:31:17 +01:00
Stephan Erb
a3ea00f4ea Remove different dicts for tune, activity and mood and from now on only use the common 'pep' dict.
The pep dict contacts the different UserPEP classes.
2009-11-15 23:52:43 +01:00
Stephan Erb
aa53988fd1 Similar to update_pep, unify towards draw_pep of the RosterWindow. 2009-11-15 23:23:56 +01:00
Stephan Erb
28161dc33c Apply coding standards. 2009-11-15 22:59:43 +01:00
Stephan Erb
4c03c1ab85 Remove duplicated Icon determination logic used when drawing accounts. 2009-11-15 22:41:17 +01:00
Stephan Erb
3b15d70782 Unify PEP cell_data_functions. 2009-11-15 17:11:06 +01:00
Stephan Erb
b7c7beafd9 Unify the PEP drawing methods in the RosterWindow. 2009-11-15 17:00:39 +01:00
Stephan Erb
30191888ba Create asPixbufIcon and asMarkupText functions on the UserActivity class. 2009-11-15 16:52:19 +01:00
Stephan Erb
5f4db2eed9 Unify updating of accounts and contact pep information. Implement and use asMarkupText() for tunes. 2009-11-15 10:55:31 +01:00
Mateusz Biliński
70731dbab7 Merged default branch into plugin-system branch. 2009-11-14 21:15:27 +01:00
Yann Leboulanger
e4128f5c29 merge from default 2009-11-13 19:45:11 +01:00
Stephan Erb
36fb5def4b Shrink public interface of the MetacontactManager. 2009-11-12 22:58:45 +01:00
Stephan Erb
022003239d Merge changes from default branch into refactoring branch
Hg: changed data/pixmaps/mic_active.png
2009-11-11 23:37:46 +01:00
Yann Leboulanger
8f2120371b update correctly self_contact Contact instance and roster row when we use an anonymous account (our jid changes in this case). Fixes #5370 2009-11-07 12:37:16 +01:00
Yann Leboulanger
e7a6dffe7b no need of the jid parameter when we look for self contact iter 2009-11-07 09:34:23 +01:00
Stephan Erb
17af7902e4 Make it explicit whether an ordinary Contact, a Self Contact or a Not-In-Roster Contact is created. 2009-11-05 22:16:38 +01:00
Stephan Erb
f297aa0a11 Make methods of MetacontactManager private if those are only used internally 2009-11-05 20:09:26 +01:00
Stephan Erb
dec25246df Missing bits of the last commit (add account parameter to contact constructor) 2009-11-05 16:22:21 +01:00
Stephan Erb
06129f45ef Let contact instances know their corresponding account.
contact.account and gc_contact.account contains the account name of the owning account. There is still code around in many placed which tries to workaround this missing information. Such code has to be migrated on per-need basis.
2009-11-05 15:57:43 +01:00
Yann Leboulanger
124483ea49 prevent traceback. Fixes #5402 2009-11-04 20:37:22 +01:00
Stephan Erb
a9f5bb59d7 Merge changes from default branch into refactoring branch 2009-10-31 17:25:47 +01:00
Yann Leboulanger
52c788795a we can now drop in the middle of a metacontact. Fixes #4804 2009-10-28 10:58:43 +01:00
Stephan Erb
5894ce5341 Merge changes from default branch into refactoring branch 2009-10-27 23:18:21 +01:00
Stephan Erb
33fe53ff7d Swtich from old to new caps API.
Now we do:

contact.supports(feauture) instead of gajim.capscache.is_supported(contact, feature)
2009-10-27 22:41:39 +01:00
Yann Leboulanger
134eb7f83a move and refactore some menu function from roster_window.py to gui_menu_builder.py 2009-10-27 10:39:40 +01:00
Stephan Erb
fc01d32abd Remove commented code. We have have version control for this 2009-10-24 14:22:10 +02:00
Stephan Erb
76b1f54738 Backed out changeset 2ceb94d0630d
This commit does not improve overall structure in gajim in a logical way.
It seems untested (is broken) and is therefore rejected.
2009-10-24 09:46:08 +02:00