Commit Graph

1116 Commits

Author SHA1 Message Date
Stephan Erb d79f73a610 Move the Interface god class from gajim.py into a separate module.
This is the first commit of a long serious of cleanup commits.
Simple testcase included to test the slightly enhanced Interface dispatcher.
2009-10-18 23:25:03 +02:00
Stephan Erb 3665c99800 Wrap global gajim.handlers with a dispatch method. 2009-10-18 20:53:15 +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 384283d2a4 find_library('c') return None under Windows 2009-10-15 19:43:10 +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
Yann Leboulanger 95047d3e50 add an enable checkbutton in accounts window for normal accounts too. Fixes #4489 2009-10-06 11:23:31 +02:00
red-agent 8d663c31c5 Yet another fix for the proccess renaming 2009-10-05 19:19:03 +03:00
red-agent 60bb2d0bdd Process name should correspond to the binary name 2009-10-05 17:33:50 +03:00
red-agent 563a2453ba Improved proccess renaming 2009-10-05 17:13:12 +03: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 c31d3e526a stop sending chatstates when remote server doesn't respond anymore. Don't acknoledge error message receipes. Fixes #4064 2009-10-01 09:41:46 +02:00
Yann Leboulanger e8e2b219ba add a interface.run() function to really start Interface 2009-09-23 18:54:35 +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 d89abc9195 prevent traceback when enabling Tune. Fixes #5277 2009-09-20 20:19:31 +02:00
red-agent 030738db2d Merge the new command system in 2009-09-17 23:22:48 +03:00
Yann Leboulanger b6481d54ea [Jonathan Michalon] Make latex images theme aware. 2009-09-17 13:54:20 +02:00
red-agent ae0f32d922 Dropped in the brand new and shiny command system 2009-09-12 16:51:21 +03:00
Yann Leboulanger 0ea6544c26 show notification for bad GPG pass instead of an error dialog 2009-09-10 18:30:26 +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 3392e493ab reset shown unread message after database has been updated 2009-08-31 00:11:57 +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 de938ee841 fix various problems when changing our nick while we have encrypted pm. Fixes #5234 2009-08-28 11:08:51 +02:00
Yann Leboulanger 88fe4f8e36 prevent traceback when there are unread message on startup 2009-08-27 20:09:57 +02:00
Yann Leboulanger b83f9ae5d6 [Dicson] add support for key 'body' in the Message Action, and add jid via roster command. Fixes #5195 2009-08-05 23:58:25 +02:00
Yann Leboulanger 5c9e35cd0e select chat window once we open a new one 2009-08-05 21:03:50 +02:00
Yann Leboulanger c740177956 better pygtk failure code 2009-07-30 19:21:23 +02:00
Yann Leboulanger 1c7b265c9c better file transfer error handling. Fixes #5064 2009-07-28 23:13:34 +02:00
Yann Leboulanger 492abfb407 always build emoticons menu with 16x16 images. Fixes #3125 2009-07-28 17:04:57 +02:00
Yann Leboulanger 779dcbd38b fix using change nick button in groupchats 2009-07-21 00:30:43 +02:00
Yann Leboulanger 235c4d9ab8 * ask only once at a time to change our nickname in a room in case of conflict
* add a checkbutton to use the entered nickname by default without asking anymore. Fixes #5141
2009-07-17 09:53:15 +02:00
Yann Leboulanger 15b3ba35b1 restore metacontct correctly when we connect to server and we already have contacts in roster (stored locally). Fixes #5156 2009-07-12 13:33:29 +02:00
Yann Leboulanger 278a8bc59e merge elghinn's branch (roster versioning) to trunk. Fixes #4661, #3190 2009-07-10 15:05:01 +02:00
Yann Leboulanger 002f33f2b7 do not allow several password window for one account. Fixes #5151 2009-07-09 14:52:32 +02:00
Anaël Verrier c66aee5b9d * better way to propagate roster at start 2009-07-09 14:33:18 +02:00
Anaël Verrier 4d10bdcf6f * In order to allow the viewing of the roster when we are offline (and some other cool stuffs), with and without roster versioning, now we load roster when RosterWindow is created (at gajim startup). Fixes #3190 2009-06-30 11:46:27 +02:00
Mateusz Biliński 38fa0be12a [roidelapluie] Added initial support for Roster Item Exchange (XEP-0144) based on ticket #378. Only handling NS_ROSTERX 'set' operations is supported and tested as of now. 2009-06-21 03:43:57 +02:00
Yann Leboulanger 516e880c9c fix missing import. Fixes #5092 2009-06-16 09:30:04 +02:00
Jonathan Schleifer f7014072a7 Remove all OS X-specific code from the default branch.
OS X support is still maintained in the osx_newbuildsys branch - and
only there.
2009-06-15 21:34:38 +02:00
Mateusz Biliński 19a0f91bfc Unicode characters are detected properly as part of URLs now. Fixes 4522. 2009-06-12 01:50:43 +02:00
Yann Leboulanger b6475d07e6 add ossplay to the list of tested soundplayer. Fixes #5061 2009-06-04 18:26:25 +02:00
Yann Leboulanger 798bed6838 prevent traceback when writing avatar file to HD fails. Fixes #5005 2009-05-22 19:19:23 +02:00
Yann Leboulanger 07d552b656 prevent traceback when trying to print error message in a non existing message window. Fixes #5036 2009-05-19 14:12:38 +02:00
Yann Leboulanger c15f487deb don't call gtk.gdk/threads_init() under windows. Fixes #5020 2009-05-10 20:02:46 +00:00
Yann Leboulanger ef281d8608 roster.get_status_message don't take pep_dict anymore. 2009-05-01 10:03:38 +00:00
Yann Leboulanger 5d8e96ad47 don't call gtk.main_quit() from outside of a mainloop 2009-05-01 09:37:13 +00:00
Yann Leboulanger 5b001701f0 save roster window / position when Gajim is shut down not intentionally. Fixes #4868 2009-04-29 17:40:50 +00:00
Yann Leboulanger bdc291cb04 typo 2009-04-27 19:30:54 +00:00
Yann Leboulanger 9ea2a5c677 we now depend on GTK2.12. Remove test for older versions. Fixes #4996 2009-04-27 19:28:53 +00:00
Yann Leboulanger 5419b2cb36 call gtk.gdk.threads_init() to initialise threads used when en/decrypting GPG. Fixes #4959 2009-04-25 22:10:03 +00:00