mirror of
https://gitlab.freedesktop.org/dabrain34/GstPipelineStudio.git
synced 2024-11-22 00:50:59 +00:00
src: Use new wrappable argument
This commit is contained in:
parent
ed697a63e9
commit
0ee941efbe
2 changed files with 5 additions and 5 deletions
|
@ -30,7 +30,7 @@ pub fn setup_favorite_list(app: &GPSApp) {
|
||||||
.builder
|
.builder
|
||||||
.object("treeview-favorites")
|
.object("treeview-favorites")
|
||||||
.expect("Couldn't get treeview-favorites");
|
.expect("Couldn't get treeview-favorites");
|
||||||
treeview::add_column_to_treeview(app, "treeview-favorites", "Name", 0);
|
treeview::add_column_to_treeview(app, "treeview-favorites", "Name", 0, false);
|
||||||
reset_favorite_list(&favorite_list);
|
reset_favorite_list(&favorite_list);
|
||||||
let app_weak = app.downgrade();
|
let app_weak = app.downgrade();
|
||||||
favorite_list.connect_row_activated(move |tree_view, _tree_path, _tree_column| {
|
favorite_list.connect_row_activated(move |tree_view, _tree_path, _tree_column| {
|
||||||
|
@ -119,7 +119,7 @@ pub fn setup_elements_list(app: &GPSApp) {
|
||||||
.builder
|
.builder
|
||||||
.object("treeview-elements")
|
.object("treeview-elements")
|
||||||
.expect("Couldn't get treeview-elements");
|
.expect("Couldn't get treeview-elements");
|
||||||
treeview::add_column_to_treeview(app, "treeview-elements", "Name", 0);
|
treeview::add_column_to_treeview(app, "treeview-elements", "Name", 0, false);
|
||||||
reset_elements_list(&tree);
|
reset_elements_list(&tree);
|
||||||
let app_weak = app.downgrade();
|
let app_weak = app.downgrade();
|
||||||
tree.connect_row_activated(move |tree_view, _tree_path, _tree_column| {
|
tree.connect_row_activated(move |tree_view, _tree_path, _tree_column| {
|
||||||
|
|
|
@ -23,9 +23,9 @@ fn reset_logger_list(logger_list: &TreeView) {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn setup_logger_list(app: &GPSApp) {
|
pub fn setup_logger_list(app: &GPSApp) {
|
||||||
treeview::add_column_to_treeview(app, "treeview-logger", "TIME", 0);
|
treeview::add_column_to_treeview(app, "treeview-logger", "TIME", 0, false);
|
||||||
treeview::add_column_to_treeview(app, "treeview-logger", "LEVEL", 1);
|
treeview::add_column_to_treeview(app, "treeview-logger", "LEVEL", 1, false);
|
||||||
treeview::add_column_to_treeview(app, "treeview-logger", "LOG", 2);
|
treeview::add_column_to_treeview(app, "treeview-logger", "LOG", 2, true);
|
||||||
let logger_list: TreeView = app
|
let logger_list: TreeView = app
|
||||||
.builder
|
.builder
|
||||||
.object("treeview-logger")
|
.object("treeview-logger")
|
||||||
|
|
Loading…
Reference in a new issue