From 9e3b588641cdd6ab9c481166e242e927d4e466b5 Mon Sep 17 00:00:00 2001 From: Timothy Ebenezer Date: Tue, 4 Mar 2008 01:07:21 +0000 Subject: [PATCH] Rearranging and adding MediaManager class also redefined plugin Interface bzr-revno: 8 --- openlp.py | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100755 openlp.py diff --git a/openlp.py b/openlp.py deleted file mode 100755 index d7e7bbfe5..000000000 --- a/openlp.py +++ /dev/null @@ -1,40 +0,0 @@ -#!/usr/bin/env pythonw - -""" - -Entry point for OpenLP wx.App - -""" - -import wx - -import mainframe - - -class OpenLP(wx.PySimpleApp): - def OnInit(self): - frame = mainframe.MainFrame(None, title="openlp.org") - frame.Show() - - import sys - for f in sys.argv[1:]: - self.OpenFileMessage(f) - - return True; - - - def OpenFileMessage(self, filename): - - # TODO: OOS loading here - # rename function, too - - dlg = wx.MessageDialog(None, - "This app was just asked to open:\n%s\n"%filename, - "File Opened", wx.OK|wx.ICON_INFORMATION) - - -if __name__ == '__main__': - app = OpenLP() - app.MainLoop() - -# vim: autoindent shiftwidth=4 expandtab textwidth=80