Yann Leboulanger
bf56c34a83
count only incoming messages for gajim.last_message_time value. Fixes #1281
2006-04-03 16:55:31 +00:00
Yann Leboulanger
c201b03dce
typo: update correctly gajim.last_message_time when we receive a message. Fixes #1281
2006-04-02 17:38:06 +00:00
Yann Leboulanger
31e54bc2ed
remove many call to dialog.run() function. Some are still here, but they happend only when the user do an action (close a chat window, change status, ...). So UI is not blocked when we receive a groupchat invitation or an error message.
2006-04-02 16:11:21 +00:00
Yann Leboulanger
111ea2c9b6
cleanup ichat mode code. No need of timeout. Fixes #1213
2006-03-31 20:08:47 +00:00
Nikos Kouremenos
df3dacfac1
put Dimitur as hacker for chat_control.py too.
2006-03-28 14:11:53 +00:00
Nikos Kouremenos
34aef80124
rm print. fix issue. previous commit also was obey to coding standards [yes again]
2006-03-28 12:43:57 +00:00
Nikos Kouremenos
fe32959028
clean up. leave a print to debug
2006-03-28 12:39:47 +00:00
Nikos Kouremenos
e08598c6bf
rm double assignment of the same signal!!!!!!!!!!!!!!!!!
2006-03-28 11:58:57 +00:00
Nikos Kouremenos
4d2a36707b
clean up code; obey to coding standards
2006-03-28 11:52:25 +00:00
Nikos Kouremenos
428d5996e5
fix typo
2006-03-28 11:39:14 +00:00
Nikos Kouremenos
af9edc1f7c
mention menuitem by name [so refactoring does not break code]; fix sensitivy of history to be disabled for transports
2006-03-28 11:33:31 +00:00
Nikos Kouremenos
2ea292c9e6
fix a nice thought of travis to work ok with talkig to 2 or more resources the same time [do not show account name then]
2006-03-27 22:26:30 +00:00
Yann Leboulanger
05793cc27c
prevent a TB
2006-03-27 00:16:24 +00:00
Yann Leboulanger
ee6ce3c324
message_textview is not editable when we are not connected
2006-03-26 10:43:18 +00:00
Yann Leboulanger
1fafe3b08c
handle correctly resources in queue of events. Fixes #1706
2006-03-25 17:05:54 +00:00
Nikos Kouremenos
1ff4e4f48d
rm leftover FIXME
2006-03-25 11:22:42 +00:00
Nikos Kouremenos
4c2f8d9400
make clearer what we do
2006-03-25 11:12:31 +00:00
Nikos Kouremenos
ba15eb2114
no need to realize a widget that is already NOT invisible
2006-03-25 10:50:13 +00:00
Dimitur Kirov
b64f199c08
realize is safer
2006-03-25 02:07:02 +00:00
Dimitur Kirov
7ca9a4e08f
take plain banner colors from gtkrc style class
...
*GtkFrame.GtkEventBox.* :wq
2006-03-25 01:21:16 +00:00
Yann Leboulanger
2b725f05ba
remove useless tabulations
2006-03-24 19:20:05 +00:00
Yann Leboulanger
f8db75e255
New metacontact way. JEP is not published yet, but I talked with the author. Old metacontact info are removed automaticaly
2006-03-24 12:55:56 +00:00
Dimitur Kirov
f7dd517030
use small for status message. Last revert, I
...
promise!
2006-03-21 22:55:25 +00:00
Dimitur Kirov
31f380dff7
don't escape markup entities for banner tooltip
2006-03-21 21:22:08 +00:00
Yann Leboulanger
df38aa897c
read_queue now look in awaiting_messages dict with fjid as key instead of jid. Fix #1706
2006-03-21 18:34:03 +00:00
Dimitur Kirov
aa73f2d862
typo
2006-03-20 23:26:27 +00:00
Dimitur Kirov
5ce9bf3f49
set tooltip with status message (chat wins)
2006-03-20 16:51:17 +00:00
Dimitur Kirov
08b67c346e
update banner font also in groupchat
2006-03-20 16:22:34 +00:00
Dimitur Kirov
cb02ad7f18
use size small, instead of medium for status
...
message in banner
2006-03-20 16:04:54 +00:00
Dimitur Kirov
164e5116da
set theme font to chatstates and status message
2006-03-19 21:40:26 +00:00
Yann Leboulanger
a59f0866d5
typo
2006-03-18 09:27:41 +00:00
Yann Leboulanger
84ade2e3ac
prevent TB
2006-03-18 09:22:27 +00:00
Dimitur Kirov
4abd0a9d42
use emoticons_theme, instead of useemoticons
...
( #1715 )
2006-03-17 11:11:45 +00:00
Yann Leboulanger
b4ed754b51
we now have emoticons themes. Fixes #1182
...
TODO: fill animated folder with his emoticons file
2006-03-16 23:37:06 +00:00
Yann Leboulanger
72e7cb6423
fix TB: get the avatar from folder when it's a pm
2006-03-16 17:47:31 +00:00
Yann Leboulanger
157a83ade5
we can see bigger avatar in pm as we now save vcard too
2006-03-16 07:51:42 +00:00
Yann Leboulanger
721acff70f
tab name and window title now contain resource if needed. see #1697
2006-03-15 08:46:44 +00:00
Yann Leboulanger
6ca8c5334c
redraw correctly tabs / banner when sevral resources
2006-03-14 18:18:34 +00:00
Yann Leboulanger
02ed060a90
chaw resource in banner when talking to a specific resource
2006-03-14 17:19:54 +00:00
Yann Leboulanger
51d57ba717
last_message_time is now indexed by full_jid. for [1697]
2006-03-14 17:13:34 +00:00
Yann Leboulanger
b1ce1107de
we can now talk to a specific resource
2006-03-14 13:10:09 +00:00
Nikos Kouremenos
e650cf3308
do not del print_time_timeout_id but set it to None. fixes #1691
2006-03-13 23:59:59 +00:00
Nikos Kouremenos
bffcec6899
remove switch to menuitems. fixes #1674
2006-03-13 21:55:21 +00:00
Yann Leboulanger
46e637ad5d
if status is '', don't print it
2006-03-12 21:17:26 +00:00
Nikos Kouremenos
bf72124b6c
enrich comment
2006-03-10 13:54:04 +00:00
Nikos Kouremenos
98d03e2855
[geobert] fix having None as chatstate after recv single message
2006-03-10 10:53:30 +00:00
Yann Leboulanger
3355cf4ea3
room_contacts vcards are now saved in room_jid folder. Fixes #1105
2006-03-09 18:41:57 +00:00
Yann Leboulanger
9f837ededb
check if we are conencted when we press send button. Fixes #1562
2006-03-08 12:29:34 +00:00
Yann Leboulanger
743d514997
strftime returns local-encoded string. decode it. Fixes #1662
2006-03-05 22:09:39 +00:00
Yann Leboulanger
e8f810f7cb
[Geobert] fix chatstate thing. See #1317
2006-03-05 21:41:49 +00:00
Yann Leboulanger
1c13fcd648
[Geobert] Don't send bot JEP85 and JEP22 when only JEP22 is supported by contact. Fixes #1317
2006-03-03 14:41:55 +00:00
Yann Leboulanger
69f8e83bcc
[Jim] fix wrong context menu. Fixes #1638
2006-03-01 21:08:37 +00:00
Yann Leboulanger
4b327b5682
[Geobert] JEP-0022 partial support (composing). Tunned by me. Fixes #1317
2006-03-01 18:16:54 +00:00
Dimitur Kirov
8945173e51
update banner font with theme font
2006-03-01 11:03:56 +00:00
Yann Leboulanger
2af0a1dd29
update urgency hint in function of the correct control, not the active one
2006-02-27 21:26:58 +00:00
Yann Leboulanger
946a28b26b
[Jim++] some elif instead of if
2006-02-26 23:29:49 +00:00
Yann Leboulanger
6af1c3dbdc
error / not_in_roster / requested / message icons are no more taken in transporticonset, but in jabber iconset. Fixes #1250
2006-02-26 15:08:59 +00:00
Yann Leboulanger
bf00d4a6d4
don't ask lines in logs DB when restore_lines in <= 0
2006-02-22 21:22:25 +00:00
Yann Leboulanger
cce6c97e7c
make small avatar transparent when we show the big one
2006-02-21 12:59:29 +00:00
Yann Leboulanger
f4e95cdc8d
when a child has awaiting events, draw parent with message icon and open chat with this child contact when we dubble click on parent
2006-02-20 17:09:14 +00:00
Travis Shirk
3ab1fb3539
More fixes for #1386 - Window titles and one_message_window PERTYPE mode
2006-02-12 21:22:49 +00:00
Travis Shirk
6d3696e83c
Window title fix for #1386
2006-02-08 04:11:42 +00:00
Travis Shirk
3f7217aefe
Removed FIXME
...
Asterix, this method is actually new (i.e., was only in gc before),
but now it is needed (see #1495 ). Also, what I was not expecting
was the refresh of self.contact in this same function. This is
required since the contact goes stale when we go offline.
Not sure if that is a bug or not.
2006-02-08 02:42:24 +00:00
Yann Leboulanger
759f6a49f6
Fix TB when changing status and pm opened
2006-02-05 18:42:41 +00:00
Travis Shirk
44700c12da
Fixes #1495
2006-02-04 02:52:36 +00:00
Travis Shirk
0977a93c7e
Fixed copyrights
2006-02-03 07:48:10 +00:00
Travis Shirk
50465c6265
Fix for #1420
2006-01-27 03:43:00 +00:00
Nikos Kouremenos
9bee140765
80char margin
2006-01-25 14:05:31 +00:00
Travis Shirk
170a1db254
We can now chat with the same contact or join the same gc using two differenct account;
...
closes #1421
2006-01-25 05:39:07 +00:00
Travis Shirk
a63132500b
Pass account to window/control lookup methods
2006-01-25 02:43:55 +00:00
Travis Shirk
b0f4dd6d8e
[Geobert] Fix for #1430
2006-01-22 22:20:00 +00:00
Travis Shirk
5624dca803
Compact view in groupchat works again. Fixes #1377
2006-01-21 12:48:45 +00:00
Yann Leboulanger
2dc4eb3f21
[campey] not in the roster -> Not in Roster. Fixes #1054
2006-01-19 21:55:01 +00:00
Nikos Kouremenos
286be0f9e2
[campey] fix so we do not tb for contacts that have avatar but in not in the roster group
2006-01-19 08:36:56 +00:00
Travis Shirk
03ef57c2b9
Chatstate fix; closes #1417
2006-01-19 01:51:55 +00:00
Travis Shirk
74b7b3d578
CTRL+PGDN|PGUP restored. closes #1413
2006-01-19 01:30:18 +00:00
Travis Shirk
6b8474299e
Removed unused functions
2006-01-16 03:55:33 +00:00
Travis Shirk
987ae74c10
Jid is not needed for this interface
2006-01-14 21:58:47 +00:00
Travis Shirk
a10e4b8562
CTRL+Tab and CTRL+SHIFT+Tab, closes #1396
2006-01-14 20:40:48 +00:00
Travis Shirk
972d3f1f21
ALT+e for emoticons is not ALT+m; closes #1303
2006-01-14 19:20:03 +00:00
Travis Shirk
a923b1c230
notify_on_all_muc_messges fix; #1395
2006-01-14 19:16:16 +00:00
Travis Shirk
b940e12aee
Fix TB #1398
2006-01-14 18:43:54 +00:00
Travis Shirk
c79768cd28
Action->History (plus other menu) bug fixes. Closes #1376
2006-01-12 02:36:06 +00:00
Nikos Kouremenos
4ed199bd17
import os imports os.path
2006-01-11 23:17:16 +00:00
Yann Leboulanger
d2ab3031f1
contact.name can now be empty. So use contact.get_shown_name() that returns a user friendly name
2006-01-10 18:30:57 +00:00
Yann Leboulanger
9901ebbca0
last_key_tabs must be set to False when we press another key than Tabulation
...
(now /msg ni[TAB] doesn't remove the space before ni)
2006-01-10 16:32:43 +00:00
Yann Leboulanger
df3b7d7b80
missing new contacts function
2006-01-10 09:29:48 +00:00
Travis Shirk
0da89c3996
/me works, room subject ellipses, and ui update fixes
2006-01-10 01:47:24 +00:00
Travis Shirk
a6bdc39d5d
Private message bug fixes
2006-01-08 23:14:50 +00:00
Travis Shirk
460ac48ec4
Chatstate fixes and merged revisions 5054,5059-5060 via svnmerge from
...
svn://svn.gajim.org/gajim/trunk
........
r5054 | nicfit | 2006-01-07 22:06:08 -0700 (Sat, 07 Jan 2006) | 2 lines
typo fix
........
r5059 | asterix | 2006-01-08 10:03:32 -0700 (Sun, 08 Jan 2006) | 2 lines
remove the Gmail option from GUI, it's only in ACE. fixes #883
........
r5060 | asterix | 2006-01-08 12:14:19 -0700 (Sun, 08 Jan 2006) | 2 lines
the Contact.jid returned by contact_from_gc_contact() function is the fake jid, even if we know the real jid. this means pm windows are index by the fake jid (gajim.interface.instances[account]['chats'][FAKE_JID])
........
2006-01-08 20:32:39 +00:00
Travis Shirk
e53e786182
Trying to fix PM regression since merge
2006-01-08 07:50:26 +00:00
Travis Shirk
ad087f10c4
Use contacts.py from trunk and bug fix
2006-01-08 05:27:36 +00:00
Travis Shirk
1e49d5be44
Emacs style CTL + u for clearing the message_textview
2006-01-08 05:11:56 +00:00
Travis Shirk
c033a670d1
Merged revisions 5044-5051 via svnmerge from
...
svn://svn.gajim.org/gajim/trunk
........
r5044 | asterix | 2006-01-07 17:17:05 -0700 (Sat, 07 Jan 2006) | 2 lines
open the vcard on the real jid in gc if we know it
........
r5045 | asterix | 2006-01-07 17:23:33 -0700 (Sat, 07 Jan 2006) | 2 lines
use real jid when we open a pm message if we know it
........
r5046 | asterix | 2006-01-07 17:27:38 -0700 (Sat, 07 Jan 2006) | 2 lines
get contact from the self.contacts so that even if it's pm we get a Contact instance
........
r5047 | asterix | 2006-01-07 17:30:58 -0700 (Sat, 07 Jan 2006) | 2 lines
don't ask vcard when we get an error presence
........
r5048 | asterix | 2006-01-07 17:39:05 -0700 (Sat, 07 Jan 2006) | 2 lines
fix logic in contacts.add_contact() function
........
r5049 | asterix | 2006-01-07 18:08:21 -0700 (Sat, 07 Jan 2006) | 2 lines
do not use underline in join_gc menu
........
r5050 | asterix | 2006-01-07 18:12:09 -0700 (Sat, 07 Jan 2006) | 2 lines
don't use underline in all menus that contact an account name
........
r5051 | asterix | 2006-01-07 18:18:16 -0700 (Sat, 07 Jan 2006) | 2 lines
add an ACE option to hide the avatar in tabbed chat window
........
2006-01-08 05:05:16 +00:00
Travis Shirk
eb27dbe61a
Implemented #1260
2006-01-08 04:31:02 +00:00
Travis Shirk
fada255296
groupchat_window completely merged
2006-01-07 22:53:46 +00:00
Travis Shirk
f52afdcbe8
Merged revisions 5017-5020,5022-5029 via svnmerge from
...
svn://svn.gajim.org/gajim/trunk
........
r5017 | asterix | 2006-01-06 01:55:51 -0700 (Fri, 06 Jan 2006) | 2 lines
use escape for pango markup
........
r5018 | asterix | 2006-01-06 02:21:39 -0700 (Fri, 06 Jan 2006) | 2 lines
missing new contacts function
........
r5019 | asterix | 2006-01-06 11:03:07 -0700 (Fri, 06 Jan 2006) | 2 lines
handle the click on toggle_gpg_encryption menuitem
........
r5020 | asterix | 2006-01-06 11:14:14 -0700 (Fri, 06 Jan 2006) | 2 lines
use the saved size even if a chat window is already opened
........
r5022 | asterix | 2006-01-07 03:43:47 -0700 (Sat, 07 Jan 2006) | 2 lines
we can now resume filetransfert
........
r5023 | asterix | 2006-01-07 03:56:31 -0700 (Sat, 07 Jan 2006) | 2 lines
[Knuckles] Google E-Mail Notification
........
r5024 | asterix | 2006-01-07 04:02:16 -0700 (Sat, 07 Jan 2006) | 2 lines
better string
........
r5025 | asterix | 2006-01-07 04:14:32 -0700 (Sat, 07 Jan 2006) | 2 lines
fix a TB
........
r5026 | asterix | 2006-01-07 05:36:55 -0700 (Sat, 07 Jan 2006) | 2 lines
we can now drag a file on a contact in the roster to send him a file
........
r5027 | asterix | 2006-01-07 06:26:28 -0700 (Sat, 07 Jan 2006) | 2 lines
contact.groups is always a list, even if emtpy
........
r5028 | asterix | 2006-01-07 06:54:30 -0700 (Sat, 07 Jan 2006) | 2 lines
make all buttons insensitive on a category row in disco
........
r5029 | asterix | 2006-01-07 07:19:25 -0700 (Sat, 07 Jan 2006) | 2 lines
auto open groupchat configuration window when we create a new room
........
2006-01-07 17:25:35 +00:00
Travis Shirk
2a5b0afc44
More groupchat goodness
2006-01-06 06:59:55 +00:00
Travis Shirk
58f2d03dd3
Groupchat roster work
2006-01-06 03:36:07 +00:00
Travis Shirk
c4f4da5aef
Tracking trunk changes:
...
Merged revisions 5008-5011 via svnmerge from
svn://svn.gajim.org/gajim/trunk
........
r5008 | asterix | 2006-01-05 12:55:22 -0700 (Thu, 05 Jan 2006) | 2 lines
new_chat must be called with a Contact instance instead of GC_Contact
........
r5009 | asterix | 2006-01-05 12:56:35 -0700 (Thu, 05 Jan 2006) | 2 lines
use new contacts functions in common/gajim.py
........
r5010 | asterix | 2006-01-05 12:59:06 -0700 (Thu, 05 Jan 2006) | 2 lines
get_first_contact_from_jid doesn't return a GC_Contact instance
........
r5011 | asterix | 2006-01-05 12:59:35 -0700 (Thu, 05 Jan 2006) | 2 lines
check correctly if a contact leaves the groupchat
........
2006-01-06 02:20:38 +00:00
Travis Shirk
893f15aeee
Working on GroupchatControl
2006-01-05 05:51:28 +00:00
Travis Shirk
a950a51e28
No _on signals in glade.
2006-01-05 03:09:54 +00:00
Travis Shirk
715afc7113
Chatstate and tab redraw fixes
2006-01-05 02:58:59 +00:00
Travis Shirk
311288907a
The MessageWindowMgr now saves/restores window positions so that the
...
config mode can be used for smarter placement. Also the emotiocons menu keybinding
2006-01-03 05:49:09 +00:00
Travis Shirk
deba09827c
All code from chat.py and tabbed_chat.py has been merged into the new framework. Lot's of testing to follow and then onto groupchat *in the same window*, w00t!
2006-01-03 04:44:56 +00:00
Travis Shirk
5f093a06b5
Hooked up ultra lame send button
2006-01-03 04:05:28 +00:00
Travis Shirk
9058126e73
Key binding fixes
2006-01-03 03:55:11 +00:00
Travis Shirk
2726e33172
All keybindings are working and with a biut less code duplication
2006-01-03 03:34:32 +00:00
Travis Shirk
f195c47ea7
Migrating code into the new classes
2006-01-02 22:08:50 +00:00
Travis Shirk
8d42f5d0f0
Hooking up more pieces
2006-01-02 09:04:30 +00:00
Travis Shirk
4b59506c97
Moved MessageControl into it's own file to avoid circular depency
2006-01-02 02:12:34 +00:00
Travis Shirk
b239d4ff00
History action, some chatstate stuff moved over, etc.
2006-01-02 01:23:40 +00:00
Travis Shirk
6036368b6e
Window/control shutdown
2006-01-01 19:40:05 +00:00
Travis Shirk
c30ee542dc
Close to usable for chat, receiving messages, etc.
2005-12-31 21:55:44 +00:00
Travis Shirk
fb5ca97eba
Send chatstates and chat messages instead of normal
2005-12-31 08:13:20 +00:00
Travis Shirk
496199aaef
Preliminary GroupchatControl support
2005-12-31 07:35:14 +00:00
Travis Shirk
008dfea48b
More menus, compact mode, etc.
2005-12-31 07:19:43 +00:00
Travis Shirk
fc6af37467
Config updating, tab label markup abstraction, auto window sizing/positioning, window title
2005-12-31 06:27:22 +00:00
Travis Shirk
b7761d7256
Moved MessageWindowMgr singleton to gajim.interface and emoticon menu support
2005-12-31 04:53:14 +00:00
Travis Shirk
96d7dcbce2
Sending messages, and more framework
2005-12-31 03:53:48 +00:00
Travis Shirk
1eec68634c
Drawing widgets and tabs. Migrated some of the keyboard event handling as well
2005-12-31 00:50:33 +00:00
Travis Shirk
a4477f88ee
chat controls created and showing up in MessageWindow
2005-12-30 20:47:59 +00:00
Travis Shirk
d19a522ff8
Hashed out a bit more of the MessageControl interface
2005-12-29 03:49:57 +00:00
Travis Shirk
44c8d901f9
added
2005-12-29 03:21:43 +00:00