- Posts: 1916
- Thank you received: 394
newbynobi wrote:
No, I tried this in normal gscreen. I noticed this while testing around with gmoccapy and I thought it was caused by myself. But testing it with gscreen results in the same behavior.
If I leave gscreen with a visible cursor, I am able to restart gscreen from the terminal without any problem, just when the cursor was hideen when closing gscreen, the server crashes.
How can I find out what hapens?
Norbert
I tried again with default Gscreen - no problems.
I don't know how to pin point closer.
can you try different computer?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
newbynobi wrote: Hallo Chris,
why do you get the units for self.data.dro_units only from the preference file?
I think you should get the units from the INI File like so:
Code:self.data.dro_units = self.inifile.find("TRAJ","LINEAR_UNITS") if self.data.dro_units == "inch" self.widgets.toglebutton_units.set_active(True)
Users are always forced to enter units in the INI File, why again in the settings?
Norbert
Please Log in or Create an account to join the conversation.
newbynobi wrote: Hallo Chris,
while testing around, I found that you use as default theme "Redmond"
Could you change the default to "Follow System Theme"?
When the user sets a own path to preference file in the INI , like so
PFREFERENCE_FILE_PATH = ~/./gmoccapy_preferences
The File will be filed from gscreen with default values.
In my case resulting in problems, because you set the dro colors with standard values, so I get red numbers on a red background.
I found a solution, but I would apreciate, if you could set the standard colors to black.
I.e. If I say in gmoccapy:
Code:self.data.theme_name = self.gscreen.pref.getpref('gtk-theme', 'Follow System Theme', str)
I get "Redmond" as result if the preference file does not exist jet. That happen after the first start if you set a new path in the INI File.
I could not understand, why I didn't get the default values I set in the code.
Norbert
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.