summaryrefslogtreecommitdiff
path: root/plugins/gtkui/actionhandlers.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-11-17 16:55:17 +0100
committerGravatar Alexey Yakovenko <waker@users.sourceforge.net>2013-11-17 16:55:17 +0100
commite8f2cb22a3d51b9156ac399c0f3d45a713074bb6 (patch)
tree4d4022d839dcffc70ee09e137a7962499d5a9a7d /plugins/gtkui/actionhandlers.c
parent9e2f9fc0893ce7eaa65144af421358be9c140d0a (diff)
gtkui: fixed refresh after loading playlist
Diffstat (limited to 'plugins/gtkui/actionhandlers.c')
-rw-r--r--plugins/gtkui/actionhandlers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gtkui/actionhandlers.c b/plugins/gtkui/actionhandlers.c
index 88214a1c..b2923c2e 100644
--- a/plugins/gtkui/actionhandlers.c
+++ b/plugins/gtkui/actionhandlers.c
@@ -656,7 +656,7 @@ load_playlist_thread (void *data) {
if (plt) {
deadbeef->plt_clear (plt);
int abort = 0;
- DB_playItem_t *it = deadbeef->plt_load (plt, NULL, fname, &abort, NULL, NULL);
+ DB_playItem_t *it = deadbeef->plt_load2 (0, plt, NULL, fname, &abort, NULL, NULL);
if (it) {
deadbeef->pl_item_unref (it);
}
@@ -664,7 +664,7 @@ load_playlist_thread (void *data) {
deadbeef->plt_unref (plt);
}
g_free (fname);
- gtkui_playlist_changed ();
+ deadbeef->sendmessage (DB_EV_PLAYLISTCHANGED, 0, 0, 0);
}