Skip to content

Commit 7669cbe

Browse files
hduelmemtwebster
authored andcommitted
simplify boolean check in cs_default
1 parent 4c5deb0 commit 7669cbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/usr/share/cinnamon/cinnamon-settings/modules/cs_default.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def onChanged(self, button):
244244

245245
#Web
246246
if self.content_type == "x-scheme-handler/http":
247-
if info.set_as_default_for_type ("x-scheme-handler/https") == False:
247+
if not info.set_as_default_for_type("x-scheme-handler/https"):
248248
print(" Failed to set '%s' as the default application for '%s'" % (info.get_name(), "x-scheme-handler/https"))
249249

250250
class DefaultTerminalButton(Gtk.AppChooserButton): #TODO: See if we can get this to change the x-terminal-emulator default to allow it to be a more global change rather then just cinnamon/nemo

0 commit comments

Comments
 (0)