Commit Graph

147 Commits

Author SHA1 Message Date
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
Yann Leboulanger 1ac9feb35a we now print the restored conversation in small (I think it's not enough and we should print it grey too, comments ?) 2005-06-02 19:38:22 +00:00
Nikos Kouremenos e3d6526b5a remove a comment, and previous bugfix thanks to rohan 2005-06-02 16:29:32 +00:00
Nikos Kouremenos f0b336364b bugfix in remembering last lines [avoid duplication when unread messages] {still needs to be small and grey} 2005-06-02 16:28:01 +00:00
Nikos Kouremenos dc6541ff7f really nothing [ok.. a comment] 2005-05-31 17:53:28 +00:00
Yann Leboulanger 0805f5a65b bugfix when the message contain a ':' 2005-05-31 13:07:35 +00:00
Nikos Kouremenos f0795a86b9 no need to bool() 2005-05-30 21:16:59 +00:00
Nikos Kouremenos 968762437f do not remember lines for transports 2005-05-30 21:12:34 +00:00
Nikos Kouremenos b34b3c8e55 remember last lines after reopening chat window (thanks Sergey Kuleshov, and don't fail on gtkspell-lang not available 2005-05-30 21:00:04 +00:00
Yann Leboulanger efd470a44f chat window now print when encryption in enabled / disabled and automatically activate/desactivate the gpg_toggle button 2005-05-30 10:41:55 +00:00
Yann Leboulanger 088b3870dd we can now attach a GPG key to a contact 2005-05-29 21:34:01 +00:00
Yann Leboulanger dbdd89dd3f bugfix 2005-05-27 15:47:15 +00:00
Yann Leboulanger 818590a0e8 gpg toggle button is now refreshed each time we get a presence 2005-05-27 15:12:58 +00:00
Yann Leboulanger 6abba7616d do not print status message if there is not 2005-05-21 09:53:06 +00:00
Yann Leboulanger f3d36d9d80 status -> show
we cannot join a gc twice at the same time with the same account
2005-05-20 16:31:52 +00:00
Nikos Kouremenos 5293788dc1 introducing common/helpers.py where get_uf_status lives [more functions to come there in the future] 2005-05-20 15:58:23 +00:00
Nikos Kouremenos c0e8557f52 userfriendly status string used in tabbed_chat window too 2005-05-18 15:40:42 +00:00
Yann Leboulanger c2481dc949 use
keyval == keysyms.Tab or keyval == keysyms.ISO_Left_Tab
instead of:
hardware_keycode == 23
so it works under win too.
2005-05-15 20:58:04 +00:00
Nikos Kouremenos 97aef098bc fixes/cleanups allover:
Basically a traceback a traceback with present()
replace some menuitem strings to be more HIG
introducing /clear and that is all I think
2005-05-13 16:53:30 +00:00
Nikos Kouremenos 0408a86d7b conversation history window now has better title (mentions with whom) 2005-05-12 18:52:37 +00:00
Nikos Kouremenos 4ad7c30f47 use present if already open for conversation history window 2005-05-12 16:55:48 +00:00
Nikos Kouremenos f804c04d59 bugfix 2005-05-05 16:02:14 +00:00
Nikos Kouremenos 1f5e991af0 remove tab should have the show status image show/hide code, cause switch page is not enough 2005-05-05 13:18:44 +00:00
Nikos Kouremenos 2e668210c2 if not foo else becomes if foo else: 2005-05-04 16:22:07 +00:00
Nikos Kouremenos 68b0672437 show contact status if tabbed and more than one tabs in the tab itself. this is more HIG and ergonomic cause we know the status of a contact without clicking on it. Also this design is followed by Gossip, Gaim and many others IM clients that do tabbedUI 2005-05-03 16:37:59 +00:00
Yann Leboulanger 7d9d47ac9b we now save and restore some variables in tabbed chat window (gpg_enabled) when we split / merge windows 2005-04-28 14:38:36 +00:00
Yann Leboulanger 119cbe0eb9 bugfix when we begin a new chat, show the window 2005-04-27 13:50:13 +00:00
Nikos Kouremenos f288ede1eb making function get_appropriate_state_images() and using this where appropriate 2005-04-23 01:37:05 +00:00
Nikos Kouremenos b62583f9e6 contacts from transports now use their protocol state images 2005-04-23 00:37:51 +00:00
Vincent Hanquez ba5acab7f7 [codingstyle] one space between each + - * / = operator 2005-04-21 23:20:18 +00:00
Nikos Kouremenos c3440cae35 basically popup notifications allow when not online/chat works. so popup notifications I think are 100% ready :P. some other fixes too 2005-04-18 23:55:13 +00:00
Yann Leboulanger 0ab5461d96 fix ticket 183 (do not use underline in conttact button in chat window 2005-04-17 16:06:40 +00:00
Yann Leboulanger 60f2ef8adc keep namespace when we call a class :
* from xx import yy -> import xx
 * yy() -> xx.yy()
2005-04-14 17:07:55 +00:00
Yann Leboulanger eb7cf5ba4d gtkgui don't send messages to the connection but call the correct functions 2005-04-14 09:38:08 +00:00
Yann Leboulanger 32f9cd5cba plugin.connected[account] -> gajim.connections[account].connected 2005-04-14 07:20:14 +00:00
Yann Leboulanger b40bcc9105 plugin.accounts[name] -> gajim.config.get_per() 2005-04-14 07:05:10 +00:00
Yann Leboulanger aa861b907a configuration is now in common/config
currently gajim cannot be accessed from every where, even with global gajim :(
2005-04-12 21:09:06 +00:00
Yann Leboulanger 149ed7a22d reorder files 2005-04-12 15:47:20 +00:00
Renamed from plugins/gtkgui/tabbed_chat_window.py (Browse further)