Skip to content

Commit eaaed22

Browse files
committed
truncate model name in pac
1 parent 940959d commit eaaed22

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gpu-pac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ class PACWindow(Gtk.Window):
9393
# Card Number in top center of box
9494
devices[gpu.prm.uuid] = {'card_num': Gtk.Label(name='white_label')}
9595
devices[gpu.prm.uuid]['card_num'].set_markup('<big><b>Card {}: </b>{}</big>'.format(
96-
gpu.get_params_value(str('card_num')), gpu.get_params_value('model_display')))
96+
gpu.get_params_value(str('card_num')), gpu.get_params_value('model_display')[:40]))
9797
set_gtk_prop(devices[gpu.prm.uuid]['card_num'], align=(0.5, 0.5), top=1, bottom=1, right=4, left=4)
9898
lbox = Gtk.Box(spacing=6, name='head_box')
9999
set_gtk_prop(lbox, top=1, bottom=1, right=1, left=1)

0 commit comments

Comments
 (0)