Commit Graph

187 Commits

Author SHA1 Message Date
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
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
Yann Leboulanger 3cb66c10d8 'Encryption disabled' string is not sent through Jabber, so no need to have it twice (once untranslated and once translated) 2005-07-06 14:05:22 +00:00
Nikos Kouremenos b3b3da27f8 typo 2005-07-06 13:31:55 +00:00
Nikos Kouremenos cf7285b952 %s now has var to be replaced and if block now looks better 2005-07-06 13:07:11 +00:00
Nikos Kouremenos f9f05f7442 Nap gets replaced by sleep 2005-07-06 12:19:04 +00:00
Nikos Kouremenos 0add3ad0c8 typo 2005-07-06 12:14:24 +00:00
Nikos Kouremenos 949c105312 if we are english dont duplicate gpg strings 2005-07-06 12:13:54 +00:00
Yann Leboulanger 2be42ad322 fix tooltips for gpg toggle_button 2005-07-05 21:40:40 +00:00
Nikos Kouremenos 94c01aeecc we can now receive normal and chat messages with subject and handle them ok. we can also reply to received normal message with RE: previous message and all the good stuff! hoooray! 2005-07-05 21:35:37 +00:00
Yann Leboulanger 669b7bde6b last_message_time is now saved in gajim.py so we begin to count time when we receive the message and not when we print it (fix #162) 2005-07-03 15:27:41 +00:00
Yann Leboulanger 210d989525 encrytion state is keeped even if we close the chat window 2005-07-02 11:06:02 +00:00
Yann Leboulanger 0d0835c112 don't count restored messages as new messages 2005-07-01 18:29:23 +00:00
Yann Leboulanger c53a3286bd don't show text formating button for 0.8 release 2005-07-01 17:55:41 +00:00
Yann Leboulanger 29fb257f66 show the correct time in restored conversation 2005-06-30 21:21:33 +00:00
Nikos Kouremenos 4fef38de93 do gc and tabbedchat menus via glade; and various other fixes 2005-06-30 13:31:31 +00:00
Nikos Kouremenos 93bf5477b4 fix a string 2005-06-28 10:20:59 +00:00
Nikos Kouremenos b657c0ff8c ctrl+up/down now put the cursor after the message with and with a space [thanks to rohan and me] 2005-06-26 13:10:37 +00:00
Yann Leboulanger f7f31bf802 remove unneeded function 2005-06-25 07:55:30 +00:00
Nikos Kouremenos fd0bfbc59b do not use event but use button_press_event. [this hopefully will keep out the segfault (it was always returned True in event CB]. actions_hbox still don't popup the menu (maybe because it's invisible?) but anyways it's not big and I pledge that we focus on more important stuff) 2005-06-24 23:59:55 +00:00
Yann Leboulanger 03a98e86d8 we now show the resource in tabbed_chat_window (thx Liorithiel) 2005-06-23 19:35:47 +00:00
Yann Leboulanger 9f925c236e no need to add these events 2005-06-23 18:41:47 +00:00
Yann Leboulanger 3b358d603c add icons to menu 2005-06-23 10:28:31 +00:00
Yann Leboulanger 772d79fa78 alt + c now toggle compact mode
some functions goes to chat.py
2005-06-22 21:58:45 +00:00
Yann Leboulanger 399589e406 we can now togglt to a minimalistic mode in gc/tabbed chat window thankx to liorithiel
TODO: add a keyboard shortcut, should we save the latest state ?
2005-06-22 19:39:19 +00:00
Yann Leboulanger a51c63ae35 don't send empty messages 2005-06-21 20:04:23 +00:00
Nikos Kouremenos 4ad77e0e14 apply patch by Dennis Craven to make & a & [see #439] 2005-06-14 10:00:29 +00:00
Yann Leboulanger e7ff7da1da themes are back (TODO: manage themes) 2005-06-13 22:11:09 +00:00
Yann Leboulanger f1d1a0a07e we now have history for gc too 2005-06-13 14:46:08 +00:00
Nikos Kouremenos af960ec2c8 applying a patch by dennis craven to remember gc/chat window sizes and even vpaned positions. also fixing minor stuff in glade [eg better strings] 2005-06-13 12:20:34 +00:00
Nikos Kouremenos 2214478e87 fixing colors and prettying the gc and chat window a bit 2005-06-11 13:45:48 +00:00
Nikos Kouremenos c77387346c adhering to our new coding style for Classes and fixing glade banners stuff 2005-06-10 22:45:50 +00:00
Nikos Kouremenos 3d59234f7f class name Foo_widgettype becomes FooWidgettype so we now look 100% pygtkish [sed rocks] 2005-06-10 21:14:16 +00:00
Nikos Kouremenos b23b2eac9a commiting GC mockup and supporting code both by Dennis Craven 2005-06-10 20:06:01 +00:00
Nikos Kouremenos 9847eca2f0 fix sth minor (delmonico), various cleanup 2005-06-10 16:45:54 +00:00
Yann Leboulanger ad19f954ac fix #421 2005-06-10 13:46:41 +00:00
Yann Leboulanger b1aa610c08 2 things:
avatar are printed in tabbed chat window
begining of the manage bookmark window (delmonico's patch)
2005-06-09 20:35:44 +00:00
Yann Leboulanger 93fd8e08ea replace Queues with list 2005-06-08 10:02:50 +00:00
Nikos Kouremenos 6bdc0fc599 remove a comment 2005-06-07 21:32:18 +00:00
Nikos Kouremenos c96c3c123e chat window mockup and related code by Dennis Craven 2005-06-07 21:28:21 +00:00
Nikos Kouremenos d44e881640 fixing some strings to be more accurate 2005-06-07 20:24:22 +00:00
Yann Leboulanger 0c79775f5a we now have private messages ! (TODO: update the chat window when the contact change his status) 2005-06-07 16:52:24 +00:00
Nikos Kouremenos 4166022b3d applying ctrl+keyup/down patch after cleaning and testing. Thanks rohan for patch 2005-06-07 16:25:55 +00:00
Nikos Kouremenos f69c456b4d fix a string 2005-06-07 01:21:58 +00:00
Nikos Kouremenos 78c7ca566f try again later 2005-06-07 01:10:24 +00:00
Nikos Kouremenos 2cc9a0aa5c dont send just \n 2005-06-06 13:04:11 +00:00
Nikos Kouremenos f4d3b6464a patch to allow to send on Ctrl+Enter and Enter to make newline. Thanks Dennis Craven [NOTE: we dont default to this. only accesible via expert] 2005-06-05 20:34:17 +00:00
Nikos Kouremenos 6c7d811a3c fixing #294 [thanks to Nick Lopez!] 2005-06-03 21:52:36 +00:00
Yann Leboulanger 2a3ac7a89d we print an empty line only if we restore line(s) 2005-06-03 21:35:46 +00:00
Yann Leboulanger 8a3d23cf81 we now print restored message as grey and add an empty line at the end 2005-06-03 21:29:07 +00:00