summaryrefslogtreecommitdiff
path: root/plugins/gtkui/search.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2010-12-31 13:48:04 +0100
committerGravatar waker <wakeroid@gmail.com>2010-12-31 13:48:04 +0100
commite06308f8f5105f4d2d6eac3665b543ef6f360341 (patch)
tree8d35467ec6beed4c20ceb60a1d8af350f276657c /plugins/gtkui/search.c
parent74df8d527b3052dc9593985fcd80136c39dadd94 (diff)
renamed pause event to togglepause;
added new pause event, including command line option; slightly changed/shortened M_* constant names
Diffstat (limited to 'plugins/gtkui/search.c')
-rw-r--r--plugins/gtkui/search.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gtkui/search.c b/plugins/gtkui/search.c
index ee096930..d69deee9 100644
--- a/plugins/gtkui/search.c
+++ b/plugins/gtkui/search.c
@@ -176,7 +176,7 @@ on_searchwin_key_press_event (GtkWidget *widget,
int row = deadbeef->pl_get_cursor (PL_SEARCH);
DB_playItem_t *it = deadbeef->pl_get_for_idx_and_iter (max (row, 0), PL_SEARCH);
if (it) {
- deadbeef->sendmessage (M_PLAYSONGNUM, 0, deadbeef->pl_get_idx_of (it), 0);
+ deadbeef->sendmessage (M_PLAY_NUM, 0, deadbeef->pl_get_idx_of (it), 0);
deadbeef->pl_item_unref (it);
}
}
@@ -364,7 +364,7 @@ void search_col_free_user_data (void *data) {
}
void search_handle_doubleclick (DdbListview *listview, DdbListviewIter iter, int idx) {
- deadbeef->sendmessage (M_PLAYSONGNUM, 0, deadbeef->pl_get_idx_of ((DB_playItem_t *)iter), 0);
+ deadbeef->sendmessage (M_PLAY_NUM, 0, deadbeef->pl_get_idx_of ((DB_playItem_t *)iter), 0);
}
void search_selection_changed (DdbListviewIter it, int idx) {