Commit Graph

550 Commits

Author SHA1 Message Date
Yann Leboulanger 45479d7708 pange_escape contact name when we rename them
when we want old_group_name, we get it from C_JID column so that it's not escaped
2005-12-10 14:41:09 +00:00
Yann Leboulanger 3b029ad541 pango_escape group names 2005-12-10 14:22:14 +00:00
Yann Leboulanger 612716e2db change copyright from "Gajim Team" to real people 2005-12-09 23:30:28 +00:00
Yann Leboulanger cae7ce3bac "Gajim Team" in all hearders become "Contributors for this file" 2005-12-09 17:15:30 +00:00
Yann Leboulanger eda8ec8436 fix a TB: we can have a row without an account during a short time ... I don't know why 2005-12-08 22:39:01 +00:00
Yann Leboulanger e71989dfa0 when 2 contacts have the same name we compare account name and then jid so we are sure of the order 2005-12-08 18:10:46 +00:00
Yann Leboulanger 34255e5682 Vincent left us a long time ago 2005-12-07 23:09:10 +00:00
Yann Leboulanger 043b81cd58 typo: autopopup message when we are online even if we check don't autopopup when away/xa 2005-12-07 21:56:44 +00:00
Nikos Kouremenos eb94b9632a remove trailing whitespaces and fix coding styles etc and add a FIXME 2005-12-06 17:43:21 +00:00
Yann Leboulanger 0cd7356807 escape for pango account names 2005-12-02 19:01:54 +00:00
Nikos Kouremenos 524866db6f add tlen, fix gadu gadu to gg, and use dot because ggore@jabber.FOO can exist 2005-12-02 13:09:43 +00:00
Yann Leboulanger 2265a42269 escape for pango markup contact's name 2005-12-01 19:04:27 +00:00
Nikos Kouremenos 80b40b77ec chat using acct not chat with account [unless account is human been! :D] 2005-12-01 18:19:51 +00:00
Yann Leboulanger cec9b1e861 send offline status to gc before we disconnect 2005-11-30 17:54:34 +00:00
Travis Shirk a2e68a1fc2 80 col formatting 2005-11-29 01:23:14 +00:00
Yann Leboulanger 4b42e0fa01 [Jim] don't ask status message when going invisible 2005-11-28 22:16:57 +00:00
Yann Leboulanger 3f2cbf7c46 [SF] show "with account acct_name" instead of "as jid" in menus 2005-11-28 16:29:04 +00:00
Yann Leboulanger 5008a15838 prevent from drag-n dropping a contact to "transport" or "not in the roster" group 2005-11-28 15:26:17 +00:00
Yann Leboulanger 8afb79747b we must decode ALL string from GTK to prevent TB when there are contacts with non-ascii chars 2005-11-28 15:22:12 +00:00
Yann Leboulanger 11d45a5740 update the value of the status combobox when we go invisible and cancel because of the groupchat warning, or when there is no synced with golbal status account 2005-11-26 15:03:03 +00:00
Nikos Kouremenos caade489ee new db design and improved migration script. if you ran before the migration please remove you old logs.db as it is incompatible with the new one and rerun migration if you care about old logs. a print on show is on purpose, bonus of the first to traceback and give us the value of show that causes the tb. yea svn got unstable these days. sorry about that but big changes 2005-11-25 23:23:25 +00:00
Yann Leboulanger e59058845c we can now revoke a contact's authorization 2005-11-25 21:32:56 +00:00
Yann Leboulanger 004c2b546e SingleMEssageWindow now shows resource of sender 2005-11-23 18:19:22 +00:00
Yann Leboulanger c9ad61044d awaiting_events now keep resource of sender when event_type is chat or normal 2005-11-23 18:15:24 +00:00
Yann Leboulanger f5fca6dfa3 fix bug in get_contact_iter when we use merge mode 2005-11-20 12:04:21 +00:00
Yann Leboulanger 5fa3da5538 draw_contact doesn't draw the avatar anymore
new draw_avatar function that is called only when needed
2005-11-19 16:59:09 +00:00
Nikos Kouremenos 965e9cb8c7 running pychecker in some files and fixing cleaning up those errors/info that REALLY matter 2005-11-18 13:12:16 +00:00
Yann Leboulanger 26b0e1780f typo 2005-11-18 11:51:12 +00:00
Yann Leboulanger cac6a82be6 temporary feature:
when we are in merge mode, we add (account_name) in the roster when there are 2 contacts with the same nick
2005-11-16 19:44:06 +00:00
Nikos Kouremenos 2493be0698 remove a print 2005-11-16 10:21:58 +00:00
Nikos Kouremenos 0901a6db53 do not autojoin bookmarks if you are invisible 2005-11-16 10:21:43 +00:00
Nikos Kouremenos fac2a002c7 [sef] ask avatars on startup ace 2005-11-15 23:26:22 +00:00
Nikos Kouremenos 1ed82a95d6 cleanups 2005-11-15 19:56:49 +00:00
Nikos Kouremenos 1e78707dab clean ups 2005-11-15 16:48:40 +00:00
Yann Leboulanger f3eef962c6 gc now have draw_contact, draw_roster and draw_all_roster functions and they are used to update style, iconset ... 2005-11-15 09:08:08 +00:00
Yann Leboulanger df6474ec3b fix account tooltip 2005-11-14 10:24:38 +00:00
Yann Leboulanger 6a432bbb67 ask all unknown vcard at startup 2005-11-14 10:08:50 +00:00
Nikos Kouremenos 1921c43a94 try to prevent circular imports 2005-11-13 20:25:04 +00:00
Nikos Kouremenos 6487b8463c fix tb 2005-11-13 20:05:03 +00:00
Yann Leboulanger cdde62ac88 reconnect to all gc when connection comes back 2005-11-13 17:24:08 +00:00
Nikos Kouremenos 082fc7aaa9 fixing dict name: gajim.interface.windows --> gajim.interface.instances 2005-11-13 15:08:47 +00:00
Nikos Kouremenos 33e7b103c0 gtkexcepthook only for those that run svn versions; release user should not be bugged with TBs as they should be minor to overall functionality and he should not care. if he is advanced he knows how to find out what is wrong (how to get to see a traceback etc); also moving get_avatar_pixbuf_from_cache to gtkgui_helpers (all in one commit because of import issues) 2005-11-12 21:24:54 +00:00
Yann Leboulanger d97125de42 fix TB 2005-11-12 20:56:44 +00:00
Yann Leboulanger a67d009497 fix icon in tooltip (sorry I can't test) 2005-11-12 20:07:46 +00:00
Nikos Kouremenos 67844ff1dc him --> him or her 2005-11-12 14:20:20 +00:00
Nikos Kouremenos 2a770a1ebf he --> he or she 2005-11-12 14:17:27 +00:00
Nikos Kouremenos a38263dcdb his --> his or her 2005-11-12 14:15:32 +00:00
Yann Leboulanger e55db9645d middle click on merged accounts row now works 2005-11-10 09:59:27 +00:00
Yann Leboulanger 7d827f0764 add tooltip for merged accounts row 2005-11-09 21:05:55 +00:00
Nikos Kouremenos cb3010993e minor: dropped not droped 2005-11-09 10:55:42 +00:00
Yann Leboulanger 8eaa1f45ad add a 'merged account' row with a context menu 2005-11-09 07:00:46 +00:00
Nikos Kouremenos 8ecb477844 underscore in string 2005-11-08 21:34:41 +00:00
Nikos Kouremenos fcfb314163 typo 2005-11-08 20:52:09 +00:00
Nikos Kouremenos 23099dffca gajim.contacts[account][jid][0] --> gajim.get_contact_instance_with_highest_priority(account, jid) which is superior and at worst the same 2005-11-08 20:33:52 +00:00
Nikos Kouremenos e64bb76274 fix logic 2005-11-08 19:19:09 +00:00
Nikos Kouremenos 3d7dee624e avatar is now set in draw_contact; we need a better place though 2005-11-08 15:47:27 +00:00
Nikos Kouremenos 3492272881 only one line for status msg under contact 2005-11-08 15:24:19 +00:00
Nikos Kouremenos 51f6e125f6 align avatar and padlock to to right 2005-11-08 14:25:23 +00:00
Nikos Kouremenos 99636d5ccf [gjc]commit better analogy for colors in contact row 2005-11-08 14:09:56 +00:00
Nikos Kouremenos 4034efa762 we now have avatars in roster. I default to 48x48 (gaim defaults to that too) u can change that to whatever you want via ACE and you can take avatars off via PREFS; defaulting to 32x32 is too small. njoy 2005-11-08 13:04:59 +00:00
Yann Leboulanger bd868245e0 support JEP 162 (show / hide some contacts according to their subscription / ask status) 2005-11-07 21:15:15 +00:00
Nikos Kouremenos b89fe57543 inital patch to make status msg change color in gc too [does not work yet] 2005-11-07 11:07:55 +00:00
Nikos Kouremenos 846e9881fb [gjc] color for status msg under roster is half between fg and bg color no matter the state (selected or not) 2005-11-07 10:50:40 +00:00
Nikos Kouremenos 8c4217fd5c status msg under gc roster too 2005-11-06 16:29:52 +00:00
Nikos Kouremenos 4d3784e2f7 fix for good spaces identation pb 2005-11-06 15:08:54 +00:00
Yann Leboulanger 8c9bf693e7 fix indentation 2005-11-06 15:04:35 +00:00
Nikos Kouremenos ea11076a0e we now show status message under contact name in roster thanks to initial patch by Michał Sobiegraj. if you do not like that, go to prefs and uncheck it. dimgrey to become white when row is selected 2005-11-06 14:30:17 +00:00
Yann Leboulanger 79d611032a always update self.previous_status_combobox_active, even when we don't manually change the combobox 2005-11-05 18:09:57 +00:00
Yann Leboulanger 51d2175b18 ChangeStatusMessageDialog now shows the last_status_message even when we choose "change status message" menuitem 2005-11-05 17:52:49 +00:00
Yann Leboulanger e0b1dd77f8 at the end of the account creatio we don't need to enter the password if we entered it in the paramteres (even is save pass is not checked) 2005-11-05 11:21:41 +00:00
Nikos Kouremenos 9bd80e6772 fix a string 2005-11-04 15:08:49 +00:00
Yann Leboulanger acd09eaba2 FirstTimeWizard -> AccountCreationWizard 2005-11-03 09:27:45 +00:00
Yann Leboulanger d1ebec6ad4 we can now copy (not move) a contact to another group 2005-11-01 22:52:04 +00:00
Nikos Kouremenos 9b1881cbbd catch a async tb 2005-10-30 21:46:48 +00:00
shteef b69bc501ae New Service Discovery, couple of quick notes about this commit:
* src/disco.py contains all the disco stuff
 * registration remains in src/config.py
 * data/pixmaps/agents contains the icons used in the toplevel server browser
   and the banner. They're referenced at the top of src/disco.py.
2005-10-30 09:58:13 +00:00
Yann Leboulanger 1142cc1e7d don't remove the event if it's not handled in open_event function 2005-10-28 22:37:58 +00:00
Yann Leboulanger a42c43748c introduce a var in order not to duplicate long var 2005-10-28 22:37:14 +00:00
Nikos Kouremenos ca60bacdb5 code optimization: tupples not lists in stuff like: 'if foo in [abc]' etc 2005-10-27 13:15:03 +00:00
Nikos Kouremenos 1f1d87019f optimize: xrange instead of range 2005-10-27 12:47:54 +00:00
Nikos Kouremenos 0e7630fc85 avoid double change in change status msg mni in combobox 2005-10-26 17:33:37 +00:00
Nikos Kouremenos cb32099db6 fix a bug in Change status msg menuitem in status combobox: all renderers have to be insensitive so all row can end up insensitive 2005-10-26 16:40:59 +00:00
Yann Leboulanger f0d68cb441 fix TB 2005-10-21 18:13:33 +00:00
Yann Leboulanger 726640ef4b the old self.plugin variable becomes gajim.interface, no need to pass it to every functions/classes 2005-10-20 11:17:17 +00:00
Yann Leboulanger 9d42d10853 file-stopped and file-completed can be saved in awiting_events queue 2005-10-19 21:14:51 +00:00
Yann Leboulanger af7fef5ec1 file-send-error can now be added to the awaiting queue 2005-10-19 20:16:22 +00:00
Nikos Kouremenos e2f317723b fix typo in comment. thx Yann 2005-10-19 11:13:41 +00:00
Nikos Kouremenos 5894307bf9 we no longer stay in change status message item in status switcher 2005-10-19 11:03:01 +00:00
Yann Leboulanger 314fd4a8bf file-request-error can now be saved in the awaiting_events queue
better code to handle all these events
2005-10-18 20:30:26 +00:00
Yann Leboulanger 63c1d3d3f0 file transfer request can now be stored in awaiting_events queue and recalled from roster / filetransfer / popup notification 2005-10-18 09:07:52 +00:00
Yann Leboulanger 85cd5634ff fix logic 2005-10-17 10:17:35 +00:00
Yann Leboulanger 77cb852057 single messages are well handled: they are saved in awaiting_events if needed and are printed when we dubble click a contact row, or systray or popup window 2005-10-16 13:18:34 +00:00
Yann Leboulanger 966afbb031 awaiting_messages is now named awaiting events
it now contains subject of messages
2005-10-15 20:49:08 +00:00
Yann Leboulanger 95ad04abfb don't remove chat state when we receive a presence 2005-10-13 18:23:47 +00:00
Yann Leboulanger d3089ffa8c fix TB 2005-10-11 16:35:33 +00:00
Yann Leboulanger f03cae3e0e fix bug while sorting iters when merge is True 2005-10-11 16:02:57 +00:00
Nikos Kouremenos fb4ea9c947 fix comment 2005-10-10 22:49:20 +00:00
Nikos Kouremenos f5089a8c69 now sensitivity on/off for change status menuitem works ok 2005-10-10 22:46:28 +00:00
Nikos Kouremenos fbc668841e logic fixes in change status message, add code for sensitivity. TODO: find the best place to make sensitivity on/off 2005-10-10 21:45:59 +00:00
Yann Leboulanger 7dffeb86df change status message in status combobox and in systray now concern only accounts that have sync_with_global_status True 2005-10-10 19:10:59 +00:00
Nikos Kouremenos 9fb9a453eb combobox menus do not use mnemonic according to HIG 2005-10-10 14:57:16 +00:00
Yann Leboulanger 7c303891f9 typo 2005-10-10 10:02:57 +00:00
Nikos Kouremenos 3e0e623e9a fix code quality. if user presses Cancel in Status change dialog do not set the new status; add comments to code, make it cleaner (use 'SEPARATOR' and not '' for string for combobox; HIG (add ... to finish menuitems that need it and add a missing mnemonic) 2005-10-09 22:24:18 +00:00
Yann Leboulanger 45fcf1e08f on middle click on an account row, open change status message dialog 2005-10-09 21:08:13 +00:00
Yann Leboulanger 21298945d2 add image to change status message in status combobox 2005-10-09 20:57:32 +00:00
Yann Leboulanger 078398efb3 fix HIG 2005-10-09 20:34:02 +00:00
Yann Leboulanger 83eeb0639e add the change status message iter in status combobox 2005-10-09 20:28:04 +00:00
Nikos Kouremenos a0e5a45ff2 HIG says menuitems are Header 2005-10-09 18:52:57 +00:00
Nikos Kouremenos 708b9d5d6d use better image for rename/changing status (generally means: you have to type new string). thanks Bernhard Walle 2005-10-09 18:45:03 +00:00
Nikos Kouremenos 8bf623f1bc nothing 2005-10-09 16:13:55 +00:00
Nikos Kouremenos c5f90e9bc6 get_uf_show can return strings with mnemonics 2005-10-09 16:08:18 +00:00
Yann Leboulanger 8f3dafa920 account context menu and systary context menu now contain a change status message item
TODO:
global status combobox need it
2005-10-09 14:49:14 +00:00
Nikos Kouremenos 9eb9112de9 user should see cannot/does not and can't doesn't 2005-10-09 13:53:21 +00:00
Nikos Kouremenos c8602d63c4 commit almost there code for tooltip over ---- line. Dimitur plz read this commit and FIXME I have 2005-10-08 16:47:35 +00:00
Nikos Kouremenos 7ee643c02e comments to help code not become a beast; clean and adhere to coding style 2005-10-07 14:46:10 +00:00
Yann Leboulanger 0de8924af8 typo 2005-10-07 14:26:00 +00:00
Yann Leboulanger d827d157e8 don't show send_file_menuitem if we don't have a resource 2005-10-07 14:21:31 +00:00
Yann Leboulanger bd941ea8bf catch the resource when we get a message from an unknown contact 2005-10-07 14:01:35 +00:00
Nikos Kouremenos 7e9d446fda do not repeat the same var twice to user 2005-10-07 13:00:44 +00:00
Nikos Kouremenos b325e15756 callbacks to open links 2005-10-06 23:34:23 +00:00
Yann Leboulanger 856632ff59 max width = 80 2005-10-06 21:00:20 +00:00
Alex Mauer 6dbafc84cf Show our own priority in self tooltip instead of the default '5' 2005-10-01 03:54:44 +00:00
Nikos Kouremenos 6cc565063d fix string; add fixme 2005-09-30 20:27:57 +00:00
Nikos Kouremenos 4765c32b92 fix string 2005-09-30 18:21:31 +00:00
Yann Leboulanger 76e0838c81 forbid a user to join a room when he is invisible 2005-09-30 17:52:25 +00:00
Yann Leboulanger 42ffc5d810 remove the contact_mutual_removal advanced option and add a checkbutton in remove_contact dialog to ask if we want to remove both subscriptions 2005-09-28 14:35:06 +00:00
Yann Leboulanger 63c890da2b systray.add_jid and systray.remove_jid now have another argument: the typ of message: ('gc' or 'chat' or 'single_chat' or 'pm')
systary now can handle pm messages
2005-09-24 09:42:10 +00:00
Yann Leboulanger 8f93012465 groupchat_window now has an on_message function that can hold pm in queues so they are not printed (systray is not handled yet) 2005-09-23 21:01:42 +00:00
Yann Leboulanger 258ee85e79 typo 2005-09-22 19:18:53 +00:00
Yann Leboulanger 49cef57a9d fix TB when an account is online when we show account tooltip 2005-09-22 15:53:27 +00:00
Yann Leboulanger 5ea343182c do not hide the roster when we press esc if a row is selected 2005-09-22 15:13:37 +00:00
Yann Leboulanger e39f1a30e8 hide window when we press esc if we have systray 2005-09-20 19:57:34 +00:00
Dimitur Kirov 95d771b138 added GTK+ theme as default theme.
faster roster repaint method (change_roster_style)
fixes on themes list logic.
2005-09-19 15:23:18 +00:00
Nikos Kouremenos 5eea887c43 [delmonico] First Time User Wizard is in! 2005-09-18 15:03:04 +00:00
Dimitur Kirov 8e2dd60449 set font of the tv render with the new font
attributes
2005-09-17 08:34:55 +00:00
Dimitur Kirov af9d242bc1 check for default color 2005-09-16 21:30:30 +00:00
Yann Leboulanger 973631a2c9 error messages are nowprinted as if they come from server 2005-09-15 17:33:02 +00:00
Alex Mauer b3de522e27 Comment code better; use references more often for greater efficiency 2005-09-14 23:11:13 +00:00
Alex Mauer 52e076e4c4 Get information about self-contact from the right place, instead of just copying the current account status/priority 2005-09-14 17:17:19 +00:00
Alex Mauer c8059fd3fa * Make tooltip behave if we're not yet connected when it appears, or if we're the only resource online. 2005-09-13 22:15:22 +00:00
Nikos Kouremenos 77650c4a6d fix english 2005-09-13 21:29:38 +00:00
Alex Mauer d36a647698 Show all our resources in the account line tooltip 2005-09-13 21:13:40 +00:00
Alex Mauer 4c990ccb1e Tooltip for account line in roster 2005-09-13 18:46:21 +00:00
Yann Leboulanger 50a179b301 we now bug user when he wants to go invisible and he is in rooms 2005-09-13 17:53:31 +00:00
Yann Leboulanger 95fc6741a8 account row is back even if we have only one account 2005-09-13 16:27:48 +00:00
Alex Mauer 867dc64798 Fix my roster breakage from cs3613 -- accounts need to be referenced by
name, not name stored in jid field.
Use the new get_jid_from_account in a few places.
2005-09-12 22:46:41 +00:00
Nikos Kouremenos 9a91297e5b some more [][] 2005-09-12 22:12:17 +00:00
Nikos Kouremenos 863b4bae66 use C_ and [][] instead of get_value 2005-09-12 21:56:50 +00:00
Yann Leboulanger 9336be0448 fix indentation 2005-09-12 21:04:55 +00:00
Alex Mauer fb0e0a6bdd Store the JID instead of the account name for the roster account line 2005-09-12 17:57:16 +00:00
Yann Leboulanger 19a61ee605 fix TB 2005-09-12 11:51:29 +00:00