Skip to content

Commit

Permalink
Fix enumeration assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
marcogiusti committed Jun 3, 2024
1 parent 3d004c0 commit 8359fcb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions virtualbricks/gui/dialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2224,12 +2224,12 @@ def step_3(self, dialog):
vbox.foreach(vbox.remove)
for i, (name, dest) in enumerate(iter_model(store)):
nlabel = Gtk.Label(name + ":")
nlabel.props.halign = 0.0
nlabel.props.valign = 0.5
nlabel.props.halign = Gtk.Align.FILL
nlabel.props.valign = Gtk.Align.CENTER
dlabel = Gtk.Label(dest.path)
dlabel.set_tooltip_text(dest.path)
dlabel.props.halign = 0.0
dlabel.props.valign = 0.5
dlabel.props.halign = Gtk.Align.FILL
dlabel.props.valign = Gtk.Align.CENTER
dlabel.set_ellipsize(Pango.EllipsizeMode.MIDDLE)
box = Gtk.Box(orientation=Gtk.Orientation.HORIZONTAL, spacing=5)
box.pack_start(nlabel, False, True, 0)
Expand Down

0 comments on commit 8359fcb

Please sign in to comment.