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 (); main_refresh (); }
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 (); }