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
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
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
caf0a85b84
send composing for kbd activity
2005-07-19 21:03:48 +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
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
0403e0dfab
add a fixme
2005-07-19 15:39:24 +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
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
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
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