X-Git-Url: http://git.maemo.org/git/?p=watersofshiloah;a=blobdiff_plain;f=src%2Fmormonchannel_gtk.py;h=e706a940c341a02b3865adbb7b8328b208e5d57e;hp=1624f1c7828cb869815d116a660da6fbde91ed24;hb=c462d7d29571b363410a50f2243910db900ca532;hpb=78c09505c98ae10d23a13173cec96f091db77835 diff --git a/src/mormonchannel_gtk.py b/src/mormonchannel_gtk.py index 1624f1c..e706a94 100755 --- a/src/mormonchannel_gtk.py +++ b/src/mormonchannel_gtk.py @@ -133,27 +133,15 @@ class MormonChannelProgram(hildonize.get_app_class()): except AttributeError: pass # Either None or close was removed (in Fremantle) - @misc_utils.log_exception(_moduleLogger) - def _on_show_about(self, widget = None, data = None): - dialog = gtk.AboutDialog() - dialog.set_position(gtk.WIN_POS_CENTER) - dialog.set_name(constants.__pretty_app_name__) - dialog.set_version(constants.__version__) - dialog.set_copyright("") - dialog.set_website("") - comments = "Mormon Radio and Audiobook Player" - dialog.set_comments(comments) - dialog.set_authors(["Ed Page "]) - dialog.run() - dialog.destroy() - def run(): gobject.threads_init() gtk.gdk.threads_init() l = dbus.mainloop.glib.DBusGMainLoop(set_as_default=True) - hildonize.set_application_name("FMRadio") # Playback while silent on Maemo 5 + # HACK Playback while silent on Maemo 5 + hildonize.set_application_name("FMRadio") + app = MormonChannelProgram() if not PROFILE_STARTUP: try: