[rhythmbox] lyrics: fix up song info page layout
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] lyrics: fix up song info page layout
- Date: Wed, 28 Jan 2015 22:33:56 +0000 (UTC)
commit 379db6c971bdefcc340ee940d9103f15abd9756a
Author: Jonathan Matthew <jonathan d14n org>
Date: Thu Dec 25 12:41:06 2014 +1000
lyrics: fix up song info page layout
plugins/lyrics/lyrics.py | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/plugins/lyrics/lyrics.py b/plugins/lyrics/lyrics.py
index fa600a4..071d3c0 100644
--- a/plugins/lyrics/lyrics.py
+++ b/plugins/lyrics/lyrics.py
@@ -223,7 +223,7 @@ class LyricPane(object):
self.discard.connect('clicked', discard_callback)
self.clear = Gtk.Button.new_from_stock(Gtk.STOCK_CLEAR)
self.clear.connect('clicked', clear_callback)
- self.hbox = Gtk.HButtonBox()
+ self.hbox = Gtk.ButtonBox(orientation=Gtk.Orientation.HORIZONTAL)
self.hbox.set_spacing (6)
self.hbox.set_layout(Gtk.ButtonBoxStyle.END)
self.hbox.add(self.edit)
@@ -233,8 +233,9 @@ class LyricPane(object):
(self.view, self.buffer, self.tview) = create_lyrics_view()
- self.view.pack_start(self.hbox, False, False, 6)
- self.view.set_spacing(2)
+ self.view.pack_start(self.hbox, False, False, 0)
+ self.view.set_spacing(6)
+ self.view.props.margin = 6
self.view.show_all()
self.page_num = song_info.append_page(_("Lyrics"), self.view)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]