diff --git a/gui/collection_mgr.cpp b/gui/collection_mgr.cpp index ead9262b..433b0cb1 100644 --- a/gui/collection_mgr.cpp +++ b/gui/collection_mgr.cpp @@ -76,12 +76,12 @@ void collection_mgr_init() { Glib::RefPtr toggle; - c_treeview = lib :: get_widget("o_collection_treeview"); - c_chooser = lib :: get_widget("o_collection_chooser"); - toggle = lib :: get_object("o_collection_toggle"); + c_treeview = lib :: get_widget("colmgr_treeview"); + c_chooser = lib :: get_widget("colmgr_chooser"); + toggle = lib :: get_object("colmgr_toggle"); - connect_button("o_collection_ok", on_ok); - connect_button("o_collection_update", on_update); + connect_button("colmgr_add", on_ok); + connect_button("colmgr_update", on_update); c_treeview->signal_row_activated().connect(sigc::ptr_fun(on_row_activated)); c_treeview->signal_cursor_changed().connect(sigc::ptr_fun(on_cursor_changed)); diff --git a/lib/colmgr.cpp b/lib/colmgr.cpp index 9784c97b..1a7c7231 100644 --- a/lib/colmgr.cpp +++ b/lib/colmgr.cpp @@ -53,7 +53,7 @@ void colmgr :: init() Database::iterator it; Database *db = &tagdb :: get_library_db(); - c_list = lib :: get_object("o_collection_list"); + c_list = lib :: get_object("colmgr_list"); c_list->set_sort_column(c_cols.c_path, Gtk::SORT_ASCENDING); for (it = db->begin(); it != db->end(); it != db->next(it)) diff --git a/share/ocarina/ocarina6.glade b/share/ocarina/ocarina6.glade index f424521a..c5a55e71 100644 --- a/share/ocarina/ocarina6.glade +++ b/share/ocarina/ocarina6.glade @@ -7,6 +7,18 @@ 1 10 + + + + + + + + + + + + inode/directory @@ -183,18 +195,6 @@ - - - - - - - - - - - - @@ -1070,7 +1070,7 @@ Manager False vertical - + True False 5 @@ -1098,12 +1098,12 @@ Manager True in - + True True natural natural - o_collection_list + colmgr_list False True False @@ -1114,7 +1114,7 @@ Manager 20 - + 1 @@ -1161,7 +1161,7 @@ Manager vertical True - + True True True @@ -1207,7 +1207,7 @@ Manager - + True True True diff --git a/tests/lib/colmgr.cpp b/tests/lib/colmgr.cpp index d6ff2d68..041d9656 100644 --- a/tests/lib/colmgr.cpp +++ b/tests/lib/colmgr.cpp @@ -16,7 +16,7 @@ void test_colmgr() Gtk::TreePath path; Gtk::TreeModel::Row row; Glib::RefPtr list; - list = lib :: get_object("o_collection_list"); + list = lib :: get_object("colmgr_list"); test_equal((size_t)list->children().size(), (size_t)0);