Commit Graph

186 Commits

Author SHA1 Message Date
Yann Leboulanger 4b3206f043 [James Westby] Don't use actions in notifications if the server doesn't support them. Fixes #4862 2009-03-13 21:51:49 +00:00
Yann Leboulanger 521239377b option to disable sound when we are busy. Fixes #2256 2009-02-13 21:14:50 +00:00
Yann Leboulanger 95d7e157da handle (un)subscription events as messages (don't force to popup a window) Fixes #2243 2009-02-13 19:35:30 +00:00
Yann Leboulanger 20edebbd33 handle XFCE notification-daemon. Fixes #4556 2009-02-07 09:11:40 +00:00
Yann Leboulanger 9d3cc64197 typo in string splitting 2009-02-01 21:12:11 +00:00
Yann Leboulanger 25f0ee832f [knuckles] KDE notifications. Fixes #4749 2009-02-01 10:28:48 +00:00
Yann Leboulanger 8cf97654b8 notification-daemon doesn't seem to like empty text string. 2008-12-19 18:48:25 +00:00
Yann Leboulanger 2c9da5bf87 no need to escape title in notifications 2008-12-06 12:43:15 +00:00
Yann Leboulanger c163e90b10 [thorstenp] fix unused variables 2008-12-02 15:53:23 +00:00
Yann Leboulanger 983301d589 [thorstenp] convert some strings to comment 2008-12-02 14:09:18 +00:00
Yann Leboulanger 3ce1baa5d3 [urandom] fix position of notification when attach_to_systray is enabled. Fixes #4537 2008-11-30 21:37:50 +00:00
js 5a5937d96d Really fix #4517. 2008-11-29 13:37:06 +00:00
Yann Leboulanger bbafb36ada escape text before sending it to notification daemin. Fixes #4517 2008-11-24 09:48:27 +00:00
Yann Leboulanger eb93f2a19e [thorstenp] remove useless import 2008-11-05 20:00:18 +00:00
Yann Leboulanger 06ab4a7b6d revert thorstenp patches for now. They introduce bugs. 2008-10-20 21:38:06 +00:00
Yann Leboulanger f801a50260 [thorstenp] fix unused variables 2008-10-20 21:17:48 +00:00
Yann Leboulanger 86271b6e3c [thorstenp] string to comment 2008-10-20 15:30:52 +00:00
Yann Leboulanger 158538b81c [thorstenp] rename some var to not hide builts-in functions (list -> list_, ...) 2008-10-11 10:22:04 +00:00
Yann Leboulanger 567f1e17c1 [thorstenp] di not use emtpy except clauses 2008-10-11 09:37:13 +00:00
Yann Leboulanger 9d7c80d522 [thorstenp] replace has_key by key in dict. Fixes #4392 2008-10-07 20:41:59 +00:00
Yann Leboulanger 35a9cf5d89 coding standards 2008-09-22 09:10:18 +00:00
Yann Leboulanger b4a645e882 use spec version instead of program version to determine which spec to use for notification-daemon. Fixes #4126 2008-09-22 09:04:16 +00:00
Julien Pivotto de4a23e751 See #4200.
* remove js from some headers
 * set coding:utf-8 to allow real names in headers
2008-08-15 17:31:51 +00:00
Julien Pivotto 8bc9bc29ae * Big headers review
* Remove some licencing problems
 * To do: same for images
 * See #4200
2008-08-15 03:20:23 +00:00
js 8605cd3f38 For historical reasons, we have a tab width of 3. This is strange, but
we have that in all files. To at least lesser the confusion a bit, add
vim tags for that.
Additionally, fix wrong #! in a few files.
2008-07-29 19:49:31 +00:00
Jean-Marie Traissard aa749cb77b Remove useless function and check. Make avatar in notification works with jpeg too. See #4060. 2008-07-27 10:21:51 +00:00
Brendan Taylor 4ddadc68d9 fix clicking on notification-daemon sign-in notification 2008-05-18 21:17:53 +00:00
Brendan Taylor d511b5afc4 merged in session-centric branch, with fixes for OTR compatibility 2008-05-13 01:59:10 +00:00
js 573568f9ac Reverted r9614 and r9615.
Sorry, bct, but I think it is to early to merge that as it completely
breaks. It seems nobody in gajim@conference.gajim.org considers it
usable yet.
I don't know if you got asterix' ok for it and I'm sorry if I reverted
it now although you had his ok, but having broken trunk is very
contra-productive. I think it was just too early to merge.
2008-05-11 13:17:28 +00:00
Brendan Taylor 2162c3730a merged in session_centric branch 2008-05-11 01:19:59 +00:00
Jean-Marie Traissard 968b2acc4f http://python.org/dev/peps/pep-0008/ " Comparisons to singletons like None should always be done with
'is' or 'is not', never the equality operators."
Comparisons to None part; second one...
roster_win.py is NOT checked here (waiting for modelfilter)
2008-04-18 00:26:07 +00:00
Yann Leboulanger b3f3a812a9 don't always show events in systray when notify_on_all_muc_mesages is False 2008-02-27 21:33:50 +00:00
Yann Leboulanger de20191e72 no need to escape strings that go to notification daemon 2008-02-17 20:44:38 +00:00
Brendan Taylor 381ba838b9 post-refactor traceback fixing 2008-02-06 05:24:07 +00:00
Brendan Taylor 0b48b05218 merged trunk into session_centric branch 2008-02-05 03:09:31 +00:00
Yann Leboulanger 7d5602c4b1 add a new event to allow not playing sound when chat window is focused. fixes #2907 2008-01-27 20:15:17 +00:00
Yann Leboulanger 077e3370f5 replace /me by nickname in notifications. fixes #3609 2007-12-31 00:24:59 +00:00
Yann Leboulanger 7590a57f66 optionally attach notification to systray. fixes #3123 2007-11-17 22:27:40 +00:00
Yann Leboulanger 1f7a462788 [James Newton] osx port for Gajim. a GREAT thanks!!! 2007-11-14 19:47:52 +00:00
Yann Leboulanger 605caae2b8 My name has changed 2007-10-22 11:33:50 +00:00
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