Commit Graph

146 Commits

Author SHA1 Message Date
Yann Leboulanger 22c1aeda29 next release will be GPL v3. fixes #3290 2007-10-22 11:13:13 +00:00
Stephan Erb 2fdeabc012 Add my copyright :-) 2007-08-31 23:19:23 +00:00
Yann Leboulanger 2419bd509c ability to load transport iconsets from ~/.gajim/iconsets/transports. Fixes #3390 2007-08-22 22:46:31 +00:00
Stephan Erb 8c255eac60 Fix messeage preview if USER_HAS_PYNOTIFY 2007-07-12 22:19:21 +00:00
Stephan Erb 5f1eaeb312 Ability to disable message previews in notify popups. Fixes #3088 2007-07-10 21:57:56 +00:00
Jean-Marie Traissard 983ea67c00 Use good funtion so we can see icon for pynotify notifs 2007-05-14 16:09:53 +00:00
Jean-Marie Traissard c4d10a780e Small typo, made pynotify click to be broken 2007-05-14 05:47:44 +00:00
Julien Pivotto 19df2a0f9e Fix some bugs and improve coding of minimized groupchats. 2007-05-07 21:02:48 +00:00
Julien Pivotto 253c7e6cfc (Fix #3034) Add ability to minimize groupchats in roster, and to minimize autojoigned bookmarked rooms at launch. 2007-05-03 21:02:50 +00:00
Yann Leboulanger 57e9eadff8 fix version of notification-daemon detection 2007-01-28 12:53:14 +00:00
Nikos Kouremenos e9afe36ff3 clean code and update to using GTK/PyGTK 2.8; see #2248 2007-01-16 23:26:38 +00:00
Yann Leboulanger 99b08744ed fix TB when python-notify is installed but not notification-daemon. fixes #2893 2007-01-13 00:52:47 +00:00
Nikos Kouremenos 6faf04a056 make sure we use dbus public api so we work for python dbus 0.80; see #2784 2006-12-17 11:43:34 +00:00
Jean-Marie Traissard f041f8dd5e JID->Jabber ID in gc tooltip
if print_time==sometimes : Show the day if needed also. Use locale for time format (do
not force
24h)
Delete a lot of unused locale variables (thanks pychecker)
del gajim.py useless global vars after use
configpaths.py : use self. not this.
2006-11-21 18:46:33 +00:00
Jean-Marie Traissard 9347fe10e1 Remove lot of useless imports
Fix gajim-remote contact_info
Fix profile_win right click on avatar
Fix a call and a comment
Thanks pyflakes (a program, not a person) for the whole.
2006-11-15 01:59:21 +00:00
Jean-Marie Traissard a8354e1132 Fixed totally broken trayicon_notification_on_new_messages behaviour, change name to
trayicon_notification_on_events and do what's expected
2006-11-03 19:52:39 +00:00
Nikos Kouremenos 10ae874cb6 We now use one term "group chat" in the place of sometimes used room 2006-10-07 14:36:08 +00:00
Nikos Kouremenos 8dfb1a5a66 unite room and server name resulting in a room jid interface [so it aligns with add new contact]. fixes #2504 2006-10-07 12:18:51 +00:00
Nikos Kouremenos 1f6e5bcd7e move dbus_support to common; try to do exceptions for D-Bus [Dimitur please have a look] 2006-09-29 20:49:15 +00:00
Nikos Kouremenos 9dbc502b54 fix identation 2006-09-28 14:47:18 +00:00
Nikos Kouremenos 33c346b75c fix comment 2006-09-28 13:39:42 +00:00
Nikos Kouremenos b19b73d4cc use better varname; put a comment or two; try to make it better understandable; rm two unneeded lines 2006-09-28 13:35:53 +00:00
Nikos Kouremenos 72e8da7130 intro helpers.build_command and fix helpers.exec_command(). fixes #2464 [now all is okay if path has spaces] 2006-09-28 10:44:16 +00:00
Nikos Kouremenos 11cd6d152c Support for notify-python so if notification-daemon is not available, we still can show cool popups. FIXES #1901 2006-09-28 00:31:59 +00:00
Nikos Kouremenos 37667a99e2 make notify.py pythonic 2006-09-27 22:37:41 +00:00
Nikos Kouremenos 3abc8a02d5 die old dbus die! 2006-09-21 15:11:13 +00:00
Yann Leboulanger 87a2ff3d69 show by default all events in roster 2006-09-15 23:06:40 +00:00
Yann Leboulanger 746a0bf98e show connection lost error in popups instead of error dialogs. Fixes #2138 2006-09-10 10:22:16 +00:00
Yann Leboulanger 7a89f716e4 handle correctly notification window in ANC, particulary le tab_opened condition. 2006-09-05 15:43:07 +00:00
Yann Leboulanger a67eaba727 events are now saved in an Event class. show in roster/systray options in Advanced Notification Control (for incomming messages) now work. 2006-09-02 21:01: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 95bdf480b4 indentation 2006-07-17 10:06:04 +00:00
Yann Leboulanger bc26593974 use gettext.install. Fixes #497 2006-06-15 06:49:04 +00:00
Yann Leboulanger d10d8f7815 don't show signed in/out popup notification for 30 seconds for transport contacts when we log in/out this transport. Fixes #2041 2006-06-12 15:24:58 +00:00
Jean-Marie Traissard e96724224d #1005 preparation : move popups and sound code for incomming new messages to notify.py 2006-05-22 20:14:54 +00:00
Jean-Marie Traissard 00669c06a0 Missing upcase letter 2006-05-10 20:29:17 +00:00
Jean-Marie Traissard af3500a225 #1005 preparation : Begin to move notifications to notify.py :
-moved popup and sound for contact in/out
-added popup for status change (always disable for the moment, will be advanced only)
Note : removed "if not gajim.awaiting_events[account].has_key(jid)" from condition for an in/out popup to be showed
2006-05-10 20:25:51 +00:00
Jean-Marie Traissard e96c70d332 Pango escape title of notification too. Fixes #1915. 2006-05-04 03:47:34 +00:00
Nikos Kouremenos 35f2132815 add some new comments in notify.py 2006-04-05 18:37:53 +00:00
Nikos Kouremenos d86797d034 [jim++] pango escape text. (#1806) 2006-04-05 14:57:09 +00:00
Yann Leboulanger ddfd3d7be6 better title / text in popup windows. Fixes #1790 2006-04-03 07:40:15 +00:00
Yann Leboulanger e63de7d933 remove some useless import 2006-04-02 16:07:03 +00:00
Nikos Kouremenos 99276b5b8b revert buttons in notif-daemon popups. notif-daemon new release will fix position bug reported as attach in #1537 2006-03-30 20:08:55 +00:00
Yann Leboulanger ef6ead5d84 fix TB: button_text is now always set 2006-03-30 14:08:57 +00:00
Yann Leboulanger a2b7c819a1 re-introduce button in notification in order to see it fully on screen. I just took Andrew's code from #1388 patch04. Fixes #1537 2006-03-30 12:57:38 +00:00
Yann Leboulanger c2594d8792 [Andrew Sayman] Gajim now uses async call to notification-daemon. Fixes #1388 2006-03-25 00:59:09 +00:00
Nikos Kouremenos 751a6fe483 rm buttons from latest version notification-daemon popups. fixes #1537 2006-03-24 23:47:09 +00:00
Yann Leboulanger 17b0ef3930 handle gc invitation in notify.py 2006-03-24 20:01:52 +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 65f89dcc18 rm 2 unused modules from notify.py 2006-02-23 12:23:54 +00:00
Yann Leboulanger 38f0a20355 fix indentation 2006-02-22 21:01:54 +00:00
Yann Leboulanger 5ef0058780 on_close function now support notification daemon 0.3.x (on less argument) see #1468 2006-01-26 15:43:34 +00:00
Nikos Kouremenos a7620919f7 [mathiew schnik] Patch to support new Notification Daemon API (0.3.2) 2006-01-26 15:26:20 +00:00
Nikos Kouremenos 912207c098 get_actor --> get_name_from_jid so it is visible it is on gajim level and not on xmppy (lower) lever 2006-01-20 17:50:01 +00:00
Nikos Kouremenos bbc42cc115 [knuckles] refactor API about notifications so we do not dup code allover 2006-01-20 17:40:45 +00:00
Nikos Kouremenos a9727e39db [knuckles] GMail notification now shows number of messages and if clicked opens inbox and all that :) 2006-01-17 20:23:36 +00:00
Nikos Kouremenos b020492de6 notif AVATAR_PATH 2006-01-17 11:20:55 +00:00
Yann Leboulanger bab21aaf56 [knuckles] improved popup notification to show avatar 2006-01-17 09:01:59 +00:00
Yann Leboulanger f8652420e7 determine the version of libnotify before sending it a message. Fixes #1347 2006-01-13 20:33:43 +00:00
Nikos Kouremenos 3c50094afa we now show avatar instead of general contact img for online/offline 2006-01-12 22:48:49 +00:00
Yann Leboulanger 2335fcdabc typo 2006-01-11 21:30:48 +00:00
Yann Leboulanger 247f4547b6 [Tomasz] convert second to ms 2006-01-11 16:47:27 +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 94564e4e4e Merged revisions 5066-5067 via svnmerge from
svn://svn.gajim.org/gajim/trunk

........
r5066 | asterix | 2006-01-09 12:12:52 -0700 (Mon, 09 Jan 2006) | 2 lines

[Tomasz Torcz] libnotify API changed in 0.3. Fixes #1347

........
r5067 | asterix | 2006-01-09 12:48:33 -0700 (Mon, 09 Jan 2006) | 2 lines

initialize gajim.gc_connected[account][room_jid] when we create a new room

........
2006-01-10 01:52:43 +00:00
Travis Shirk f52afdcbe8 Merged revisions 5017-5020,5022-5029 via svnmerge from
svn://svn.gajim.org/gajim/trunk

........
r5017 | asterix | 2006-01-06 01:55:51 -0700 (Fri, 06 Jan 2006) | 2 lines

use escape for pango markup

........
r5018 | asterix | 2006-01-06 02:21:39 -0700 (Fri, 06 Jan 2006) | 2 lines

missing new contacts function

........
r5019 | asterix | 2006-01-06 11:03:07 -0700 (Fri, 06 Jan 2006) | 2 lines

handle the click on toggle_gpg_encryption menuitem

........
r5020 | asterix | 2006-01-06 11:14:14 -0700 (Fri, 06 Jan 2006) | 2 lines

use the saved size even if a chat window is already opened

........
r5022 | asterix | 2006-01-07 03:43:47 -0700 (Sat, 07 Jan 2006) | 2 lines

we can now resume filetransfert

........
r5023 | asterix | 2006-01-07 03:56:31 -0700 (Sat, 07 Jan 2006) | 2 lines

[Knuckles] Google E-Mail Notification

........
r5024 | asterix | 2006-01-07 04:02:16 -0700 (Sat, 07 Jan 2006) | 2 lines

better string

........
r5025 | asterix | 2006-01-07 04:14:32 -0700 (Sat, 07 Jan 2006) | 2 lines

fix a TB

........
r5026 | asterix | 2006-01-07 05:36:55 -0700 (Sat, 07 Jan 2006) | 2 lines

we can now drag a file on a contact in the roster to send him a file

........
r5027 | asterix | 2006-01-07 06:26:28 -0700 (Sat, 07 Jan 2006) | 2 lines

contact.groups is always a list, even if emtpy

........
r5028 | asterix | 2006-01-07 06:54:30 -0700 (Sat, 07 Jan 2006) | 2 lines

make all buttons insensitive on a category row in disco

........
r5029 | asterix | 2006-01-07 07:19:25 -0700 (Sat, 07 Jan 2006) | 2 lines

auto open groupchat configuration window when we create a new room

........
2006-01-07 17:25:35 +00:00
Travis Shirk 757ed426e3 Merged revisions 4987-4989,4991-4996,4999,5003 via svnmerge from
svn://svn.gajim.org/gajim/trunk

........
r4987 | nk | 2006-01-03 04:00:51 -0700 (Tue, 03 Jan 2006) | 1 line

commit 48x48 transport online/offline imgs by Grenshad (I pngcrushed them)
........
r4988 | nk | 2006-01-03 04:32:01 -0700 (Tue, 03 Jan 2006) | 1 line

icon in notification window not always jabber now. MSN if he uses msn etc. thanks stian barmen for helping me test
........
r4989 | nk | 2006-01-03 04:40:44 -0700 (Tue, 03 Jan 2006) | 1 line

all strings I got report about them, are not translatable; pot/po update
........
r4991 | asterix | 2006-01-03 08:08:21 -0700 (Tue, 03 Jan 2006) | 2 lines

don't remove the jid entry in _contacts[account] when we remove a contact

........
r4992 | asterix | 2006-01-03 08:18:30 -0700 (Tue, 03 Jan 2006) | 2 lines

fix logic

........
r4993 | asterix | 2006-01-03 09:04:14 -0700 (Tue, 03 Jan 2006) | 2 lines

a GC_Contact can have a resource if we knoe his real JID

........
r4994 | asterix | 2006-01-03 09:32:58 -0700 (Tue, 03 Jan 2006) | 2 lines

missing argument in create_gc_contact

........
r4995 | asterix | 2006-01-03 10:36:41 -0700 (Tue, 03 Jan 2006) | 2 lines

we save gc_contact vcard instance in instances[self.account]['infos'][Fake_jid]

........
r4996 | asterix | 2006-01-03 11:17:43 -0700 (Tue, 03 Jan 2006) | 2 lines

in DataForm, a field of type 'list-single' can have no <value> element. Create a default one in such a case to prevent TB

........
r4999 | asterix | 2006-01-04 05:52:26 -0700 (Wed, 04 Jan 2006) | 2 lines

prevent TB when we move a contact that was in no group

........
r5003 | asterix | 2006-01-04 09:03:42 -0700 (Wed, 04 Jan 2006) | 2 lines

handle correctly unlabeled option values in DataForms

........
2006-01-05 03:17:36 +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 a52596266c Merged trunk 2005-12-30 21:37:36 +00:00
Yann Leboulanger 02fc0a86c3 print more dbus errors in verbose mode only 2005-12-26 16:41:22 +00:00
Nikos Kouremenos e31d031ea3 use else block in notify for failsafe values 2005-12-12 15:15:56 +00:00
Yann Leboulanger 59561d300e when we click on sign in/out notification window, open a chat window 2005-12-12 09:28:36 +00:00
Nikos Kouremenos c984ef155c use ft_request image. thanks again Grenshad for all icons 2005-12-11 18:40:25 +00:00
Yann Leboulanger 8cc90d1d73 fix DBus TB 2005-12-11 16:58:20 +00:00
Yann Leboulanger 6ed018c93e notify now uses handle_event 2005-12-11 10:32:11 +00:00
Nikos Kouremenos 990a5895c8 clarify comment 2005-12-10 22:45:46 +00:00
Nikos Kouremenos 4ba60d14bf move some lines back to up 2005-12-10 22:44:47 +00:00
Nikos Kouremenos c914a0d058 only use nice 48x48 img 2005-12-10 22:41:16 +00:00
Nikos Kouremenos dfe1d78391 add icons for more events 2005-12-10 22:27:41 +00:00
Nikos Kouremenos d9def4d2a4 [grenshad] add FT-related icons. thank him as artist 2005-12-10 22:00:06 +00:00
Nikos Kouremenos 6e413e7f5a [lorien420] Notification Daemon Popups are now clickable! CONGRAAAAAAATS Andrew Sayman 2005-12-10 00:56:38 +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
Nikos Kouremenos 396c61de14 replace tab with space 2005-11-23 17:48:32 +00:00
Nikos Kouremenos 9772eca1c6 remove a commented out line and add a space after comma 2005-11-23 17:47:22 +00:00
Nikos Kouremenos 64f2ef7d0e [lorien420] try to start notif-daemon if not there 2005-11-23 17:44:32 +00:00
Nikos Kouremenos 880da6fb53 revert a commit until better fix is here; notifaction-daemon popups are back! 2005-11-23 00:17:02 +00:00
Nikos Kouremenos ce6233814d [lorien420] if dbus is there, but notif-daemon is not running, use old style notifications. (I cannot test this as release of notif-daemon is not being listed even if it running). Lorie said devel is ok 2005-11-21 10:36:56 +00:00
Nikos Kouremenos 0a74f2ee61 fix a tb 2005-11-21 07:58:24 +00:00
Nikos Kouremenos 02d102008d 5 seconds as old-style 2005-11-18 15:06:10 +00:00
Nikos Kouremenos aa80749cdb fix a tb 2005-11-14 13:27:15 +00:00
Nikos Kouremenos 212ec8b91d remove a print 2005-11-13 19:50:22 +00:00
Nikos Kouremenos 571c512832 fix syntax error 2005-11-13 19:42:42 +00:00
Nikos Kouremenos 021afbf906 fix strings for notification-daemon 2005-11-13 19:31:25 +00:00
Nikos Kouremenos 9024cf474e shorter 2005-11-12 17:59:43 +00:00
Nikos Kouremenos 3084820130 commit missing file 2005-11-11 19:12:02 +00:00