filter_attributes(gtk_entry_get_text((GtkEntry*)widget), view->Topview);
}
-static void set_refresh_filters(ViewInfo * v, int type, char *name)
+static void set_refresh_filters(ViewInfo * v, char *name)
{
if (strcasecmp(name, "pos") == 0)
v->refresh.pos = 1;
if (strcasecmp(name, "color") == 0)
v->refresh.color = 1;
- if ((strcasecmp(name, "size") == 0) && (type == AGNODE))
- v->refresh.nodesize = 1;
if (strcasecmp(name, "selected") == 0)
v->refresh.selection = 1;
}
fprintf(stderr,
"on_attrApplyBtn_clicked: unknown object kind %d\n",
objKind);
- set_refresh_filters(view, objKind, attr_name);
+ set_refresh_filters(view, attr_name);
}
_BB void on_attrApplyBtn_clicked(GtkWidget * widget, gpointer user_data)
view->refresh.color=1;
view->refresh.pos=1;
view->refresh.selection=1;
- view->refresh.nodesize=1;
if(view->guiMode!=GUI_FULLSCREEN)
view->guiMode=GUI_WINDOWED;
{
Agraph_t *graph = view->g[view->activeGraph];
view->refresh.color=1;
- view->refresh.nodesize=1;
view->refresh.pos=1;
view->refresh.selection=1;
load_settings_from_graph();