Commit b740804f authored by Sean Davis's avatar Sean Davis 🕶

Fix remembered playlist not being forgotten when setting disabled

parent d6f78d30
2013-08-03: bluesabre@xfce.org
* Fix remembered playlist not being forgotten when setting disabled.
2013-07-25: bluesabre@xfce.org
* Bugfix release 0.5.2
* Revert "Fix MKV subtitles being shown when automatically show subtitles is disabled (bug 9880)"
......
......@@ -1175,9 +1175,19 @@ play_opened_files_activated_cb (GtkWidget *mi, ParoleConf *conf)
static void
remember_playlist_activated_cb (GtkWidget *mi, ParoleConf *conf)
{
gchar *playlist_filename;
GFile *playlist_file;
g_object_set (G_OBJECT (conf),
"remember-playlist", gtk_check_menu_item_get_active (GTK_CHECK_MENU_ITEM (mi)),
NULL);
if (!gtk_check_menu_item_get_active (GTK_CHECK_MENU_ITEM (mi))) {
playlist_filename = xfce_resource_save_location (XFCE_RESOURCE_DATA,
PAROLE_AUTO_SAVED_PLAYLIST,
FALSE);
playlist_file = g_file_new_for_path(playlist_filename);
g_file_delete(playlist_file, NULL, NULL);
g_free(playlist_filename);
}
}
static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment