Commit Graph

1314 Commits

Author SHA1 Message Date
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
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
Yann Leboulanger f6136a7058 [henning] fix german translation. Fixes #5356 2009-10-23 09:55:50 +02:00
Yann Leboulanger 0aa8856b6c new TimeoutDialog class: to be derivated for dialogs that need a timeout.
Resource conflict dialog has now a timeout. Fixes #4590
2009-10-20 11:20:11 +02:00
Yann Leboulanger f2aee9e7cb add show_self_contact ACE option to show / hide self_contact row as we want. Fixes #4796 2009-10-16 19:51:29 +02:00
Yann Leboulanger 8faf6d23c3 fix group renaming. Fixes #5316, see #4212 2009-10-11 21:54:40 +02:00
Yann Leboulanger ad0bb43793 [Dicson] Fix call to history manager 2009-10-08 17:51:49 +02:00
Yann Leboulanger c6dd2d6666 really check if we press control when we check for Ctrl+h or Ctrl+i in roster 2009-10-04 18:12:04 +02:00
Yann Leboulanger 616125d95e [praveen & I] ability to Ctrl+ H / I in roster to show history or information dialog of a contact. Fixes #5301 2009-10-04 11:28:20 +02:00
Benjamin Richter 7378efcb21 Improve group renaming efficiency. Fixes #4212 2009-09-26 20:23:59 +02:00
Benjamin Richter 568e1edd1e Improved handling of RTL nicknames in roster. Fixes #4293
If the number of connected resources is appended in parentheses,
the appropriate ltr or rtl mark is inserted before, so that the
writing direction at the end of the nickname matches the writing
direction of the whole displayed string as determined by
http://www.unicode.org/reports/tr9/#The_Paragraph_Level
2009-09-25 17:11:38 +02:00
Yann Leboulanger 17f17267ea call gtk.gdk.window.focus() with current timestamp rather than 0. This fixes some WM issues. 2009-09-23 17:35:42 +02:00
Yann Leboulanger 40160ecdc2 ignore when dropping file on a contact that doesn't support file transfer. Fixes #4058 2009-09-22 08:21:01 +02:00
Yann Leboulanger 6124a60b8f don't fail when we get chat / normal messages from a room_jid. Fixes #5276 2009-09-21 21:22:57 +02:00
Yann Leboulanger faf3a1fe6f add a reconnect menuitem in groupchat context menu when it's doconnected. Fixes #4004 2009-09-11 00:12:36 +02:00
Yann Leboulanger a7c3451e1d Show a confirmation dialog first time we block a contact. Fixes #3646 2009-09-11 00:01:56 +02:00
Yann Leboulanger 17e03edfd7 show confirmation dialog first time we send custom status. see #3646 2009-09-10 22:12:52 +02:00
Yann Leboulanger 8b528e512f move change_awn_icon_status from roster_window.py to gajim.py. see #3643 2009-09-09 13:51:33 +02:00
Yann Leboulanger 44e98585ed move music track listener things from roster_window.py to gajim.py. see #3643 2009-09-09 13:26:53 +02:00
Yann Leboulanger 23dbb00d2d show only once unread messages at startup when we have twice the same contact in 2 accounts. Fixes #2921 2009-08-30 22:48:45 +02:00
Yann Leboulanger da799bcb59 add ad hoc commands for zeroconf. Fixes #2819 2009-08-30 00:57:49 +02:00
Yann Leboulanger 56e5629877 always disable autoaway when we go offline. Fixes #5218 2009-08-28 15:06:35 +02:00
Yann Leboulanger abe9eb8b7d [Kanor] Fix typo. Fixes #5243 2009-08-28 13:44:03 +02:00
Yann Leboulanger 9ada82a3eb prevent GTK warning 2009-08-27 19:56:11 +02:00