Commit graph

253 commits

Author SHA1 Message Date
Travis Shirk
a180b3be8f Send 'gone' for each tab when the entire chat window was closed instead
of only when a tab is individually closed.
2005-11-21 02:32:59 +00:00
Nikos Kouremenos
ca31a7f67a history window now has a calendar; tons of cleanups, comments, better varnames and in general better quality of code; also a fixme for another day 2005-11-20 21:58:08 +00:00
Yann Leboulanger
f3eef962c6 gc now have draw_contact, draw_roster and draw_all_roster functions and they are used to update style, iconset ... 2005-11-15 09:08:08 +00:00
Nikos Kouremenos
082fc7aaa9 fixing dict name: gajim.interface.windows --> gajim.interface.instances 2005-11-13 15:08:47 +00:00
Nikos Kouremenos
82b7e98371 [gjc] destroy bigger_avatar_window not just hide it 2005-11-12 22:43:18 +00:00
Nikos Kouremenos
33e7b103c0 gtkexcepthook only for those that run svn versions; release user should not be bugged with TBs as they should be minor to overall functionality and he should not care. if he is advanced he knows how to find out what is wrong (how to get to see a traceback etc); also moving get_avatar_pixbuf_from_cache to gtkgui_helpers (all in one commit because of import issues) 2005-11-12 21:24:54 +00:00
Nikos Kouremenos
4034efa762 we now have avatars in roster. I default to 48x48 (gaim defaults to that too) u can change that to whatever you want via ACE and you can take avatars off via PREFS; defaulting to 32x32 is too small. njoy 2005-11-08 13:04:59 +00:00
Nikos Kouremenos
a1d8b08d90 no need to save var, and better comment 2005-11-06 20:57:52 +00:00
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