7     this file is part of the project scolasync 
    9     Copyright (C) 2010 Georges Khaznadar <georgesk@ofset.org> 
   11     This program is free software: you can redistribute it and/or modify 
   12     it under the terms of the GNU General Public License as published by 
   13     the Free Software Foundation, either version3 of the License, or 
   14     (at your option) any later version. 
   16     This program is distributed in the hope that it will be useful, 
   17     but WITHOUT ANY WARRANTY; without even the implied warranty of 
   18     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
   19     GNU General Public License for more details. 
   21     You should have received a copy of the GNU General Public License 
   22     along with this program.  If not, see <http://www.gnu.org/licenses/>. 
   48     def __init__(self, app_name ="", replaces_id=0, app_icon="",
 
   49                      summary="", body="", actions=[], hints={},
 
   61                 session_bus = dbus.SessionBus()
 
   62                 obj = session_bus.get_object(
"org.freedesktop.Notifications",
"/org/freedesktop/Notifications")
 
   63                 self.
interface = dbus.Interface(obj, 
"org.freedesktop.Notifications")
 
   71 if __name__==
"__main__":
 
   73                          summary=
"Notification de test",
 
   74                          body=
"Voici le corps de la notification",
 
   75                          app_icon=
"/usr/share/pixmaps/vlc.png",