Commit Graph

671 Commits

Author SHA1 Message Date
Stephan Erb 8bbc23dfd6 * Use same height for all banners. Fixes #2770
* Show only one status line in chatwindows, indicate when it is shortened
2007-07-30 12:17:04 +00:00
Stephan Erb cd4a620d94 Prevent possible traceback 2007-07-25 17:30:43 +00:00
Stephan Erb 07a3393b72 DnD of contact on a MUC window to invite 2007-07-23 21:20:33 +00:00
Yann Leboulanger 6033b20051 send file only once when we drop it on message textview 2007-07-23 15:29:53 +00:00
Stephan Erb e308b8f15a Gerneralize DND on chat windows and enable it for msg_textview. ToDo: Invite to groupchat via DND 2007-07-23 13:07:04 +00:00
Stephan Erb 98d81e3894 DnD filetransfer on whole message window. Fixes #2562. See http://bugzilla.gnome.org/show_bug.cgi?id=459022 2007-07-22 23:12:16 +00:00
Julien Pivotto 5c36dd8e78 [Lukas and I] use 'event' instead of 'message' as icons names ans
states. Fix #2755.
2007-07-13 10:11:49 +00:00
Julien Pivotto 9994643247 Added my own copyright :-P 2007-07-11 21:39:27 +00:00
Yann Leboulanger e53a47ebad [misc] fix /say command in chat. Fixes #3284 2007-07-05 08:59:47 +00:00
Yann Leboulanger 8abd062365 [Lukas] split get_contact into get_contacts and get_contact. get_contact_from_full_jid uses get_contact. Maybe could be merged with optional argument, but it's clearer this way. Fixes #3275 2007-07-04 13:23:16 +00:00
Brendan Taylor 2bed6a522a fixed a traceback 2007-07-03 18:00:09 +00:00
Brendan Taylor 6fe668d863 disable logs in encrypted sessions. 2007-06-29 04:12:08 +00:00
Brendan Taylor 39bea5fd40 tidying things up. 2007-06-26 20:55:49 +00:00
Stephan Erb 7be506e3f5 Compact View:
* Move checkbox to preferences. Fixes #2662
 * Merge option for muc and chat
