small cosmetic improvements
authorMatthias Kramm <kramm@quiss.org>
Sat, 5 Jun 2010 18:17:34 +0000 (11:17 -0700)
committerMatthias Kramm <kramm@quiss.org>
Sat, 5 Jun 2010 18:17:34 +0000 (11:17 -0700)
installer/installer.c
wx/Makefile
wx/gui/options/viewer.py
wx/viewers/flexpaper.py
wx/viewers/raw.py
wx/viewers/rfx.py
wx/viewers/simple.py
wx/viewers/technoargia.py

index b62721d..d22efd5 100644 (file)
@@ -534,7 +534,7 @@ BOOL CALLBACK PropertySheetFunc3(HWND hwnd, UINT message, WPARAM wParam, LPARAM
        SetDlgItemText(hwnd, IDC_SPACE2, "");
        PropSheet_SetWizButtons(dialog, 0);
        SendMessage(dialog, PSM_CANCELTOCLOSE, 0, 0); //makes wine display a warning
        SetDlgItemText(hwnd, IDC_SPACE2, "");
        PropSheet_SetWizButtons(dialog, 0);
        SendMessage(dialog, PSM_CANCELTOCLOSE, 0, 0); //makes wine display a warning
-       SetDlgItemText(hwnd, IDC_TITLE, "Installing files...");
+       SetDlgItemText(hwnd, IDC_TITLE, "Installing...");
        statuswnd = hwnd;
        status_t status;
        status.status = PropertyArchiveStatus;
        statuswnd = hwnd;
        status_t status;
        status.status = PropertyArchiveStatus;
index 3ed15ef..9a690d2 100644 (file)
@@ -6,8 +6,9 @@ include ../Makefile.common
 all: pdf2swf_gui.exe
 
 pdf2swf_gui.exe: gpdf2swf.py gui/*.py viewers/*.py
 all: pdf2swf_gui.exe
 
 pdf2swf_gui.exe: gpdf2swf.py gui/*.py viewers/*.py
-       cp gpdf2swf.py /xpython/main.py
-       cp -R viewers gui lib /xpython/
+       cp -a ../installer/swftools.ico /xpython/xpython.ico
+       cp -a gpdf2swf.py /xpython/main.py
+       cp -a -R viewers gui lib /xpython/
        cd /xpython/swftools;git pull
        cd /xpython;make xpython.exe
        ln -f /xpython/xpython.exe ./gpdf2swf.exe
        cd /xpython/swftools;git pull
        cd /xpython;make xpython.exe
        ln -f /xpython/xpython.exe ./gpdf2swf.exe
index e36eacc..0432cac 100644 (file)
@@ -104,6 +104,8 @@ class ViewerBook(wx.Listbook):
 
             win = self.makePanel(mod)
             self.AddPage(win, mod, imageId=idx)
 
             win = self.makePanel(mod)
             self.AddPage(win, mod, imageId=idx)
+            if hasattr(mod, "default"):
+                self.SetSelection(idx)
 
 
     def makePanel(self, mod):
 
 
     def makePanel(self, mod):
index 4f1d1f6..79177e1 100644 (file)
@@ -24,7 +24,7 @@
 
 from gui.fields import Choose, ChooseAndInt
 
 
 from gui.fields import Choose, ChooseAndInt
 
-order = 3
+order = 2
 type = "custom"
 name = u"Flex Paper Viewer"
 desc = u"""Provides a light weight document viewer with:
 type = "custom"
 name = u"Flex Paper Viewer"
 desc = u"""Provides a light weight document viewer with:
index 8a92849..7e92457 100644 (file)
@@ -24,7 +24,7 @@
 
 from gui.fields import Choose
 
 
 from gui.fields import Choose
 
-order = 0
+order = 4
 type = "core"
 name = u"No Viewer"
 desc = (u'The SWF will be in "raw" format, with each page a seperate frame. '
 type = "core"
 name = u"No Viewer"
 desc = (u'The SWF will be in "raw" format, with each page a seperate frame. '
index 610b5a5..adcb9cf 100644 (file)
@@ -24,7 +24,8 @@
 
 from gui.fields import Choose, ChooseAndInt
 
 
 from gui.fields import Choose, ChooseAndInt
 
-order = 2
+order = 0
+default = True
 type = "custom"
 name = u"rfx Viewer"
 desc = u"A more sophisticated viewer with zooming and scrolling."
 type = "custom"
 name = u"rfx Viewer"
 desc = u"A more sophisticated viewer with zooming and scrolling."
index dd59332..443c620 100644 (file)
@@ -24,7 +24,7 @@
 
 from gui.fields import Hidden, Choose
 
 
 from gui.fields import Hidden, Choose
 
-order = 1
+order = 3
 type = "core"
 name = u"Simple Viewer"
 desc = (u"A tiny viewer, which attaches directly to the SWF, "
 type = "core"
 name = u"Simple Viewer"
 desc = (u"A tiny viewer, which attaches directly to the SWF, "
index f19e9e9..52cc488 100644 (file)
@@ -24,7 +24,7 @@
 
 from gui.fields import Choose, ChooseAndInt, Hidden
 
 
 from gui.fields import Choose, ChooseAndInt, Hidden
 
-order = 4
+order = 1
 type = "custom"
 name = u"technoargia Viewer"
 desc = (u"Simple viewer with home link from Laurent Lalanne"
 type = "custom"
 name = u"technoargia Viewer"
 desc = (u"Simple viewer with home link from Laurent Lalanne"