Commit Graph

268 Commits

Author SHA1 Message Date
Jean-Marie Traissard fd13baefc4 Use good font settings for gc_roster nicks. See #2766. 2006-12-12 22:43:44 +00:00
Jean-Marie Traissard c54dfb4ffd Restore gc_banner tooltip (was broken when icon was added). See #2766. 2006-12-12 22:06:24 +00:00
Jean-Marie Traissard 3d844c0e29 Redraw correctly gc banners when we change theme. See #2766. 2006-12-12 19:10:52 +00:00
Yann Leboulanger 90cda75734 make ask_new_gc_nick asynchronous. should fix #2746 2006-12-08 19:10:28 +00:00
Yann Leboulanger 26b0e1bc0a rendre role rows in muc the same way we render groups in roster. fixes #2765 2006-12-07 21:32:53 +00:00
Yann Leboulanger 8a8de540a0 redraw banner when we are connected or disconencted. see #2702 2006-11-30 15:12:25 +00:00
Yann Leboulanger e927ccdfc2 show muc_inactive image when gc is not connected. see #2702 2006-11-30 11:32:49 +00:00
Yann Leboulanger ff7c612f97 show groupchat icon in groupchat window banner. see #2702. TODO find muc_active.svg to create 32x32 icons 2006-11-30 09:05:59 +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
Yann Leboulanger 0e092980fd show unread pm in tab and in chat window title. fixes #2645 2006-11-10 23:17:52 +00:00
Yann Leboulanger da58aeaf88 [Petteri] topic autocompletion. fixes #2654 2006-11-10 20:06:57 +00:00
Yann Leboulanger 291666a5e3 show gc topic changements with timestamp as old conversations (grey) 2006-11-05 23:46:06 +00:00
Jean-Marie Traissard 57e4c75a83 [junglecow] Bookmarked groupchat rooms to follow global print_status_in_muc setting
if print_status unspecified by user. Fixes #2641.
2006-11-05 22:09:19 +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
Yann Leboulanger 21e3f8a6a7 don't show subject tooltip if there is no subject. fixes #2572 2006-10-16 20:28:18 +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 8194bd0480 use 'muc_message_received' sound if it is enable without checking notify_on_all_muc_messages option. Fixes #2494 2006-10-11 17:03:25 +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
Nikos Kouremenos 627469e5e0 from common.exceptions import GajimGeneralException as GajimGeneralException -> from common.exceptions import GajimGeneralException 2006-10-10 15:29:10 +00:00
Yann Leboulanger 835643da91 do not ask confirmation window nor check if a row is selected when we close muc with /leave (or others) command. fixes #2528 2006-10-09 11:09:17 +00:00
Yann Leboulanger b821d23f70 get real jid of contact we want to ban from a room. Fixes #2521 2006-10-09 10:15:14 +00:00
Yann Leboulanger 0a572cf822 check if contact is still in room when we want to draw his avatar 2006-10-09 09:59:08 +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 feb9ba709a put xhtml event in queue for pm too. fixes #2524 2006-10-09 09:10:32 +00:00
Jean-Marie Traissard 47536d3158 Do not show [u'bad_jid'] but bad_jid 2006-10-08 20:44:05 +00:00
Jean-Marie Traissard 2315eb8907 it's only room_jid now, was missing in [7112], [7142] was not enough 2006-10-08 19:14:01 +00:00
Jean-Marie Traissard b8b7aa8ab1 Fix var name 2006-10-08 15:22:23 +00:00
Nikos Kouremenos 313091a771 fix what we expect 2006-10-08 00:16:22 +00:00
Nikos Kouremenos 10ae874cb6 We now use one term "group chat" in the place of sometimes used room 2006-10-07 14:36:08 +00:00
Nikos Kouremenos 01e3fc1199 introduce GajimGeneralException and use that instead of RunTimeError when raising so instances are not created. This is better because python can also raise RunTimeError, which we will catch by accident and we do not want that to happen 2006-10-07 12:41:19 +00:00
Nikos Kouremenos 8dfb1a5a66 unite room and server name resulting in a room jid interface [so it aligns with add new contact]. fixes #2504 2006-10-07 12:18:51 +00:00
Yann Leboulanger f346cf76bf fix search in gc roster treeview. Fixes #2470 2006-10-06 22:57:23 +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
Yann Leboulanger 1ee6cbc8cf in vcard window, print role and affiliation when it's a gc vcard. Fixes #2457 2006-10-06 14:29:15 +00:00
Jean-Marie Traissard 38830c9686 Show "This room has no subject" only in textview, not sometimes in banner and
sometimes not, nor in actions->change topic
2006-10-05 13:10:33 +00:00
Yann Leboulanger d55e56f0b9 show * in gc tab when one message 2006-10-04 11:12:45 +00:00
Yann Leboulanger 6b40b5ad32 [Santiago Gala] we can now see XHTML (JEP 0071). See #316 2006-10-03 14:12:42 +00:00
Jean-Marie Traissard bc4d4bc7e2 Seems to fail, load icons differently 2006-09-30 14:53:05 +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
Nikos Kouremenos b0b40856f5 80chars and list_view = self.listview = get_widget is too much [rm the local var] 2006-09-29 10:43:52 +00:00
Nikos Kouremenos 9002b3d293 put my email (and jid), not one of my JIDs 2006-09-28 11:31:25 +00:00
Yann Leboulanger 2a73ecc994 don't close muc when we press ESC if a row is selected. Fixes #2440 2006-09-26 07:05:39 +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
Yann Leboulanger be61788f24 use helper function 2006-09-25 06:59:01 +00:00
Jean-Marie Traissard 921274b6c4 Remove "state_active_color" option. Get fg color from gtk. 2006-09-25 04:23:31 +00:00
Jean-Marie Traissard edc176975e Don't show ressource in join/left in gc, and neither in chat, except if more than
one ressource connected.
2006-09-24 23:41:54 +00:00
Yann Leboulanger 7da36ae7a4 move "last read" line in groupchat correctly. Fixes #1947 2006-09-17 08:32:25 +00:00
Yann Leboulanger 15b44f5eec detect and print old gc messages as restored messages. Fixes #2253 2006-09-14 13:31:14 +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 30fb604642 private messages are save as pm in events list 2006-09-06 21:39:32 +00:00
Yann Leboulanger 80ba7ac5e7 sort and don't use underline in insert_nick sub menu. Fixes #2396 2006-09-06 11:58:11 +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 4dd4f27b19 don't TB when someone changes his nick before having an assigned color (when he talk for the first time) 2006-09-03 11:02:48 +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
Jean-Marie Traissard cb555a148c Set right color for /me whith gc_nickname_color* 2006-09-02 09:56:52 +00:00
Jean-Marie Traissard 8af50e298f Set nicknames colors per muc, not for all of them ! Keep nick color on
nick change. Closes #2264.
2006-09-02 00:35:03 +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 ea82b1dcc1 print real jid in gc status and in logs when we know it. Fixes #1940 2006-07-24 13:42:35 +00:00
Yann Leboulanger 3d50d79094 set gc_count_nicknames_colors to 0 instead of 10 before we use it. Fix a warning 2006-07-19 14:53:59 +00:00
Yann Leboulanger ea2a906e31 disable pm chats when we leave a room. Fixes #2036 2006-07-18 09:46:59 +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
Jean-Marie Traissard 1a9d4690b0 [ roidelapluie ] Use differents colors for nickname in gc for each occupiant. Fixes #2084. 2006-06-22 14:44:06 +00:00
Yann Leboulanger bc26593974 use gettext.install. Fixes #497 2006-06-15 06:49:04 +00:00
Dimitur Kirov 64e66817e5 print the rest of the names 2006-06-08 13:49:52 +00:00
Dimitur Kirov 664e00c43c [avb] add /names command for GC
Fix /query [TAB] bug
2006-06-08 10:09:15 +00:00
Jean-Marie Traissard eba425d73a Don't allow to change nick to actual nick, it breaks presence 2006-06-05 09:16:44 +00:00
Yann Leboulanger 97430552cb rename vcard / avatar files when a gc contact changes his nick. Fixes #1914 2006-05-30 11:41:58 +00:00
Yann Leboulanger d848e71d3b menu are now shown before popup so that they are correctly placed. 2006-05-26 13:25:31 +00:00
Jean-Marie Traissard d440bdddab Do not highlight in gc in case we are sure our nick is beginning of a real word (nick after = A->Z or a->z) 2006-05-24 16:15:49 +00:00
Jean-Marie Traissard 1a7fbe727f make muc-actions -> "bookmark this room" work with print_status 2006-05-22 14:38:20 +00:00
Alex Mauer d4c11be06d * Add/move the last read line even if the window is focused, if we're on
a different tab.
2006-05-18 21:45:59 +00:00
Jean-Marie Traissard 30f83fc2cb Typo + Really delete unused make_groups_submenus_for_chat_with() + redraw pm tab AFTER muc contact
disconnected + fix reference before assignement TB
2006-05-18 18:07:53 +00:00
Jean-Marie Traissard 7cd0b8d603 Don't print "new_nick has joined the room" after "old_nick is now known as new_nick". Add new_nick to roster
when we receive /nick stanza.
2006-05-17 17:56:33 +00:00
Alex Mauer b82a36083e * If the room bookmark has no print_status defined, then default to
configured print_status_in_muc
2006-05-16 22:30:55 +00:00
Yann Leboulanger d7d0e25d25 print_status_in_muc is not a string which can be 'all', 'none' or 'in_and_out'(default one). version is 0.10.0.1 to update this variable.
show_status becomes print_status in server (show_status is still read for transition)
2006-05-10 16:25:57 +00:00
Yann Leboulanger 9abd27fbf8 we can now configure if we want to see all status or only enter/leave in bookmarked rooms. 2006-05-07 21:44:57 +00:00
Yann Leboulanger 56672097d1 add "clear" and "insert nickname" in message textview contact menu. Fixes #1933 2006-05-07 12:47:24 +00:00
Yann Leboulanger 255667a41c shift + click on a GC occupant print his nick in textview. For #1933 2006-05-07 12:23:28 +00:00
Yann Leboulanger 92d7fe3d2a a[space][tab] doesn't cycle anymore 2006-05-06 20:55:52 +00:00
Yann Leboulanger d38840ba04 add , char at the end of nick at first TAB keypress. 2006-05-06 20:32:07 +00:00
Yann Leboulanger 34ee6ea2a7 show "NICK has joined the room" and print reason when someone leaves it. Fixes #1933 2006-05-06 20:01:25 +00:00
Yann Leboulanger 8fcd0a6c8d Tab in empty message textview cycles all nicknames in the room. Fixes #1933 2006-05-06 19:43:43 +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 f7c8ccea94 VcardWindow now takes a new argument: is_fake, need to be true when we open a vcard for a fake jid 2006-04-28 20:55:45 +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
Dimitur Kirov 64271eb325 set GC list text colors 2006-04-11 22:03:43 +00:00
Dimitur Kirov c6de60d13c set GC theme color for group row 2006-04-11 21:54:15 +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 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 65edabfb6c some cleanup 2006-03-28 14:50:19 +00:00
Nikos Kouremenos 4c2f8d9400 make clearer what we do 2006-03-25 11:12:31 +00:00
Yann Leboulanger 468b5d60c1 compute correctly the position of the status cellrenderer in groupchat roster. Fixes #1726 2006-03-24 22:24:44 +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
Dimitur Kirov 08b67c346e update banner font also in groupchat 2006-03-20 16:22:34 +00:00
Yann Leboulanger 6dfed88cad typo: colors are back in gc tabs 2006-03-19 11:15:52 +00:00
Yann Leboulanger 088d8dbac9 ask to re-build actions menu when needed. Fixes #1676 2006-03-18 09:05:46 +00:00
Yann Leboulanger 7cd6cf3994 show avatar before status icon. The only way to have it on the right is to create our own cellrenderer 2006-03-16 20:53:39 +00:00
Yann Leboulanger a02bd6dbe4 really don't ask vcard when entering irc channel 2006-03-16 19:08:49 +00:00
Yann Leboulanger d53c5eff1c do not ask vcards when entering irc rooms as irc transport reply by messages. 2006-03-15 15:11:31 +00:00
Nikos Kouremenos 184680f988 put back workaround for gc roster 2006-03-15 12:28:46 +00:00
Nikos Kouremenos 0c6606c514 comments and 80 char margin 2006-03-13 23:25:00 +00:00
Nikos Kouremenos bffcec6899 remove switch to menuitems. fixes #1674 2006-03-13 21:55:21 +00:00
Yann Leboulanger d59178c385 redraw gc contacts instead of remove / re-add them 2006-03-13 19:40:06 +00:00
Yann Leboulanger a9e25ce434 align avatar on the right in gc 2006-03-13 18:04:19 +00:00
Yann Leboulanger 7a542bb473 remove unneeded call to draw_avatar in draw_contact 2006-03-13 13:27:05 +00:00
Yann Leboulanger dce057d29e avatars are in gc roster. gc avatar images are saved in room_jid folder. Fixes #1121 2006-03-13 13:25:51 +00:00
Yann Leboulanger 2f3fe1b158 don't show an empty line in groupchat banner if there is no subject. Fixes #1688 2006-03-13 09:04:50 +00:00
Yann Leboulanger 1eeb16dc2d [Jim++] fix TB in unconnected gc. Fixes #1687 2006-03-12 18:55:59 +00:00
Nikos Kouremenos b6a02b00d8 fix typo. thx baze 2006-03-08 14:27:04 +00:00
Yann Leboulanger e108ccb617 use the always_comptact_view_gc option. Fixes #1670 2006-03-08 12:23:05 +00:00
Yann Leboulanger e6200b599a add 2 advanced options: confirm_close_muc_rooms and noconfirm_close_muc_rooms. Fixes #1622 2006-03-07 13:13:36 +00:00
Travis Shirk 554b508e9f [Jim++] Patch for #1603 2006-03-03 13:58:52 +00:00
Yann Leboulanger 69f8e83bcc [Jim] fix wrong context menu. Fixes #1638 2006-03-01 21:08:37 +00:00
Dimitur Kirov c40692a779 change show_tooltip arguments 2006-02-28 17:24:36 +00:00
Nikos Kouremenos 9859d34781 noconfirm_close_muc_rooms is too much customizability exposed to user which only ends up confusing him. fixes #1622 2006-02-27 17:14:40 +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 60a4b3cf20 print_conversation can now have contact = 'info' to print information strings. Fixes #1531 2006-02-21 20:24:18 +00:00
Yann Leboulanger f5c9d527e6 we now save hpaned position when we close a gc control 2006-02-21 15:19:36 +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 cd1993037a Added gtkgui_helpers.escape_underscore to not require re module 2006-02-08 05:13:26 +00:00
Yann Leboulanger 9c9a7efd6d make configure_room unsensitive when we can't configure anything 2006-02-07 13:31:20 +00:00
Yann Leboulanger d40026cabd an admin can now modify the ban list. for #530 2006-02-07 12:56:20 +00:00
Travis Shirk c810c61c41 Escape room name for gtk/pango 2006-02-05 00:18:09 +00:00
Nikos Kouremenos 29ec011b9a operate on model using path thus eliminate iter = model.get_iter(path) calls 2006-02-04 23:07:46 +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
Nikos Kouremenos 39998b30b0 80 char margin 2006-02-02 23:59:06 +00:00
Yann Leboulanger ccbcf0d8a9 save when we change our nick in the change_nick_dialog 2006-01-31 13:54:42 +00:00
Travis Shirk 3b0079685f Bug fix to ensure that we update tabs when disconnected. 2006-01-31 01:41:27 +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 2b956ec93c Change gc tab icon when we lose the room connection.
Thanks to Heather Gilmore, my wife, for grey-scaling the image. :-*
2006-01-25 02:57:11 +00:00
Travis Shirk a63132500b Pass account to window/control lookup methods 2006-01-25 02:43:55 +00:00
Travis Shirk be643bad12 chatstate fix for #1417 2006-01-20 03:43:52 +00:00
Travis Shirk c0297ac445 Removed unused var 2006-01-19 02:23:27 +00:00
Yann Leboulanger 7024ada55c take into account our nick changement in MUC only on success. Fixes #1341 2006-01-17 08:29:52 +00:00
Travis Shirk ded0b38723 Only show room leave confirmation dialog if we are actually connected to the room. 2006-01-16 03:59:38 +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 a923b1c230 notify_on_all_muc_messges fix; #1395 2006-01-14 19:16:16 +00:00
Travis Shirk c79768cd28 Action->History (plus other menu) bug fixes. Closes #1376 2006-01-12 02:36:06 +00:00
Yann Leboulanger a89be870a7 fix indentation (no space in indentation) 2006-01-11 07:07:45 +00:00
Travis Shirk ff63d0c1bd Fixes for #1370, #1372, #1374 2006-01-10 19:24:06 +00:00
Yann Leboulanger c7e85be2c1 typo. fixes [1371] 2006-01-10 12:55:23 +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 9a247cdc0d More iconset update fixes 2006-01-08 20:56:58 +00:00
Travis Shirk ebf346e03c more chatstate fixes and theme updates with config 2006-01-08 20:51:12 +00:00