From 4e974a0ce625748ab116771ff0166f72412bf356 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 29 Apr 2007 16:52:19 +0000 Subject: [PATCH] kes Correct incorrect installation of LICENSE in Win32 installer. kes Display LICENSE at the beginning of the Win32 install. kes Attempt to correct the need for the png files to be installed for bat. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4657 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/qt-console/main.qrc | 24 ++++++++++++----- bacula/src/qt-console/main.ui | 34 ++++++++++++------------ bacula/src/qt-console/mainwin.cpp | 2 +- bacula/src/win32/installer/winbacula.nsi | 3 ++- bacula/technotes-2.1 | 4 +++ 5 files changed, 41 insertions(+), 26 deletions(-) diff --git a/bacula/src/qt-console/main.qrc b/bacula/src/qt-console/main.qrc index 3573c5c5ea..862d71edfb 100644 --- a/bacula/src/qt-console/main.qrc +++ b/bacula/src/qt-console/main.qrc @@ -1,18 +1,28 @@ + images/backup.png + images/bat_icon.png + images/bat.png + images/big-server.png + images/connected.png images/copy.png images/cut.png + images/disconnected.png + images/home.png + images/label.png + images/mark.png images/new.png + images/next.png images/open.png images/paste.png - images/save.png - images/bat.png - images/connected.png - images/disconnected.png - images/run.png + images/print.png images/restore.png + images/run.png + images/save.png images/server.png - images/label.png - images/big-server.png + images/status.png + images/undo.png + images/unmark.png + images/up.png diff --git a/bacula/src/qt-console/main.ui b/bacula/src/qt-console/main.ui index 4f2b988734..be034cff77 100644 --- a/bacula/src/qt-console/main.ui +++ b/bacula/src/qt-console/main.ui @@ -14,7 +14,7 @@ bat - Bacula Admin Tool - images/bat.png + :images/bat.png @@ -303,7 +303,7 @@ - images/bat.png + :images/bat.png &About bat @@ -311,7 +311,7 @@ - images/copy.png + :images/copy.png &Copy @@ -319,7 +319,7 @@ - images/cut.png + :images/cut.png Cu&t @@ -327,7 +327,7 @@ - images/new.png + :images/new.png new @@ -335,7 +335,7 @@ - images/open.png + :images/open.png open @@ -343,7 +343,7 @@ - images/paste.png + :images/paste.png &Paste @@ -351,7 +351,7 @@ - images/print.png + :images/print.png &Print @@ -362,7 +362,7 @@ - images/save.png + :images/save.png &Save @@ -373,7 +373,7 @@ - images/disconnected.png + :images/disconnected.png Connect @@ -384,7 +384,7 @@ - images/label.png + :images/label.png Label @@ -398,7 +398,7 @@ - images/restore.png + :images/restore.png Restore @@ -412,7 +412,7 @@ false - images/run.png + :images/run.png Run Job @@ -429,7 +429,7 @@ - images/status.png + :images/status.png StatusDir @@ -448,7 +448,7 @@ - images/up.png + :images/up.png Undock Window @@ -456,7 +456,7 @@ - images/unmark.png + :images/unmark.png ToggleDock @@ -464,7 +464,7 @@ - images/unmark.png + :images/unmark.png Close Page diff --git a/bacula/src/qt-console/mainwin.cpp b/bacula/src/qt-console/mainwin.cpp index 3472cbbf46..d4349dfc31 100644 --- a/bacula/src/qt-console/mainwin.cpp +++ b/bacula/src/qt-console/mainwin.cpp @@ -88,7 +88,7 @@ void MainWin::createPages() /* The top tree item representing the director */ topItem = createTopPage(dir->name()); - topItem->setIcon(0, QIcon(QString::fromUtf8("images/server.png"))); + topItem->setIcon(0, QIcon(":images/server.png")); /* Set background to grey for ease of identification of inactive dirfector */ QBrush greyBrush(Qt::lightGray); topItem->setBackground(0, greyBrush); diff --git a/bacula/src/win32/installer/winbacula.nsi b/bacula/src/win32/installer/winbacula.nsi index 767bca0f29..1621273740 100644 --- a/bacula/src/win32/installer/winbacula.nsi +++ b/bacula/src/win32/installer/winbacula.nsi @@ -76,7 +76,7 @@ ${StrTrimNewLines} !define MUI_HEADERIMAGE_BITMAP "bacula-logo.bmp" !InsertMacro MUI_PAGE_WELCOME -; !InsertMacro MUI_PAGE_LICENSE "..\..\LICENSE" +!InsertMacro MUI_PAGE_LICENSE "..\..\..\LICENSE" Page custom EnterInstallType !define MUI_PAGE_CUSTOMFUNCTION_SHOW PageComponentsShow !InsertMacro MUI_PAGE_COMPONENTS @@ -414,6 +414,7 @@ Section "-Initialize" CreateDirectory "$APPDATA\Bacula\Work" CreateDirectory "$APPDATA\Bacula\Spool" + SetOutPath "$INSTDIR" File "..\..\..\LICENSE" Delete /REBOOTOK "$INSTDIR\bin\License.txt" diff --git a/bacula/technotes-2.1 b/bacula/technotes-2.1 index 1fd75de59a..e5095d2da1 100644 --- a/bacula/technotes-2.1 +++ b/bacula/technotes-2.1 @@ -2,6 +2,10 @@ General: 29Apr07 +kes Correct incorrect installation of LICENSE in Win32 installer. +kes Display LICENSE at the beginning of the Win32 install. +kes Attempt to correct the need for the png files to be installed + for bat. kes Reapply my bat.conf install script in qt-console. I think I editted bat.pro instead of bat.pro.in and it was lost. kes Apply CentOS patches someone sent me. Checks for /var/run/subsys, -- 2.39.5