summaryrefslogtreecommitdiff
path: root/plugins/gtkui/mainplaylist.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-06-17 23:20:45 +0200
committerGravatar waker <wakeroid@gmail.com>2011-06-17 23:20:45 +0200
commitfe1790fd889dfacc6e4f4a32bfebe29789d5a9ed (patch)
treeb6e23533f7aeeedba4e587487c9611fed4952d6c /plugins/gtkui/mainplaylist.c
parent081386fa03e82ca64aa14a5bd5e8bd3ba8b2ba9a (diff)
initial work to add customizable layout support:
defined data structures, few stubs, many regressions, implemented tabbed playlist widget; now it should be possible to have several playlist viewers visible at the same time; playlist keyboard handling is partially broken
Diffstat (limited to 'plugins/gtkui/mainplaylist.c')
-rw-r--r--plugins/gtkui/mainplaylist.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/gtkui/mainplaylist.c b/plugins/gtkui/mainplaylist.c
index f04f9cb1..78db579f 100644
--- a/plugins/gtkui/mainplaylist.c
+++ b/plugins/gtkui/mainplaylist.c
@@ -347,9 +347,6 @@ main_playlist_free (void) {
void
main_refresh (void) {
- if (mainwin && gtk_widget_get_visible (mainwin)) {
- DdbListview *pl = DDB_LISTVIEW (lookup_widget (mainwin, "playlist"));
- ddb_listview_refresh (pl, DDB_REFRESH_VSCROLL | DDB_REFRESH_LIST);
- }
+ deadbeef->sendmessage (DB_EV_PLAYLISTCHANGED, 0, 0, 0);
}