Commit Graph

87 Commits

Author SHA1 Message Date
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