Commit Graph

208 Commits

Author SHA1 Message Date
Yann Leboulanger 3895724710 systray now saves unread messages even if it is not enabled (but module is present). Fixes #2134 2006-07-17 21:41:11 +00:00
Yann Leboulanger bc26593974 use gettext.install. Fixes #497 2006-06-15 06:49:04 +00:00
Jean-Marie Traissard 4b604a6485 Enhancement to ctrl+tab behaviour :
If no awaiting events, switch to composing contacts'tabs if any
2006-06-04 17:10:20 +00:00
Jean-Marie Traissard 5a78e29465 Also save width and height separetly for chats and gc when ONE_MSG_WINDOW_NEVER 2006-06-02 21:49:13 +00:00
Dimitur Kirov 5e6b016af1 split gtkgui.glade in several small glade
files, which are now located in data/glade/
2006-05-02 15:53:25 +00:00
Dimitur Kirov 5c9613db65 break more circular references that keep
objects alive (the other 1/2 of #1829)
context menu for groupchat banner
2006-04-18 15:36:16 +00:00
Dimitur Kirov b6ca28f342 make sure ChatControl instances are destroyed
when chat tab is closed
1/2 fixes #1829
2006-04-17 21:59:04 +00:00
Nikos Kouremenos f0f054af6b [Geobert] new compact view so important info are not hidden (f.e. chatstates) for maximum adjustment, see hide_* in ACE. fixes #1276 2006-04-10 12:09:05 +00:00
Yann Leboulanger c73abbab57 correctly handle resources when chat window get focus. Fixes #1785 2006-04-07 23:29:07 +00:00
Yann Leboulanger f727ef1c85 remove some useless import 2006-04-02 16:04:33 +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 a573e7aa67 obey to coding standards 2006-03-28 12:01:27 +00:00
Nikos Kouremenos 1524521c7f pychecker on our files. everyone please have a look so we do not do the same mistakes and in case you catch a mistake I did when cleaning 2006-03-24 18:48:26 +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 51d57ba717 last_message_time is now indexed by full_jid. for [1697] 2006-03-14 17:13:34 +00:00
Yann Leboulanger e76ac7f406 introduce get_full_jid for MessageControl. Fix TB when removing a tab with a resource. see #1697 2006-03-14 16:35:17 +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 658ca026ab remove unneeded call to update_ui 2006-03-13 18:22:44 +00:00
Yann Leboulanger 45ca90bbe1 fix TB 2006-03-05 09:46:37 +00:00
Travis Shirk 554b508e9f [Jim++] Patch for #1603 2006-03-03 13:58:52 +00:00
Yann Leboulanger b07bf11d0b [Jim] middle click on a tab closes it. Fixes #1554 2006-03-01 17:01:25 +00:00
Yann Leboulanger 8b1e70c396 add some newline 2006-02-21 20:23:16 +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 f7d4bd7913 Added roles to some of the more often used windows.
This should help WMs like ion "do their thing" easier.
2006-02-12 21:04:15 +00:00
Nikos Kouremenos 04c5d6bfae we can now export from history manager to txt 2006-02-10 16:01:47 +00:00
Travis Shirk 1214f8d638 Window title mods for #1386 2006-02-10 04:21:41 +00:00
Nikos Kouremenos 3e4a3199d3 try to obey a bit to GNOME HIG about title 2006-02-08 22:14:48 +00:00
Travis Shirk 6d3696e83c Window title fix for #1386 2006-02-08 04:11:42 +00:00
Nikos Kouremenos 9b4b19f1df use sinqle quote; mark for transl; make comment for transl 2006-02-04 23:54:23 +00:00
Travis Shirk 61d50ec7fd Window title stuff for #1386 2006-02-04 23:47:40 +00:00
Travis Shirk 0977a93c7e Fixed copyrights 2006-02-03 07:48:10 +00:00
Travis Shirk 40211a41c7 ACE option to trun off having the Esc key close a control. Vi users do this by habit,
and it sucks losing a well thought out message.
2006-02-03 07:32:44 +00:00
Travis Shirk 065962ba86 Removed debug code from #1389 2006-02-01 01:48:43 +00:00
Yann Leboulanger 13d4262d68 remove fixed FIXME 2006-01-31 13:20:54 +00:00
Travis Shirk aeddca16b2 Count unread msgs correctly in systray tooltip, closes #1461 2006-01-31 04:03:34 +00:00
Travis Shirk 0d28a9dc58 Window title fixes for #1386 2006-01-27 04:59:05 +00:00
Travis Shirk fd20be2ea9 Debugging for #1389 2006-01-27 04:22:06 +00:00
Nikos Kouremenos ae88609125 80margin char and add a fixme about show() pbs 2006-01-26 12:20:49 +00:00
Nikos Kouremenos 53430cbc7c rm a commented out print 2006-01-25 14:11:19 +00:00
Nikos Kouremenos 138c0ae6fd clean up logic; make some stuff clearer; do not risk setting values to negatives to then skip them; just do not set if not needed 2006-01-25 14:01:59 +00:00
Nikos Kouremenos ffb93d6f8e rm an not needed assignment 2006-01-25 13:39:22 +00:00
Nikos Kouremenos e013490544 size --> resize and two or become one in 2006-01-25 13:37:22 +00:00
Nikos Kouremenos fb4682d0f2 better varnames; use range() 2006-01-25 13:34:02 +00:00
Nikos Kouremenos 29fef124a2 default msg window w and h is in glade now 2006-01-25 13:27:23 +00:00
Nikos Kouremenos faaa7d6dc4 fix docstrings, typos, remove logic which is not needed [the problem is elsewhere] 2006-01-25 13:24:38 +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 b936ff50a0 Since some data structures are going to be changing for #1421, make more
use of the interators to jide more of the underlying details.
2006-01-24 02:57:26 +00:00
Travis Shirk 0650f0e493 Always use gtkgui_helpers.set_unset_urgency_hint to toggle urgency 2006-01-23 00:03:28 +00:00
Yann Leboulanger b8a87be784 DND of chat tabs is back, sorry. Fixes #1306 2006-01-20 20:44:56 +00:00
Yann Leboulanger 20be4777a5 show the MOVE cursor instead of the COPY cursor when dnding tabs 2006-01-20 15:51:33 +00:00
Travis Shirk e46fae242a Better window position memory 2006-01-20 03:37:41 +00:00
Travis Shirk 1fc8805b47 We now allow closing groupchats with the Esc key 2006-01-20 02:18:35 +00:00
Yann Leboulanger 5f689d0ad3 don't count messages that are not for us as new in gc when notif_on_all_muc_messages is False 2006-01-19 23:05:37 +00:00
Travis Shirk 7da113172c Resize to default when given bogus sizes 2006-01-19 03:12:10 +00:00
Travis Shirk 8e9a7c0bc3 PMs can be closed with Escape; #1422 2006-01-19 01:40:07 +00:00
Travis Shirk 74b7b3d578 CTRL+PGDN|PGUP restored. closes #1413 2006-01-19 01:30:18 +00:00
Travis Shirk 67fce64250 Dynamic reconfig for one_message_window config changes 2006-01-15 02:39:02 +00:00
Travis Shirk c4ad077b13 No negative size or positions for windows; closes #1389 2006-01-14 20:46:20 +00:00
Travis Shirk 931ee24389 Closes #1384 2006-01-13 04:36:42 +00:00
Nikos Kouremenos ccc78991b2 remove an assert and add a space above a method 2006-01-12 08:28:43 +00:00
Yann Leboulanger d945166749 remove some useless indentation and hide message window until a tab is inserted 2006-01-12 06:59:59 +00:00
Travis Shirk 1689ae3783 Window positioning/sizing, closes #1260 2006-01-12 05:45:30 +00:00
Travis Shirk f74831dd56 Don't show unread messages in window title when notify_on_all_muc_message is False. Closes #1384 2006-01-12 03:19:59 +00:00
Travis Shirk efed18a819 Tabs can be reordered using drag-and-drop thanks to Geobert Quach 2006-01-12 03:09:33 +00:00
Travis Shirk 43fddfccc5 Hide window until first tab is shown 2006-01-12 02:49:41 +00:00
Travis Shirk 55ac103ffb One window per type fix 2006-01-12 02:20:59 +00:00
Nikos Kouremenos 3dfb3cdcd8 control is CTRL not CTL 2006-01-11 22:30:49 +00:00
Nikos Kouremenos 7b926a5639 remove an assert 2006-01-11 22:25:35 +00:00
Nikos Kouremenos bd7098d4e3 clean up add a FIXME 2006-01-11 22:23:13 +00:00
Travis Shirk a6e633d7d5 Oops 2006-01-11 03:48:28 +00:00
Travis Shirk ff63d0c1bd Fixes for #1370, #1372, #1374 2006-01-10 19:24:06 +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
Travis Shirk 0da89c3996 /me works, room subject ellipses, and ui update fixes 2006-01-10 01:47:24 +00:00
Travis Shirk 2a794ba19e Fix up, look sharp 2006-01-09 00:47:54 +00:00
Travis Shirk a6bdc39d5d Private message bug fixes 2006-01-08 23:14:50 +00:00
Travis Shirk e53e786182 Trying to fix PM regression since merge 2006-01-08 07:50:26 +00:00
Travis Shirk eb27dbe61a Implemented #1260 2006-01-08 04:31:02 +00:00
Travis Shirk 2e5fe5173b Implemented #1356 2006-01-07 23:40:37 +00:00
Travis Shirk c0c30f961f fixed the POINTER_MOTION_MASK problem. Thanks Asterix! 2006-01-07 03:09:51 +00:00
Travis Shirk 2a5b0afc44 More groupchat goodness 2006-01-06 06:59:55 +00:00
Travis Shirk 8ab5887301 state update fixes 2006-01-06 01:48:59 +00:00
Travis Shirk 893f15aeee Working on GroupchatControl 2006-01-05 05:51:28 +00:00
Travis Shirk 715afc7113 Chatstate and tab redraw fixes 2006-01-05 02:58:59 +00:00
Travis Shirk 5464701cda A gc control and a chat control in the same window is realized. 2006-01-03 07:34:18 +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 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 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 1102356937 Window and control lookup functions, and set_Active_tab 2005-12-31 17:00:04 +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 18984fe7cb Creating window through the manager, introduced Control types, config stuff, etc. 2005-12-29 03:20:06 +00:00
Travis Shirk eb92a7a756 MessageWindow and MessageWindowMgr classes 2005-12-27 23:55:34 +00:00