Commit Graph

309 Commits

Author SHA1 Message Date
Nikos Kouremenos 9550e80220 use in which is cleaner and add a FIXME for discussion 2005-07-23 14:12:59 +00:00
Nikos Kouremenos 332ce86bc1 forgot an import 2005-07-23 13:13:15 +00:00
Nikos Kouremenos 8b24eb4cb8 escape subject in set_subject and do not TB 2005-07-23 13:09:36 +00:00
Nikos Kouremenos 5a304cbdd6 get subject from correct place 2005-07-22 23:25:29 +00:00
Nikos Kouremenos c6046f9373 typo 2005-07-22 17:31:46 +00:00
Yann Leboulanger d67179053b print when someone is banned in gc 2005-07-22 17:04:24 +00:00
Nikos Kouremenos b5fe60112d nick was utf8, room_jid was unicode so we had a problem. it is fixed [stills Tracebacks because of TODO: use gc_contacts in common/gaim.py] 2005-07-22 14:30:35 +00:00
Nikos Kouremenos bdf5342824 to ban we know real jid 2005-07-22 12:50:14 +00:00
Yann Leboulanger e9db8ef4c8 fix role things 2005-07-22 12:47:58 +00:00
Nikos Kouremenos ef6643b24d status message in the banner instaed of jid; remove_user => remove_contact 2005-07-21 17:54:58 +00:00
Nikos Kouremenos ef252ead1e s/list_users/contacts_list/ 2005-07-20 22:15:35 +00:00
Yann Leboulanger b4ff6fd116 vcard now works in gc 2005-07-20 12:48:11 +00:00
Yann Leboulanger 903a466f83 in GC, contact.jid now contain nothing if we don't have the real jid 2005-07-20 11:53:30 +00:00
Yann Leboulanger 37f725f7ae better var names 2005-07-20 11:52:43 +00:00
Yann Leboulanger c048984641 typo 2005-07-19 19:43:34 +00:00
Yann Leboulanger d11e91a00c we don't take into account the presence in gc if it's the same nick, same show, same status, same role and same affiliation 2005-07-19 19:40:36 +00:00
Nikos Kouremenos b28f405963 .set_text('', -1) becomes .set_text('') 2005-07-19 17:11:33 +00:00
Nikos Kouremenos 6f4f126c90 introducing some helpers for jid and nick and using them to have /ban irc emulation 2005-07-19 11:57:50 +00:00
Nikos Kouremenos c10ace87fe /topic irc emulation 2005-07-19 09:59:21 +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 39e122016c roles are now translatable 2005-07-18 14:14:40 +00:00
Nikos Kouremenos f2cb015f73 user --> contact in some functions name, also type is contact too now 2005-07-07 16:38:36 +00:00
Nikos Kouremenos a231b1fd16 menu suck when they reposition 2005-07-04 21:30:35 +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
Nikos Kouremenos 043d480359 comment never hurt 2005-07-02 23:03:40 +00:00
Nikos Kouremenos 513a4c9f4f Gajim now asks reason for ban/kick (thanks liorithiel!) 2005-07-02 18:33:51 +00:00
Nikos Kouremenos 34f9313afb applying liorithiel's patch to make gc occupant popup via glade and more ergonomic 2005-07-02 16:35:27 +00:00
Yann Leboulanger 8133fd61d2 bugfix 2005-07-01 19:29:20 +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 2554613339 prevent another TB 2005-06-30 21:33:12 +00:00
Yann Leboulanger b8505eec7e prevent a TB 2005-06-30 21:30:06 +00:00
Nikos Kouremenos 8c5d719814 fix a traceback 2005-06-30 16:09:55 +00:00
Nikos Kouremenos 3a85cc83a7 invisible contact is now not shown in GC muc list 2005-06-30 15:16:57 +00:00
Nikos Kouremenos 4fef38de93 do gc and tabbedchat menus via glade; and various other fixes 2005-06-30 13:31:31 +00:00
Yann Leboulanger 2db9bfb9ce bg colors are back in gc 2005-06-29 21:13:38 +00:00
Yann Leboulanger 4c2ff32214 nick can now contain &, < and > in gc (fix #506) 2005-06-27 09:10:29 +00:00
Yann Leboulanger b401c9888e no need to ask os_info twice (it is asked in vcard_niformation_window) 2005-06-26 20:34:09 +00:00
Yann Leboulanger 5e3a405329 we now have Contacts in gc, so we can ask information to everyone (even if we don't have the real jid) 2005-06-26 19:40:57 +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 7cd28d5e2d Contact class is easier to use now 2005-06-25 09:18:39 +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
Nikos Kouremenos 0342329e0f User class becomes Contact class 2005-06-24 14:28:00 +00:00
Nikos Kouremenos 5a2a8892ac do not show empty tooltip 2005-06-24 14:20:24 +00:00
Nikos Kouremenos bd0d5cf94b fix a comment 2005-06-23 21:26:22 +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 db90fc6430 middle click in roster open chat window
middle clicl in gc window open a pm
2005-06-23 08:33:25 +00:00
Yann Leboulanger 697a49a9e9 show the room_jid even if there is no subject 2005-06-23 08:15:32 +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
Yann Leboulanger 304d316066 in gc, lines with user's nick is not a separate word are also marked as for us (Liorithiel's patch) fix #463 2005-06-20 21:41:01 +00:00
Yann Leboulanger 908add931b MUC list only the actions one can do (patch from Liorithiel) 2005-06-20 16:27:06 +00:00
Nikos Kouremenos 53e59fe8a4 put ... when subject is too long. thanks to Liorithiel 2005-06-20 10:37:13 +00:00
Yann Leboulanger 16c8717a45 bugfix with /clear command 2005-06-20 10:01:19 +00:00
Yann Leboulanger 829fb64dea add a space at the end of command when we use completion 2005-06-20 08:14:06 +00:00
Yann Leboulanger f279bcf8af little bugfix in command completion (thx dennis) 2005-06-19 22:45:33 +00:00
Yann Leboulanger 324fbeae62 command autocompletion (patch from aldafu) 2005-06-19 17:06:41 +00:00
Nikos Kouremenos 58d243417b nothing 2005-06-19 13:12:21 +00:00
Nikos Kouremenos 11288ec29c /chat and /msg for MUC now ready. [FIXME: I assume everyone is free for chat [eg. find a way to get show from nick]] 2005-06-19 13:09:06 +00:00
Yann Leboulanger f6ca384845 don't change our nick when we receive old messages, but only when we press enter in message tv 2005-06-19 08:28:06 +00:00
Nikos Kouremenos 9f1fbef2d3 more formal [I think] 2005-06-18 23:50:54 +00:00
Nikos Kouremenos daacc7334d we can change nick by IRC command too (/nick foo); input dialog also has get_response() now 2005-06-18 23:44:33 +00:00
Yann Leboulanger 87f1dbcac8 we can now change our nick in gc 2005-06-18 22:09:31 +00:00
Nikos Kouremenos 8e94b98d6e include 2.6.0 check 2005-06-18 15:29:05 +00:00
Nikos Kouremenos c951abccf3 irc emulation: /me adds * and then the nick 2005-06-17 15:31:21 +00:00
Yann Leboulanger cf028229a8 bugfix: missing references to self.gc_refer_to_nick_char in gc 2005-06-17 06:31:32 +00:00
Nikos Kouremenos a27b32e931 typo 2005-06-16 22:21:02 +00:00
Nikos Kouremenos c497aeda0d patch by hoppke to make char for refering to a specific contact in GC configurable via expert 2005-06-16 22:18:46 +00:00
Yann Leboulanger 213c617780 messages for us in gc are now bold and colored (thx Liorothiel) 2005-06-16 19:14:07 +00:00
Nikos Kouremenos 0980c0126b max witdh and tooltip for name_label 2005-06-15 09:59:44 +00:00
Nikos Kouremenos 4ad77e0e14 apply patch by Dennis Craven to make & a &amp; [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 c3b94f76ca connect the gc_actions_menuitems signals 2005-06-13 12:49:42 +00:00
Yann Leboulanger 310100f70e conenct the signals in glade instead of in the code 2005-06-13 12:44:09 +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 dc7f0c4e80 removing CR+LF that were added by accident 2005-06-12 15:14:07 +00:00
Nikos Kouremenos f19882a66e fix a TB and a logic in bookmarks [thx delmonico] 2005-06-12 12:21:33 +00:00
Nikos Kouremenos 9f6b595a3a fix some strings to explain better to the user 2005-06-12 12:05:18 +00:00
Nikos Kouremenos 2d3f877cd0 fixing #289 2005-06-12 11:54:08 +00:00
Nikos Kouremenos f0fca2d2b0 fixing UI for bookmarks 2005-06-12 11:21:50 +00:00
Nikos Kouremenos a516bbcab5 add , and not : when autocompleting nicks in GC 2005-06-11 17:02:53 +00:00
Nikos Kouremenos 3eab7400af almost finishing patch of delmonico 2005-06-11 16:15:01 +00:00
Nikos Kouremenos 5c33d58370 default to not autojoin 2005-06-11 14:38:23 +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 d994d8128e remove hardcoding bgcolor in cell of user to white 2005-06-11 11:01:42 +00:00
Nikos Kouremenos 315e5d51c8 applying patch by dcraven to make the muc list prettier 2005-06-11 10:53:54 +00:00
Nikos Kouremenos 0fd8735c3b fix bgcolor in gc 2005-06-11 09:57:01 +00:00
Nikos Kouremenos 99cb7e175f fix a traceback 2005-06-11 09:50:23 +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 f82addfce5 altering a patch by denis craven and commiting 2005-06-10 22:04:59 +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 58bbf6cf16 remove commented out code for tooltips in gc 2005-06-10 20:40:46 +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 3ca05afaba moving code away of config.py 2005-06-10 19:31:38 +00:00
Nikos Kouremenos 9847eca2f0 fix sth minor (delmonico), various cleanup 2005-06-10 16:45:54 +00:00
Yann Leboulanger f73a14d771 use helpers.get_uf_show in gc 2005-06-10 15:25:48 +00:00
Yann Leboulanger ab94d57310 tab completion is now case insensitive and cycling in gc (thx dennis) 2005-06-10 15:15:47 +00:00
Nikos Kouremenos 9a0b0afbbc altering and applying dcravens patch for case insensitive nick completation 2005-06-10 13:11:34 +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
Nikos Kouremenos 1dc26ece9b HIG a string in a menuitem 2005-06-09 11:35:14 +00:00
Yann Leboulanger 8312d6ee0b we now have "add to roster" in context menu in gc if we have the jid of the contact 2005-06-08 09:45:32 +00:00
Nikos Kouremenos 8139c645f8 fix a typo and remove one sep 2005-06-08 09:12:01 +00:00
Yann Leboulanger 3cd3817d21 no need to have the jid to be able to send a pm 2005-06-08 08:08:32 +00:00
Yann Leboulanger 0abf7d1317 better string when someone change his sttus in gc 2005-06-07 22:49:17 +00:00
Yann Leboulanger 6635477577 we now have send private message in contect menu in gc 2005-06-07 22:31:01 +00:00
Nikos Kouremenos 5b3d92522a nothing 2005-06-07 22:04:23 +00:00
Nikos Kouremenos bf39254aed donot allow double bookmark 2005-06-07 22:02:51 +00:00
Nikos Kouremenos d44e881640 fixing some strings to be more accurate 2005-06-07 20:24:22 +00:00
Nikos Kouremenos fba0185e89 Gajim does bookmarks and private storage [needs better UI-side] CONGRATS and thanks to delmonico 2005-06-07 18:21:36 +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 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
Yann Leboulanger 913128901d we now print when a user change its status, so no need to make room legacy 2005-06-04 13:25:26 +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 ea6efc08a0 select row on right click in gc 2005-05-31 17:49:35 +00:00
Yann Leboulanger 23e5cace1b empty the list in gc when we are kicked 2005-05-27 16:46:51 +00:00
Yann Leboulanger e989b0a5b3 little bugfix 2005-05-26 17:47:10 +00:00
Nikos Kouremenos c2b94c8935 groupchat code: bugfix when kicking someone 2005-05-21 14:48:29 +00:00
Nikos Kouremenos 80144824b0 fix #278 2005-05-20 17:25:21 +00:00
Nikos Kouremenos 277616adf2 adding /clear in GC 2005-05-18 01:01:49 +00:00
Nikos Kouremenos 7aaffae0dc better strings 2005-05-17 11:55:30 +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
Yann Leboulanger 9a36ba4063 we can now print tabulations in gc 2005-05-15 17:49:40 +00:00
Yann Leboulanger 9cd8304502 contacts are alphabetically sorted in gc 2005-05-15 17:36:43 +00:00
Yann Leboulanger c649ef9272 set default role to visitor instead of None 2005-05-15 09:29:45 +00:00
Nikos Kouremenos d8e0b91ee8 Input dialog to accept entry text as optional argument and to display it if given [using that in change subject 2005-05-14 16:34:07 +00:00
Yann Leboulanger ec5effc66b destroy the window when we want to quit gc window 2005-05-14 11:46:15 +00:00
Nikos Kouremenos 460fa3e532 groupchat window major UI changes. now is more UserFriendly and looks like every other IM clients that do groupchat 2005-05-14 01:29:53 +00:00
Nikos Kouremenos e5d0ea8b87 higing some menuitem strings 2005-05-13 17:58:54 +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 ee5b444470 use present() for groupchat vcard window 2005-05-12 16:59:51 +00:00
Nikos Kouremenos bc4cc346b1 fix for Join_gc action see http://nkour.blogspot.com/2005/05/pythons-init-return-none-doesnt-return.html for more.
Also adding a FIXME: in case yann has not reply from Alexey and wants to hack sth in Gajim :)
2005-05-12 00:00:40 +00:00
Yann Leboulanger 9967408dd6 temporary fix to fix #265.
when we'll have a user instance for each contact in gc we won't need that, we'll use real informatino window with the first tab
2005-05-11 18:47:09 +00:00
Nikos Kouremenos 8e530045aa fixed #200 2005-05-10 12:19:24 +00:00
Yann Leboulanger 66249dafb5 add a default Role in gc 2005-05-07 09:08:54 +00:00
Yann Leboulanger bce9902708 merge / split group chat windows on the fly 2005-04-28 15:48:20 +00:00
Yann Leboulanger b217347c46 minor fix: no need to get room_jid twice 2005-04-23 18:03:17 +00:00
Nikos Kouremenos fcb9dc6dd7 tooltip for subject in GC 2005-04-23 14:26:04 +00:00
Nikos Kouremenos 73e506f5b1 escape does not close the GC and a bugfix for gc user.show 2005-04-23 13:39:15 +00:00
Nikos Kouremenos d8aeac2fbb bugfix for open closed in GC 2005-04-23 13:18:47 +00:00
Nikos Kouremenos f288ede1eb making function get_appropriate_state_images() and using this where appropriate 2005-04-23 01:37:05 +00:00
Yann Leboulanger 8a391b3587 fix a subject_entry pb 2005-04-22 18:29:57 +00:00
Yann Leboulanger ad0f8a4775 when we initiathe groupchat_window there is not tab, we add them with add_group finction 2005-04-22 18:08:08 +00:00
Nikos Kouremenos 103ee6e6bc tab missed a var change. gajim didnt work 2005-04-22 14:00:35 +00:00
Vincent Hanquez c0ea210834 leave vcard_window into dialogs namespace to not bloat null namespace
rename of the vcard_information_window file to something saner
2005-04-22 01:47:03 +00:00
Vincent Hanquez ba5acab7f7 [codingstyle] one space between each + - * / = operator 2005-04-21 23:20:18 +00:00
Yann Leboulanger ebef428ae1 we now have groupchat configuration !! (and a Data Form Parser JEP 0004) 2005-04-20 10:21:33 +00:00
Nikos Kouremenos b68da6b69b Vcard_information_window in its own file 2005-04-19 21:53:19 +00:00
Yann Leboulanger e9ce2593bc print the nick as bold in gc if the text contain 'nick:' 2005-04-19 10:34:29 +00:00
Yann Leboulanger c7f896dfbd bugfix: nickname autocompletion is back in gc 2005-04-18 21:41:23 +00:00
Yann Leboulanger 7575ae90fb gtkgui doesn't exist anymore
cell_renderer_image is gtk specific so it's not in common
2005-04-18 16:40:10 +00:00
Nikos Kouremenos 3d7d4c1fff adding setting in advanced/misc for not checking for new version. [this is not an expert setting, and should stay in prefs window]. ALSO fixes/typos all over 2005-04-18 14:05:30 +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 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/groupchat_window.py (Browse further)