mirror of
https://github.com/aclist/dztui.git
synced 2026-11-08 11:00:48 +01:00
feat: connect panel WIP
This commit is contained in:
1 parent
e2ec093f67
commit
59ef15073f
9 files changed
+111
-42
No files matched your search
@@ -5,7 +5,7 @@ from dzgui.const.enum import Popup, Preferences
|
||||
from dzgui.const.constants import NO_EXPAND, NO_FILL
|
||||
from dzgui.util.open_links import open_user_workshop
|
||||
from dzgui.views.dialogs.generic import GenericDialog
|
||||
from dzgui.views.components.buttons import WebButton
|
||||
from dzgui.views.components.buttons import SteamTextButton, WebButton
|
||||
|
||||
import gi
|
||||
gi.require_version("Gtk", "3.0")
|
||||
@@ -30,7 +30,7 @@ class WorkshopLinkDialog(GenericDialog):
|
||||
a clickable link to their workshop subscriptions is added
|
||||
"""
|
||||
if uid is not None:
|
||||
button = WebButton(label=button_label)
|
||||
button = SteamTextButton(label=button_label)
|
||||
button.set_margin_start(60)
|
||||
button.set_margin_end(60)
|
||||
button.connect("clicked", self._on_button_clicked, uid)
|
||||
|
||||
Reference in new issue
Block a user