Commit Graph

180 Commits

Author SHA1 Message Date
Nikos Kouremenos f8e54519ad nothing 2006-08-27 15:44:39 +00:00
Nikos Kouremenos 7abacab6a4 fix accidental commit 2006-08-27 15:42:36 +00:00
Nikos Kouremenos 89edefc053 default status msg remove bold add border to make it HIG 2006-08-27 15:39:11 +00:00
Yann Leboulanger 75fe384da4 handle advanced notification for new_message event only (without systray / roster / urgency hint that require a event refactorizatin)
use subprocess module as we depend on python2.4
2006-08-26 22:51:33 +00:00
Yann Leboulanger 40efbfd657 don't show tray icon when we don't want to. Fixes #2188 2006-07-28 05:54:46 +00:00
Yann Leboulanger 1ef77d8e5d re-add trayicon to systray when it is destroyed. Fixes #2121 2006-07-26 19:01:01 +00:00
Yann Leboulanger 3895724710 systray now saves unread messages even if it is not enabled (but module is present). Fixes #2134 2006-07-17 21:41:11 +00:00
Yann Leboulanger bc26593974 use gettext.install. Fixes #497 2006-06-15 06:49:04 +00:00
Jean-Marie Traissard 30f83fc2cb Typo + Really delete unused make_groups_submenus_for_chat_with() + redraw pm tab AFTER muc contact
disconnected + fix reference before assignement TB
2006-05-18 18:07:53 +00:00
Dimitur Kirov a727700780 show Start Chat dialog, instead of contacts
list  in systray context menu
2006-05-08 22:22:40 +00:00
Dimitur Kirov 5e6b016af1 split gtkgui.glade in several small glade
files, which are now located in data/glade/
2006-05-02 15:53:25 +00:00
Yann Leboulanger 933d84ebd3 a group can be ''. Fixes #1900 2006-04-26 07:06:11 +00:00
Jean-Marie Traissard 3a27a78e36 Deal with unknow status, thanks Yann for idea. 2006-04-18 18:01:07 +00:00
Yann Leboulanger 1f815113f8 Fix strange behavior in systray while in connecting state 2006-04-16 13:13:44 +00:00
Jean-Marie Traissard 839b75f2dd systray->chat with : sort in the same order than roster (name.lower()), really connect the menuitem to the jid... 2006-04-12 18:39:12 +00:00
Jean-Marie Traissard 4dce6d9e82 typo, thanks bb for report. 2006-04-09 21:46:51 +00:00
Nikos Kouremenos e3c9a07aaa ask C to copy list; respect 80 chars margin; use show and not print when you mean show 2006-04-09 16:48:24 +00:00
Jean-Marie Traissard 4018894f41 Use the right way to copy a list in python, thanks Yann. 2006-04-09 16:03:50 +00:00
Jean-Marie Traissard ba2f6221fb If a contact is in 'Not in Roster' group in the roster, see him in systray->chat_with->'Not in Roster' 2006-04-09 14:08:46 +00:00
Jean-Marie Traissard ce2269e73f Join gc menu in systray. Fixes #690.
Should I move add_bookmarks_list() in another file ?
2006-04-09 11:13:39 +00:00
Jean-Marie Traissard 3fbe15edab Do not TB in systray when a contact has 'not in the roster' for show, don't list him in chat
with.
2006-04-09 00:08:34 +00:00
Jean-Marie Traissard 039a74adff Sort contact by show in systray->chat with if sort_by_show is on. Fixes #1539 2006-04-08 14:33:04 +00:00
Nikos Kouremenos 9e35ac7aeb improve function name; move it to where we keep those 2006-04-08 10:28:53 +00:00
Yann Leboulanger e9bd817680 destroy sub menus in systray popup menu before creating new. Fixes #1820 2006-04-07 23:07:14 +00:00
Jean-Marie Traissard 7c85a32cbb Include users with no group un "General" group in systray->chat with 2006-04-06 21:19:26 +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 efcc8a1c94 prevent infinite loop when using show all pending events from systray 2006-03-31 07:47:27 +00:00
Nikos Kouremenos cb28e2124d use kbd_input.png (previously rename.png) for rename menuitems in roster;better names for making menus methods in roster;add (comment out though as it has a problem) rename for transport 2006-03-29 16:42:06 +00:00
Nikos Kouremenos 1524521c7f pychecker on our files. everyone please have a look so we do not do the same mistakes and in case you catch a mistake I did when cleaning 2006-03-24 18:48:26 +00:00
Nikos Kouremenos b3f9fc764e fix a TB in trayicon menu functionality. fix varname which lead to bad functionality for single message [we were doing new message] and also fix functionality for it, add %s in strings and not +, use gtkgui helper function 2006-03-08 01:27:01 +00:00
Nikos Kouremenos 35e7328e19 systray show prefs menuitem now works again 2006-03-05 16:07:27 +00:00
Dimitur Kirov 1f467c0fc3 show_tooltip uses less argumens, added some
docs, explaining what this arguments are for
2006-02-28 10:13:42 +00:00
Yann Leboulanger 946a28b26b [Jim++] some elif instead of if 2006-02-26 23:29:49 +00:00
Travis Shirk a63132500b Pass account to window/control lookup methods 2006-01-25 02:43:55 +00:00
Yann Leboulanger a89be870a7 fix indentation (no space in indentation) 2006-01-11 07:07:45 +00:00
Yann Leboulanger d2ab3031f1 contact.name can now be empty. So use contact.get_shown_name() that returns a user friendly name 2006-01-10 18:30:57 +00:00
Travis Shirk f195c47ea7 Migrating code into the new classes 2006-01-02 22:08:50 +00:00
Travis Shirk 1360933ba9 Merged in trunk updates, including meta_contacts
Merged revisions 4951,4962-4969 via svnmerge from
svn://svn.gajim.org/gajim/trunk

