Commit Graph

174 Commits

Author SHA1 Message Date
Nikos Kouremenos 20a7a0c426 isinstance() is faster than type. pydoc timeit 2005-08-26 12:34:11 +00:00
Nikos Kouremenos cec336112d [Stéphan K.] make most strings we use unicode instacnes 2005-08-26 00:52:44 +00:00
Nikos Kouremenos 3cd7d46e68 fix strings/comments 2005-08-24 12:38:41 +00:00
Nikos Kouremenos 92903afd4c chmod in the correct place 2005-08-23 09:30:54 +00:00
Nikos Kouremenos 6e29a8b524 create config file with 0600 [and remove \n from print!!!!! 2005-08-23 09:17:48 +00:00
Nikos Kouremenos a91765990b comments for translators; pot/po 2005-08-13 11:17:49 +00:00
Dimitur Kirov cdf6e034b8 when IOError occurs during saving preferences
now print os.strerror of the error code
2005-08-09 11:17:32 +00:00
Nikos Kouremenos d92d9e26e7 set, set_per used to return value, now they raise Exception if problems. this helped catch 3 problems. It is good to raise because only devs/patchers and expert users mess with config settings 2005-08-05 10:26:10 +00:00
Dimitur Kirov 3c59acddc2 print of exception not needed 2005-08-02 22:29:25 +00:00
Dimitur Kirov a502d8d28c this should fix the bug on windows 2005-08-02 20:33:44 +00:00
Yann Leboulanger ce6b470967 no need to translate glade strings in optparser 2005-08-01 09:42:30 +00:00
Dimitur Kirov d57c420112 show notification if there is no space on the
device
2005-08-01 09:37:41 +00:00
Yann Leboulanger 597e0c16f7 these files are not scripts 2005-06-20 10:56:54 +00:00
Nikos Kouremenos ecf50d8c56 win32: store the config in the correct place, and move it if existes in the old place 2005-05-20 18:08:24 +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
Vincent Hanquez 92a4fea8a9 new simple optparser. *break* old configuration file compatibility. 2005-04-26 23:45:25 +00:00
Nikos Kouremenos 08f7c21fe8 adding LFS detection in get_os_info 2005-04-19 13:14:41 +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
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 149ed7a22d reorder files 2005-04-12 15:47:20 +00:00
Renamed from common/optparser.py (Browse further)