|
|
|
@ -42,6 +42,9 @@ class SelectedMethodWgt(QtGui.QWidget):
|
|
|
|
|
QtGui.QIcon.setThemeName('Calculate')
|
|
|
|
|
self.setWindowIcon(QtGui.QIcon \
|
|
|
|
|
('/usr/share/pixmaps/calculate-console-online.png'))
|
|
|
|
|
conf_path = self.VarsGui.Get('cl_gui_config_path')
|
|
|
|
|
homePath = self.VarsGui.Get('ur_home_path')
|
|
|
|
|
self.user_config = conf_path.replace("~",homePath)
|
|
|
|
|
|
|
|
|
|
if self.connect():
|
|
|
|
|
sys.exit(1)
|
|
|
|
@ -89,9 +92,6 @@ class SelectedMethodWgt(QtGui.QWidget):
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
def get_size(self):
|
|
|
|
|
conf_path = self.VarsGui.Get('cl_gui_config_path')
|
|
|
|
|
homePath = self.VarsGui.Get('ur_home_path')
|
|
|
|
|
self.user_config = conf_path.replace("~",homePath)
|
|
|
|
|
self.config = ConfigParser.ConfigParser()
|
|
|
|
|
self.config.read(self.user_config)
|
|
|
|
|
try:
|
|
|
|
|