Commit Graph

5289 Commits

Author SHA1 Message Date
Nikos Kouremenos a7bf88e8f1 removing string module it is deprecated 2005-05-15 11:35:42 +00:00
Nikos Kouremenos 6174a6cb51 removing colors when in windows 2005-05-15 11:34:48 +00:00
Nikos Kouremenos 9b88055b54 disco menuitem under Chat which is now Actions [now it is even better] 2005-05-15 11:27:32 +00:00
Nikos Kouremenos e7c8ac4dbe disco menuitem under Chat which is now Actions 2005-05-15 11:24:23 +00:00
Yann Leboulanger c649ef9272 set default role to visitor instead of None 2005-05-15 09:29:45 +00:00
Nikos Kouremenos 42d0164532 failing is bad. some of the modules we depend may mix tabs and spaces [in olders versions fact they do] and still work. issue a warning that is for devs anyways 2005-05-15 00:00:09 +00:00
Nikos Kouremenos afe2de643c if text is given for input_entry select it by default [so user can just type and replace it 2005-05-14 23:31:27 +00:00
Nikos Kouremenos 9de8bdf86d profile argument scanning: it is better like that 2005-05-14 23:08:38 +00:00
Nikos Kouremenos 1a5927afb2 at last a way to always scroll to end. thanks muntyan from #gtk+ :) 2005-05-14 22:24:14 +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
Yann Leboulanger c3437d2d14 upgrade the self.account var when we change the name of the account (fix #279) 2005-05-14 11:01:09 +00:00
Nikos Kouremenos 288b68dd53 adding resizing ability in treeview cols in advanced finding a gtk bug [I reported it] 2005-05-14 02:09:28 +00:00
Nikos Kouremenos 961ded4882 Advanced_window ==> Advanced_configuration_window 2005-05-14 01:42:10 +00:00
Nikos Kouremenos 786b3984bc HIGing some more strings 2005-05-14 01:37:42 +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 facc7a5fef ./gajim.py --profile foo will create and use ~/.gajim/config.foo. Thanks for writing and emailing in gajim devel ml the patch, tab 2005-05-13 22:38:48 +00:00
Yann Leboulanger 156c81846b look if we have unread / recent messages AFTER we get the status message (we can also do it before AND after ... comments ?) 2005-05-13 20:50:49 +00:00
Nikos Kouremenos e2012ca370 clear menuitem to use stock [have image] 2005-05-13 19:58:03 +00:00
Yann Leboulanger 324e8b25bf save status in Connection class
send our show / status when we join a gc
2005-05-13 18:54:44 +00:00
Yann Leboulanger e1020b288f the delayed timestamp in before time.time() ! 2005-05-13 18:23:08 +00:00
Nikos Kouremenos 229863bc0b glade fixes in advanced window and applying patch to make filter work [thanks Vincent Hanquez] 2005-05-13 18:05:15 +00:00
Nikos Kouremenos 526430c9b2 ichat style in time fix 2005-05-13 18:03:10 +00:00
Nikos Kouremenos 0a0cd669eb last_msg ==> last_status_msg and change_title ==> change_roster_title 2005-05-13 18:00:13 +00:00
Nikos Kouremenos e5d0ea8b87 higing some menuitem strings 2005-05-13 17:58:54 +00:00
Yann Leboulanger 5ebc240eeb tell xmpppy that stanza is treated when we send the version 2005-05-13 17:20:13 +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
Yann Leboulanger 2737236f48 30 sec -> 15 sec of delay before showing notification windows 2005-05-12 21:46:44 +00:00
Yann Leboulanger 834d16654f fix #216 (Ctrl+V works when we open the chat window) 2005-05-12 21:39:20 +00:00
Yann Leboulanger f9a26dce55 remove unneeded commented line 2005-05-12 18:55:01 +00:00
Nikos Kouremenos 0408a86d7b conversation history window now has better title (mentions with whom) 2005-05-12 18:52:37 +00:00
Nikos Kouremenos 9be572c32d more common [gedit, gossip, ..] to prepend a custom menuitem (Clear) and also adding _ to it 2005-05-12 18:40:42 +00:00
Yann Leboulanger bbe1c02fc2 finish changing config option names ... 2005-05-12 17:46:17 +00:00
Nikos Kouremenos 00cd5dd0dc fixed #264 2005-05-12 17:17:20 +00:00
Nikos Kouremenos c4dfadff09 vpaned4 ==> vpaned for groupchat window [so we can hack border width] 2005-05-12 17:02:26 +00:00
Nikos Kouremenos ee5b444470 use present() for groupchat vcard window 2005-05-12 16:59:51 +00:00
Nikos Kouremenos 4ad7c30f47 use present if already open for conversation history window 2005-05-12 16:55:48 +00:00
Nikos Kouremenos 27723d1279 fixing #256 2005-05-12 13:52:09 +00:00
Nikos Kouremenos 33b125f42e contact information for vcard window title and better spacing and removing a border for history window 2005-05-12 13:49:36 +00:00
Nikos Kouremenos 47eb596780 do not fail if ~/.gajim is file or ~/.gajim/logs is file. also use os.path.join() for / to become \ for 9x until now I think we have been failing 2005-05-12 13:43:17 +00:00
Yann Leboulanger e98a0d8846 finish removing the thread thing about autoconnect 2005-05-12 10:29:47 +00:00
Nikos Kouremenos 052cd2740b make get_ui_status func which converts dnd xa to human understandble strings and use that func in Status change dialog 2005-05-12 09:14:31 +00:00
Nikos Kouremenos d4d667690e applying patch by Alexey to allow Gajim to exit after disconnection. 2005-05-12 09:13:35 +00:00
Nikos Kouremenos 44c5e2f2b9 removing legacy code from the threads epoch 2005-05-12 00:22:36 +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
Nikos Kouremenos 69b279d240 avoid possible keyerror 2005-05-11 22:00:48 +00:00
Nikos Kouremenos 1353525bf2 fixing a gui bug with sensitivity for proxy table (thanks owen from #gtk+ irc room 2005-05-11 21:02:22 +00:00
Yann Leboulanger e9abca09fc we now have clear in the conversation textview in gc and chat window (close #220) 2005-05-11 19:40:37 +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
Yann Leboulanger 6ab10d5fe5 logger.py do the replacements, not history_windows.py 2005-05-11 17:48:30 +00:00
Nikos Kouremenos a88696772a closing #259 2005-05-11 17:14:10 +00:00
Yann Leboulanger 88f4449fbb we now catch the errors when we connect and when we authentificat to the server 2005-05-11 16:37:01 +00:00
Yann Leboulanger 1e50542793 proxyport is an int, we have to print strings 2005-05-11 16:32:34 +00:00
Yann Leboulanger 00cc513d49 update the register and join buttons in disco as soon as we receive the info (ne need to change the line) 2005-05-11 16:19:55 +00:00
Yann Leboulanger a472b4a321 we can have popup notification even if we don't have sound enabled when a contact disconnect 2005-05-11 15:21:13 +00:00
Yann Leboulanger c22e2c5f7a bugfix: when we have an error, we sane an error to the GUI, not a notify 2005-05-11 15:14:43 +00:00
Nikos Kouremenos d98a451764 send and show N/A if client or os is empty 2005-05-11 11:09:53 +00:00
Yann Leboulanger 225ca870f1 we now catch all errors and send them to the gc if it's open 2005-05-11 10:05:43 +00:00
Yann Leboulanger fa183bae5d when we remove an agent we need to remove it with its resource (especially when we are not really registererd {wrong password}) 2005-05-11 09:12:18 +00:00
Yann Leboulanger b5244d8a9c according to JEP-0100, no need to get the key of an agent to remove it 2005-05-11 09:08:06 +00:00
Yann Leboulanger 1926369859 don't send an error iq after we process the roster iq (thx Alexey) close #251 2005-05-11 07:55:17 +00:00
Yann Leboulanger 2f35fade71 bugfix when keepalive package doen't come back 2005-05-10 17:45:10 +00:00
Yann Leboulanger 87f19fb638 print all errors in gc 2005-05-10 16:53:28 +00:00
Yann Leboulanger 1d63886ef8 default for GUI via glade and not via code for sync_with_global_status too 2005-05-10 15:57:49 +00:00
Nikos Kouremenos 1c9e02e2f5 for account_modification_window default for GUI via glade and not via code [cleaner & better] 2005-05-10 15:51:48 +00:00
Nikos Kouremenos c847d8c2e2 glade fix for giving focus to write widgets in proxy table 2005-05-10 15:45:06 +00:00
Nikos Kouremenos 30cd93c245 fixing a typo 2005-05-10 15:41:55 +00:00
Nikos Kouremenos aa386389cb gui to default to use_tls by default 2005-05-10 15:39:35 +00:00
Yann Leboulanger 6610bd5373 missing glade diff for proxy 2005-05-10 15:38:49 +00:00
Yann Leboulanger 6fa84c0dfe we now support user and password for proxy 2005-05-10 15:38:16 +00:00
Nikos Kouremenos 8175a92f7d proxy user/pass gui rdy 2005-05-10 15:08:31 +00:00
Yann Leboulanger b6648278e1 bugfix in account modification 2005-05-10 14:35:21 +00:00
Nikos Kouremenos 8e530045aa fixed #200 2005-05-10 12:19:24 +00:00
Yann Leboulanger aa9de25923 Alexey patch that allows discover that server is violating RFC by not restarting stream after TLS start.
If server did such thing xmpppy will not crash unpredictely but will issue a appropriate exception.
2005-05-10 09:27:04 +00:00
Yann Leboulanger 61558b8942 we write the new account option in the config file only when the account has been successfully registered 2005-05-10 09:20:35 +00:00
Nikos Kouremenos dc1a13ff8e adding some tooltips 2005-05-09 23:24:57 +00:00
Nikos Kouremenos a23ed9704c bye bye jabber.py [I like it, it rhymes :P] 2005-05-09 22:19:01 +00:00
Nikos Kouremenos adccebd4f3 removed unneeded lines 2005-05-09 22:18:44 +00:00
Yann Leboulanger 3fd078dd0b we can now disable the use of TLS 2005-05-09 19:52:43 +00:00
Nikos Kouremenos df6b4b75b9 it's better like that. after 0.7 I hopefully will pass the socket to main() 2005-05-09 17:00:02 +00:00
Nikos Kouremenos 33056b778b border width 4 (as everywhere) 2005-05-09 13:59:28 +00:00
Nikos Kouremenos 39fdf223c1 fixing expands in register agent window (thanks gjc) 2005-05-09 13:21:29 +00:00
Nikos Kouremenos 2475d4728d \t is only possible via copy pasting and we shouldn't touch clipboard text where we can 2005-05-09 10:46:40 +00:00
Yann Leboulanger b9406c24d6 /me\n or /me't also works ! 2005-05-09 10:36:44 +00:00
Yann Leboulanger 0f66868a70 revert latest commit I did (sorry) 2005-05-09 10:34:47 +00:00
Yann Leboulanger 0c8b0bbde2 /me\n or /me /t is also valid ! 2005-05-09 10:30:34 +00:00
Nikos Kouremenos 5bb1df8a19 for /mebalbla u want a space after /me right? :) 2005-05-09 10:20:08 +00:00
Yann Leboulanger 0f8de69f57 /meblabla is not a /me 2005-05-09 08:17:42 +00:00
Nikos Kouremenos c707636421 tls gui hack ready [this has to be rdy before 0.7 coz we use by default tls now and that may break idiotic servers that say tls is there but is not 2005-05-08 22:08:28 +00:00
Yann Leboulanger c741fbef11 remove unneeded lines 2005-05-08 21:03:42 +00:00
Yann Leboulanger f4b05e51fa request_register_agent_info is now async 2005-05-08 20:56:11 +00:00
Yann Leboulanger 4985612036 remove unneeded line 2005-05-08 17:47:52 +00:00
Yann Leboulanger 1753a316e4 the removal of an agent is now async 2005-05-08 17:33:08 +00:00
Yann Leboulanger 2171def073 we get the roster asynchronously now 2005-05-08 17:00:41 +00:00
Yann Leboulanger 2f977d1b1a we may want to remove an iter (when we remove an account for exemple) 2005-05-08 16:56:14 +00:00
Yann Leboulanger da4457401f apply Alexey's patch in order to be able not to use TLS connection 2005-05-08 16:50:56 +00:00
Nikos Kouremenos 4a90f80cfa chk new version commit: fixing a bug introduced by tab when he changed the names of the var in config and adding a timeout 2005-05-08 15:06:24 +00:00
Nikos Kouremenos 58e7da6d54 update path to some files so they match the new structure [it is far from complete and of course it is vital to have the paths fixed before 0.7] 2005-05-07 20:23:55 +00:00
Yann Leboulanger 1d87384800 bugfix from Alexey about proxy, can someone test if it works ? 2005-05-07 17:02:32 +00:00
Yann Leboulanger 58705bbba5 patch from Alexey: new function: SendAndCallForResponse.
It will help in resolving locking problems
2005-05-07 16:16:24 +00:00
Yann Leboulanger e4692d22d6 do not remove a contact from the roster if show_offline is True 2005-05-07 15:47:11 +00:00
Yann Leboulanger 457a800cf4 we can show notification windows even if we don't play sound 2005-05-07 15:40:58 +00:00
Yann Leboulanger 00c7b60f18 bugfix: when a user go offline and quickly online it was removed from the roster 2005-05-07 15:23:02 +00:00
Yann Leboulanger be913f8f27 xmpp patch from alexey: fix auth problem 2005-05-07 14:46:21 +00:00
Yann Leboulanger 77ea76ba9b bugfix in removing account Part 2 (fix #236) 2005-05-07 14:45:50 +00:00
Yann Leboulanger 69ba1d3198 bugfix when we remove an account 2005-05-07 14:36:07 +00:00
Nikos Kouremenos 413ea7b6e7 check_for_new_version move to src from src/common [has gtk stuff] 2005-05-07 14:02:16 +00:00
Yann Leboulanger 4f6af83ef4 save the config when we change an option in advanced config window 2005-05-07 13:14:37 +00:00
Yann Leboulanger 54ae5dc351 send only _one_ keepAlive packet 2005-05-07 12:41:29 +00:00
Yann Leboulanger fab74069c6 Gajim is JEP-0011 compliemt now 2005-05-07 12:24:19 +00:00
Yann Leboulanger 56d60f3fd5 xmpppy changes:
- Sync with latest CVS version + gajim patches.
- streamErrorHandler disabled. If you want enable it - unrem it at line 66 of
  dispatcher.py
- TLS re-enabled. Should work fine now
- disconnection TLS plugout re-enabled. Didn't successed in reproducing
  problem though so maybe not fixed.
- My temporary fixes replaced with CVS ones.

gajim connection.py changes (in chunks order):
- getTags is incorrect. Replaced with getChildren
- browseAgents is absent from xmpppy. Fixed with manual node send. Made use of
  buildReply method and con argument
- formatting fix
- crude fixed register problem. I do not know how to do it properly. It is
  client stuff. Honest! I have no idea how to make it non-blocking and yet make
  library to fallback to older protocols.
  getInstructions() moved to xmpppy
Thanks Alexey !
2005-05-07 10:57:40 +00:00
Yann Leboulanger 66249dafb5 add a default Role in gc 2005-05-07 09:08:54 +00:00
Yann Leboulanger d9cf8bb1a0 remove unneeded code 2005-05-06 19:56:48 +00:00
Yann Leboulanger 4202e2549b we can launch Gajim even if we have no connection (this will have to be launched in a thread) 2005-05-06 19:53:26 +00:00
Yann Leboulanger 7668643750 finish Custom -> custom translation 2005-05-06 19:52:18 +00:00
Nikos Kouremenos 723af5012a fixing a traceback after yann's commit and asking a qu for yann [as FIXME:] 2005-05-06 18:01:07 +00:00
Nikos Kouremenos e4dfc6e739 fixing #231 2005-05-06 17:35:57 +00:00
Yann Leboulanger 98beecbc08 update the iconset in gc windows when we change the iconset 2005-05-06 17:02:58 +00:00
Nikos Kouremenos 77607214fe replace setup.py in favor of Makefile in idle module compilation 2005-05-06 12:06:10 +00:00
Nikos Kouremenos 3c200bea78 this is no longer needed 2005-05-06 10:43:34 +00:00
Nikos Kouremenos 69a42c1da5 roster theme names first letter small 2005-05-06 10:26:28 +00:00
Nikos Kouremenos 61d6692a8d if config does not exist do not print error could not open file 2005-05-06 08:33:23 +00:00
Nikos Kouremenos a346454c45 make gajim bootable if not config available. this code is temp but seems to fixes the pb. plz hack it so it meats your taste 2005-05-05 17:11:48 +00:00
Nikos Kouremenos f804c04d59 bugfix 2005-05-05 16:02:14 +00:00
Nikos Kouremenos 058b326e60 platform => os 2005-05-05 14:02:39 +00:00
Nikos Kouremenos 1f5e991af0 remove tab should have the show status image show/hide code, cause switch page is not enough 2005-05-05 13:18:44 +00:00
Yann Leboulanger e8965ae8b4 send keepalive every minute 2005-05-04 19:20:02 +00:00
Nikos Kouremenos cb4d4bc233 glade fixes (mostly titles) 2005-05-04 19:12:38 +00:00
Nikos Kouremenos 51aae4e3bf allow focus in all parent widgets in tabbed chat window to avoid the dotted rectangle on History button 2005-05-04 18:49:53 +00:00
Nikos Kouremenos 49ff06842c add new contact dialog code cleanup and some GUI fixes:\nProtocol combobox is disabled if uid is empty\nguess_agent() doesnt change to Jabber if not ICQ\nBecause of massive usage of get_widget() I self'ed them [it's ok this dialog dies soon and it is always better to do less glade parsing 2005-05-04 17:44:49 +00:00
Nikos Kouremenos bc6e64bf16 typo 2005-05-04 17:32:23 +00:00
Nikos Kouremenos 0a15ecc5b4 removing extra identation. I also want to mention that the previous commit shouldn't have had all those files. It was by accident. Anyways the previous commit also fixed a GUI bug for the Groupchat: now groupchat window and chat window use *different* hboxes 2005-05-04 16:40:41 +00:00
Nikos Kouremenos 2e668210c2 if not foo else becomes if foo else: 2005-05-04 16:22:07 +00:00
Nikos Kouremenos 73f6e4d758 fixing #221 2005-05-04 15:30:08 +00:00
Nikos Kouremenos 91d058fda4 set_property('visible', bool) becomes show()/hide() depending on bool val 2005-05-03 16:43:27 +00:00
Nikos Kouremenos dd5eaf1ab9 active_tab --> set_active_tab [I also though of a minute to start adding properties eg. foo.set_active_tab(bar) would be foo.tab = bar. if u like that we can see designing like that in the future 2005-05-03 16:39:27 +00:00
Nikos Kouremenos 68b0672437 show contact status if tabbed and more than one tabs in the tab itself. this is more HIG and ergonomic cause we know the status of a contact without clicking on it. Also this design is followed by Gossip, Gaim and many others IM clients that do tabbedUI 2005-05-03 16:37:59 +00:00
Nikos Kouremenos 543ad45eb4 config value log --> verbose. perhaps in the future debug (coz in the future we will have an xml window) or just stick with verbose :P part 2 2005-05-03 16:27:00 +00:00
Nikos Kouremenos 7d26b7db8c config value log --> verbose. perhaps in the future debug (coz in the future we will have an xml window) or just stick with verbose :P 2005-05-03 16:26:30 +00:00
Yann Leboulanger 4005f944c7 no xmpppy debug when log = False 2005-05-03 08:06:59 +00:00
Vincent Hanquez 4534b2bbbc support for readonly variable
add 'version' as a readonly variable
2005-04-30 22:24:45 +00:00
Nikos Kouremenos b6d32de0ea adding Cyan theme roster 2005-04-30 17:40:32 +00:00
Nikos Kouremenos 46eaae7d0f allow focus for account modification window widget name 2005-04-30 17:21:05 +00:00
Nikos Kouremenos a2f9ad8bcd #215 fixed 2005-04-30 17:19:03 +00:00
Nikos Kouremenos 6ba87fdd50 account_modification_window gives fcus to Name of account 2005-04-30 11:02:30 +00:00
Nikos Kouremenos 4779c800b7 removing \ where not needed 2005-04-30 08:48:50 +00:00
Nikos Kouremenos 3db9a32c91 select and TLs do not like each other. falling back to non TLS. thanks rohan 2005-04-29 15:56:43 +00:00
Nikos Kouremenos 27bb186ce5 agents can start with @ so find <=0 instead of find != -1 2005-04-29 15:39:16 +00:00
Nikos Kouremenos 94537da614 make roster theme UI better 2005-04-29 15:01:44 +00:00
Nikos Kouremenos 3cb963554d features.py still problematic, just adding the stuff alexey said in case his grab this to continue fixing 2005-04-29 14:16:55 +00:00
Nikos Kouremenos 0b331139ed connection.py still problematic, just adding the stuff alexey said in case his grab this to continue fixing 2005-04-29 14:15:16 +00:00
Nikos Kouremenos caad4cd972 cleanup 2005-04-29 14:14:25 +00:00
Nikos Kouremenos 8bb18de5e4 check on jid and not on name for agent protocol (thanks mikea) 2005-04-29 14:11:05 +00:00
Yann Leboulanger fbdae750c2 we now have themes for roster colors / fonts 2005-04-29 13:04:06 +00:00
Yann Leboulanger 3f417a2fba reset to default color now works in chat tab 2005-04-29 09:47:09 +00:00
Nikos Kouremenos 77fadb30db nothing important: removing a comment, adding one 2005-04-29 08:00:06 +00:00
Yann Leboulanger bce9902708 merge / split group chat windows on the fly 2005-04-28 15:48:20 +00:00
Yann Leboulanger 9377f0223b use less long variables 2005-04-28 14:55:57 +00:00
Yann Leboulanger 7d9d47ac9b we now save and restore some variables in tabbed chat window (gpg_enabled) when we split / merge windows 2005-04-28 14:38:36 +00:00
Yann Leboulanger 11ef5a0787 close add contact window when we press esc (fix #204) 2005-04-28 13:01:47 +00:00
Yann Leboulanger 583591e18e we can be free for chat 2005-04-27 22:37:36 +00:00
Yann Leboulanger 7275e06657 remove unneeded var 2005-04-27 22:37:18 +00:00
Yann Leboulanger cd771c22ef add a new child for each option instead of always rewrite over the same 2005-04-27 22:14:28 +00:00
Yann Leboulanger 9fd9b98a79 save hidden lines when we quit 2005-04-27 21:49:59 +00:00
Nikos Kouremenos 1ef087ca75 bugfix (now self.account) 2005-04-27 20:12:57 +00:00
Yann Leboulanger 184542a4d1 when we double click on a contact (or when we click on the systray icon), present the chat_window.
idem for gc window
2005-04-27 19:09:34 +00:00
Vincent Hanquez db89a48bf3 remove the filter by default that clobber all options except account,
*by* *default* without any ways to unclobbered options since the rest of the
code is *NOT* working. *donkey*.
2005-04-27 19:03:28 +00:00
Yann Leboulanger c75e610914 merge and split tabbed chat window on the fly (need to do the same for gc)
begining is in the previous commit (sorry)
2005-04-27 18:57:34 +00:00
Yann Leboulanger eef71fcb27 xmpppy gives us the UTC time, we convert it to localtime 2005-04-27 18:26:31 +00:00
Nikos Kouremenos b372567405 redoing my cleanup. the print are now ALL commented. they were left just in case Vincent wanted to test easier. Gajim would run after my cleanup, and even advanced config would run. As yann has said in the past, svn is a place of DEVELOPMENT. Please Vincent just because of 3 prints that were not commented out IN ORDER TO HELP YOU if you went to hack, you should NOT revert all the fixes. Yann said this is strong I would say sth worse.
-- edited by tab. this is not the place for laundry.
2005-04-27 15:16:40 +00:00
Nikos Kouremenos 8c30b8ce53 asterix said this var names part II 2005-04-27 15:06:25 +00:00
Nikos Kouremenos 0a9d0aec55 asterix said this var names 2005-04-27 15:05:31 +00:00
Yann Leboulanger 119cbe0eb9 bugfix when we begin a new chat, show the window 2005-04-27 13:50:13 +00:00
Yann Leboulanger e2c6bdedec do not read the configfile when we save the configuration 2005-04-27 13:49:44 +00:00
Vincent Hanquez 0ae961c76f [revert 1258]
only half of the diff is correct (the window opening).

lots of lines looks like nk's experimentations and obviously do not cleanup
anything nor make the thing works:

* print 'show', name
* self.filterstr = 'account'
* print 'refilter starts'
* print self.filterstr
* self.modelfilter.refilter() #FIXME: does not work!
2005-04-27 13:49:42 +00:00
Nikos Kouremenos 44d8b641b1 advanced config allow opening only once, cleanup in filter [still does not work], cleanup in glade for advanced config window 2005-04-27 12:53:14 +00:00
Vincent Hanquez af256c0abd set the correct widget name for setting colors 2005-04-27 00:19:07 +00:00
Vincent Hanquez 61c70c1ae8 re-create connections at the good place ! 2005-04-27 00:14:22 +00:00
Vincent Hanquez d5c3059a18 add a default value to data for the foreach function 2005-04-26 23:53:11 +00:00
Vincent Hanquez 92a4fea8a9 new simple optparser. *break* old configuration file compatibility. 2005-04-26 23:45:25 +00:00
Vincent Hanquez d415620b13 normalize value directly into is_valid_XXX 2005-04-26 23:41:20 +00:00
Yann Leboulanger 5ee1f2b29a fix a typo 2005-04-26 22:19:18 +00:00
Vincent Hanquez 8ed41802bf add a data parameter to the config foreach's callback function 2005-04-26 22:17:47 +00:00
Yann Leboulanger a27ab3f739 better load of icons, so transports have every icon (if the file doens't exists it is a blank icon) 2005-04-26 22:11:03 +00:00
Yann Leboulanger 3cd6922815 fix some typos 2005-04-26 21:33:01 +00:00
Yann Leboulanger 0ca7b52f8d little cleanup 2005-04-26 18:47:14 +00:00
Yann Leboulanger c85273d556 switch from jabberpy to xmpppy 2005-04-26 18:45:54 +00:00
Yann Leboulanger 581b387bd9 print the error when we try to configure a room and we don't have permission 2005-04-25 22:22:23 +00:00
Yann Leboulanger 5d88dcbf11 print the subject only if the room is the active one 2005-04-25 22:02:26 +00:00
Yann Leboulanger 518a4877ae add_contact window is better filled 2005-04-25 20:41:29 +00:00
Yann Leboulanger 928af2fa9c when we right click on a contact that is not in the roster, there is 'add to roster' in the menu (fix ticket #55) 2005-04-25 20:16:25 +00:00
Yann Leboulanger 6afb800eb6 the treeview in advanced config is now alphabetically sorted 2005-04-25 15:23:11 +00:00
Yann Leboulanger 84b8ee6708 when we scroll to end, in a textview, we also scroll to left 2005-04-25 13:18:12 +00:00
Yann Leboulanger c45cadfe0c bugfix: send the iq when we update a user instead of just creating it :) 2005-04-25 12:18:41 +00:00
Yann Leboulanger fc9c583c7a add the option to allow the title of the window to change
it can be configured through the advanced config window
fix ticket #184
2005-04-25 11:48:42 +00:00
Yann Leboulanger bafbd5a5de when we send configuration of a gc, we only send values (we don't send label, descriptions etc...) 2005-04-25 09:30:24 +00:00
Yann Leboulanger a2b6a44079 ask and show os info from each resource 2005-04-24 22:58:41 +00:00
Yann Leboulanger e2b6b84694 '1' is also valid in the forms 2005-04-24 16:14:50 +00:00
Yann Leboulanger 7e733a195f bugfix: we are no more in the init_account function, so we don't have gpg_key_label variable 2005-04-24 15:47:53 +00:00
Yann Leboulanger 544bbb1206 AGENT_INFO_INFO now send the node 2005-04-24 15:47:08 +00:00
Nikos Kouremenos b77173fc1b send os info and check new version True by default 2005-04-24 12:18:49 +00:00
Vincent Hanquez 9336e8dc05 add a "all" target to compile all necessary stuff in src/ 2005-04-24 10:19:34 +00:00
Vincent Hanquez 8465b76ba7 remove two self instances that were missed my last commit 2005-04-24 09:45:11 +00:00
Vincent Hanquez 4fd1413266 remove unnecessary variables registered in self 2005-04-24 00:54:10 +00:00
Vincent Hanquez 6dafb51c37 change do_not_send_os_info to send_os_info and do_not_check_for_new_version
to check_for_new_version
2005-04-24 00:31:48 +00:00
Vincent Hanquez 9f463820c2 remove unnecessary variable registered in self 2005-04-24 00:20:40 +00:00
Vincent Hanquez 97510bd0ab repair the depandency to not build systray.so each type we invoke make 2005-04-24 00:09:45 +00:00
Vincent Hanquez 115a5ace89 remove version 2.6.10 changes of glade.
last time I see that before I block this kind of commit directly by svn.
2005-04-24 00:01:21 +00:00
Vincent Hanquez 34cbd78b9c add advanced window as a new dialog.
the position of the button is probably not the final position.
modify config to support boolean value embedded in string because the treestore
store/edit all value with a string.
2005-04-23 23:57:02 +00:00
Yann Leboulanger e0ac8948aa disco treeview is now sorted 2005-04-23 22:48:54 +00:00
Yann Leboulanger eb83c5dd5e node support (JEP 0030). Has to be tested 2005-04-23 21:54:12 +00:00
Yann Leboulanger a3fb1bac82 it's possible that we don't have the jid of a contact in gc 2005-04-23 19:09:03 +00:00
Nikos Kouremenos 1c70652031 adding a space in gc window 2005-04-23 18:04:11 +00:00
Yann Leboulanger b217347c46 minor fix: no need to get room_jid twice 2005-04-23 18:03:17 +00:00
Yann Leboulanger a9ba8bd3e5 fix some typos 2005-04-23 17:40:43 +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
Yann Leboulanger 20ad41d40b fix a jabberpy pb, no need to wait the answer when we sned contact's information 2005-04-23 13:07:17 +00:00
Nikos Kouremenos cad9de3bcb removing a duplicate file in aim directory 2005-04-23 12:51:14 +00:00
Vincent Hanquez a4fd5f9572 handle response dialog without needed any temp variable. 2005-04-23 12:09:25 +00:00
Vincent Hanquez f6503322ed glade version should be 2.6.8 for now.
revert all new glade (2.6.10?) properties.
2005-04-23 12:08:43 +00:00
Yann Leboulanger efa3d4ef68 change a function name that has not been changed 2005-04-23 10:00:10 +00:00
Nikos Kouremenos f288ede1eb making function get_appropriate_state_images() and using this where appropriate 2005-04-23 01:37:05 +00:00
Nikos Kouremenos b62583f9e6 contacts from transports now use their protocol state images 2005-04-23 00:37:51 +00:00
Yann Leboulanger a231862c73 bugfix 2005-04-22 20:48:04 +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 4f05f4a2a5 while ok == 0 becomes while not ok 2005-04-22 15:56:33 +00:00
Nikos Kouremenos 103ee6e6bc tab missed a var change. gajim didnt work 2005-04-22 14:00:35 +00:00
Vincent Hanquez 656b05078a use the helper function to create color_string 2005-04-22 01:49:31 +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 b7c2fdc662 remove too long lines
fix too long variables
etc...
2005-04-22 01:35:36 +00:00
Vincent Hanquez fbc6e0fef4 broke too long lines
remove lots of redundant code using for loop or small function function
remove 2 kms long function local's variables
2005-04-22 01:05:31 +00:00
Vincent Hanquez d315135652 broke too long lines
reduce freakin' long variable names
2005-04-22 00:02:42 +00:00
Vincent Hanquez a19ae26f01 apparently need a \ after a binary operator (* and -). freaky 2005-04-21 23:51:16 +00:00
Vincent Hanquez 6c797723c5 broke too long lines 2005-04-21 23:36:18 +00:00
Vincent Hanquez ba5acab7f7 [codingstyle] one space between each + - * / = operator 2005-04-21 23:20:18 +00:00
Vincent Hanquez e00ce8a09b fix stupid code with lot of debug 2005-04-21 23:06:12 +00:00
Nikos Kouremenos 72fcfcb323 fix now it is popups_notification_height 2005-04-21 21:30:56 +00:00
Nikos Kouremenos ba7bf98468 Popup_ --> Popup_notification 2005-04-21 21:23:41 +00:00
Yann Leboulanger 31b804582a fix indentation 2005-04-21 21:14:53 +00:00
Nikos Kouremenos d5261a69d6 bugfix 2005-04-21 21:06:33 +00:00
Nikos Kouremenos dc4221660b accounts_window is smaller now 2005-04-21 19:52:28 +00:00
Nikos Kouremenos 74ca2b19f8 glade HIG cleanup for borders and spacings 2005-04-21 19:49:21 +00:00
Nikos Kouremenos f7123afe34 do not allow to have two windows of join_gc for the same account and changing the join gc window title if multiple accounts 2005-04-21 18:53:16 +00:00
Yann Leboulanger 58fc9bd255 remove unneeded print 2005-04-21 18:43:52 +00:00
Yann Leboulanger b761d0701a close the gc_configuration window when we press Change button 2005-04-21 18:36:27 +00:00
Yann Leboulanger 8d808eaa30 indentation is a bit better now 2005-04-21 17:43:47 +00:00
Yann Leboulanger dd2ca4dcd4 ctrl + V now print the text in message_textview even if the focus is on conversation_textview 2005-04-21 16:41:22 +00:00
Yann Leboulanger 5e743e1120 do not show .svn and transport in the list of available iconset 2005-04-21 16:25:05 +00:00
Vincent Hanquez ac90d99212 who really need i18n on init message...
(hangs anyway for me)
2005-04-21 08:44:19 +00:00
Nikos Kouremenos b10b49b722 fixed an oops 2005-04-20 23:27:33 +00:00
Nikos Kouremenos 8f2cfe50bd save plugin on SAVE button for account modification window 2005-04-20 23:20:26 +00:00
Nikos Kouremenos 387e09162f STARTING TO: now allow Ctrl+V to chat windows, do not ESC --> close tab (or window) in GC. SEE FIXMEs 2005-04-20 22:56:33 +00:00
Nikos Kouremenos 9a1aa68f6b some fixes, introducing a bug [see FIXME:] 2005-04-20 22:30:04 +00:00
Vincent Hanquez 3d1c66b058 use bool(value) to get if that is true or false 2005-04-20 18:15:01 +00:00
Vincent Hanquez 8405fc8dbf remove unnecessary if 2005-04-20 18:13:12 +00:00
Vincent Hanquez c742cf8e10 remove lots of unnecessary if
if x: set(true) else: set(false)
become
set(x)
2005-04-20 18:10:37 +00:00
Vincent Hanquez 5c8314df93 remove one indentation level using a continue in the for loop 2005-04-20 18:04:26 +00:00
Vincent Hanquez d6e9079cd8 remove some long lines 2005-04-20 17:59:42 +00:00
Vincent Hanquez 7e96882c11 missing ':' 2005-04-20 17:48:49 +00:00
Yann Leboulanger 1a82ed0ca3 when we create a new account, plugin.windows[account] doesn't exists 2005-04-20 16:35:40 +00:00
Yann Leboulanger 0cfb3f5249 code to unregister an account 2005-04-20 12:23:41 +00:00
Yann Leboulanger ae7cdd6383 put the -fpic option where it must be 2005-04-20 11:20:09 +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 ba272a9553 glade and code fixes. still code for unregistering is missing 2005-04-19 23:43:58 +00:00
Nikos Kouremenos c5aa9f0e81 remove account allows unregistering too (xml code is missing atm) 2005-04-19 22:29:38 +00:00
Nikos Kouremenos b68da6b69b Vcard_information_window in its own file 2005-04-19 21:53:19 +00:00
Nikos Kouremenos 2105a5fab8 adding -fpic in makefile 2005-04-19 14:41:50 +00:00
Nikos Kouremenos 08f7c21fe8 adding LFS detection in get_os_info 2005-04-19 13:14:41 +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 c2dd8c1081 groupchat subject is now set to its old value when we don't have the right to set it 2005-04-19 09:59:19 +00:00
Yann Leboulanger 2b0d78446c some bugs in status numbers 2005-04-19 07:52:06 +00:00
Nikos Kouremenos c3440cae35 basically popup notifications allow when not online/chat works. so popup notifications I think are 100% ready :P. some other fixes too 2005-04-18 23:55:13 +00:00
Yann Leboulanger 5a910155c8 errors from groupchats are catched and printed in groupchat windows 2005-04-18 22:45:13 +00:00
Nikos Kouremenos 6b0e7d0908 adding free for chat for the user 2005-04-18 22:25:22 +00:00
Yann Leboulanger c7f896dfbd bugfix: nickname autocompletion is back in gc 2005-04-18 21:41:23 +00:00
Yann Leboulanger af5dbbe880 when we quit gajim, check if we have unread or recently received messages and warn the user 2005-04-18 21:35:39 +00:00
Yann Leboulanger a2e8692f80 remove unneeded line 2005-04-18 18:42:51 +00:00
Yann Leboulanger 1a0c39555d do not remove iter if there are 2 or more resources 2005-04-18 18:24:43 +00:00
Yann Leboulanger 7934a71024 typo 2005-04-18 17:49:31 +00:00
Nikos Kouremenos 09ab1375d3 forgot some places. grep helps 2005-04-18 17:19:22 +00:00
Yann Leboulanger c23e59a0c9 gtkgui doesn't exist anymore 2005-04-18 16:54:49 +00:00
Nikos Kouremenos 4f60bf7b3b typo 2005-04-18 16:52:44 +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
Yann Leboulanger 17344ef0f8 gajim.py is now executable 2005-04-18 16:27:03 +00:00
Yann Leboulanger f493158886 fix a path 2005-04-18 16:09:46 +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
Nikos Kouremenos 4e722bd62e mark change roster window title as expert setting 2005-04-18 12:25:19 +00:00
Nikos Kouremenos 00b13f2eff typos all over and " --> ' 2005-04-18 12:17:43 +00:00
Nikos Kouremenos ab8a846f66 let us hope gajim.py is +x now :D 2005-04-18 11:04:33 +00:00
Yann Leboulanger 310bde471d check if the iter exists before continuing fix #179 2005-04-18 09:25:12 +00:00
Yann Leboulanger 4b5e2381e1 delete the connection when we go offline 2005-04-18 09:18:50 +00:00
Yann Leboulanger 637f35b279 we now launch gajim.py instead of gtkgui.py 2005-04-18 08:54:47 +00:00
Nikos Kouremenos 85217c33a9 typo 2005-04-17 21:41:15 +00:00
Nikos Kouremenos b7ac22c47a just a string change in glade 2005-04-17 21:36:23 +00:00
Nikos Kouremenos f1fdb97fc4 typos and small fixes (mostly: edit groups dont send changes if nothing changed) allover 2005-04-17 21:31:18 +00:00
Nikos Kouremenos 7f8e130d19 do not allow more than one modification windows for the same account 2005-04-17 20:18:50 +00:00
Nikos Kouremenos b7fc77d3dc typo 2005-04-17 19:53:39 +00:00
Yann Leboulanger a9ec741af4 do not crash when no accounts 2005-04-17 19:45:38 +00:00
Yann Leboulanger cb821eb8fd if we don't have accounts, don't crash 2005-04-17 19:43:28 +00:00
Nikos Kouremenos 3b9b46b6e8 when windows already exist present() them. cancel button and not close in account_modification_window 2005-04-17 18:36:09 +00:00
Nikos Kouremenos e3b478e170 allow or not notifications when dnd/away now works 2005-04-17 17:55:06 +00:00
Yann Leboulanger 92c65c67bc typo 2005-04-17 17:41:01 +00:00
Yann Leboulanger a3126a453e second test for gnupg 2005-04-17 17:08:28 +00:00
Yann Leboulanger 9b98db2a9f try a fix when we don't have gnupg 2005-04-17 16:08:18 +00:00
Yann Leboulanger 0ab5461d96 fix ticket 183 (do not use underline in conttact button in chat window 2005-04-17 16:06:40 +00:00
Yann Leboulanger 42a0b673cc little bug 2005-04-17 16:06:12 +00:00
Yann Leboulanger 425a20fb19 add missing file 2005-04-17 16:03:35 +00:00
Yann Leboulanger a722dd4ce4 update systray.py for the new plugin system 2005-04-17 15:23:52 +00:00
Nikos Kouremenos f2edb6d584 allow hacking of config for on new message to work [asterix required] 2005-04-17 13:10:45 +00:00
Yann Leboulanger 107b593f77 upgrade Makefiles 2005-04-17 11:49:53 +00:00
Yann Leboulanger e3f53dd3c6 idle now works 2005-04-17 11:49:39 +00:00
Yann Leboulanger eb9eddce19 bugfix with what to do when a new message arrive 2005-04-17 09:05:58 +00:00
Yann Leboulanger 117da83bd5 typo 2005-04-17 09:05:26 +00:00
Yann Leboulanger a4c47e661e update from trunk 2005-04-16 23:15:03 +00:00
Yann Leboulanger 8cc28a8faa config file is now saved to disk when we change an option or quit Gajim 2005-04-16 22:12:41 +00:00
Yann Leboulanger 5a354c283c some minor typos / bugfixes 2005-04-16 17:36:27 +00:00
Yann Leboulanger 798fbfebf3 the configuration file is now parsed (but not saved atm) 2005-04-16 17:03:21 +00:00
Yann Leboulanger e0e6bafbcd correct some typos 2005-04-16 15:01:06 +00:00
Yann Leboulanger 04db394f87 emoticons and status messages are now a group of ption in the common config file (thx tab for your code) 2005-04-16 14:50:26 +00:00
Yann Leboulanger c981ac6b00 messages and presences are now logged 2005-04-16 09:36:18 +00:00
Yann Leboulanger d17289dfbd we can now view history_windows 2005-04-15 22:02:13 +00:00
Yann Leboulanger 041657973a missing file :) 2005-04-15 17:02:23 +00:00
Yann Leboulanger d75597cc38 status messages now work 2005-04-15 11:37:56 +00:00
Yann Leboulanger a269e4c421 sound treeview is now filled 2005-04-15 10:53:39 +00:00
Yann Leboulanger a4b334cd03 Account_modification_window dosn't take a dict as argument but he name of the account 2005-04-14 23:00:25 +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 26df968343 correct some typos, process connections every 50ms 2005-04-14 11:06:58 +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 d6a76e58c4 gtkgui now registers to connections events 2005-04-14 07:58:54 +00:00
Yann Leboulanger 0c2fb7ffe3 correct some typos 2005-04-14 07:42:26 +00:00
Yann Leboulanger e8911a661e Config class 2005-04-14 07:28:59 +00:00
Yann Leboulanger 32f9cd5cba plugin.connected[account] -> gajim.connections[account].connected 2005-04-14 07:20:14 +00:00
Yann Leboulanger b40bcc9105 plugin.accounts[name] -> gajim.config.get_per() 2005-04-14 07:05:10 +00:00
Yann Leboulanger c5553d27a3 add connection and logger options to the list of options
plugin.config -> gajim.config in config.py
2005-04-13 09:41:44 +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