Commit Graph

167 Commits

Author SHA1 Message Date
Nikos Kouremenos ca60bacdb5 code optimization: tupples not lists in stuff like: 'if foo in [abc]' etc 2005-10-27 13:15:03 +00:00
Yann Leboulanger 726640ef4b the old self.plugin variable becomes gajim.interface, no need to pass it to every functions/classes 2005-10-20 11:17:17 +00:00
Yann Leboulanger 9d42d10853 file-stopped and file-completed can be saved in awiting_events queue 2005-10-19 21:14:51 +00:00
Yann Leboulanger af7fef5ec1 file-send-error can now be added to the awaiting queue 2005-10-19 20:16:22 +00:00
Yann Leboulanger 314fd4a8bf file-request-error can now be saved in the awaiting_events queue
better code to handle all these events
2005-10-18 20:30:26 +00:00
Yann Leboulanger 63c1d3d3f0 file transfer request can now be stored in awaiting_events queue and recalled from roster / filetransfer / popup notification 2005-10-18 09:07:52 +00:00
Yann Leboulanger 77cb852057 single messages are well handled: they are saved in awaiting_events if needed and are printed when we dubble click a contact row, or systray or popup window 2005-10-16 13:18:34 +00:00
Yann Leboulanger 7dffeb86df change status message in status combobox and in systray now concern only accounts that have sync_with_global_status True 2005-10-10 19:10:59 +00:00
Nikos Kouremenos 3e0e623e9a fix code quality. if user presses Cancel in Status change dialog do not set the new status; add comments to code, make it cleaner (use 'SEPARATOR' and not '' for string for combobox; HIG (add ... to finish menuitems that need it and add a missing mnemonic) 2005-10-09 22:24:18 +00:00
Nikos Kouremenos a0e5a45ff2 HIG says menuitems are Header 2005-10-09 18:52:57 +00:00
Nikos Kouremenos 708b9d5d6d use better image for rename/changing status (generally means: you have to type new string). thanks Bernhard Walle 2005-10-09 18:45:03 +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
Nikos Kouremenos e3b340a430 fix a fixme 2005-09-25 18:37:50 +00:00
Yann Leboulanger 63449d5f9d remove unusefull code 2005-09-24 09:59:34 +00:00
Yann Leboulanger 63c890da2b systray.add_jid and systray.remove_jid now have another argument: the typ of message: ('gc' or 'chat' or 'single_chat' or 'pm')
systary now can handle pm messages
2005-09-24 09:42:10 +00:00
Nikos Kouremenos 6c57428cbe fix identation 2005-08-29 22:25:48 +00:00
Nikos Kouremenos 12b190e98c win32: put hide this menuitem on top 2005-08-29 20:47:26 +00:00
Nikos Kouremenos 5bef7f8c9c [win32 only] add a menuitem to hide context menu of trayicon 2005-08-26 14:36:20 +00:00
Nikos Kouremenos 9c05382fc5 trayicon for windows is 100% ready 2005-08-16 20:24:56 +00:00
Nikos Kouremenos 6b57a5472a logic fix 2005-08-15 19:52:18 +00:00
Nikos Kouremenos 177a4c76de moving tooltips code to tooltips.py; moving ft_window to ft_window.py 2005-08-14 23:52:12 +00:00
Nikos Kouremenos 20ac157556 more OO for systraywin32 2005-08-11 13:46:37 +00:00
Nikos Kouremenos b4ae315349 inital code for systray in windows is commited. it is disabled for 0.8 atm because it needs more love. I commit because I hope to fix soon (or else 0.8 will not load it so it is ok) 2005-08-11 13:20:46 +00:00
Nikos Kouremenos cd024055a9 fix logic (for seperator now only use gtk.SeparatorMenuItem()) 2005-08-09 16:33:45 +00:00
Nikos Kouremenos f1c58e462b gtk.MenuItem() -> gtk.SeparatorMenuItem() 2005-08-07 15:22:51 +00:00
Dimitur Kirov 830f414b4a removed useless code 2005-07-31 19:32:06 +00:00
Dimitur Kirov f4bacf0989 tooltip positioning... base tooltip class...
custom tooltip in notif. area
2005-07-31 19:21:11 +00:00
Nikos Kouremenos 7a8690904e avoid draw seperate bg color in some gtk themes for trayicon eventbox 2005-07-30 10:06:58 +00:00
Dimitur Kirov 990a7f62d7 bug with the status icon and number of accounts 2005-07-30 09:09:47 +00:00
Dimitur Kirov f47e7d5887 tooltip in notification area shows
status & message for all active accounts
2005-07-30 00:20:28 +00:00
Yann Leboulanger b08b8402c1 delete new_message_handler_id beofre we build the menu 2005-07-21 06:25:49 +00:00
Yann Leboulanger b14b33fb1b fix some bug thanks to pychecker 2005-07-19 20:12:02 +00:00
Yann Leboulanger a47cca07f0 move var that have nothing to do with GTK to gajim instead of roster or gajim.py: contacts, groups, newly_added, to_be_removed, awaiting_messages (was queues), nicks, allow_notifications, con_types, sleeper_state 2005-07-18 21:08:31 +00:00
Yann Leboulanger 9868f23c16 we now scroll to end we we click on systray icon nad have a message 2005-07-18 13:42:15 +00:00
Nikos Kouremenos e2a3c1121a Transports string is now marked for translation 2005-07-07 17:25:04 +00:00
Nikos Kouremenos a231b1fd16 menu suck when they reposition 2005-07-04 21:30:35 +00:00
Nikos Kouremenos d72a25788a trayicon now displays are status if we have no messages 2005-07-01 17:15:01 +00:00
Yann Leboulanger b9259399be bugfix: we need to re-create images when we create a menu 2005-06-20 19:18:53 +00:00
Yann Leboulanger 9fc4e790e8 we know have icons in systray submenu 2005-06-20 17:45:04 +00:00
Nikos Kouremenos 58d243417b nothing 2005-06-19 13:12:21 +00:00
Nikos Kouremenos d3183f10dd use set_active_tab in a place we did not [liorithel] 2005-06-18 11:41:29 +00:00
Nikos Kouremenos 65d1ac199e adding prefs in tryaicon menu 2005-06-15 11:14:59 +00:00
Nikos Kouremenos 3d59234f7f class name Foo_widgettype becomes FooWidgettype so we now look 100% pygtkish [sed rocks] 2005-06-10 21:14:16 +00:00
Nikos Kouremenos 255c4784b7 changing a bit the behaviour for left clicking trayicon, old behavior now in middle click 2005-06-07 13:34:25 +00:00
Nikos Kouremenos ea4eca20b3 typo 2005-06-06 23:42:31 +00:00
Nikos Kouremenos 47e3fd3ddc applying a patch by alfudio [sorry if wrong nick] 2005-06-06 22:51:10 +00:00
Yann Leboulanger f3d36d9d80 status -> show
we cannot join a gc twice at the same time with the same account
2005-05-20 16:31:52 +00:00
Nikos Kouremenos 5293788dc1 introducing common/helpers.py where get_uf_status lives [more functions to come there in the future] 2005-05-20 15:58:23 +00:00
Yann Leboulanger 338cb7dd7d re-add event in make_menu function in systray so we can rightclick on it 2005-05-18 12:51:01 +00:00
Yann Leboulanger 9fcb9f1d70 no need of global things in systray.py 2005-05-17 20:31:43 +00:00
Nikos Kouremenos 0393a34a65 removing unnecessary arg in make_menu 2005-05-17 19:23:55 +00:00
Nikos Kouremenos 97aef098bc fixes/cleanups allover:
Basically a traceback a traceback with present()
replace some menuitem strings to be more HIG
introducing /clear and that is all I think
2005-05-13 16:53:30 +00:00
Nikos Kouremenos 27723d1279 fixing #256 2005-05-12 13:52:09 +00:00
Nikos Kouremenos e4dfc6e739 fixing #231 2005-05-06 17:35:57 +00:00
Nikos Kouremenos dd5eaf1ab9 active_tab --> set_active_tab [I also though of a minute to start adding properties eg. foo.set_active_tab(bar) would be foo.tab = bar. if u like that we can see designing like that in the future 2005-05-03 16:39:27 +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
Nikos Kouremenos f288ede1eb making function get_appropriate_state_images() and using this where appropriate 2005-04-23 01:37:05 +00:00
Vincent Hanquez b7c2fdc662 remove too long lines
fix too long variables
etc...
2005-04-22 01:35:36 +00:00
Vincent Hanquez ba5acab7f7 [codingstyle] one space between each + - * / = operator 2005-04-21 23:20:18 +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 42a0b673cc little bug 2005-04-17 16:06:12 +00:00
Yann Leboulanger a722dd4ce4 update systray.py for the new plugin system 2005-04-17 15:23:52 +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 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
Renamed from plugins/gtkgui/systray.py (Browse further)