ocarina: Update library path when row is activated

This can either be a double-click or pressing "enter" on a selected row.

Signed-off-by: Bryan Schumaker <bjschuma@gmail.com>
This commit is contained in:
Bryan Schumaker 2012-04-01 19:52:30 -04:00
parent 659a2208b8
commit b6cf10bf61
1 changed files with 1 additions and 0 deletions

View File

@ -107,6 +107,7 @@ static void row_activated(GtkWidget *treeview, GtkTreePath *path,
gtk_tree_model_get_iter(GTK_TREE_MODEL(path_list), &iter, path);
gtk_tree_model_get(GTK_TREE_MODEL(path_list), &iter, 0, &ls_path, -1);
libsaria::library::update_path(ls_path);
}
static libsaria::library::Path *get_selected_path(GtkWidget *treeview)