Commit Graph

554 Commits

Author SHA1 Message Date
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
Thibaut GIRKA 5503c80e2a fix some erros from my last commit, fix conditions for session initating and acceptance 2009-09-18 20:17:35 +02:00
Thibaut GIRKA bd9d793ad8 send messages to the gui, wait for codecs, and other things
JingleSession now sends messages about errors or session terminating to the GUI.
Another thing is that it'll wait for all transports candidates and all codecs to be ready before
starting or accepting a session. This is required by video, which is only missing a GUI. :)
2009-09-17 23:36:26 +02:00
red-agent 030738db2d Merge the new command system in 2009-09-17 23:22:48 +03:00
Yann Leboulanger f5b1c2dca7 improve GUI for jnigle 2009-09-17 22:21:06 +02:00
red-agent e0e4dd6c31 A bunch of fixes for the command completion 2009-09-17 19:06:38 +03:00
Yann Leboulanger 12baddbdc3 start of GUI stuff for VOIP 2009-09-17 14:48:15 +02:00
red-agent 39eef45bca Command auto-completion along with some fixes 2009-09-17 13:25:25 +03:00
Yann Leboulanger ebe93d25ff fix memory leak with gtkspell. Fixed #2025 2009-09-15 21:19:38 +02:00