Commit fc8215be authored by Daniel Garcia Moreno's avatar Daniel Garcia Moreno

Activity label selectable

parent 954edb1c
Pipeline #55225 passed with stage
in 44 seconds
......@@ -40,7 +40,9 @@ class ActivitySummaryWidget(Gtk.Box):
self.time_label = Gtk.Label(label=time)
self.name_label.set_xalign(0.0)
self.name_label.set_ellipsize(Pango.EllipsizeMode.END)
self.name_label.set_selectable(True)
self.time_label.set_xalign(1.0)
self.time_label.set_selectable(True)
self.pack_start(self.name_label, True, True, 6)
self.pack_end(self.time_label, False, False, 6)
......@@ -100,9 +102,11 @@ class ActivityWidget(Gtk.Box):
self.label = Gtk.Label(label=act.name)
self.label.set_xalign(0.0)
self.label.set_ellipsize(Pango.EllipsizeMode.END)
self.label.set_selectable(True)
self.time_label = Gtk.Label(label=self.time())
self.time_label.set_xalign(1.0)
self.time_label.set_selectable(True)
box1.pack_start(self.label, True, True, 6)
box1.pack_start(self.time_label, False, False, 6)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment