mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-ui: allow restricting remote proxy
This commit is contained in:
@ -143,6 +143,7 @@ test_process (void)
|
||||
|
||||
filter = sysprof_model_filter_new (G_LIST_MODEL (model));
|
||||
|
||||
sysprof_process_model_set_no_proxy (model, TRUE);
|
||||
sysprof_process_model_reload (model);
|
||||
|
||||
for (guint i = 0; i < G_N_ELEMENTS (searches); i++)
|
||||
|
||||
@ -78,6 +78,7 @@ main (gint argc,
|
||||
gtk_container_add (GTK_CONTAINER (scroller), list);
|
||||
|
||||
model = sysprof_process_model_new ();
|
||||
sysprof_process_model_set_no_proxy (model, TRUE);
|
||||
filter = sysprof_model_filter_new (G_LIST_MODEL (model));
|
||||
gtk_list_box_bind_model (GTK_LIST_BOX (list), G_LIST_MODEL (filter), create_row, NULL, NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user