[rhythmbox/gobject-introspection: 21/34] missing some bits in the replaygain plugin
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox/gobject-introspection: 21/34] missing some bits in the replaygain plugin
- Date: Wed, 14 Jul 2010 05:57:50 +0000 (UTC)
commit b47997ce74c8a37fe1b89600cea048df8b9695e8
Author: Jonathan Matthew <jonathan d14n org>
Date: Tue Jul 13 14:55:54 2010 +1000
missing some bits in the replaygain plugin
plugins/replaygain/replaygain/config.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugins/replaygain/replaygain/config.py b/plugins/replaygain/replaygain/config.py
index e84c6e7..552332d 100644
--- a/plugins/replaygain/replaygain/config.py
+++ b/plugins/replaygain/replaygain/config.py
@@ -61,7 +61,7 @@ class ReplayGainConfigDialog(Gtk.Dialog):
content = self.builder.get_object("replaygain-prefs")
self.get_content_area().add(content)
- self.add_action_widget(Gtk.Button(stock=gtk.STOCK_CLOSE), 0)
+ self.add_action_widget(Gtk.Button(stock=Gtk.STOCK_CLOSE), 0)
self.show_all()
label = self.builder.get_object("headerlabel")
@@ -76,9 +76,9 @@ class ReplayGainConfigDialog(Gtk.Dialog):
preamp.set_value(self.gconf.get_float(GCONF_KEYS['preamp']))
preamp.connect("value-changed", self.preamp_changed_cb)
- preamp.add_mark(-15.0, gtk.POS_BOTTOM, _("-15.0 dB"))
- preamp.add_mark(0.0, gtk.POS_BOTTOM, _("0.0 dB"))
- preamp.add_mark(15.0, gtk.POS_BOTTOM, _("15.0 dB"))
+ preamp.add_mark(-15.0, Gtk.PositionType.BOTTOM, _("-15.0 dB"))
+ preamp.add_mark(0.0, Gtk.PositionType.BOTTOM, _("0.0 dB"))
+ preamp.add_mark(15.0, Gtk.PositionType.BOTTOM, _("15.0 dB"))
limiter = self.builder.get_object("limiter")
limiter.set_active(self.gconf.get_bool(GCONF_KEYS['limiter']))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]