Commit Graph

513 Commits

Author SHA1 Message Date
Yann Leboulanger 349c69d5b3 continue using new functions to handle contacts 2005-12-29 21:44:35 +00:00
Yann Leboulanger 6914d65b4e C_NAME column contacts pango escaped group name, so when we search a group iter, compare with the pago escaped name we search 2005-12-29 19:48:05 +00:00
Travis Shirk 18984fe7cb Creating window through the manager, introduced Control types, config stuff, etc. 2005-12-29 03:20:06 +00:00
Nikos Kouremenos af242e3840 ACE: roster_window_skip_taskbar 2005-12-27 20:27:02 +00:00
Yann Leboulanger 0af7e48bf1 create Contact instances with the new functions 2005-12-21 13:00:56 +00:00
Yann Leboulanger fd89e6eaab add_transport_to_roster goes to roster.py 2005-12-20 21:27:15 +00:00
Yann Leboulanger 60eebb7888 remove event from queue as soon as we click notification window 2005-12-19 20:01:32 +00:00
Yann Leboulanger 8607a9ecad load_iconset return {} if path doesn't exists 2005-12-14 18:10:55 +00:00
Yann Leboulanger 51dbb1398e remove old images when we change to an iconset that has no 32x32 icons 2005-12-14 17:32:38 +00:00
Yann Leboulanger b2d6cd9919 cleanup in iter compare function (thx SF) 2005-12-13 13:27:04 +00:00
Yann Leboulanger ee0f764df0 always create the ['32'][transport] list, even if it's emtpy (load_iconset checks if folder exists) 2005-12-13 12:58:14 +00:00
Nikos Kouremenos 19a64469f4 failsafe to dcraven 2005-12-12 15:14:58 +00:00
Nikos Kouremenos f7ee0dffd9 we now use 32x32 in Tabbed Chat banner img for state; and can control the size between 32x32 and 16x16 in general [of course only for those iconsets that ship 32x32 2005-12-12 15:13:31 +00:00
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