Commit graph

245 commits

Author SHA1 Message Date
Travis Shirk
cf9d5705b5 Reset chatstates when tab/window is closed. Closes ticket [1034] 2005-11-06 20:14:49 +00:00
Travis Shirk
6840f97c1f Keep name banner up to date with chatstate info. 2005-11-06 18:58:35 +00:00
Yann Leboulanger
004cb9c5d3 first popuped message is a new message 2005-11-05 23:43:43 +00:00
Nikos Kouremenos
e0d9933b23 remove unused vars and modules 2005-11-03 21:11:37 +00:00
Nikos Kouremenos
9b5a55ea7d ctrl+enter no longers sends message and all work as they should. damn bindings 2005-11-03 17:01:44 +00:00
Nikos Kouremenos
b8fce2f1fe do not ask xml anymore 2005-11-03 15:21:18 +00:00
Nikos Kouremenos
1ab95cdc6a if gtk has default action for a widget, bindings never work, so we must use key_press_event for those and return True after we do the job in key_press_event CB 2005-11-03 15:10:00 +00:00
Yann Leboulanger
2720f1ce7c move function to get real_jid to gajim.py 2005-11-02 08:12:54 +00:00
Yann Leboulanger
c9c319a141 get the avatar from real jid if we have it
if we don't habe the real jid, we don't show bigger avatar cause it's not saved in HD
2005-11-01 22:08:15 +00:00
Yann Leboulanger
9121514778 don't open a tabbedchat or a groupchat window over another one 2005-11-01 15:42:08 +00:00
Yann Leboulanger
a8cb9d69ff we now save sha in stored vcard
we save the current sha in memory and we update it when we receive the vcard
we re-ask the vcard when we receive a presence with a new sha
2005-10-31 17:31:30 +00:00
Yann Leboulanger
17f67e6a90 remove unneeded BeautifulSoup class
refactor the code so that it's not dup (vcard.get_avatar_pixbuf)
2005-10-31 10:23:33 +00:00
Nikos Kouremenos
ee46edcfb8 if we have avatar in HD, we get it from there now 2005-10-30 21:39:09 +00:00
Nikos Kouremenos
3e7c2c563f MessageTextView also used in Group Chat. at last! 2005-10-29 16:33:59 +00:00
Nikos Kouremenos
629f565c0d Tabbed Chat now uses MessageTextView which does it all via gtk bindings so japanese and other IM can come before us to handle Enter as required 2005-10-29 16:06:39 +00:00
Yann Leboulanger
0cbb37e865 here is a new widget: conversation_textview: it displays url, emoticons, ... 2005-10-28 21:46:55 +00:00
Yann Leboulanger
726640ef4b the old self.plugin variable becomes gajim.interface, no need to pass it to every functions/classes 2005-10-20 11:17:17 +00:00
Nikos Kouremenos
947c7c59c4 improve and add comments to make code more readable 2005-10-18 12:41:56 +00:00
Yann Leboulanger
f1b8cc1246 remove FIXME 2005-10-18 09:33:56 +00:00
Nikos Kouremenos
01e09ce9b1 make the cursor invisible when showing bigger avatar; make it visible on mouse move 2005-10-16 14:19:02 +00:00
Yann Leboulanger
77cb852057 single messages are well handled: they are saved in awaiting_events if needed and are printed when we dubble click a contact row, or systray or popup window 2005-10-16 13:18:34 +00:00
Yann Leboulanger
966afbb031 awaiting_messages is now named awaiting events
it now contains subject of messages
2005-10-15 20:49:08 +00:00
Nikos Kouremenos
00d72aecdd remove some prints 2005-10-14 10:12:04 +00:00
Nikos Kouremenos
ce66db017e do not do the same thing twice 2005-10-14 01:13:10 +00:00
Nikos Kouremenos
8ab275e87e comments never hurt; fix DeprecationWarning on passing float to scale_simple; do not show bigger avatar if avatar is not bigger 2005-10-13 20:33:13 +00:00
Yann Leboulanger
6df1018fca width and height must be integer 2005-10-13 19:53:36 +00:00
Yann Leboulanger
d505fd01a0 [Kaleo] don't make rectangulare avatars become square 2005-10-13 18:52:17 +00:00
Yann Leboulanger
95ad04abfb don't remove chat state when we receive a presence 2005-10-13 18:23:47 +00:00
Yann Leboulanger
19d99e0a89 remove the image in tc window when we get the vcard and there is no image in it 2005-10-12 20:17:58 +00:00
Yann Leboulanger
258595fc43 add comment 2005-10-12 19:00:24 +00:00
Yann Leboulanger
ad3d5c5944 do not DND on chat window that have no resource 2005-10-12 18:59:38 +00:00
Nikos Kouremenos
c9a368a163 bigger avatar cannot be shown in a window larger than half the screen 2005-10-11 11:57:51 +00:00
Nikos Kouremenos
7ee643c02e comments to help code not become a beast; clean and adhere to coding style 2005-10-07 14:46:10 +00:00
Yann Leboulanger
b91e380fcc fix var name .. 2 var can't have the same name 2005-10-06 20:28:38 +00:00
Yann Leboulanger
011115ae80 little cleanup / indentation fix 2005-10-06 20:27:11 +00:00
Nikos Kouremenos
688c92fe4e user --> contact, space after # for devel comments 2005-10-06 16:54:59 +00:00
Nikos Kouremenos
d80421953e fix more leftovers 2005-10-06 16:32:58 +00:00
Nikos Kouremenos
905230341a fix leftovers from nicfit's [3690] 2005-10-06 15:20:53 +00:00
Nikos Kouremenos
83ffab141f fix a tb 2005-10-03 20:17:55 +00:00
Nikos Kouremenos
5c61b2de72 remove assert 2005-10-03 17:21:48 +00:00
Nikos Kouremenos
e41bbd657d typo 2005-10-03 17:03:59 +00:00
Nikos Kouremenos
6899985d5c we now cache avatar, so we only ask once. TODO: ask, store and show in roster; TODO2: on new sha reask vcard to get new avatar 2005-10-03 16:14:41 +00:00
Nikos Kouremenos
7518d20bf7 show avatar window in mouse pos 2005-10-03 12:30:18 +00:00
Nikos Kouremenos
6ae41cddef mouseover avatar now show avatar in normal size; adding some FIXMES. Yann please look at the return 0 one 2005-10-03 01:40:56 +00:00
Yann Leboulanger
63c890da2b systray.add_jid and systray.remove_jid now have another argument: the typ of message: ('gc' or 'chat' or 'single_chat' or 'pm')
systary now can handle pm messages
2005-09-24 09:42:10 +00:00
Yann Leboulanger
8f93012465 groupchat_window now has an on_message function that can hold pm in queues so they are not printed (systray is not handled yet) 2005-09-23 21:01:42 +00:00
Yann Leboulanger
bc25dbef03 split NOTIFY event into NOTIFY and GC_NOTIFY 2005-09-20 18:36:28 +00:00
Travis Shirk
83aa034a24 Abide by composing-only chatstate configuration; closes #945 2005-09-20 18:33:11 +00:00
Nikos Kouremenos
5a6e12e562 cleaning UI of TC p1: lamp button (with text it's big, without text it can confuse users very much) is removed in favor of the already there menuitem in actions 2005-09-20 11:10:28 +00:00
Travis Shirk
075c5bfc48 Per JEP-0085 updates, losing focus does not immediately result in inactive
http://article.gmane.org/gmane.network.jabber.standards-jig/8924
2005-09-20 01:57:54 +00:00