From c4b8421aef6a7074fffc641cfa2f3897cf4f938e Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 26 Sep 2006 14:56:53 +0000 Subject: [PATCH] restore ability to test music_track_listener module by installing _() func --- src/music_track_listener.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/music_track_listener.py b/src/music_track_listener.py index c6181e70d..ca4550749 100644 --- a/src/music_track_listener.py +++ b/src/music_track_listener.py @@ -14,6 +14,8 @@ ## GNU General Public License for more details. ## import gobject +if __name__ == '__main__': + from common import i18n import dbus_support if dbus_support.supported: import dbus