Commit Graph

802 Commits

Author SHA1 Message Date
Nikos Kouremenos d8d40e0c01 add_jid remove_jid is better coded like that. removal of systrayDummy class [have a look and we can discuss], also have a look at a FIXME, back to detection of http://b) with ) in it, cause http://be?b)b can be valid url 2005-03-29 16:16:42 +00:00
Yann Leboulanger 6b19bc4c74 we need to be offline to change the account's name 2005-03-28 23:14:03 +00:00
Yann Leboulanger 4f62c70a47 remove empty groups when we drag and drop
fix some problems with drag and drop when we merge accounts
2005-03-28 22:17:14 +00:00
Yann Leboulanger 99a64c0735 merge account is applied instantly 2005-03-28 16:15:50 +00:00
Yann Leboulanger d71865324c fix in handler names 2005-03-28 16:10:04 +00:00
Yann Leboulanger e404f1df65 logger fix 2005-03-28 15:19:52 +00:00
Yann Leboulanger b00123c039 bugfix in logger.py 2005-03-28 13:35:08 +00:00
Yann Leboulanger 97d6098491 remove comment (I fill a ticket for that) 2005-03-28 11:05:08 +00:00
Yann Leboulanger a4121119ef do not use changed signal in disco: when we write some thing this signal is emited each time we add / remove a character, so gajim sends many useless requiest
Plz do not use glade 2.10: pygtk2.6 is really not needed atm, and many people don't have it so we must not depend on pytgk2.6 fot the moment
2005-03-28 10:59:52 +00:00
Yann Leboulanger 9d6a1a5dc2 fix the systray bug from ticket 128 2005-03-28 10:45:16 +00:00
Nikos Kouremenos 72e212731c new message dialog fix for title and add to accounts shouldn't list not in the roster. plz see my fixme comment 2005-03-28 01:39:12 +00:00
Nikos Kouremenos d80325510b fixes for ticket 128 2005-03-28 01:20:47 +00:00
Nikos Kouremenos 4e9745b77e code for on_agents_treeview_row_activated and agents --> services 2005-03-28 01:05:28 +00:00
Nikos Kouremenos eadbcdb201 small fix 2005-03-28 00:25:51 +00:00
Nikos Kouremenos 45540743fd on_address_comboboxentry_changed event and code 2005-03-28 00:10:47 +00:00
Yann Leboulanger 11c34f9e24 do not show agents if they are not childs of another agent. It fixs that bug: you ask agents from an account1 and quickly ask agents from another account2, then answer from account1 arrive. They must not be displayed, it's too late. 2005-03-27 23:00:01 +00:00
Yann Leboulanger f1e6a30dcc we can now choose a group when we add a user 2005-03-27 21:35:55 +00:00
Nikos Kouremenos 0efac5ef4d disco menus back to previous, one more tooltip in glade 2005-03-27 21:17:16 +00:00
Nikos Kouremenos 4e3c0a5911 typo 2005-03-27 20:31:46 +00:00
Nikos Kouremenos a1a2e1e3fc eugenia colors as default, fix in makeing menus, and better regexp (doesn't detect http://) anymore) [thanks jajcus] 2005-03-27 20:30:00 +00:00
Nikos Kouremenos 2295a319ce show_all/hide for roster and accounts window, better strings when multiple accounts [has a bug], changelog is better now 2005-03-27 19:39:50 +00:00
Yann Leboulanger ee6fb42258 service_discovery_window is nicer
expand the first row
2005-03-27 18:02:23 +00:00
Yann Leboulanger 936a8392d5 browse agent -> Service discovery 2005-03-27 18:01:41 +00:00
Yann Leboulanger 189a134722 service discovery is now asynchronous, we can send and receive other messages while we browse agents (YEAH !) 2005-03-27 10:31:26 +00:00
Yann Leboulanger aa17bb46f4 limit the list of saved address to 10 2005-03-27 09:19:06 +00:00
Yann Leboulanger 2440f0145f the agents are now borwsed only when we expand the row in the Service_discovery_window
we can now browse all jabber servers
save the last server discovered
2005-03-27 09:08:31 +00:00
Yann Leboulanger 82219f71a7 remove unneeded comments 2005-03-27 08:41:09 +00:00
Yann Leboulanger f2e07f4f77 do not crash if we get an empty message 2005-03-27 08:40:42 +00:00
Yann Leboulanger b40a87922e activate the tab when we create a new groupchat 2005-03-27 08:40:01 +00:00
Yann Leboulanger ccc95f46db glade fix: no need of a vbox in a vbox 2005-03-27 08:38:58 +00:00
Yann Leboulanger 23b8c1faa9 always create self.tip even if show_icon is never called 2005-03-27 08:38:26 +00:00
Nikos Kouremenos 5216a4bb6b ficking ticket 119. 115 and resizing problems that we had with edit groups dialog (now resizes very nicely) 2005-03-26 20:46:23 +00:00
Nikos Kouremenos 714119dbe6 finally up 2005-03-26 21:09:49 +00:00
Nikos Kouremenos 2463197d4f save button has focus and svn says 0.6.1 as version 2005-03-23 14:25:56 +00:00
Yann Leboulanger cb65574c24 give the focus to the account name when we open the accout modification window 2005-03-23 13:43:11 +00:00
Nikos Kouremenos a425908513 fixes in glade, and some other stuff 2005-03-23 13:25:48 +00:00
Yann Leboulanger db818cdace the GUI is a bit more HIG-compliant like that (Thanks Eugenia) 2005-03-23 10:41:27 +00:00
Yann Leboulanger 1cac89ebde some string to translate 2005-03-22 19:02:27 +00:00
Yann Leboulanger 7793eb2c98 do not print a traceback if the configured application does not exists 2005-03-22 10:13:32 +00:00
Yann Leboulanger ec0950075f show the number of unread messages in the systray tooltip 2005-03-21 23:14:27 +00:00
Yann Leboulanger 068d75dbc1 upgrade the systray variable when we change an account name 2005-03-21 22:41:30 +00:00
Yann Leboulanger bc721f5b1f purge the nb_unread variabl when we close a tab 2005-03-21 22:06:34 +00:00
Yann Leboulanger 2b30c63163 upgrade the account variable in opened chat / groupchat / information windows 2005-03-21 21:52:54 +00:00
Yann Leboulanger c231084e18 initialize the ignore_messages_from_unknown_contacts checkbutton in preferences window 2005-03-21 21:01:03 +00:00
Nikos Kouremenos 73310eaa58 glade fixes 2005-03-21 20:51:17 +00:00
Nikos Kouremenos 11f918e944 glade fixes & tooltips allover 2005-03-21 13:22:18 +00:00
Nikos Kouremenos 3fed5a8e7b gajim_window now is roster_window 2005-03-21 12:34:20 +00:00
Yann Leboulanger 8224f38256 do not show the roster widows before it is positionned 2005-03-21 09:27:10 +00:00
Yann Leboulanger cef48f8b1e do not change the systrayicon to new_message when we send a message in GC window 2005-03-20 21:04:13 +00:00
Yann Leboulanger 32a809da5f bugfix 2005-03-20 17:14:55 +00:00
Yann Leboulanger 843f59b463 bugfix: little typo 2005-03-20 09:47:15 +00:00
Nikos Kouremenos 29f1b9e1bd nothing 2005-03-20 01:30:27 +00:00
Nikos Kouremenos 5c956fb8b6 gc does change change cursor now on links 2005-03-19 15:14:34 +00:00
Yann Leboulanger 33c2c02cde remove empty groups from roster.groups dict 2005-03-19 11:32:29 +00:00
Nikos Kouremenos 76b902c148 fix 2005-03-18 01:28:59 +00:00
Nikos Kouremenos c40f8a3159 use KP_ENTER too as enter. thanks to '#xev' 2005-03-18 01:25:11 +00:00
Nikos Kouremenos ec7e22fdfb markup needs set_markup and not set_text and some other minor fixes 2005-03-18 00:47:50 +00:00
Yann Leboulanger 266cff9d3b do not ask the offline status message when we quit Gajim if all accounts are already offline 2005-03-17 18:01:06 +00:00
Yann Leboulanger 4f9c61657e edit dialog windows code is now available 2005-03-17 17:41:09 +00:00
Yann Leboulanger 68d0f517fb ask our offline status (is configured) when we quit Gajim 2005-03-17 09:33:57 +00:00
Nikos Kouremenos ec5c1269e7 nothing 2005-03-17 00:53:13 +00:00
Yann Leboulanger 538662ccfc change the subject in the subject_entry when we switch page in groupchat window 2005-03-16 21:10:55 +00:00
Yann Leboulanger 7bf9322293 typo in a name 2005-03-16 21:08:58 +00:00
Yann Leboulanger b9bdb1c98b already in chat.py 2005-03-16 20:59:42 +00:00
Nikos Kouremenos 608d3542d0 yann have a look 2005-03-16 20:48:56 +00:00
Yann Leboulanger 7f5822ea92 Ctrl/Shift+PageUp/Down and Ctrl+Tab now work when the focus is on the message_textview 2005-03-16 19:57:32 +00:00
Yann Leboulanger 5fcae5b06d little bugfix 2005-03-16 19:04:20 +00:00
Yann Leboulanger 9d49c12dea when we press a "normal" key and message_buffer doesn't have the focus, we give it the focus, and we send it the event 2005-03-16 18:35:53 +00:00
Yann Leboulanger b0060e71f6 little bugfix 2005-03-16 18:02:10 +00:00
Yann Leboulanger c8077781c9 print_conversation is now mainly in chat.py, so groupchat has url detection and emoticons support 2005-03-16 17:22:20 +00:00
Nikos Kouremenos 75fb6ac1f7 fixes allover 2005-03-16 17:08:38 +00:00
Yann Leboulanger fd836e2a6d "the best" is a bit pretentious 2005-03-16 14:04:43 +00:00
Yann Leboulanger fc42e0407a do not resize the message_textview in groupchat window when we resize the group chat window 2005-03-16 14:00:51 +00:00
Yann Leboulanger 5bbc5709ae do not resize the message_textview when we change the size of the window in tabbed chat window 2005-03-16 13:58:08 +00:00
Yann Leboulanger ed0213b441 wrong variable name 2005-03-16 13:48:35 +00:00
Yann Leboulanger caee2945d1 groups general -> General
agents are now in Agents group, even if the server tells us it's in another group
2005-03-16 13:40:10 +00:00
Yann Leboulanger fa68a12725 Core now sends ERROR instead of WARNING 2005-03-16 13:25:44 +00:00
Nikos Kouremenos 15c0b71bf8 better about dialog 2005-03-16 02:16:29 +00:00
Nikos Kouremenos 9e91c026b8 I tried to make gajim more HCI friendly. ERRORS use Error dialog and not warning dialog. Need core implementation too. Also other fixes. plz see a comment for you yann (sre) 2005-03-16 01:27:37 +00:00
Nikos Kouremenos ab1e1a09fb I just hide() for trayicon clicking and stuff. KISS :P and works everywhere 2005-03-16 00:03:45 +00:00
Yann Leboulanger 069abbd00b do not try to send a message if we are not connected 2005-03-15 21:37:02 +00:00
Yann Leboulanger 1246126276 code for merging and spliting chat windows (this code does not work, if anyone has an idea ... ) 2005-03-15 21:06:59 +00:00
Yann Leboulanger a1f7e8751c no need to have a so large preference window 2005-03-15 20:30:54 +00:00
Yann Leboulanger b139b3939e do not ask status message if we don't autoconnect 2005-03-15 20:01:04 +00:00
Yann Leboulanger 739c1657dd when we autoconnect, ask the status message if ask_online_status is set in the preferences 2005-03-15 19:51:48 +00:00
Yann Leboulanger ac17b23836 upgrade trayicon module from gnome-python-extra 2005-03-15 19:26:56 +00:00
Nikos Kouremenos 1d4eb1aadb we've got a beta tester :P 2005-03-15 17:43:41 +00:00
Nikos Kouremenos e9e6cf8d71 test fix 2005-03-15 15:57:47 +00:00
Nikos Kouremenos b102752cab fixes 2005-03-15 14:21:09 +00:00
Nikos Kouremenos a54df94bf7 entry in passphrase dialog activates default 2005-03-15 12:55:03 +00:00
Yann Leboulanger 5e500199cd roster window a bit less large 2005-03-15 10:39:47 +00:00
Yann Leboulanger 02e112dab1 another status is possible: connecting
remove some ugly hack for autoconnection
2005-03-15 10:20:10 +00:00
Nikos Kouremenos ca71df0bf9 bugfix in status in systray icon 2005-03-15 02:33:29 +00:00
Nikos Kouremenos 2ac7183555 trying to remove from taskbar when having systray clicked. In XFCE4 it doesn't work atm 2005-03-15 01:05:28 +00:00
Nikos Kouremenos 607dd00a0c popup menu via glade to have images 2005-03-15 00:40:08 +00:00
Yann Leboulanger 9423915012 little bugfix 2005-03-14 22:26:02 +00:00
Yann Leboulanger 96c97295e1 gtk.check_version() checks the GTK version, not the pygtk version 2005-03-14 21:51:25 +00:00
Yann Leboulanger 3bac6caec3 regreat the regex when we add a new emoticon 2005-03-14 21:46:55 +00:00
Yann Leboulanger 0c9a88e989 if we don't use pygtk2.6: no about dialog 2005-03-14 20:21:49 +00:00
Vincent Hanquez 9b54e1e7c9 don't run anything when the soundplayer command is empty.
use spawn for fork/execve
2005-03-14 18:59:27 +00:00
Yann Leboulanger c5da20f12a remove the Help menu in order to be able to have the roster window less large 2005-03-14 18:39:13 +00:00
Yann Leboulanger ac2510ce93 bugfix in menuitems : when we pass from 2 accounts to 1 account, we must remove the submenus 2005-03-14 18:23:50 +00:00
Yann Leboulanger 45f278a177 little bugfix 2005-03-14 17:39:18 +00:00
Nikos Kouremenos d4fc3f4bf1 better popup 2005-03-14 17:30:52 +00:00
Yann Leboulanger 423240e352 open the mailer or browser when we press the button and not when we release it 2005-03-14 17:04:46 +00:00
Nikos Kouremenos 45d3c05f13 support trayicon from pythongnomeextras too 2005-03-14 13:25:34 +00:00
Nikos Kouremenos bbfc49bad9 one depth formatting combinations are ready 2005-03-14 01:02:59 +00:00
Nikos Kouremenos d10111675b nothing part 2 2005-03-13 22:03:14 +00:00
Nikos Kouremenos 33fb7ea8b4 nothing 2005-03-13 21:10:39 +00:00
Yann Leboulanger 9fb59ca4a0 bugfix 2005-03-13 20:30:53 +00:00
Nikos Kouremenos f0d77e7c1a Code is cleaner & faster now. Hope I didn't introduce any bugs. Next step: combine *EVERYTHING* not just formatting ;P. I rewrote the algo for that in recursion, and u'll see it in the next commit I hope 2005-03-13 17:04:57 +00:00
Yann Leboulanger e5f9884867 bugfix: when there is no selected text textbuffer.get_selection_bounds() return () 2005-03-13 08:52:48 +00:00
Yann Leboulanger d9377d6aae typo 2005-03-13 08:51:34 +00:00
Yann Leboulanger cfd108bffc bugfix in about dialog: destroy it when we press close 2005-03-12 23:48:08 +00:00
Yann Leboulanger 5b1d708484 bugfix in about window 2005-03-12 23:43:17 +00:00
Yann Leboulanger 4cf50119cb new translatable words 2005-03-12 23:14:00 +00:00
Yann Leboulanger 827556e679 more beautifull like that :) 2005-03-12 23:13:25 +00:00
Yann Leboulanger 6450b356f4 no need of that print 2005-03-12 23:03:37 +00:00
Yann Leboulanger 3967d11750 groupchat window is now also a subclass of chat class 2005-03-12 21:30:50 +00:00
Yann Leboulanger c1a075785b fix: when we select some text and release the button on a tagged text, do not open url 2005-03-12 19:52:34 +00:00
Yann Leboulanger 4a67797ca7 init this widget in the __init__ function (init_account is not called when we create a new account) 2005-03-12 18:21:49 +00:00
Yann Leboulanger 7bf83a3d71 no need to save that here, it is done later in the function 2005-03-12 18:18:52 +00:00
Yann Leboulanger 3ea5670d8f tabbed_chat_window class is now a subclass of chat class (groupchat_window will soon be also) 2005-03-12 18:12:15 +00:00
Yann Leboulanger 6471ac26b8 we want to save 0 or 1, not True or False 2005-03-12 17:18:33 +00:00
Nikos Kouremenos 971e71c304 nothing special 2005-03-12 16:19:52 +00:00
Nikos Kouremenos 6b8203916f ticket 86 remains 2005-03-12 15:50:13 +00:00
Yann Leboulanger 9aea41330b little bugfix 2005-03-12 08:25:45 +00:00
Yann Leboulanger dfecd6578a close button in tabs 2005-03-12 00:42:57 +00:00
Yann Leboulanger fc696dc4d0 one missing import 2005-03-12 00:01:12 +00:00
Nikos Kouremenos bebb95ff77 fixed a typo that prevented _*underline*_ to be underlined [for the moment what's outside counts 2005-03-11 22:52:28 +00:00
Yann Leboulanger 86be102917 some missing import 2005-03-11 19:51:46 +00:00
Yann Leboulanger 05633204ef no need to have it global here 2005-03-11 18:04:33 +00:00
Yann Leboulanger dc2b9d741b bugfix in url finding 2005-03-11 18:01:38 +00:00
Yann Leboulanger c89b98585c split gtkgui into sevral files 2005-03-11 17:57:35 +00:00
Nikos Kouremenos f26ba59b0a cleaner regexp 2005-03-11 16:24:04 +00:00
Yann Leboulanger 737fcfe414 the sync_with_global_status option now works 2005-03-11 15:23:47 +00:00
Yann Leboulanger 15ccd4edcc print special chars even in /me lines 2005-03-11 14:33:11 +00:00
Nikos Kouremenos 6f483ca257 use regexp lookbehind assertions, workarounds go to hell. thanks jajcus once again 2005-03-11 13:54:02 +00:00
Yann Leboulanger c489298377 ctrl+c now works in conversatin_textview 2005-03-11 13:44:27 +00:00
Yann Leboulanger fd69700144 authorize right click in conversation_textview when it's not on a tagged text 2005-03-11 13:11:30 +00:00
Nikos Kouremenos 3b876f4e77 emoticons work now 2005-03-11 12:55:38 +00:00
Nikos Kouremenos a833209a9b I f*cking have it! _yuppie_ dont*bold* work :P. Next step is combine the formatting 2005-03-11 02:35:54 +00:00
Nikos Kouremenos d99e1a8e1a new message never worked with a single dialog! works now 2005-03-11 01:31:07 +00:00
Nikos Kouremenos eae0bdc4e0 tried some stuff. yann plz have a look at the window.present() and at the stuff with sync_with_global_status [used to be active]. I'm close I think :P 2005-03-11 01:10:30 +00:00
Nikos Kouremenos 37e75cb84f fixes 2005-03-11 00:32:41 +00:00
Yann Leboulanger ac84e25dcb typo 2005-03-11 00:31:15 +00:00
Yann Leboulanger df9b1de0da remove the use of string module in logger.py 2005-03-11 00:13:21 +00:00
Yann Leboulanger 4bed9c30b1 code the ignore messages from contacts not in the roster option 2005-03-10 23:45:10 +00:00
Yann Leboulanger 3b4a2f748a force the infos = {} when we call Account_modificaion_window
print special words in status messages
2005-03-10 23:21:30 +00:00
Nikos Kouremenos f38048904c this is half the emoticons list. all caps now 2005-03-10 22:53:40 +00:00