[Xfce4-commits] <parole:bluesabre/gtk3> Correctly toggle remember-playlist option in preferences
Sean Davis
noreply at xfce.org
Fri Sep 13 03:04:01 CEST 2013
Updating branch refs/heads/bluesabre/gtk3
to b78593c7f23934f9aefcc5fce126b0302cb715cb (commit)
from 3c5d4f71fe84a86b4c3dfd147027fe9e8e2551cb (commit)
commit b78593c7f23934f9aefcc5fce126b0302cb715cb
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Thu Sep 12 21:03:09 2013 -0400
Correctly toggle remember-playlist option in preferences
src/parole-conf-dialog.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/parole-conf-dialog.c b/src/parole-conf-dialog.c
index 8dd1821..23da686 100644
--- a/src/parole-conf-dialog.c
+++ b/src/parole-conf-dialog.c
@@ -461,6 +461,17 @@ parole_conf_dialog_set_defaults_playlist (ParoleConfDialog *self, GtkBuilder *b
NULL);
gtk_switch_set_active (GTK_SWITCH (widget), option);
+
+ /**
+ * Remember playlist
+ **/
+ widget = GTK_WIDGET (gtk_builder_get_object (builder, "remember-playlist"));
+
+ g_object_get (G_OBJECT (self->priv->conf),
+ "remember-playlist", &option,
+ NULL);
+
+ gtk_switch_set_active (GTK_SWITCH (widget), option);
}
/* Load the multimedia-button default settings */
More information about the Xfce4-commits
mailing list