mirror of
https://github.com/aclist/dztui.git
synced 2026-10-31 07:02:50 +01:00
feat: version tooltip
This commit is contained in:
1 parent
b8ed0723e1
commit
51ccdf7caa
1 file changed
+2
@@ -40,6 +40,7 @@ class RightPanel(Gtk.Box):
|
|||||||
|
|
||||||
self.copying = False
|
self.copying = False
|
||||||
|
|
||||||
|
# TODO: strings
|
||||||
version = self.controller.get_prefs().version
|
version = self.controller.get_prefs().version
|
||||||
self.version_label = Gtk.Label(
|
self.version_label = Gtk.Label(
|
||||||
label=version,
|
label=version,
|
||||||
@@ -47,6 +48,7 @@ class RightPanel(Gtk.Box):
|
|||||||
vexpand=True,
|
vexpand=True,
|
||||||
halign=Gtk.Align.END,
|
halign=Gtk.Align.END,
|
||||||
valign=Gtk.Align.END,
|
valign=Gtk.Align.END,
|
||||||
|
tooltip_text="Click to copy to clipboard",
|
||||||
)
|
)
|
||||||
eb = Gtk.EventBox(halign=Gtk.Align.END, valign=Gtk.Align.END)
|
eb = Gtk.EventBox(halign=Gtk.Align.END, valign=Gtk.Align.END)
|
||||||
eb.add(self.version_label)
|
eb.add(self.version_label)
|
||||||
|
|||||||
Reference in new issue
Block a user