1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2025-07-15 12:08:49 +02:00

fix: restore URLs

This commit is contained in:
aclist 2024-01-13 14:57:23 +09:00
parent af1bed9319
commit 87ba21a26a
3 changed files with 22 additions and 38 deletions
helpers

View file

@ -15,7 +15,7 @@ locale.setlocale(locale.LC_ALL, '')
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, GLib, Gdk, GObject, Pango
# 5.0.0-rc.19
# 5.0.0-rc.20
app_name = "DZGUI"
cache = {}
@ -493,7 +493,6 @@ class RightPanel(Gtk.Box):
self.question_button.set_margin_start(50)
self.question_button.set_margin_end(50)
self.question_button.connect("clicked", self._on_button_clicked)
set_surrounding_margins(self.question_button, 50)
if is_steam_deck is False:
self.pack_start(self.question_button, False, True, 0)
@ -646,9 +645,6 @@ class TreeView(Gtk.TreeView):
renderer = Gtk.CellRendererText()
column = Gtk.TreeViewColumn(column_title, renderer, text=i)
self.append_column(column)
# TODO: change font size on the fly
if is_steam_deck is True:
renderer.set_property("size-points", 20)
self.connect("row-activated", self._on_row_activated)
self.connect("key-press-event", self._on_keypress)