Commit Graph

160 Commits

Author SHA1 Message Date
Yann Leboulanger 064b7a234c correct list of not allowed chars under windows. Fixes #1913 2006-05-02 06:36:49 +00:00
Yann Leboulanger 4e2f02c725 fix import (add missing, remove useless) 2006-04-11 18:36:09 +00:00
Nikos Kouremenos 9e35ac7aeb improve function name; move it to where we keep those 2006-04-08 10:28:53 +00:00
Jean-Marie Traissard f2355f9e6c print submenus only when more than one account is connected, not when more than one is configured, sort
some menus in systray->chat
2006-04-06 18:37:24 +00:00
Yann Leboulanger ba7ef979b7 common/gajim can't contain _()O so move it to helpers
prevent renaming of special groups
2006-03-30 21:35:43 +00:00
Nikos Kouremenos 1dc069f237 overkill to use sre for just replace 2006-03-30 16:08:54 +00:00
Nikos Kouremenos 6caf013f52 use much better varname and comment the heck out of it 2006-03-27 23:32:39 +00:00
Nikos Kouremenos 0190ac90a4 [jim] fix logic bug 2006-03-27 23:15:19 +00:00
Nikos Kouremenos d1bb5cbc74 again fix logic after cut-paste 2006-03-27 23:10:41 +00:00
Nikos Kouremenos 0bd9e77fc9 fix logic. thanks Jim for report 2006-03-27 22:42:42 +00:00
Nikos Kouremenos 5528e739b0 helpers that do not relate with xmpp, belong to helpers.py not to common/gajim.py. if they have gtk they belong to gtkgui_helpers. also use those allover 2006-03-27 22:31:14 +00:00
Nikos Kouremenos 6a44733d69 commented code, beautiful code 2006-03-26 19:35:29 +00:00
Yann Leboulanger a5d95b4792 when we change combobox, only look in global synced accounts if one is connected. Fixes #1724 2006-03-26 13:07:11 +00:00
Yann Leboulanger fb758eaf89 use sanitize_filename func before writing a file to HD. Fixes #1722 2006-03-26 11:46:04 +00:00
Yann Leboulanger 1fafe3b08c handle correctly resources in queue of events. Fixes #1706 2006-03-25 17:05:54 +00:00
Nikos Kouremenos eca21781cb fix len to not take into account the extension (we pass full filename anyways) 2006-03-21 13:57:02 +00:00
Nikos Kouremenos b3bf080e6f intro helpers.sanitize_filename() to make sure we do not run, use it where it is appropriate 2006-03-21 13:55:22 +00:00
Dimitur Kirov ae33330ac6 send fake activate stanza to assert that proxy
works correctly
2006-03-20 21:24:10 +00:00
Dimitur Kirov 540103f381 arranged some methods from connection.py in
classes defeined in connection_handlers.py
2006-03-19 14:54:00 +00:00
Yann Leboulanger 21a65d2568 minor typo 2006-03-18 08:13:27 +00:00
Yann Leboulanger 3a255e5102 fix indentation in common/helpers.py 2006-03-17 19:56:05 +00:00
Nikos Kouremenos 036265081b fix typo; also saner defaults [only first time] for last_save_dir and last_send_dir 2006-03-15 02:09:57 +00:00
Nikos Kouremenos 396c66f8f8 set avatar filechooser defaults to My Pictures in the OS that understand user needs [aka Windows] 2006-03-15 01:40:10 +00:00
Nikos Kouremenos 3e2ec2495e rm trailing spaces from helpers.py 2006-02-27 15:29:13 +00:00
Nikos Kouremenos f674babbd1 spacing 2006-02-26 14:12:55 +00:00
Yann Leboulanger 76a3bbaf25 icon name is not in roster 2006-02-20 13:08:45 +00:00
Yann Leboulanger 4415d770fc not_in_the_roster.png -> not_in_roster.png 2006-02-20 11:02:35 +00:00
Nikos Kouremenos 967d278541 [jim++] sound events show in UI as translatable nice words. [me] refactor the whole thing 2006-02-16 15:21:34 +00:00
Nikos Kouremenos f529f0364a revert accidental commit of common/helpers.py 2006-02-03 01:17:03 +00:00
Nikos Kouremenos 19bab6832e also commit glade file 2006-02-03 01:15:03 +00:00
Nikos Kouremenos 9f4753cc06 do not add http:// in urls. fixes #1493 2006-01-31 21:13:46 +00:00
Yann Leboulanger 1d49a10c58 remove old FIXME 2006-01-24 22:34:45 +00:00
Yann Leboulanger 2dc4eb3f21 [campey] not in the roster -> Not in Roster. Fixes #1054 2006-01-19 21:55:01 +00:00
Travis Shirk f01c0eac85 Label string fix for #1054 2006-01-14 22:08:52 +00:00
Travis Shirk a52596266c Merged trunk 2005-12-30 21:37:36 +00:00
Yann Leboulanger 993c09ec70 catch correct exception when interrupt system call 2005-12-21 17:55:57 +00:00
Yann Leboulanger 323663132b fix more interrupt system call 2005-12-17 23:07:13 +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 34255e5682 Vincent left us a long time ago 2005-12-07 23:09:10 +00:00
Yann Leboulanger 637c903d68 * when in common, no need to do from common import FOO, just import FOO
* we now migrate automaticaly at startup in a thread
 * progressDialog now scroll textvew to the end
