mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-15 06:45:48 +00:00
added support of disable ooption to dataengine
This commit is contained in:
@ -167,7 +167,7 @@ class ConfigDefinition:
|
||||
self.configpage.ui.listWidget_mount.clear()
|
||||
for item in str(settings.get('mount', '/')).split('@@'):
|
||||
self.configpage.ui.listWidget_mount.addItem(item)
|
||||
commandOut = commands.getoutput("find /dev -name '[hs]d[a-z]'")
|
||||
commandOut = commands.getoutput("find /dev -name '[hms]d[a-z]'")
|
||||
for item in commandOut.split("\n"):
|
||||
try:
|
||||
self.configpage.ui.comboBox_hddDevice.addItem(item)
|
||||
@ -217,7 +217,8 @@ class ConfigDefinition:
|
||||
index = self.configpage.ui.comboBox_gpudev.findText(deSettings['GPUDEV'])
|
||||
self.configpage.ui.comboBox_gpudev.setCurrentIndex(index)
|
||||
self.configpage.ui.comboBox_hdddev.addItem("all")
|
||||
commandOut = commands.getoutput("find /dev -name '[hs]d[a-z]'")
|
||||
self.configpage.ui.comboBox_hdddev.addItem("disable")
|
||||
commandOut = commands.getoutput("find /dev -name '[hms]d[a-z]'")
|
||||
for item in commandOut.split("\n"):
|
||||
try:
|
||||
self.configpage.ui.comboBox_hdddev.addItem(item)
|
||||
|
@ -35,7 +35,7 @@
|
||||
<item>
|
||||
<widget class="QTabWidget" name="tabWidget">
|
||||
<property name="currentIndex">
|
||||
<number>0</number>
|
||||
<number>4</number>
|
||||
</property>
|
||||
<widget class="QWidget" name="settings">
|
||||
<attribute name="title">
|
||||
@ -1194,8 +1194,8 @@ $ps - list of running processes comma separated</string>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>-183</y>
|
||||
<width>526</width>
|
||||
<y>0</y>
|
||||
<width>328</width>
|
||||
<height>723</height>
|
||||
</rect>
|
||||
</property>
|
||||
@ -2523,6 +2523,11 @@ del - remove item</string>
|
||||
<string notr="true">auto</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string notr="true">disable</string>
|
||||
</property>
|
||||
</item>
|
||||
<item>
|
||||
<property name="text">
|
||||
<string notr="true">nvidia</string>
|
||||
|
Reference in New Issue
Block a user