Commit Graph

1240 Commits

Author SHA1 Message Date
Dimitur Kirov 0740da3341 now use model[iter], instead of model.get_iter 2005-07-22 14:45:49 +00:00
Dimitur Kirov d65beee037 when editing is canceled restore the number of
resources string at the end of contact name
2005-07-22 14:37:15 +00:00
Nikos Kouremenos 01acc1cf87 put a has 2005-07-22 14:35:34 +00:00
Nikos Kouremenos 77627bd433 remove a commented line 2005-07-22 14:33:26 +00:00
Nikos Kouremenos b5fe60112d nick was utf8, room_jid was unicode so we had a problem. it is fixed [stills Tracebacks because of TODO: use gc_contacts in common/gaim.py] 2005-07-22 14:30:35 +00:00
Dimitur Kirov 45ead83fad disallow renaming groups from or to
_('not in the roster')
2005-07-22 14:10:03 +00:00
Nikos Kouremenos bdf5342824 to ban we know real jid 2005-07-22 12:50:14 +00:00
Yann Leboulanger e9db8ef4c8 fix role things 2005-07-22 12:47:58 +00:00
Nikos Kouremenos ef3b60a586 0/False 1/True 2005-07-22 11:07:52 +00:00
Nikos Kouremenos dfc7638cf5 idle should now work once again 2005-07-22 11:07:06 +00:00
Dimitur Kirov c1be7e955d don;t ask for close if last message was shown
from trayicon or roster (#276)
2005-07-22 10:29:54 +00:00
Nikos Kouremenos 9fc1516522 we now have contact.chatstate ! 2005-07-22 00:34:08 +00:00
Nikos Kouremenos 549b10369e moving contacts-related functions to common/gajim.py 2005-07-22 00:01:05 +00:00
Nikos Kouremenos f6d16b1db0 sleeper_state now holds string instead of 0 1 2 3 2005-07-21 23:47:27 +00:00
Nikos Kouremenos 123cfb70d4 [dcraven] ctrl+w, escape etc call remove_tab so no delete event so positions where not saved. this is now fixed 2005-07-21 23:41:13 +00:00
Nikos Kouremenos 44f5dccb1e use ellipse if pygtk26, gtk26 or else ... trick for status message in tc 2005-07-21 23:19:33 +00:00
Nikos Kouremenos ad638f9bb9 put ... if too long status msg 2005-07-21 22:42:30 +00:00
Nikos Kouremenos 88aae962b5 escape status msg too 2005-07-21 22:38:55 +00:00
Nikos Kouremenos f63545c757 on_tabbed_chat_window_motion_notify_event never gets called. I commit so everyone can have a look why 2005-07-21 22:38:22 +00:00
Nikos Kouremenos 532d93f527 fix typo 2005-07-21 21:42:53 +00:00
Nikos Kouremenos 688fb66979 gtkgui_helpers have func to escape pango markup 2005-07-21 21:39:47 +00:00
Nikos Kouremenos 3aa0363a2a prefix with roster_ 2005-07-21 21:19:08 +00:00
Nikos Kouremenos 247647c336 popup notifications for new message by default 2005-07-21 21:03:36 +00:00
Nikos Kouremenos 5689aeb249 editable False for change status dialog 2005-07-21 20:55:00 +00:00
Nikos Kouremenos c47bf7e5ca align better if no status message. JID was removed in favor of status message because
a. JID is static and jargonish
b. JID is visible now via tooltip and of course via vcard [where it can also be copy pasted]
c. status message has more info about the real person and his current mood so it is logical to have that in banner and remove jargon of JID
2005-07-21 18:05:04 +00:00
Nikos Kouremenos ef6643b24d status message in the banner instaed of jid; remove_user => remove_contact 2005-07-21 17:54:58 +00:00
Nikos Kouremenos 4ec127aa92 cleanups 2005-07-21 17:00:05 +00:00
Yann Leboulanger d2c9d3b253 fix a TB 2005-07-21 15:43:53 +00:00
Nikos Kouremenos c851323c51 do not play sound when standalone chatstate message 2005-07-21 15:23:18 +00:00
Nikos Kouremenos 2db64d9ce8 put chatstate in the banner 2005-07-21 14:56:39 +00:00
Nikos Kouremenos 92453bca1b better values for chat size 2005-07-21 14:55:54 +00:00
Dimitur Kirov afb15500e0 Escape markup in contact status and Resource
(Tooltip)
2005-07-21 14:09:17 +00:00
Yann Leboulanger fa69961f57 remove unneeded print 2005-07-21 13:28:07 +00:00
Nikos Kouremenos 128800be28 fix a renaming group tb 2005-07-21 13:16:31 +00:00
Dimitur Kirov b63040681e Strip status message 2005-07-21 13:11:35 +00:00
Nikos Kouremenos 6c88e531f3 left and right margin set to 1 for textviews in tabbed caht and group chat [so text is not jammed in the right and in the left] 2005-07-21 10:25:37 +00:00
Dimitur Kirov 23dbb25763 hide one of the two consecutive separators in
popup menu on item from 'not in roster' group
2005-07-21 09:45:55 +00:00
Dimitur Kirov c503bb7227 removed is_initial in 'enable_dbus' 2005-07-21 08:05:10 +00:00
Dimitur Kirov 0314a99347 fixed TB if no dbus 2005-07-21 07:21:14 +00:00
Yann Leboulanger b08b8402c1 delete new_message_handler_id beofre we build the menu 2005-07-21 06:25:49 +00:00
Nikos Kouremenos c24fdeefc8 add comments to last a lifetime :); remove unneeded commented out code 2005-07-20 22:31:03 +00:00
Nikos Kouremenos ef252ead1e s/list_users/contacts_list/ 2005-07-20 22:15:35 +00:00
Nikos Kouremenos 884ff33383 self.users -> self.contacts 2005-07-20 22:14:40 +00:00
Nikos Kouremenos 79f195a56b revert remote_control accidental commit 2005-07-20 22:10:43 +00:00
Nikos Kouremenos 754999db24 if peer doesn't do chat state do not keep respect that; overcome jep violations for chat state transitions 2005-07-20 22:08:42 +00:00
Yann Leboulanger 198d1e5d66 fix a TB 2005-07-20 21:11:19 +00:00
Nikos Kouremenos 53c96cab64 79 chars margin 2005-07-20 20:39:04 +00:00
Nikos Kouremenos f4336e3b4f remove a , from a tooltip 2005-07-20 20:38:25 +00:00
Nikos Kouremenos 9e7ed9bb20 fix a tb when dbus module was not avaiable 2005-07-20 20:38:09 +00:00
Nikos Kouremenos 3838f09c61 True/False instaed of 1/0 2005-07-20 20:19:27 +00:00
Nikos Kouremenos 0f234e2383 fix tooltip 2005-07-20 20:03:49 +00:00
Nikos Kouremenos 51aa52683a we can now disbale chat state via GUI [a MUST in jep] 2005-07-20 20:00:57 +00:00
Dimitur Kirov 2b460a39fe show status icons for resources 2005-07-20 17:50:50 +00:00
Nikos Kouremenos bc2309b60b fixes in 30 secs timer, other chatstate logical fixes, raise exceptions on jep violations 2005-07-20 15:57:55 +00:00
Dimitur Kirov 0bde1f52ef 'send_message' and 'open_chat' with jid not in
the roster (if multiple accounts) sends error
2005-07-20 15:45:56 +00:00
Yann Leboulanger 8d7dac3553 We copy the list of connections because one can disappear while we process() 2005-07-20 14:58:05 +00:00
Yann Leboulanger a2afc054a4 do not erase features when we receive items 2005-07-20 14:52:31 +00:00
Dimitur Kirov fbcb964008 'send_message' and 'start-chat' is executed only for
connected accounts
2005-07-20 14:12:49 +00:00
Yann Leboulanger e9d80f65fe we want secret keys in modify account 2005-07-20 13:55:50 +00:00
Nikos Kouremenos 409f3021b9 comment in code is better than comment in commit that we forget after a month :) 2005-07-20 13:33:12 +00:00
Yann Leboulanger 287b6a88d6 it can be xmls[jid/resource] if it's a vcard from pm 2005-07-20 13:30:01 +00:00
Dimitur Kirov ad5edf6657 new_message changed to open_chat.
You can start chat and send message to not in
roster users
2005-07-20 13:27:27 +00:00
Nikos Kouremenos d9fc6234be typo 2005-07-20 13:20:47 +00:00
Yann Leboulanger 840252a367 show avatar in tabbed chat even for pm 2005-07-20 13:13:52 +00:00
Yann Leboulanger b4ff6fd116 vcard now works in gc 2005-07-20 12:48:11 +00:00
Yann Leboulanger 903a466f83 in GC, contact.jid now contain nothing if we don't have the real jid 2005-07-20 11:53:30 +00:00
Yann Leboulanger 37f725f7ae better var names 2005-07-20 11:52:43 +00:00
Nikos Kouremenos 692c15e9a6 a correction in a comment 2005-07-20 11:39:01 +00:00
Yann Leboulanger 89458fa04b no need of glade here 2005-07-20 08:28:36 +00:00
Dimitur Kirov 875a875a53 show error for missing argument in gajim-remote 2005-07-20 01:29:40 +00:00
Dimitur Kirov 929d565b62 removed unused method, translatable messages on stdout 2005-07-20 00:29:31 +00:00
Nikos Kouremenos e4d5ece8a2 _30 seconds fixes 2005-07-19 23:46:21 +00:00
Nikos Kouremenos 6bbaf4085d typo 2005-07-19 23:07:45 +00:00
Nikos Kouremenos ab3beb37b3 inactive -> composing also not valid 2005-07-19 23:06:20 +00:00
Nikos Kouremenos b566a9a0db move the previous code in send_chatstate 2005-07-19 23:05:30 +00:00
Nikos Kouremenos 97d918d83d [peralta] inactive is stronger than paused so do not allow going paused if inactive 2005-07-19 23:02:58 +00:00
Nikos Kouremenos c7c695d902 better comment 2005-07-19 23:00:05 +00:00
Nikos Kouremenos 1a3923cdf4 [aldafu] patch for disabling sending chat state notif 2005-07-19 22:59:20 +00:00
Nikos Kouremenos 4f7281dfea enable dbus checkbutton disapperas; introducing send chat state notifications checkbutton 2005-07-19 22:57:37 +00:00
Nikos Kouremenos 334c2bdcf7 trying to make mouse and kbd activity work as expected 2005-07-19 22:40:54 +00:00
Nikos Kouremenos 81eb629a53 typo 2005-07-19 21:52:01 +00:00
Nikos Kouremenos f583e42837 False instead of -1 for not being able to do chat state 2005-07-19 21:43:06 +00:00
Nikos Kouremenos e880d1dc2c timers should work now 2005-07-19 21:40:08 +00:00
Nikos Kouremenos d5b1cbbd34 typo 2005-07-19 21:09:30 +00:00
Nikos Kouremenos caf0a85b84 send composing for kbd activity 2005-07-19 21:03:48 +00:00
Nikos Kouremenos 09fe8a83da fix strings for dbus errors 2005-07-19 21:03:17 +00:00
Nikos Kouremenos 013d63279d we now catch send paused and inactive or active depnding on mouse and keybaord activity 2005-07-19 20:17:28 +00:00
Yann Leboulanger f5406316cf no gtk in remote_controle 2005-07-19 20:14:29 +00:00
Yann Leboulanger b14b33fb1b fix some bug thanks to pychecker 2005-07-19 20:12:02 +00:00
Yann Leboulanger c048984641 typo 2005-07-19 19:43:34 +00:00
Yann Leboulanger 517a9c6850 use of pychecker (http://pychecker.sourceforge.net/) on gajim.py, other files will follow 2005-07-19 19:41:23 +00:00
Yann Leboulanger d11e91a00c we don't take into account the presence in gc if it's the same nick, same show, same status, same role and same affiliation 2005-07-19 19:40:36 +00:00
Yann Leboulanger 2cfe7ad0d4 don't print empty messages (especialy with typing notif) 2005-07-19 19:10:03 +00:00
Nikos Kouremenos 92c0c5fdb2 nothing 2005-07-19 18:58:50 +00:00
Yann Leboulanger 6abc354035 we don't take into account the presence if it's the same jid, same resource, same show and same status 2005-07-19 18:23:27 +00:00
Yann Leboulanger 7108bcf6d9 typo 2005-07-19 18:09:41 +00:00
Nikos Kouremenos b28f405963 .set_text('', -1) becomes .set_text('') 2005-07-19 17:11:33 +00:00
Nikos Kouremenos f094f65bd2 send gone chatstate to every tab when closing a window with many tabs 2005-07-19 17:08:01 +00:00
Nikos Kouremenos b8de6a0275 fix a typo 2005-07-19 17:07:12 +00:00
Yann Leboulanger 52d573e58c no need of sre 2005-07-19 16:59:42 +00:00
Nikos Kouremenos 0403e0dfab add a fixme 2005-07-19 15:39:24 +00:00
Nikos Kouremenos 16280995f2 fix a syntax error 2005-07-19 15:38:53 +00:00
Nikos Kouremenos 5654843eae fix a tb 2005-07-19 15:17:13 +00:00
Nikos Kouremenos ef11016a77 [dkirov] enable disable dbus on the fly 2005-07-19 15:07:00 +00:00
Dimitur Kirov 31a8b1a258 Show resource priority and status in section Status, the way nk proposed 2005-07-19 15:05:01 +00:00
Nikos Kouremenos e9e9c24d0a [delmonico] on renaming remove resource number and add it after renaming is done 2005-07-19 14:53:35 +00:00
Nikos Kouremenos 5cc1d23b3c by default Gajim has use_dbus on. [I propose if everything goes well, for the checkbutton to be removed] 2005-07-19 14:50:14 +00:00
Yann Leboulanger c6901472c1 typo 2005-07-19 14:45:15 +00:00
Nikos Kouremenos d6c9c7cbc6 [peralta] Chat State Notifications inital patch. I assume that every wm will focus-out before iconify. If that is not the case I am going to use window-state-changed too [to be tested] 2005-07-19 14:38:58 +00:00
Nikos Kouremenos cc7c233e0d show_roster ==> toggle_roster_appearance 2005-07-19 14:25:41 +00:00
Nikos Kouremenos 74b33c7825 nick in MUC and resource can have / 2005-07-19 13:59:26 +00:00
Nikos Kouremenos 6f4f126c90 introducing some helpers for jid and nick and using them to have /ban irc emulation 2005-07-19 11:57:50 +00:00
Nikos Kouremenos c10ace87fe /topic irc emulation 2005-07-19 09:59:21 +00:00
Nikos Kouremenos 52be23ab92 typo 2005-07-18 23:21:22 +00:00
Nikos Kouremenos 0effaf7501 make tooltip string on gpg translatable 2005-07-18 22:41:11 +00:00
Yann Leboulanger 73204c2d2c prevent a TB 2005-07-18 22:39:59 +00:00
Nikos Kouremenos 5ba4093701 add yet naother signal to assist peralta 2005-07-18 22:22:14 +00:00
Nikos Kouremenos 105b1b06d7 focus_out event in glade [assist peralta] 2005-07-18 22:07:43 +00:00
Nikos Kouremenos c7667b1868 fix a comment 2005-07-18 21:26:42 +00:00
Yann Leboulanger dc532ee707 fix idle segfault 2005-07-18 21:24:58 +00:00
Yann Leboulanger 3354201313 apply patch from dkirov to prevent TB when we create a new account 2005-07-18 21:16:31 +00:00
Yann Leboulanger a47cca07f0 move var that have nothing to do with GTK to gajim instead of roster or gajim.py: contacts, groups, newly_added, to_be_removed, awaiting_messages (was queues), nicks, allow_notifications, con_types, sleeper_state 2005-07-18 21:08:31 +00:00
Nikos Kouremenos bee9df2142 evil send_message in TC sends in active jid. so you need to set_active_tab before sending message. I put that as a comment in both places 2005-07-18 17:18:25 +00:00
Nikos Kouremenos f088e4203a higging 2005-07-18 16:40:12 +00:00
Nikos Kouremenos f3c99b8cc5 nothing important 2005-07-18 15:57:11 +00:00
Nikos Kouremenos eeeb26469a we do not send message to specific resource, so user must not get fooled by the GUI 2005-07-18 15:42:29 +00:00
Nikos Kouremenos 98b44990bb Ctrl+W closes tab 2005-07-18 15:35:15 +00:00
Nikos Kouremenos 4ec2eea678 update_user => update_contact 2005-07-18 14:52:28 +00:00
Yann Leboulanger 6615a51a3a no more need of GTK+ in idle.c 2005-07-18 14:35:32 +00:00
Nikos Kouremenos aed285fce3 [dkirov] do not traceback on gpg and no accounts 2005-07-18 14:16:55 +00:00
Nikos Kouremenos fe01411636 fix a comment 2005-07-18 14:15:33 +00:00
Nikos Kouremenos 39e122016c roles are now translatable 2005-07-18 14:14:40 +00:00
Yann Leboulanger 9868f23c16 we now scroll to end we we click on systray icon nad have a message 2005-07-18 13:42:15 +00:00
Nikos Kouremenos 5b4c3b4ca8 comment out some code until I can overcome a gtk+ limit 2005-07-18 12:26:21 +00:00
Nikos Kouremenos 1f931c337f [dkirov] changepassword should not traceback on error [I modified it to use exceptions] 2005-07-18 11:03:53 +00:00
Nikos Kouremenos ff18a88d92 advanced menuitem does not segfault any more 2005-07-18 09:55:55 +00:00
Nikos Kouremenos 164c896e1e add a space before ( in the tooltip and add a comment 2005-07-18 09:06:54 +00:00
Nikos Kouremenos 683ca7347a add a pass 2005-07-18 09:06:00 +00:00
Nikos Kouremenos 38b2e15c26 better fixme description 2005-07-18 08:37:43 +00:00
Nikos Kouremenos 740a987004 possible fix on disable_dbus 2005-07-18 08:31:56 +00:00
Nikos Kouremenos e814975d6f fix a typo 2005-07-18 08:18:30 +00:00
Nikos Kouremenos 009f471368 avoid double import of the same module 2005-07-17 23:03:40 +00:00
Nikos Kouremenos ca1e956b44 typo 2005-07-17 22:54:24 +00:00
Nikos Kouremenos e9696514e6 commit gui to enable/disable dbus on the fly 2005-07-17 22:52:15 +00:00
Nikos Kouremenos c092189373 more fixes 2005-07-17 22:38:38 +00:00
Nikos Kouremenos d98ee81520 assist dkirov 2005-07-17 22:30:46 +00:00
Nikos Kouremenos 139bb5ac0c [dkirov] patch to give dbus capabilities to Gajim. /me fixes and cleanups [possible break ups too :P] 2005-07-17 21:41:54 +00:00
Nikos Kouremenos 9f2c75163f typo fixes in previous commit 2005-07-17 20:32:49 +00:00
Nikos Kouremenos 4a2014a9d0 dkirov patch to show popup on menu kbd key; I removed duplication of code 2005-07-17 20:29:44 +00:00
Nikos Kouremenos 9b2f135c4b common/config to have the vars from previous commit 2005-07-17 20:26:43 +00:00