Commit graph

562 commits

Author SHA1 Message Date
Thibaut GIRKA
e3f16c6371 [Jingle] Volume levels are saved, audio UI shows up even if there are errors, until the session ends 2010-01-10 16:31:00 +01:00
Yann Leboulanger
e8b88db629 prevent traceback when closing chat control without jingle enabled. Fixes #5544 2010-01-06 23:15:35 +01:00
Yann Leboulanger
0981c7759e buffer -> _buffer. buffer is a module in python 2010-01-06 18:13:12 +01:00
Yann Leboulanger
59e7d8de8e close jingle sessions when we close chat control. Fixes #5541 2010-01-05 22:14:52 +01:00
Yann Leboulanger
d15897e50e fix string replacement with % (% seems to be prioriter than +). Fixes #5494 2009-12-07 20:42:24 +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
619518204c ability to change mic volume through GUI (doesn't work for the moment) 2009-12-02 21:37:21 +01:00
Yann Leboulanger
8bb1aaf382 connect jingle keys (for dtmf) through code instead of glade 2009-12-02 21:21:18 +01:00
Yann Leboulanger
98e1ab5637 add new GUI to control audio connection. (NOTE: sliders do nothing for the moment) 2009-12-02 10:17:33 +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
Yann Leboulanger
5b10d8fe5c base of using icon themes. see #2378 2009-11-27 16:42:32 +01:00
Thibaut GIRKA
0edb624fec Renamed a few methods, refactor on_*_button_toggled, use getattr/setattr instead of eval/self.__dict__ 2009-11-26 21:53:44 +01:00
Alexander Cherniuk
b6c4aaba6f Refactored doc-strings 2009-11-25 15:01:40 +02: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
338cb11dcc Unify update_mood, update_tune, update_activity by using a single update_pep(pep_type) method. 2009-11-15 22:54:20 +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
e41e484855 Proof of concept: Move markup / pixbuf determination logic from the UI to the different PEP classes.
Currently this is only done for UserMood. We can decide later on (if needed), to move the asPixbufIcon and asMarkupText methods to a more appropriate place.

Goal is to remove as much redundant code as possible.
2009-11-15 00:12:15 +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
d70b74e6b6 [Gotham48] add nice icons to toggle audio / video 2009-11-08 10:08:15 +01:00
Stephan Erb
89b1c6a7df Move method close to data.
gajim.contacts.contact_from_gc_contact(gc_contact) is now gc_contact.as_contact()
2009-11-05 16:25:13 +01:00
Stephan Erb
a9f5bb59d7 Merge changes from default branch into refactoring branch 2009-10-31 17:25:47 +01:00
Yann Leboulanger
fcafab60a7 merge jingle branch to default branche 2009-10-29 11:55:05 +01:00
Yann Leboulanger
f550144530 switch from gtk.Tooltips to gtk.Tooltip. Fixes #3471 2009-10-29 11:35:22 +01:00
Thibaut GIRKA
1c33d42158 Merge default to jingle 2009-10-29 10:19:58 +01:00
Thibaut GIRKA
7ae959dbba Avoid insane recursion 2009-10-29 10:08:22 +01:00
Stephan Erb
5894ce5341 Merge changes from default branch into refactoring branch 2009-10-27 23:18:21 +01:00
Stephan Erb
213fd5a8ed Update a few outdated comments. 2009-10-27 22:48:47 +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
5a51f09491 merge roster_contact_context_menu.glade, chat_control_popup_menu.glade and zeroconf_contact_context_menu.glade 2009-10-27 18:58:27 +01:00
Yann Leboulanger
503aebd919 [change window icon according to the content (muc, chat). Fixes #4300 2009-10-23 10:02:45 +02:00
Yann Leboulanger
760e0fb48f refactor jingle functions in chat_control.py 2009-10-16 21:48:28 +02:00
Thibaut GIRKA
313f002958 Fixes an indentation error aswell as the previous commit 2009-10-16 20:21:42 +02:00
Thibaut GIRKA
d495deaa02 Some rewriting in set_audio_state/set_video_state 2009-10-16 19:36:55 +02:00
Thibaut GIRKA
bc90bc1157 Destroy session when remote signs off 2009-10-16 19:04:04 +02:00
Thibaut GIRKA
ab6510db38 merge default branch to jingle 2009-10-16 17:19:33 +02:00
Yann Leboulanger
0d37f4f64b better session handling:
- when a new contact with higher prio connect, detach session from chat control. Fixes #5021
 - don't re-use a session that was for another sessin

Tests are more than welcome!
2009-10-06 17:35:25 +02:00
Thibaut GIRKA
b2b8ac4b76 Connect only if user accepts, move jingle detection to 'update_toolbar'
This allows jingle availability to be updated if contact sign in/out.
This patch will also wait for user acceptance before connecting.
This will, among other things, ensure that audio/video state won't be set to
JINGLE_STATE_CONNECTING while the connection is already up.
2009-10-03 22:40:12 +02:00
red-agent
958d937d5c Dropped in the reworked version of the new command system
The reworked version has refactored and simplified architecture, which also
involves simplified dispatching.
2009-10-02 23:57:11 +03:00
Yann Leboulanger
6781600942 add a graphics optio nto all print text function to not display emoticons and latex formulas in nicks. Fixes #4651 2009-10-02 16:28:51 +02:00
Yann Leboulanger
c5b60e8df5 don't allow to check "enable e2e encryption" when enable_esessions is False. Fixes #5295 2009-10-01 09:51:10 +02:00
Yann Leboulanger
20755acedc fix typo 2009-09-25 20:40:53 +02:00
Thibaut GIRKA
77541f3e7f support for content-{add,reject,accept}, new helpers, and other few things 2009-09-25 19:32:13 +02:00
Yann Leboulanger
a051d1ec95 initialize var before they are used 2009-09-25 15:47:43 +02:00
Yann Leboulanger
a57448d083 fix some missing things in video GUI 2009-09-25 15:29:22 +02:00
Yann Leboulanger
32965a948e new GUI to start audio and video sessions. TODO: ability to add/remove audio/video content to an existing session 2009-09-25 13:52:44 +02:00
Yann Leboulanger
40199e359c farsighr module is now optional. Fixes #5278 2009-09-20 20:46:03 +02:00
Thibaut GIRKA
c162780a58 coding standards, and other few things 2009-09-19 17:24:59 +02:00
Thibaut GIRKA
6b99db8980 merge default branch to jingle 2009-09-19 16:35:47 +02:00