2005-12-05 11:13:08 +00:00
Yann Leboulanger 51dc8afb09 take into account only the accounts that are synced with global status to compute the global status (for status combobox) 2005-12-02 19:12:21 +00:00
Nikos Kouremenos d9cc33cf26 log system rewrite to use sqlite database instead of plain ascii files. this allows us to scale better (be faster), provide search in history, and save logs for JIDs that are non-ASCII. PLEASE read http://trac.gajim.org/wiki/MigrateLogToDot9DB 2005-11-23 19:12:52 +00:00
Nikos Kouremenos 0c09ad2b30 some more strings for transl 2005-11-22 11:44:33 +00:00
Nikos Kouremenos 68b0f18402 iso15 is our last chance 2005-11-18 13:26:24 +00:00
Nikos Kouremenos 2a791af792 decode_string() 2005-11-18 12:17:50 +00:00
Yann Leboulanger 380bce1160 fix TB 2005-11-12 21:06:26 +00:00
Nikos Kouremenos de7b906254 typo 2005-11-12 21:01:52 +00:00
Nikos Kouremenos 3f7bbf191f typo 2005-11-12 21:01:17 +00:00
Yann Leboulanger a67d009497 fix icon in tooltip (sorry I can't test) 2005-11-12 20:07:46 +00:00
Nikos Kouremenos 2a770a1ebf he --> he or she 2005-11-12 14:17:27 +00:00
Yann Leboulanger 8eaa1f45ad add a 'merged account' row with a context menu 2005-11-09 07:00:46 +00:00
Yann Leboulanger 164973ff82 prevent to print chatstate = 'None' 2005-11-05 20:49:28 +00:00
Nikos Kouremenos 8d26752f48 fix strings, add code for progressbar to work, fix a bit of ui 2005-11-05 11:28:19 +00:00
Yann Leboulanger f130ce29c0 we now stringprep jid and resource everywhere:
when we recieve a jid from server
when we enter a jid or resource in GUI
2005-11-03 14:46:56 +00:00
Yann Leboulanger b4d9a6aab0 new helpers.check_paths() function that creates LOGPATH and VCARDPATH 2005-10-30 11:20:24 +00:00
Nikos Kouremenos 69fc11d949 optimize 2005-10-26 17:30:52 +00:00
Nikos Kouremenos f430c3581f ask uname as our last chance to detect OS [thanks kael for command] 2005-10-25 08:39:41 +00:00
Nikos Kouremenos cf18d99555 add comment 2005-10-09 16:45:21 +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
Yann Leboulanger a8117faf2d [gjc] "interrupt system call" are now handled and cause the function to be retried 2005-09-28 15:00:01 +00:00
Nikos Kouremenos ceb71387f5 add a comment 2005-09-13 11:05:16 +00:00
Yann Leboulanger 606b14a862 sound for windows now works 2005-09-13 10:51:02 +00:00
Nikos Kouremenos 74cc23031c if sound is beep then we beep in speaker 2005-09-11 20:33:10 +00:00
Nikos Kouremenos 0709dec1c0 fix comment 2005-09-08 21:01:15 +00:00
Yann Leboulanger 72393ac068 autoreconnect of account is ready 2005-09-05 13:28:09 +00:00
Nikos Kouremenos 1a1ec7bfa2 typo 2005-08-26 12:14:08 +00:00
Nikos Kouremenos b5c71cd2f2 ensure_unicode_string is back 2005-08-26 12:08:14 +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 3d7be5a2dc typo 2005-08-24 14:09:03 +00:00
Nikos Kouremenos a16d8f84e6 fix i18n to gc tooltips 2005-08-24 14:08:35 +00:00
Nikos Kouremenos 0455ce1e3f typo 2005-08-18 19:25:12 +00:00
Nikos Kouremenos bd0a5230d9 xs:boolean is '0', '1', 'true', 'false'. so update bookmark to handle the last two 2005-08-18 19:06:24 +00:00
Nikos Kouremenos 7c2e69cf8b dnd now works in windows too 2005-08-16 22:38:21 +00:00
Nikos Kouremenos f9d3d37c46 escape " in sound playing 2005-08-14 19:27:58 +00:00
Nikos Kouremenos 56e0c6f3c3 drop from xffm to gajim tab now works 2005-08-14 19:08:56 +00:00
Dimitur Kirov 332bffc29f changed Q__ to Q_ 2005-08-14 13:46:15 +00:00
Nikos Kouremenos a91765990b comments for translators; pot/po 2005-08-13 11:17:49 +00:00
Nikos Kouremenos e641745500 using comments and Q_() for make disctioning of None and Unknown strings. this breaks strings freeze but I hope it is for the good and I hope it is the last time [sorry ppl] 2005-08-12 22:32:35 +00:00
Nikos Kouremenos 200bcd4650 escape a char for uri 2005-08-11 12:40:47 +00:00
Nikos Kouremenos 56461d88dc escape a char for dir 2005-08-11 12:39:50 +00:00
Nikos Kouremenos 2cb711b720 add amissing else 2005-08-11 12:36:32 +00:00
Nikos Kouremenos d0c81a9b8f make launch_file_manager work in windows 2005-08-11 11:44:14 +00:00
Nikos Kouremenos 2b42ba9dda fix a tb 2005-08-10 00:10:43 +00:00
Nikos Kouremenos d082539517 introducing: launch_file_manager() 2005-08-09 22:55:52 +00:00
Nikos Kouremenos 99bf5ba99f moving play_sound and launch_browser_mailer to common/helpers.py 2005-08-09 22:46:13 +00:00
Nikos Kouremenos d2659b2cf4 moving function to right place 2005-08-09 19:15:59 +00:00
Dimitur Kirov 62d54f3df1 added method get_prim_contact_from_list 2005-08-09 17:57:53 +00:00
Dimitur Kirov ed1893ee9b moved convert bytes to common/helpers 2005-08-09 17:27:27 +00:00
Nikos Kouremenos 1f901c3183 is_in_path(name_of_command, return_abs_path = False) 2005-08-09 11:33:56 +00:00
Nikos Kouremenos 6e61913e37 unicode to not be touched by strange locale (just in case) 2005-08-04 22:09:33 +00:00
Nikos Kouremenos 885b1d9e91 uf_sub, uf_ask and they are translatable too 2005-08-04 22:08:33 +00:00
Nikos Kouremenos 901088484a small logic fix 2005-08-04 19:47:01 +00:00
Nikos Kouremenos 01acc1cf87 put a has 2005-07-22 14:35:34 +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 9fc1516522 we now have contact.chatstate ! 2005-07-22 00:34:08 +00:00
Nikos Kouremenos 74b33c7825 nick in MUC and resource can have / 2005-07-19 13:59:26 +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
Yann Leboulanger daefea0150 function moved to helpers.py 2005-07-02 12:36:21 +00:00