[sulfur] usability work
:: hide progress tab until installation is started :: rename "Queue" to "Installation", small but effective change
This commit is contained in:
@@ -280,6 +280,9 @@ class SulfurApplication(Controller, SulfurApplicationEventsMixin):
|
||||
self.switch_application_mode(simple_mode)
|
||||
self.in_mode_loading = False
|
||||
|
||||
# hide progress Tab by default
|
||||
self.ui.progressVBox.hide()
|
||||
|
||||
self.setup_preferences()
|
||||
|
||||
def switch_application_mode(self, do_simple):
|
||||
@@ -1410,6 +1413,7 @@ class SulfurApplication(Controller, SulfurApplicationEventsMixin):
|
||||
self.ui.queueVbox.hide()
|
||||
self.ui.systemVbox.hide()
|
||||
self.ui.packagesVbox.hide()
|
||||
self.ui.progressVBox.show()
|
||||
|
||||
def show_notebook_tabs_after_install(self):
|
||||
self.ui.queueVbox.show()
|
||||
@@ -1475,7 +1479,7 @@ class SulfurApplication(Controller, SulfurApplicationEventsMixin):
|
||||
|
||||
# preventive check against other instances
|
||||
locked = self.Equo.application_lock_check()
|
||||
if locked:
|
||||
if locked or not entropy.tools.is_root():
|
||||
okDialog(self.ui.main,
|
||||
_("Another Entropy instance is running. Cannot process queue."))
|
||||
self.progress.reset_progress()
|
||||
|
||||
@@ -4998,7 +4998,7 @@ Install+Removal</property>
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label5">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Queue</property>
|
||||
<property name="label" translatable="yes">Installation</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="position">1</property>
|
||||
@@ -5338,7 +5338,7 @@ Install+Removal</property>
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label17">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Installation</property>
|
||||
<property name="label" translatable="yes">Progress</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="position">1</property>
|
||||
|
||||
Reference in New Issue
Block a user