........
r4951 | nk | 2005-12-30 16:50:36 -0700 (Fri, 30 Dec 2005) | 1 line

fixes in greek transl
........
r4962 | asterix | 2006-01-01 11:41:04 -0700 (Sun, 01 Jan 2006) | 2 lines

merge meta_contacts branch with trunk. Meta contacts are not in gajim yet, but framework is here. We now use gajim.contacts.many_functions() to handle contacts and groupchat_contacts.

........
r4963 | asterix | 2006-01-01 11:43:24 -0700 (Sun, 01 Jan 2006) | 2 lines

correct contacts file

........
r4964 | asterix | 2006-01-01 11:47:26 -0700 (Sun, 01 Jan 2006) | 2 lines

dict.remove() doesn't exists, it's del dict[]

........
r4965 | asterix | 2006-01-01 11:50:15 -0700 (Sun, 01 Jan 2006) | 2 lines

some missing commits from branch

........
r4966 | asterix | 2006-01-01 11:53:30 -0700 (Sun, 01 Jan 2006) | 2 lines

end of gc_contact.nick -> gc_contact.name

........
r4967 | asterix | 2006-01-01 12:05:59 -0700 (Sun, 01 Jan 2006) | 2 lines

new ACE option: send_sha_in_gc_presence that allow to send sha info in groupchat presences

........
r4968 | asterix | 2006-01-01 12:12:36 -0700 (Sun, 01 Jan 2006) | 2 lines

0.9.1-2 in debian that solve the group bug (commit [4924])

........
r4969 | asterix | 2006-01-01 12:31:13 -0700 (Sun, 01 Jan 2006) | 2 lines

typo

........
2006-01-01 20:06:26 +00:00
Travis Shirk c30ee542dc Close to usable for chat, receiving messages, etc. 2005-12-31 21:55:44 +00:00
Nikos Kouremenos 19a64469f4 failsafe to dcraven 2005-12-12 15:14:58 +00:00
Nikos Kouremenos f7ee0dffd9 we now use 32x32 in Tabbed Chat banner img for state; and can control the size between 32x32 and 16x16 in general [of course only for those iconsets that ship 32x32 2005-12-12 15:13:31 +00:00
Yann Leboulanger 4f3b8dc3e8 move handle_event from systray.py to gajim.py 2005-12-11 10:31:42 +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 28936744a5 make sure windows get focus when we click on systray icon 2005-12-04 23:16:13 +00:00
Nikos Kouremenos 80b40b77ec chat using acct not chat with account [unless account is human been! :D] 2005-12-01 18:19:51 +00:00
Yann Leboulanger 3f2cbf7c46 [SF] show "with account acct_name" instead of "as jid" in menus 2005-11-28 16:29:04 +00:00
Nikos Kouremenos 4f74f23796 revert until gtk grows up 2005-11-17 16:28:41 +00:00
Nikos Kouremenos 897f60ad06 logic 2005-11-17 12:34:30 +00:00
Nikos Kouremenos d8fa4a8904 fix something with a better way 2005-11-17 10:16:08 +00:00
Nikos Kouremenos 082fc7aaa9 fixing dict name: gajim.interface.windows --> gajim.interface.instances 2005-11-13 15:08:47 +00:00
Nikos Kouremenos a3cd40ac84 fix a logic bug. thanks deluge 2005-11-08 11:13:47 +00:00
Nikos Kouremenos 183d59333f fix missing var 2005-11-07 14:06:39 +00:00
Nikos Kouremenos 1c89061483 fix tb 2005-11-06 17:10:55 +00:00
Yann Leboulanger 51d2175b18 ChangeStatusMessageDialog now shows the last_status_message even when we choose "change status message" menuitem 2005-11-05 17:52:49 +00:00
Nikos Kouremenos 5414ac84dc fix comment 2005-11-04 15:31:19 +00:00
Nikos Kouremenos 567436bd6d add a comment 2005-11-04 15:28:35 +00:00
Nikos Kouremenos 542349ad64 add img instead of text for show in chat with in systray 2005-11-04 15:22:12 +00:00
Nikos Kouremenos 878b274481 add func in gtkgui helpers 2005-10-31 19:35:17 +00:00
Nikos Kouremenos f5411971c7 if roster is in vd1, and we are in vd2 and we click systray, move roster from vd1 to vd2 2005-10-31 18:06:36 +00:00
Yann Leboulanger 56bc8d4709 add show_all_events and show_roster menuitems to systray menu 2005-10-30 00:08:39 +00:00
Yann Leboulanger 39710fe110 fix TB 2005-10-29 23:43:49 +00:00
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