remove the static info label
This commit is contained in:
parent
cf55232fc5
commit
23dd1ae1a8
|
@ -100,7 +100,7 @@ class MainWindow(QMainWindow):
|
||||||
excludes=self.config.excludes,
|
excludes=self.config.excludes,
|
||||||
prefix=self.config.prefix)
|
prefix=self.config.prefix)
|
||||||
dialog = ProgressDialog(thread)
|
dialog = ProgressDialog(thread)
|
||||||
dialog.label_info.setText("creating a backup.")
|
dialog.label_info.setText("Borg-Qt is currently creating a backup.")
|
||||||
dialog.exec_()
|
dialog.exec_()
|
||||||
self.update_ui()
|
self.update_ui()
|
||||||
except BorgException as e:
|
except BorgException as e:
|
||||||
|
@ -134,7 +134,8 @@ class MainWindow(QMainWindow):
|
||||||
restore_path = os.path.join(target_path, archive_name)
|
restore_path = os.path.join(target_path, archive_name)
|
||||||
thread = borg.RestoreThread(archive_name, restore_path)
|
thread = borg.RestoreThread(archive_name, restore_path)
|
||||||
dialog = ProgressDialog(thread)
|
dialog = ProgressDialog(thread)
|
||||||
dialog.label_info.setText("restoring a backup.")
|
dialog.label_info.setText(
|
||||||
|
"Borg-Qt is currently restoring a backup.")
|
||||||
dialog.exec_()
|
dialog.exec_()
|
||||||
open_path(restore_path)
|
open_path(restore_path)
|
||||||
except BorgException as e:
|
except BorgException as e:
|
||||||
|
@ -153,7 +154,8 @@ class MainWindow(QMainWindow):
|
||||||
try:
|
try:
|
||||||
thread = borg.DeleteThread(archive_name)
|
thread = borg.DeleteThread(archive_name)
|
||||||
dialog = ProgressDialog(thread)
|
dialog = ProgressDialog(thread)
|
||||||
dialog.label_info.setText("deleting a backup.")
|
dialog.label_info.setText(
|
||||||
|
"Borg-Qt is currently deleting a backup.")
|
||||||
dialog.exec_()
|
dialog.exec_()
|
||||||
self.update_ui()
|
self.update_ui()
|
||||||
except BorgException as e:
|
except BorgException as e:
|
||||||
|
|
|
@ -32,25 +32,12 @@
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel" name="label_static_info">
|
<widget class="QLabel" name="label_info">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>20</x>
|
<x>20</x>
|
||||||
<y>10</y>
|
<y>10</y>
|
||||||
<width>141</width>
|
<width>361</width>
|
||||||
<height>20</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Borg-Qt is currently</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget class="QLabel" name="label_info">
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>140</x>
|
|
||||||
<y>10</y>
|
|
||||||
<width>231</width>
|
|
||||||
<height>20</height>
|
<height>20</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
|
Loading…
Reference in New Issue