From e4096cb97c25023e892b61250325339c683b1b9c Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sun, 4 Mar 2018 12:02:16 +0100 Subject: [PATCH] Rename some of the containers to be more pep8 compliant --- grzegorz_clients/remi_ui.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/grzegorz_clients/remi_ui.py b/grzegorz_clients/remi_ui.py index 608a46e..4de1854 100644 --- a/grzegorz_clients/remi_ui.py +++ b/grzegorz_clients/remi_ui.py @@ -50,15 +50,15 @@ class RemiApp(App): container.append(self.playback.playing) - playbackContainer = gui.HBox() - playbackContainer.append(self.playback.previous) - playbackContainer.append(self.playback.play) - playbackContainer.append(self.playback.next) + playback_container = gui.HBox() + playback_container.append(self.playback.previous) + playback_container.append(self.playback.play) + playback_container.append(self.playback.next) volume_container = gui.VBox() volume_container.append(self.playback.volume_label) volume_container.append(self.playback.volume_slider) - playbackContainer.append(volume_container) - container.append(playbackContainer) + playback_container.append(volume_container) + container.append(playback_container) container.append(self.playback.seek_slider) container.append(self.playback.timestamp) @@ -71,7 +71,7 @@ class RemiApp(App): #input container.append(gui.Label("Add songs:")) - inputContainer = gui.HBox(width=WIDTH) + input_container = gui.HBox(width=WIDTH) self.input = Namespace() self.input.field = gui.TextInput(single_line=True, height="20px", margin="5px") self.input.field.style["border"] = "1px solid %s" % COLOR_BLUE @@ -80,9 +80,9 @@ class RemiApp(App): self.input.field.set_on_enter_listener(self.input_submit) self.input.submit.set_on_click_listener(self.input_submit) - inputContainer.append(self.input.field) - inputContainer.append(self.input.submit) - container.append(inputContainer) + input_container.append(self.input.field) + input_container.append(self.input.submit) + container.append(input_container) #return the container self.mainLoop()