roundabout,
created on Monday, 9 December 2024, 19:20:51 (1733772051),
received on Thursday, 12 December 2024, 14:59:13 (1734015553)
Author identity: vlad <vlad.muntoiu@gmail.com>
85489bb59762b1b30aa4a6e2826208c40dd5b614
main.py
@@ -399,10 +399,15 @@ class Izvor(Gtk.Application):
switch.set_active(provider.stem in self.permanently_enabled_providers) switch.connect("notify::active", self.update_permanently_enabled_providers, provider.stem) config_button = Gtk.Button.new_with_label(_("Configure")) config_button.connect("clicked", lambda _, stem=provider.stem: subprocess.Popen(["xdg-open", str(self.USER_PROVIDER_CONFIGS / f"{stem}.json")])) config_button.set_relief(Gtk.ReliefStyle.NONE) providers_table.attach(icon, 0, rows, 1, 1) providers_table.attach(provider_label, 1, rows, 1, 1) providers_table.attach(provider_description, 2, rows, 1, 1) providers_table.attach(switch, 3, rows, 1, 1) providers_table.attach(config_button, 4, rows, 1, 1)provider_label.show() provider_description.show()