File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -171,23 +171,17 @@ namespace jorts {
171171 /* ************************************************/
172172
173173
174- string link = Granite . SettingsUri . PERMISSIONS ;
175- string linkname = _ ("Permissions ") ;
174+ var link = Granite . SettingsUri . PERMISSIONS ;
175+ var linkname = _ ("Permissions ") ;
176176
177177 string desktop_environment = Environment.get_variable ("XDG_CURRENT_DESKTOP ");
178178 print (desktop_environment + " detected !");
179-
180- // Show only in Pantheon because others do not have an autostart panel
181- if (desktop_environment == "Pantheon ") {
182-
183- string link = Granite . SettingsUri . PERMISSIONS ;
184- string linkname = _(" Permissions" ) ;
185179
186180 // Show only in Windows
187- } else if (desktop_environment == "Windows ") {
181+ if (desktop_environment == "Windows ") {
188182
189- string link = " https://support.microsoft.com/en-gb/windows/configure-startup-applications-in-windows-115a420a-0bff-4a6f-90e0-1934c844e473" ;
190- string linkname = _(" Microsoft support" ) ;
183+ var link = " https://support.microsoft.com/en-gb/windows/configure-startup-applications-in-windows-115a420a-0bff-4a6f-90e0-1934c844e473" ;
184+ var linkname = _(" Microsoft support" ) ;
191185
192186 // show in all other DE
193187 } else {
You can’t perform that action at this time.
0 commit comments