|
|
|
@ -35,6 +35,11 @@ def main():
|
|
|
|
|
if args.method:
|
|
|
|
|
app = qt.QApplication(sys.argv)
|
|
|
|
|
app.setQuitOnLastWindowClosed(True)
|
|
|
|
|
|
|
|
|
|
font = app.font()
|
|
|
|
|
font.setPixelSize(13)
|
|
|
|
|
app.setFont(font)
|
|
|
|
|
|
|
|
|
|
ex = SelectedMethodWgt(app, args)
|
|
|
|
|
if args.method == 'update':
|
|
|
|
|
dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
|
|
|
|
@ -75,6 +80,10 @@ def main():
|
|
|
|
|
app = qt.QApplication(sys.argv)
|
|
|
|
|
app.setApplicationName(_("Calculate Console"))
|
|
|
|
|
|
|
|
|
|
font = app.font()
|
|
|
|
|
font.setPixelSize(13)
|
|
|
|
|
app.setFont(font)
|
|
|
|
|
|
|
|
|
|
second = False
|
|
|
|
|
for run_commands in filter(lambda x:'cl-console-gui' in x[0],getRunProc()):
|
|
|
|
|
if 'python' in run_commands[0]:
|
|
|
|
|