[gnome-music/wip/jfelder/albumwidget-cleanup] albumwidget: Remove redundant show_all
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/albumwidget-cleanup] albumwidget: Remove redundant show_all
- Date: Wed, 12 Sep 2018 11:54:50 +0000 (UTC)
commit 5d14b6d99be00e4fb94d95973104fbbe65244223
Author: Jean Felder <jfelder src gnome org>
Date: Tue Sep 11 20:52:18 2018 +0200
albumwidget: Remove redundant show_all
show_all is already called at the end of the constructor. Only the
composer label visibility can change and it is handled by
_set_duration_label call.
gnomemusic/widgets/albumwidget.py | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/gnomemusic/widgets/albumwidget.py b/gnomemusic/widgets/albumwidget.py
index 52a40547..5450d40c 100644
--- a/gnomemusic/widgets/albumwidget.py
+++ b/gnomemusic/widgets/albumwidget.py
@@ -231,7 +231,6 @@ class AlbumWidget(Gtk.EventBox):
self._set_duration_label()
self._update_model(self._player)
- self.show_all()
@log
def _update_model(self, player, position=None):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]