Commit Graph

155 Commits

Author SHA1 Message Date
Nikos Kouremenos ce03d79120 only if shift key is there check after one sec 2005-08-08 10:20:24 +00:00
Nikos Kouremenos 3b0190f5ab make the debug 2005-08-08 09:51:59 +00:00
Nikos Kouremenos d1b76f0a30 debug() instead of print for pre1 (final will have them removed, also make another check just in case 2005-08-08 09:29:34 +00:00
Nikos Kouremenos 587ff07b1a reset kbd and mouse activity vars after going active 2005-08-07 23:44:44 +00:00
Nikos Kouremenos e04cc5add5 set chatstate active when we send a message with body 2005-08-07 23:34:02 +00:00
Nikos Kouremenos f01d93cb8c two prints to assist debuging of logic with peralta 2005-08-07 23:20:54 +00:00
Nikos Kouremenos b164f4a1ea typos and logical fixes for chatstates 2005-08-07 23:04:36 +00:00
Dimitur Kirov 1c8b7c0a09 cut multilined status for pygtk2.4 2005-08-07 22:17:28 +00:00
Nikos Kouremenos 2d578bb875 remove a line 2005-08-07 21:46:09 +00:00
Nikos Kouremenos 8c86a126cc avoid a TB, and detect better if we were composing 2005-08-07 21:21:23 +00:00
Nikos Kouremenos 5a054fd790 chatstate by default only are about composing. chatstates ready for 0.8 2005-08-07 20:58:44 +00:00
Nikos Kouremenos 9472d318b2 do not send inactive if context menu is shown and fixes in glade (we also now use a dict to connect custom signals) 2005-08-07 15:19:21 +00:00
Nikos Kouremenos a09c2bed2f if shift check if sth was written in textview before sending composing 2005-08-06 23:08:05 +00:00
Nikos Kouremenos 680dace366 send gone chatstate to all tabs if many and we close window holding them 2005-08-06 20:17:45 +00:00
Yann Leboulanger ab3263c5ba fix TB 2005-08-04 17:05:39 +00:00
Nikos Kouremenos cf260d18b2 add to roster menuitem in context menu of banner is now visible and only when needed. switch to removal was rewritten to remove position of childs 2005-08-04 12:46:31 +00:00
Yann Leboulanger 6b26a5d332 when we right click on a tab, we switch to it, so popup menu item are correct :) 2005-08-04 09:42:34 +00:00
Yann Leboulanger 8018890427 clean some vars when we close (group)chat windows/tabs 2005-08-03 11:36:00 +00:00
Nikos Kouremenos 5f1c9105bc fix a tb 2005-08-01 21:59:34 +00:00
Nikos Kouremenos 28e2203831 do not send chatstate in a contact in pm of MUC if contact left room. thanks deluge 2005-08-01 15:45:33 +00:00
Dimitur Kirov 19edb7b2d9 prevent TB in send_chatstate if jid is '' 2005-07-26 15:00:34 +00:00
Nikos Kouremenos 59050d4134 get_nb_line becomes get_no_of_lines; marked for translation title in history window 2005-07-24 19:01:44 +00:00
Nikos Kouremenos d29d825ac3 send composing only if ctrl or alt key is not present 2005-07-24 18:41:31 +00:00
Nikos Kouremenos b550a10cf8 motion-notify on TC window now works and works as expected 2005-07-23 22:37:18 +00:00
Nikos Kouremenos dea0e53dbb we were sending inactive chatstate because focus-out is called when we ask the context menu. now with some pointer and geometry stuff that is fixed 2005-07-23 20:48:08 +00:00
Nikos Kouremenos 3c215f1a79 FIX of it seems you send 'gone' to active tab, which is wrong, I can close a tab in whic i'm not 2005-07-22 17:39:42 +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 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 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 688fb66979 gtkgui_helpers have func to escape pango markup 2005-07-21 21:39:47 +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 2db64d9ce8 put chatstate in the banner 2005-07-21 14:56:39 +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 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 51aa52683a we can now disbale chat state via GUI [a MUST in jep] 2005-07-20 20:00:57 +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
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 e4d5ece8a2 _30 seconds fixes 2005-07-19 23:46:21 +00:00
Nikos Kouremenos 6bbaf4085d typo 2005-07-19 23:07:45 +00:00