def get_profile_settings(self): profiles = self.settings_try_new("org.gnome.Terminal.ProfilesList") settings = Gio.Settings.new("org.gnome.gedit.plugins.terminal") return settings