Commit Graph

3680 Commits

Author SHA1 Message Date
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