2007-06-25 23:51:44 +00:00
Brendan Taylor d1fe7b41f3 functioning XEP-0217 implementation! (initiation only) 2007-06-17 10:39:19 +00:00
Julien Pivotto c92145c3b9 [misc] repare sending composing chatstates using xep instead of xep.
Fix #3241.
2007-06-16 21:31:19 +00:00
Yann Leboulanger 0a165c813b improve minimize on close code 2007-06-15 18:30:48 +00:00
Yann Leboulanger 0758be7c14 ability to send a file to a groupchat occupant if we know his real JID 2007-06-15 17:38:14 +00:00
Yann Leboulanger b6eb2f94c9 minimize menuitem -> minimize on close checkbutton. see #3034 2007-06-14 17:44:24 +00:00
Yann Leboulanger 6c8de6b1da /me is also a command in normal chat 2007-06-13 21:14:03 +00:00
Stephan Erb 7b05adc678 Do not handle unknow commands as messages. 2007-06-13 19:16:57 +00:00
Yann Leboulanger 2aeeeaa896 fix substitution in some strings 2007-06-13 19:07:25 +00:00
Brendan Taylor 62cf72910f functioning XEP-0200 implementation (hardcoded keys and counters) 2007-06-11 22:42:29 +00:00
Julien Pivotto 6338f63f03 Fix some bugs with minimized groupchats. 2007-06-11 10:13:16 +00:00
Brendan Taylor 4f2cd0a0fc stubs for XEP-0116 2007-06-08 19:42:02 +00:00
Julien Pivotto 2f6c9f0d19 Open private messages in minimized rooms by middle-clicking on systray icon. 2007-06-07 11:58:56 +00:00
Brendan Taylor 7898686680 reverted back to per-JID windows, pass around sessions instead of thread_ids 2007-06-05 23:19:34 +00:00
Brendan Taylor 17c5bf5e52 massive everything-breaking overhaul for per-session windows 2007-06-05 21:26:45 +00:00
Brendan Taylor 00209abaf9 support for one 'chat' session per Contact 2007-05-31 01:47:08 +00:00
Julien Pivotto 47319e62f5 Fix a bug with highlighing in groupchats. 2007-05-20 16:31:09 +00:00
Yann Leboulanger a45a14546a handle correctly vcards in groupchats : ask them to real jid if we know it, but considere it arrive from fake jid. Fixes #3172, #3173 2007-05-20 15:41:20 +00:00
Julien Pivotto 993d72a8c1 Fix a bug with receiving Private Messages when roster is minimized, print the number of unread pm in roster, and change icon when a pm is received. 2007-05-17 12:55:44 +00:00
Julien Pivotto 93dbdd3dd8 (Fix #3174) Groupchats in roster: Open groupchats with middleclick, fix notifications in systray and print number of unread marked messages in roster. 2007-05-17 08:39:21 +00:00
Jean-Marie Traissard b10981bd03 Use only one (up to date) error dialog for aspell dictionary error. See #3165. 2007-05-14 03:59:57 +00:00
Julien Pivotto 1ee858e606 Fix a bug with notifs in systray. 2007-05-08 15:38:23 +00:00
Julien Pivotto c72d4cfb35 Call self.account directly instead of using an 'account = self.account' in chat_control.py. 2007-05-07 21:07:50 +00:00
Julien Pivotto 19df2a0f9e Fix some bugs and improve coding of minimized groupchats. 2007-05-07 21:02:48 +00:00
Julien Pivotto 253c7e6cfc (Fix #3034) Add ability to minimize groupchats in roster, and to minimize autojoigned bookmarked rooms at launch. 2007-05-03 21:02:50 +00:00
Yann Leboulanger 36f4bb14bd remove ping menuitem and add /help command to chat_window. fixes #2947 2007-04-19 21:23:50 +00:00
Yann Leboulanger 38b48d0134 [roidelapluie] add /ping command and ping menuitem in chat window. fixes #2947 2007-04-18 16:40:48 +00:00
Yann Leboulanger 230eadd010 scroll to the end when we shrink conversation window. fixes #3078 2007-04-17 09:41:22 +00:00
Jean-Marie Traissard 8500cbcda7 Stop asking for xep85 (chat notifs) many times, xep says ask only one. Can
break notifs with gajim 0.10.1 or less. Fixes #2711.
2007-03-31 12:21:53 +00:00
Yann Leboulanger db6a9787f2 [Branko Kokanovic] Serbian translation 2007-02-12 18:33:33 +00:00
Jean-Marie Traissard 039fbb7953 better var name, use int instead of float 2007-02-11 02:35:02 +00:00
Jean-Marie Traissard 9611d4f945 oups, forgot that one 2007-02-08 23:48:52 +00:00
Jean-Marie Traissard 60cccbbd3d Use one var less and works better (we could lost first typing message previously)
See Yann, was possible, even if it's only one bit gain :D
2007-02-08 23:36:17 +00:00
Jean-Marie Traissard e6b3c40e97 Deleting control.display_names, useless var now 2007-02-08 18:32:10 +00:00
Yann Leboulanger b971afec24 always use contact chatstate when none is given 2007-01-29 18:29:51 +00:00
Yann Leboulanger d85eb8b95f fix english words breton ans basque 2007-01-28 16:11:21 +00:00
Yann Leboulanger 7d8f7e2a6e don't scroll to end each time we press a key in message textview, but only when scrollbar appear. fixes #2944 2007-01-28 14:20:37 +00:00
Yann Leboulanger d83d744a27 reset tab color when contact goes offline. fixes #2951 2007-01-28 13:31:30 +00:00
Nikos Kouremenos e9afe36ff3 clean code and update to using GTK/PyGTK 2.8; see #2248 2007-01-16 23:26:38 +00:00
Yann Leboulanger 9b336bceed fix TB 2007-01-13 21:42:28 +00:00
Yann Leboulanger 4d5790e8cb restore correctly error messages. fixes #2880 2007-01-10 12:51:15 +00:00
Jean-Marie Traissard 6b0edad24d Memory usage : Don't store some vars in self when not necessary 2007-01-09 23:09:14 +00:00
Jean-Marie Traissard 0b3af95972 I deleted this var, was always None, but when does this happen ? 2007-01-09 22:05:27 +00:00
Jean-Marie Traissard eea2e1c881 Remove a LOT of useless draw_banner()
(stop drawing it 5 times when joining muc, stop reloading banner state icon on ALL
notifications, ...)
roster.py one seems useless because ctrl.update_ui() did it already
2007-01-09 14:23:28 +00:00
Yann Leboulanger a08267b759 add belarussion in speller list 2007-01-02 13:50:32 +00:00
Yann Leboulanger 53b901cf4e [Yavor Doganov] some typoe in strings and comments 2007-01-02 12:17:51 +00:00
Yann Leboulanger 9a8862099e redraw gc window title when we open a pm. fixes #2777 2006-12-13 12:52:59 +00:00
Yann Leboulanger f89ccfe441 detect error while encrypting message, block sending it, and display error message. fixes #2712 2006-12-06 16:19:47 +00:00
Yann Leboulanger 7dbccecd6f redraw gc tab when we open pm. fixes #2716 2006-11-28 10:15:44 +00:00
Nikos Kouremenos f33ff3a74d remove utf8 data in file that does not declare it uses utf8 [make Gajim boot] 2006-11-27 11:33:21 +00:00
Jean-Marie Traissard 6b0664fa83 Cache xep85 support but continue to violate xep85 5.1.2 for release. See #2637. 2006-11-26 22:00:53 +00:00
Yann Leboulanger 5e6f9d0118 add an option to define the chatstate we want to show in char window. fixes #2706 2006-11-26 09:06:47 +00:00
Jean-Marie Traissard f041f8dd5e JID->Jabber ID in gc tooltip
if print_time==sometimes : Show the day if needed also. Use locale for time format (do
not force
24h)
Delete a lot of unused locale variables (thanks pychecker)
del gajim.py useless global vars after use
configpaths.py : use self. not this.
2006-11-21 18:46:33 +00:00
Jean-Marie Traissard 6775c3a43d Some errors spoted by file source checkers 2006-11-20 19:11:31 +00:00
Yann Leboulanger ed5930a1b1 count as pending events message from other resources too. see #2657 2006-11-11 14:47:08 +00:00
Yann Leboulanger f39fd2a861 redraw transport when we read it's queue 2006-11-08 16:47:07 +00:00
Jean-Marie Traissard bb072aafb8 agh, re typo 2006-11-08 02:34:12 +00:00
Jean-Marie Traissard 72ae44ec0c Typo 2006-11-08 02:32:49 +00:00
Jean-Marie Traissard 2e1e5ab218 Use good filename when saving avatar of a contact without a renamed nick. Fixes #2650. 2006-11-08 02:28:03 +00:00
Jean-Marie Traissard cdd9618635 Fix roster not refreshed in on_conversation_vadjustment_value_changed() by merging duplicate code 2006-11-07 21:29:59 +00:00
Jean-Marie Traissard e2929d12bf Fix notify_on_all_muc_messages I just broke, remove useless and unclear function 2006-11-03 21:27:56 +00:00
Jean-Marie Traissard a8354e1132 Fixed totally broken trayicon_notification_on_new_messages behaviour, change name to
trayicon_notification_on_events and do what's expected
2006-11-03 19:52:39 +00:00
Jean-Marie Traissard b50d3b86ba Show good count of awaiting messages in message_window title 2006-11-03 18:03:59 +00:00
Jean-Marie Traissard 3acfe5f359 Do not clear when Xclear or whatever is not /clear in a chat_control, thanks b4d for report 2006-11-02 20:30:14 +00:00
Yann Leboulanger f0f5243e32 don't show pm event twice when we restore conversation. fixes #2621 2006-11-01 17:09:10 +00:00
Yann Leboulanger fa1be18664 show transport if they have awaiting events, even if show_transport is off. fixes #2568 2006-10-16 20:05:09 +00:00
Yann Leboulanger dc1b4951b2 save gpg_enabled pref for jid, not full_jid. Fixes #2448 2006-10-14 13:13:00 +00:00
Jean-Marie Traissard ccf2b261c7 Use "group chat" instead of "room" in all strings. Fixes #2523. 2006-10-12 02:12:10 +00:00
Yann Leboulanger aae7e7e99c allow shutdown func now get the method we used to close the tab. So that we check if a row is selected in gc control only if we close tab by pressing Esc key. fixes #2528 2006-10-10 15:53:42 +00:00
Yann Leboulanger c3062d493b PrivateChatControl now hold room name so that we can draw banner of pm even if room control has been closed. Fixes #2527 2006-10-09 09:40:04 +00:00
Yann Leboulanger 9b83c74487 move gtkgui_helpers.reduce_chars_newlines to common/helpers.py. It's not GTK related. 2006-10-06 14:52:25 +00:00
Nikos Kouremenos 8eb1c7ce75 move rst_xhtml_generator.py to common/ where it belongs 2006-10-06 12:33:10 +00:00
Yann Leboulanger cc03d5d190 print in XHTML messages in queue 2006-10-05 09:48:57 +00:00
Jean-Marie Traissard f19ef94aec Undo first change of [7064]. What was that ?? Fixes #2488. 2006-10-04 15:08:21 +00:00
Yann Leboulanger 53f8b119bc [sgala]Do not depend on docutils if we don't use rst xhtml generator. See #316 2006-10-04 11:53:03 +00:00
Yann Leboulanger 1345afa86c [Santiago Gala] We can now generate HTML thanks to rst. see #316 2006-10-03 14:22:49 +00:00
Yann Leboulanger 6b40b5ad32 [Santiago Gala] we can now see XHTML (JEP 0071). See #316 2006-10-03 14:12:42 +00:00
Yann Leboulanger f4a7ecbad0 fix var name. chatestate are back. Fixes #2463 2006-10-02 08:19:43 +00:00
Jean-Marie Traissard 452f8bea2b Count only gc HIGHLIGHTED messages, except if notify_o_all_muc_meessages. Show count in tab.
Note that this disable previous inconsistent behaviour where all gc_messages were counted in
systray
whereas tray icon was not animated. notify_on_all_muc_messages can still be used for that.
2006-09-30 14:28:10 +00:00
Jean-Marie Traissard 30f31c522e Spelling language submenu more close from spell hints one 2006-09-30 00:18:58 +00:00
Nikos Kouremenos 091504b40c love our translators 2006-09-29 10:53:45 +00:00
Yann Leboulanger fd0a9e863f show account name in chat banner if a contact in another account have the same nick. Fixes #2031 2006-09-27 21:08:10 +00:00
Jean-Marie Traissard ee7b16c405 Do not set tab to active color when we shouldn't, fix bug in [6914] 2006-09-25 14:36:24 +00:00
Jean-Marie Traissard 921274b6c4 Remove "state_active_color" option. Get fg color from gtk. 2006-09-25 04:23:31 +00:00
Nikos Kouremenos 1c3aa8fda6 we now have a ui for speller 2006-09-23 14:44:26 +00:00
Jean-Marie Traissard 7868edb0ad Do not check for nick of gc when checking if we want to show account
name, it's useless and make us TB for PM to own.
2006-09-15 12:08:53 +00:00
Yann Leboulanger a3a91eada6 show all incoming chatstate, even if we send only composing. 2006-09-13 07:20:49 +00:00
Yann Leboulanger 7759dd9289 save speller_language per room. Fixes #2387 2006-09-12 07:30:19 +00:00
Yann Leboulanger be90361641 we now save speller_language per contact. For #2387 2006-09-12 07:18:43 +00:00
Yann Leboulanger 152093e42e [bronger] translate correclt strings during runtime. Fixes #2394 2006-09-08 22:27:04 +00:00
Yann Leboulanger 29cef733f2 don't count pm messages in roster window, but in groupchat window. Fixes #2401 2006-09-07 14:35:23 +00:00
Yann Leboulanger b3957742d4 remove useless print 2006-09-07 14:17:09 +00:00
Yann Leboulanger c2ece68e43 handle correctly pm messages. 2006-09-07 13:19:43 +00:00
Yann Leboulanger d0c359f134 use a per-textview var to remember which language is set instead of the global speller_language one. 2006-09-04 08:00:49 +00:00
Yann Leboulanger 5b2e68d52c when we open a tab that require account name to be displayed (another tab with the same nick is opened), we now redraw first tab too so that account is displayed there too. Fixes #2371 2006-09-03 21:00:05 +00:00
Yann Leboulanger 2d56a72fcb give focus to conversation textview when we insensitive message_textview so that it can receive Ctrl+1,2,3. Fixes #2263 2006-09-03 17:50:18 +00:00
Yann Leboulanger e80467dc0d [Santiago Gala] we can now have a different spellchecking language in each chat window. Fixes #2383 and #746. 2006-09-03 17:04:41 +00:00
Yann Leboulanger a67eaba727 events are now saved in an Event class. show in roster/systray options in Advanced Notification Control (for incomming messages) now work. 2006-09-02 21:01:11 +00:00
Yann Leboulanger fd719bcbc6 add an advanced option: restored_message_small tu disable small font in restored messages. Fixes #2048 2006-08-28 15:10:23 +00:00
Yann Leboulanger c09f00aa7f Show "%nick from room %room" in pm banner. Fixes #2197 2006-07-31 20:52:28 +00:00
Yann Leboulanger dc9bf86184 we can now the language we want for speller. Just use speller_language advanced
option to define it.
2006-07-31 13:55:21 +00:00
Yann Leboulanger 2d876923d9 move the draw og the focus out line to conversation_textview.py
reset focus_out_end_iter_offset var when we clear the textview. Fixes #2175
2006-07-27 10:54:12 +00:00
Yann Leboulanger bc1949111b [Simon Paillard] fix warning 2006-07-18 21:14:07 +00:00
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 80bd370216 Fix TB. Fixes #2029 2006-07-17 12:48:07 +00:00
Jean-Marie Traissard df5903a95a [nk] Deleted var not needed anymore 2006-07-13 13:07:31 +00:00
Jean-Marie Traissard 285a7949f5 Get real jid of the chatcontrol when we talk to specific ressource. This prevent systray icon to be stuck to
incomming message in some rare case (new message window + auto_open). Thanks beerfan for spoting this rare
case :)
2006-07-04 21:23:42 +00:00
Yann Leboulanger bc26593974 use gettext.install. Fixes #497 2006-06-15 06:49:04 +00:00
Yann Leboulanger 4ae020946c destroy bigger_avatar_window when we close a tab. Fixes #2034 2006-06-14 14:54:23 +00:00
Jean-Marie Traissard efd73e04bf Also merge metacontacts logs in restore_lines() 2006-06-04 17:21:14 +00:00
Yann Leboulanger 59c3b7b3c8 JEP 172 support (user nickname) Fixes #464 and #884 2006-06-01 15:23:38 +00:00
Yann Leboulanger 3e1dd88ee0 we can now save avatars on HD where we want (right click on image). Fixes #1817 2006-05-26 13:19:52 +00:00
Yann Leboulanger 5942399214 [Geobert] ability to remove nickname in chat when consecutive message from same person. Fixes #1942 2006-05-08 08:19:20 +00:00
Yann Leboulanger 2e06ec6d7e new ACE option: print_status_in_muc. Fixes #1502 2006-05-03 13:22:05 +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
Yann Leboulanger 1e6c848761 use jid_is_transport func to detect transport jid 2006-05-01 13:29:16 +00:00
Dimitur Kirov 8d35bf38af don't activate PGP and FT menuitems/button
for transports. fixes #1903
2006-04-30 19:52:02 +00:00
Yann Leboulanger 29784e622c handle correctly clear and compact commands. Fixes #1882 2006-04-21 19:54:47 +00:00
Dimitur Kirov b865cc678c clear is a method of ConversationTextview
fixes #1881
2006-04-21 10:18:03 +00:00
Yann Leboulanger d040cc13fc be sure chat_control.contact is never None, even when server connection is brocken. Fixes #1878 2006-04-20 16:57:43 +00:00
Yann Leboulanger 2e1e2e2c86 chat_control.contact MUST always be a Contact instance. Fixes #1874 2006-04-20 07:43:24 +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
Yann Leboulanger c4a3262488 [sol] save GPG status 2006-04-15 08:10:24 +00:00
Dimitur Kirov 97dc7215df keep reference to unread messages untill they
are printed in tv
2006-04-10 22:08:02 +00:00
Yann Leboulanger 87bb1c5551 print error in chat window even if print_status_in_chat is False. See #1802 2006-04-10 13:23:56 +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
Dimitur Kirov d3013cc367 removed useless argument 2006-04-09 19:16:27 +00:00
Dimitur Kirov ad803388ad destroy banner tooltip on close 2006-04-07 23:44:34 +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 a2b3acd864 remove contact from roster when we read his awaiting events and showOffline is False. Fixes #1812 2006-04-05 17:25:02 +00:00
Yann Leboulanger d91d0e0b0e emoticons_menu is created only once, and correctly destroyed when we change emoticon theme. (It was never destroyed before -> memory leak) 2006-04-05 09:55:22 +00:00
Nikos Kouremenos d7e6979887 fjid ==> full_jid so we can distinguish it from fjid (which should progressively become fake_jid) 2006-04-04 17:21:38 +00:00
Yann Leboulanger 671985c50f handle correctly resource when we already have chat window opened. Fixes #1785 2006-04-04 15:20:12 +00:00
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