Page 1 of 1

gtkservicesetup "Service description" error

Posted: 28. Oct 2018, 12:59
by ibka
Just found a bug in gtkservicesetup, look at the cgconfig and the following rows marked in red in the picture below, the description show "The gconfig service" it should be "The cgconfig service"

Image

The problem is the line:

Code: Select all

description = _('The {0} service').format(service.lstrip('rc.'))
If i change it to:

Code: Select all

description = _('The {0} service').format(service[3:])
The result is "The cgconfig service"

Image

Why no one has discovered this before I do not know.

Regards Ingemar

Re: gtkservicesetup "Service description" error

Posted: 28. Oct 2018, 20:39
by gapan
Huh... look at that... :oops:

Thanks ibka, I'll make the change.