Commit Graph

1661 Commits

Author SHA1 Message Date
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 e1cb38d8e3 in windows hide apps_frame from prefs window 2005-08-11 11:41:50 +00:00
Nikos Kouremenos 726aa7ce7b typos and cleaner strings in atk strings that dkirov has added; pot/po update (some fuzzing sorry..) 2005-08-10 22:26:07 +00:00
Nikos Kouremenos 95b13c37e4 use correct _ for clean up 2005-08-10 22:06:33 +00:00
Dimitur Kirov 80fc80b62c gtk.Button.set_image not available on
pygtk < 2.6
2005-08-10 21:49:51 +00:00
Nikos Kouremenos 6dc0759243 fix tb 2005-08-10 19:34:58 +00:00
Nikos Kouremenos ea704fc426 fix english typos 2005-08-10 19:10:58 +00:00
Yann Leboulanger 9f0b1e50cd roster now shows the correct state image 2005-08-10 17:26:43 +00:00
Dimitur Kirov d220cde8cd removed useless code 2005-08-10 16:01:40 +00:00
Dimitur Kirov 0f88bd4817 added continue menuitem in FT popup menu 2005-08-10 16:01:13 +00:00
Dimitur Kirov d925c53d6b buttons sensitiveness now works 2005-08-10 16:00:39 +00:00
Dimitur Kirov 73c5eb3dd2 proper disconnect routines 2005-08-10 15:59:55 +00:00
Yann Leboulanger 8393d9e5fd we can now create a new account 2005-08-10 11:52:37 +00:00
Nikos Kouremenos 1fa4f8cdf4 [Fabian Neumann] if type is boolean when double click in advanced window just toggle value 2005-08-10 00:56:18 +00:00
Nikos Kouremenos 2b42ba9dda fix a tb 2005-08-10 00:10:43 +00:00
Dimitur Kirov 637351b3b6 bound contextmenu to the file list 2005-08-10 00:05:41 +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 9f7720edfd glade small fix 2005-08-09 22:13:39 +00:00
Yann Leboulanger c1ba76286e we can now retrieve our vcard 2005-08-09 20:33:21 +00:00
Nikos Kouremenos e7498bca12 notify_on_all_muc_messages advanced option 2005-08-09 19:56:49 +00:00
Yann Leboulanger 6b9c37f40b when we split/merge gc windows, we also save the list of contacts and the connected state 2005-08-09 19:24:44 +00:00
Nikos Kouremenos d2659b2cf4 moving function to right place 2005-08-09 19:15:59 +00:00
Dimitur Kirov e418a3e02d added context menu for FT window 2005-08-09 19:00:19 +00:00
Yann Leboulanger c61c33765f here is a mutex for events_for_ui:
threads and main thread won't conflict
2005-08-09 18:45:16 +00:00
Dimitur Kirov bd7d629140 fixed priority comparison and corrected widget
reflection on the new button name
2005-08-09 17:58:50 +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 9c2b9e4b58 cancel not stop for ft window 2005-08-09 17:21:40 +00:00
Yann Leboulanger d0eb029f74 connection.pt doesn't send events to ui: it just put it in gajim.events_for_ui[account]
gui read this queue
(mutex will come)
2005-08-09 17:21:35 +00:00
Dimitur Kirov 016d70d7da show correct status in toooltip, display name,
instead of jid in popup notification
2005-08-09 17:15:45 +00:00
Nikos Kouremenos cd024055a9 fix logic (for seperator now only use gtk.SeparatorMenuItem()) 2005-08-09 16:33:45 +00:00
Nikos Kouremenos d7f14f8f59 fix order to have first the daemons for sound 2005-08-09 16:13:50 +00:00
Nikos Kouremenos 48f735d287 fix a tb 2005-08-09 15:37:11 +00:00
Nikos Kouremenos 49bbb10134 we now have file manager too in enviroment;pot/po update 2005-08-09 15:30:45 +00:00
Dimitur Kirov af52ebd127 File transfer completed shows to, when you are
sender
2005-08-09 15:29:45 +00:00
Yann Leboulanger 5a9bb51f97 threads don't send event to gui if connection succeed, thay are in a queue 2005-08-09 15:28:32 +00:00
Dimitur Kirov 4df50b17ee adedde prefix ft_ for proxy65 options 2005-08-09 14:53:33 +00:00
Nikos Kouremenos 33d86277ff fix identation 2005-08-09 13:35:05 +00:00
Nikos Kouremenos 2eb945a7b1 fix a TB 2005-08-09 13:27:31 +00:00
Dimitur Kirov 2bc8bcf482 fixed logic errors in FT and proxies 2005-08-09 11:38:11 +00:00
Nikos Kouremenos 31365c33ab 'aplay', 'play', 'esdplay', 'artsplay' detected first time only 2005-08-09 11:34:36 +00:00
Nikos Kouremenos 341e060a91 use is_in_path 2005-08-09 11:34:16 +00:00
Nikos Kouremenos 1f901c3183 is_in_path(name_of_command, return_abs_path = False) 2005-08-09 11:33:56 +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 07fecda486 catch and pass on exception of pixbufloader 2005-08-08 23:06:48 +00:00
Nikos Kouremenos 872db9fb6b strings fix, german po is somehow new, pot/po 2005-08-08 21:54:36 +00:00
Nikos Kouremenos 251d5402a1 fix logic 2005-08-08 21:12:58 +00:00
Nikos Kouremenos c6166f3cc2 some last minute fixes in strings 2005-08-08 21:11:59 +00:00
Nikos Kouremenos 39c52dbba5 po/pot and a string fix in glade 2005-08-08 19:23:49 +00:00
Nikos Kouremenos 69086350ca all chatstates by default (via ui it can be changed) 2005-08-08 18:06:58 +00:00
Nikos Kouremenos a2d11cec00 switch-tab sends inactive to bg tabs, so no need to try and send inactive in all tabs when focus out. no debug now. ready to 0.8pre1!! 2005-08-08 18:06:12 +00:00
Nikos Kouremenos fe8ddfcfaf debug instead of print for pre1 2005-08-08 16:57:41 +00:00
Nikos Kouremenos f9e3223d76 if one tab, make sure you show the name and not Chat or Groupchat 2005-08-08 16:42:30 +00:00
Yann Leboulanger 613d999ca1 gtk doesn't use threads 2005-08-08 16:04:11 +00:00
Yann Leboulanger e30ae90f89 fix a TB 2005-08-08 16:02:29 +00:00
Nikos Kouremenos 5aec9060cd remove switch to menuitems in a better way 2005-08-08 15:47:10 +00:00
Dimitur Kirov 028bfbb6f0 reduce chars and lines in helpers 2005-08-08 15:44:22 +00:00
Nikos Kouremenos 73a4bf97e8 fix jep0070 accidental reversion 2005-08-08 15:38:07 +00:00
Yann Leboulanger 8e7ad66056 missing event to popup menu in gc banner 2005-08-08 15:32:58 +00:00
Nikos Kouremenos 63d667484b threads_init() just before gtk.main 2005-08-08 15:14:21 +00:00
Nikos Kouremenos 21bdf27b9c fix typo 2005-08-08 15:00:51 +00:00
Nikos Kouremenos c944035684 [nicfit] jep0070 now works as a charm 2005-08-08 14:56:25 +00:00
Nikos Kouremenos bb949ef623 add a call gjc (for pygtk fame) says we must have 2005-08-08 14:55:19 +00:00
Nikos Kouremenos f202c09213 typo 2005-08-08 14:53:21 +00:00
Nikos Kouremenos 485dc4bcbb reset chatstate of a contact that signed out 2005-08-08 14:43:50 +00:00
Yann Leboulanger 0c64b91de4 no need to knowthe ID to know if it's our vcard 2005-08-08 13:34:48 +00:00
Yann Leboulanger ac36bbf306 presence when we get our vcard also contain our status message 2005-08-08 12:23:51 +00:00
Yann Leboulanger 0fa731445a popup menu is now shown in tabs 2005-08-08 12:21:47 +00:00
Nikos Kouremenos c22777a242 a new proxy for FT (does nothing atm). thanks bmalkow for this proxy 2005-08-08 12:09:29 +00:00
Nikos Kouremenos 0e48321a8b key_press no longer does composing event; insert-text of textbuffer is now responsible 2005-08-08 11:59:34 +00:00
Yann Leboulanger d17c42cbcb contectmenu now works on banner 2005-08-08 10:52:27 +00:00
Nikos Kouremenos 026c8f0bc0 fix a typo in ft code 2005-08-08 10:42:25 +00:00
Nikos Kouremenos ce03d79120 only if shift key is there check after one sec 2005-08-08 10:20:24 +00:00
Nikos Kouremenos 3b0190f5ab make the debug 2005-08-08 09:51:59 +00:00
Nikos Kouremenos 99f1f4acc4 fix a tb until we have the menu working there too 2005-08-08 09:51:48 +00:00
Nikos Kouremenos 857a885f7b just incase a translator does a bad thing 2005-08-08 09:38:09 +00:00
Nikos Kouremenos b0599ba788 kilobyte megabyte etc is 1000 and not 1024. we could use KiB MiB if we want for 1024. more http://en.wikipedia.org/wiki/Kibibyte 2005-08-08 09:30:54 +00:00
Nikos Kouremenos d1b76f0a30 debug() instead of print for pre1 (final will have them removed, also make another check just in case 2005-08-08 09:29:34 +00:00
Nikos Kouremenos ec37afe018 80chars 2005-08-08 09:09:30 +00:00
Yann Leboulanger 6a0113ac2a fix a TB 2005-08-08 07:25:23 +00:00
Yann Leboulanger ce71639c4f no need to send this event 2005-08-08 07:05:00 +00:00
Nikos Kouremenos 587ff07b1a reset kbd and mouse activity vars after going active 2005-08-07 23:44:44 +00:00
Nikos Kouremenos e04cc5add5 set chatstate active when we send a message with body 2005-08-07 23:34:02 +00:00
Nikos Kouremenos f01d93cb8c two prints to assist debuging of logic with peralta 2005-08-07 23:20:54 +00:00
Nikos Kouremenos b164f4a1ea typos and logical fixes for chatstates 2005-08-07 23:04:36 +00:00
Dimitur Kirov 1c8b7c0a09 cut multilined status for pygtk2.4 2005-08-07 22:17:28 +00:00
Dimitur Kirov 7a267eb89a long subject with more than one line 2005-08-07 22:10:29 +00:00
Dimitur Kirov 27658039c2 typo in comments 2005-08-07 21:50:03 +00:00
Yann Leboulanger 04ff1b7f73 typo 2005-08-07 21:46:43 +00:00
Nikos Kouremenos 2d578bb875 remove a line 2005-08-07 21:46:09 +00:00
Dimitur Kirov e8cd8ace7a added help to gettext strings 2005-08-07 21:44:12 +00:00
Yann Leboulanger a7572c4352 we not send sha of our VCARD (JEP 153) in every presences 2005-08-07 21:42:32 +00:00
Nikos Kouremenos 8c86a126cc avoid a TB, and detect better if we were composing 2005-08-07 21:21:23 +00:00
Dimitur Kirov 73138c985e strings fixes 2005-08-07 21:01:21 +00:00
Nikos Kouremenos 5a054fd790 chatstate by default only are about composing. chatstates ready for 0.8 2005-08-07 20:58:44 +00:00
Nikos Kouremenos 94c2922909 work for gtk2.6.9 2005-08-07 20:27:34 +00:00
Dimitur Kirov fef534d8a5 message line don;t get smaller that one line
height
2005-08-07 19:35:12 +00:00
Yann Leboulanger cbbbb4d511 we can now configure font in chat / gc windows 2005-08-07 18:58:36 +00:00
Dimitur Kirov e9d28c9703 show error message on proxy timeout 2005-08-07 18:43:53 +00:00
Yann Leboulanger 6871f8da29 remove unneeded line 2005-08-07 16:43:44 +00:00
Yann Leboulanger fb2b87b8f9 theme window now updated chat windows and theme combobox in preference window 2005-08-07 15:32:35 +00:00
Nikos Kouremenos f1c58e462b gtk.MenuItem() -> gtk.SeparatorMenuItem() 2005-08-07 15:22:51 +00:00
Nikos Kouremenos 9472d318b2 do not send inactive if context menu is shown and fixes in glade (we also now use a dict to connect custom signals) 2005-08-07 15:19:21 +00:00
Dimitur Kirov d313420dda mising 's' 2005-08-07 13:26:03 +00:00
Dimitur Kirov 67319b7008 fix a TB in proxy_auth 2005-08-07 13:24:21 +00:00
Dimitur Kirov 38b9b59916 showing status stopped if not connected 2005-08-07 13:23:17 +00:00
Nikos Kouremenos 838bbfd0b7 better name 2005-08-07 12:55:59 +00:00
Dimitur Kirov f700c53fd9 show file size with 1 unit after the floating
point
2005-08-07 12:55:34 +00:00
Dimitur Kirov 578105a3ef removed useless strings 2005-08-07 12:31:05 +00:00
Dimitur Kirov b8cdf662b4 catch motion_notify_event instead of
enter_notify_event
2005-08-07 12:07:16 +00:00
Dimitur Kirov ff0b206f65 tooltips in FT window 2005-08-07 12:06:24 +00:00
Dimitur Kirov f82af54d0c don;t try to refresh the cache during FT 2005-08-07 12:05:36 +00:00
Nikos Kouremenos 09d9b2b2c4 fix string, coding style 2005-08-07 11:44:50 +00:00
Yann Leboulanger 903a3cc6c7 send status syncronously when we quit GUI 2005-08-07 11:41:20 +00:00
Yann Leboulanger 2d1f629527 we can now send message to online users 2005-08-07 11:40:48 +00:00
Nikos Kouremenos 6e156f95ea more gui working on user wizard [delmonico] 2005-08-07 11:33:34 +00:00
Yann Leboulanger ad510f1d86 typo (thx hellp) 2005-08-07 09:14:50 +00:00
Nikos Kouremenos 1c35ea65f4 class FirstTimeWizardWindow is gui ready thanks to delmonico 2005-08-06 23:39:53 +00:00
Nikos Kouremenos d7d9d91ee1 fixes in glade 2005-08-06 23:39:14 +00:00
Nikos Kouremenos 0807d207d2 fix string 2005-08-06 23:22:57 +00:00
Nikos Kouremenos a09c2bed2f if shift check if sth was written in textview before sending composing 2005-08-06 23:08:05 +00:00
Nikos Kouremenos 390495293c resize, no expand (if huge filename it is not good) [and set_max_with with resize has a bug] 2005-08-06 23:06:31 +00:00
Dimitur Kirov 023a8c6f4b secont hosts list don;t need proxy and fast
tags
2005-08-06 21:43:04 +00:00
Dimitur Kirov d23bb1ffee possible TB on active reply 2005-08-06 21:40:01 +00:00
Dimitur Kirov 3ae4c1e0d4 fixed wrong method call 2005-08-06 21:39:33 +00:00
Yann Leboulanger acb2b33df7 theme manager is here 2005-08-06 21:19:16 +00:00
Dimitur Kirov ed91010872 silly typo 2005-08-06 20:50:47 +00:00
Nikos Kouremenos 996212cb59 resizable 2nd column for FT 2005-08-06 20:49:24 +00:00
Dimitur Kirov ccb0485717 removed partly written code 2005-08-06 20:44:04 +00:00
Nikos Kouremenos fb691080fe fixes for filetransfer dlg 2005-08-06 20:31:15 +00:00
Dimitur Kirov 3290deb238 \ after commas - removed 2005-08-06 20:21:00 +00:00
Dimitur Kirov 1e63f89690 new error messages 2005-08-06 20:20:31 +00:00
Dimitur Kirov e8c27c036d added proxies65_cache for faster work of FT
set file_transfers_proxy to proxy.jabber.org
2005-08-06 20:18:44 +00:00
Nikos Kouremenos 680dace366 send gone chatstate to all tabs if many and we close window holding them 2005-08-06 20:17:45 +00:00
Nikos Kouremenos e3242773f5 add a show_all 2005-08-06 20:16:50 +00:00
Nikos Kouremenos 41239e8d64 advanced menu is in 2005-08-06 19:14:21 +00:00
Dimitur Kirov 650440fc1d rewritten socks5.py, added support for proxy65
connect to host don;t block, FT in both
directions if only one real ip, or proxy
2005-08-06 16:31:41 +00:00
Dimitur Kirov d82dab9fbf handle socks5 error replies 2005-08-06 16:18:25 +00:00
Dimitur Kirov 0a0eaa6067 more messages for FT 2005-08-06 16:16:40 +00:00
Yann Leboulanger d00a039ba6 we can now configure autoaway/xa messages 2005-08-06 15:17:20 +00:00
Yann Leboulanger 5177472406 here is the OLD way to implement MOTD. It's not the JEP-133 way 2005-08-06 12:33:20 +00:00
Nikos Kouremenos 252251949f remove a print 2005-08-06 10:22:11 +00:00
Nikos Kouremenos de46aeaa08 when new_chat give the oontact with higher priority not the first resource 2005-08-06 10:20:04 +00:00
Yann Leboulanger 11e85d4984 clean some var when we destroy a group chat window 2005-08-06 10:15:56 +00:00
Yann Leboulanger e05c6de71f add a debug message 2005-08-06 10:11:02 +00:00
Yann Leboulanger 55dcc3e8bb create LOGPATH folder if it doesn't exists and ~/.gajim exists 2005-08-06 09:33:48 +00:00
Yann Leboulanger 5cca92fb4e xml console is now hidden instead of destroyed, has an enable checkbutton and a clear button, and scroll to the end if we was at the end 2005-08-06 00:38:24 +00:00
Yann Leboulanger 2187606bc8 we don't raise exception 2005-08-05 23:47:41 +00:00
Yann Leboulanger 37a315ac9d xml console now print everything that is sent/received 2005-08-05 23:43:28 +00:00
Nikos Kouremenos d04ae286ae fix string 2005-08-05 15:46:34 +00:00
Nikos Kouremenos f047663bf8 we now use wiktionary by defualt. dictionary and web search url accepts %s and checks if it exists before operating as expected 2005-08-05 15:42:55 +00:00
Nikos Kouremenos a0e7df5961 typo 2005-08-05 15:15:31 +00:00
Nikos Kouremenos 08b1d56a7a better page to look for wikipedia results 2005-08-05 14:55:42 +00:00
Nikos Kouremenos 3ef05fb5cc small fix 2005-08-05 14:15:31 +00:00
Yann Leboulanger 6f6d5c0dcc JEP70 support (thx nicfit !) 2005-08-05 13:29:39 +00:00
Nikos Kouremenos fbd2633695 use %s 2005-08-05 12:40:32 +00:00
Nikos Kouremenos e0f766de1c mark strings for transl 2005-08-05 12:33:50 +00:00
Nikos Kouremenos eb8f585fe8 typo 2005-08-05 10:30:22 +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
Nikos Kouremenos 53428f85ad remove a fixme 2005-08-04 23:29:41 +00:00
Nikos Kouremenos 6ff5643ce2 autodetect for links now should work 2005-08-04 23:11:55 +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
Yann Leboulanger a113db8b0b don't open a new tab with the same name if we already have one that is disconencted 2005-08-04 21:14:43 +00:00
Yann Leboulanger d6e02e5839 typo 2005-08-04 20:33:00 +00:00
Yann Leboulanger 899396bc90 all incomming stanza are printed in xml console
need much more work (out going stanza ...)
2005-08-04 20:32:38 +00:00
Nikos Kouremenos fa5ddbe498 better and translatble strings 2005-08-04 19:48:57 +00:00
Yann Leboulanger 967de6a187 requested contacts have no status message 2005-08-04 19:47:58 +00:00
Nikos Kouremenos 901088484a small logic fix 2005-08-04 19:47:01 +00:00
Yann Leboulanger 3f5d93a8df not in the roster contacts don't have status message 2005-08-04 19:44:09 +00:00
Yann Leboulanger ab3263c5ba fix TB 2005-08-04 17:05:39 +00:00
Nikos Kouremenos ecb476d796 action button in TC now is functional 2005-08-04 14:57:36 +00:00
Nikos Kouremenos a7f5b83735 history button is gone. we now have actions button. to do that. TC needs the code for that. we also have history in GC occupants contact now 2005-08-04 14:30:41 +00:00
Nikos Kouremenos cf260d18b2 add to roster menuitem in context menu of banner is now visible and only when needed. switch to removal was rewritten to remove position of childs 2005-08-04 12:46:31 +00:00
Dimitur Kirov 1b1d56d4cb removed debug strings 2005-08-04 11:18:26 +00:00
Dimitur Kirov a9d00f7412 show FT window if autopup(away) is set
ask on file exists
2005-08-04 11:17:16 +00:00
Dimitur Kirov 3ab41b7e87 removed prints, reformated code,
decreased write intencity
2005-08-04 11:16:28 +00:00
Yann Leboulanger d5e09e98b5 send_button and message_textview are insensitive when we are not connected to gc 2005-08-04 11:14:52 +00:00
Yann Leboulanger b287327dd8 don't show tabs when there is only one tab 2005-08-04 11:04:41 +00:00
Nikos Kouremenos 834f90ff5a disconnection is a heavy thing. we should always inform the user. so informing him on keepalive-related disconnection 2005-08-04 10:56:47 +00:00
Yann Leboulanger bfca18b3a9 bugfix with DND when we mergeaccout or have only one account 2005-08-04 10:43:02 +00:00
Yann Leboulanger 6b26a5d332 when we right click on a tab, we switch to it, so popup menu item are correct :) 2005-08-04 09:42:34 +00:00
Dimitur Kirov d56ba58149 added debug messages 2005-08-04 08:59:03 +00:00
Dimitur Kirov b2242b9b01 set the correct sensitiveness 2005-08-04 07:23:31 +00:00
Dimitur Kirov 284160c5b2 use non blocking sockets everywhere in FT 2005-08-04 07:23:14 +00:00
Yann Leboulanger b88922f30c fix 2 TB (fix #640) 2005-08-03 21:27:26 +00:00
Dimitur Kirov 4de1ac6e46 removed button became inactive if there are
no selected rows
2005-08-03 21:11:46 +00:00
Dimitur Kirov 9aae8dadbb file transfer port is kept inthe config 2005-08-03 21:10:59 +00:00
Yann Leboulanger 3aa9a9a830 fix a TB 2005-08-03 19:42:26 +00:00
Yann Leboulanger ba796be13b fix a TB 2005-08-03 19:37:23 +00:00
Yann Leboulanger 9348bb4b99 don't show account row if we have only one account 2005-08-03 19:31:16 +00:00
Dimitur Kirov fb512e63be bind to any 2005-08-03 16:53:29 +00:00
Dimitur Kirov 0bb1dd8a5f missing 'N' in transfer 2005-08-03 16:53:04 +00:00
Dimitur Kirov 5c95785ffd stop transfer on error accept socket 2005-08-03 16:52:45 +00:00
Dimitur Kirov e7536c0679 show disconnected, when recipient rejects
transfer
2005-08-03 16:21:23 +00:00
Nikos Kouremenos 148db88343 close button for file transfer dialog as default; Ctrl+T and file transfers menuitem in roster 2005-08-03 15:59:44 +00:00