mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-09-15 17:02:32 +00:00
17 lines
428 B
Python
17 lines
428 B
Python
|
|
from gi.repository import Gtk, Gdk, Adw
|
|
|
|
from .constants import rootdir
|
|
|
|
|
|
@Gtk.Template(resource_path=f"{rootdir}/ui/plugin_row.ui")
|
|
class AdwcustomizerPluginRow(Adw.ActionRow):
|
|
__gtype_name__ = "AdwcustomizerPluginRow"
|
|
|
|
def __init__(self, name, repo, **kwargs):
|
|
super().__init__(**kwargs)
|
|
|
|
self.name = name
|
|
self.set_name(name)
|
|
self.set_title(name)
|
|
self.set_subtitle("@" + repo)
|