]> git.sesse.net Git - kdenlive/commitdiff
Move archive feature in project menu, fix archiving of unsaved project
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Mon, 6 Jun 2011 15:27:51 +0000 (15:27 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Mon, 6 Jun 2011 15:27:51 +0000 (15:27 +0000)
svn path=/trunk/kdenlive/; revision=5671

src/archivewidget.cpp
src/kdenliveui.rc

index 4d9477f1ad66f4713559362a6115d372aecda5d8..fb3369036ca02390457f379c9527b74cfd111311 100644 (file)
@@ -166,7 +166,7 @@ ArchiveWidget::ArchiveWidget(QString projectName, QDomDocument doc, QList <DocCl
             parentItem->setText(0, files_list->topLevelItem(i)->text(0) + " " + i18np("(%1 item)", "(%1 items)", items));
         }
     }
-
+    if (m_name.isEmpty()) m_name = i18n("Untitled");
     compressed_archive->setText(compressed_archive->text() + " (" + m_name + ".tar.gz)");
     project_files->setText(i18np("%1 file to archive, requires %2", "%1 files to archive, requires %2", total, KIO::convertSize(m_requestedSize)));
     buttonBox->button(QDialogButtonBox::Apply)->setText(i18n("Archive"));
index e676813c079ff0eea9c492f20bdb59062e9897cb..fb54b57869f78a71081ec6e2e96c8e866ed96bbd 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
-<gui name="kdenlive" version="62">
+<gui name="kdenlive" version="63">
   <ToolBar name="extraToolBar" >
     <text>Extra Toolbar</text>
        <Action name="project_render" />
@@ -10,7 +10,6 @@
     <Menu name="file" >
       <Action name="dvd_wizard" />
       <Action name="transcode_clip" />
-      <Action name="archive_project" />
     </Menu>
   
     <Menu name="edit" >
@@ -50,6 +49,7 @@
       <Action name="project_adjust_profile" />
       <Action name="project_settings" />
       <Action name="open_backup" />
+      <Action name="archive_project" />
     </Menu>
 
     <Menu name="tool" ><text>Tool</text>