void on_searchentry_changed (GtkEditable *editable, gpointer user_data) { search_refresh (); main_refresh (); }
void main_delete_selected (void) { deadbeef->pl_delete_selected (); deadbeef->pl_save_all (); main_refresh (); search_refresh (); }
void on_searchentry_changed (GtkEditable *editable, gpointer user_data) { search_refresh (); deadbeef->sendmessage (DB_EV_PLAYLISTCHANGED, 0, DDB_PLAYLIST_CHANGE_SELECTION, 0); deadbeef->sendmessage (DB_EV_PLAYLISTCHANGED, 0, DDB_PLAYLIST_CHANGE_SEARCHRESULT, 0); }
static void on_remove_playlist1_activate (GtkMenuItem *menuitem, gpointer user_data) { if (pltmenu_idx != -1) { deadbeef->plt_remove (pltmenu_idx); search_refresh (); int playlist = deadbeef->plt_get_curr_idx (); deadbeef->conf_set_int ("playlist.current", playlist); } }
void search_start (void) { ddb_listview_lock_columns (DDB_LISTVIEW (lookup_widget (searchwin, "searchlist")), 1); wingeom_restore (searchwin, "searchwin", -1, -1, 450, 150, 0); gtk_entry_set_text (GTK_ENTRY (lookup_widget (searchwin, "searchentry")), ""); gtk_widget_grab_focus (lookup_widget (searchwin, "searchentry")); gtk_widget_show (searchwin); gtk_window_present (GTK_WINDOW (searchwin)); g_idle_add (unlock_search_columns_cb, NULL); search_refresh (); main_refresh (); }
static gboolean write_finished_cb (void *ctx) { gtk_widget_destroy (progressdlg); progressdlg = NULL; ddb_playlist_t *plt = deadbeef->plt_get_curr (); if (plt) { deadbeef->plt_modified (plt); deadbeef->plt_unref (plt); } main_refresh (); search_refresh (); trkproperties_modified = 0; show_track_properties_dlg (last_ctx); return FALSE; }
static void search_delete_selected (void) { deadbeef->pl_delete_selected (); main_refresh (); search_refresh (); }