The main author of Bacula is Kern Sibbald, with contributions from
many others, a complete list can be found in the file AUTHORS.
This program is Free Software; you can redistribute it and/or
- modify it under the terms of version two of the GNU General Public
+ modify it under the terms of version three of the GNU Affero General Public
License as published by the Free Software Foundation and included
in the file LICENSE.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
- You should have received a copy of the GNU General Public License
+ You should have received a copy of the GNU Affero General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
foreach(Console *console, m_consoleHash) {
console->connect_dir();
}
+ /*
+ * Note, the notifier is now a global flag, although each notifier
+ * can be individually turned on and off at a socket level. Once
+ * the notifier is turned off, we don't accept anything from anyone
+ * this prevents unwanted messages from getting into the input
+ * dialogs such as restore that read from the director and "know"
+ * what to expect.
+ */
+ m_notify = true;
m_currentConsole = (Console*)getFromHash(m_firstItem);
QTimer::singleShot(2000, this, SLOT(popLists()));
if (m_miscDebug) {
new MediaList();
new MediaView();
new Storage();
- if (m_openBrowser)
+ if (m_openBrowser) {
new restoreTree();
- if (m_openDirStat)
+ }
+ if (m_openDirStat) {
new DirStat();
-
+ }
treeWidget->expandItem(topItem);
tabWidget->setCurrentWidget(m_currentConsole);
}
*/
void MainWin::waitEnter()
{
- if (m_waitState){
- if (mainWin->m_connDebug)
- Pmsg0(000, "Should Never Get Here DANGER DANGER, for now I'll return\n");
+ if (m_waitState || m_isClosing) {
return;
}
m_waitState = true;
*/
void MainWin::waitExit()
{
- m_waitState = false;
+ if (!m_waitState || m_isClosing) {
+ return;
+ }
if (mainWin->m_connDebug) Pmsg0(000, "Exiting Wait State\n");
- if (m_waitTreeItem != treeWidget->currentItem())
+ if (m_waitTreeItem && (m_waitTreeItem != treeWidget->currentItem())) {
treeWidget->setCurrentItem(m_waitTreeItem);
+ }
if (m_doConnect) {
connectSignals();
connectConsoleSignals();
}
app->restoreOverrideCursor();
+ m_waitState = false;
}
void MainWin::connectConsoleSignals()
}
/* set the value for the currently active console */
int stackindex = tabWidget->indexOf(nextPage);
- if (!nextPage->isOnceDocked()) {
- nextPage->dockPage();
- }
+ nextPage->firstUseDock();
/* Is this page currently on the stack or is it undocked */
if (stackindex >= 0) {
settings.endGroup();
settings.beginGroup("JobList");
m_recordLimitCheck = settings.value("recordLimitCheck", true).toBool();
- m_recordLimitVal = settings.value("recordLimitVal", 150).toInt();
+ m_recordLimitVal = settings.value("recordLimitVal", 50).toInt();
m_daysLimitCheck = settings.value("daysLimitCheck", false).toBool();
m_daysLimitVal = settings.value("daysLimitVal", 28).toInt();
settings.endGroup();