Skip to content

Commit

Permalink
Forgot something else
Browse files Browse the repository at this point in the history
  • Loading branch information
geigi committed Dec 7, 2017
1 parent b0a1d2c commit b0d5e0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cozy/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,8 @@ def __init_window(self):
self.menu_button.set_menu_model(menu)

if self.is_elementary:
self.cover_img_box.props.width_request = 28
self.cover_img_box.props.height_request = 28
about_close_button = self.about_builder.get_object(
"button_box").get_children()[2]
about_close_button.connect("clicked", self.__about_close_clicked)
Expand Down Expand Up @@ -1004,8 +1006,6 @@ def __update_track_ui(self):
self.current_book = track.book
if self.is_elementary:
size = 28
self.cover_img_box.width_request = size
self.cover_img_box.height_request = size
else:
size = 40
self.set_title_cover(db.get_cover_pixbuf(track.book, size))
Expand Down

0 comments on commit b0d5e0a

Please sign in to comment.