]> git.sur5r.net Git - bacula/bacula/commitdiff
Changes for consistencies sake. The page selector text of JobPlot from job Plot
authorDirk H Bartley <dbartley@schupan.com>
Tue, 7 Aug 2007 03:00:36 +0000 (03:00 +0000)
committerDirk H Bartley <dbartley@schupan.com>
Tue, 7 Aug 2007 03:00:36 +0000 (03:00 +0000)
and the long list preferences to be used in jobs.cpp.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5296 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/qt-console/jobgraphs/jobplot.cpp
bacula/src/qt-console/jobs/jobs.cpp

index b74fa38dc25a54cb2f56305425fbd8fc9e2ea51a..31d5521ed22b0bfa5d74db04f82f3516a2352f88 100644 (file)
@@ -76,7 +76,7 @@ JobPlotControls::JobPlotControls()
 JobPlot::JobPlot(QTreeWidgetItem *parentTreeWidgetItem, JobPlotPass &passVals)
 {
    setupUserInterface();
-   m_name = "Job Plot";
+   m_name = "JobPlot";
    pgInitialize(parentTreeWidgetItem);
    readSplitterSettings();
    QTreeWidgetItem* thisitem = mainWin->getFromHash(this);
index 765039845c8ac075a0b2e2db2e5711a8fd5d803c..9a8966d727f5677c00c70944112a3a56bda4670d 100644 (file)
@@ -212,18 +212,21 @@ void Jobs::currentStackItem()
 void Jobs::consoleListFiles()
 {
    QString cmd = "list files job=\"" + m_currentlyselected + "\"";
+   if (mainWin->m_longList) { cmd.prepend("l"); }
    consoleCommand(cmd);
 }
 
 void Jobs::consoleListVolume()
 {
    QString cmd = "list volumes job=\"" + m_currentlyselected + "\"";
+   if (mainWin->m_longList) { cmd.prepend("l"); }
    consoleCommand(cmd);
 }
 
 void Jobs::consoleListNextVolume()
 {
    QString cmd = "list nextvolume job=\"" + m_currentlyselected + "\"";
+   if (mainWin->m_longList) { cmd.prepend("l"); }
    consoleCommand(cmd);
 }