From 631804bbaaff4f9bb28d48ebea052f4297395346 Mon Sep 17 00:00:00 2001 From: arif Date: Wed, 13 May 2009 20:10:07 +0000 Subject: [PATCH] node size problem is solved for good --- cmd/smyrna/gui/topviewsettings.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cmd/smyrna/gui/topviewsettings.c b/cmd/smyrna/gui/topviewsettings.c index 4e2f00b63..3b77694a7 100644 --- a/cmd/smyrna/gui/topviewsettings.c +++ b/cmd/smyrna/gui/topviewsettings.c @@ -13,6 +13,7 @@ * AT&T Research, Florham Park NJ * **********************************************************/ +#include "topview.h" #include "topviewsettings.h" #include "gui.h" #include "colorprocs.h" @@ -338,6 +339,7 @@ int load_settings_from_graph(Agraph_t * g) set_scalebtn_widget_to_attribute("defaultnodealpha", "settingsscale1"); /*node alpha*/ set_scalebtn_widget_to_attribute("defaultedgealpha", "settingsscale2"); /*edge alpha*/ + set_scalebtn_widget_to_attribute("nodesize", "nodesizescale"); /*edge alpha*/ /*font selection box */ buf = agget(view->g[view->activeGraph], "defaultfontname"); @@ -394,9 +396,6 @@ int load_settings_from_graph(Agraph_t * g) return 1; } -/*burak -917 749 6080*/ - int update_graph_from_settings(Agraph_t * g) { @@ -518,6 +517,8 @@ int update_graph_from_settings(Agraph_t * g) "settingsscale1", g); get_scalebtn_widget_to_attribute("defaultedgealpha", "settingsscale2", g); + get_scalebtn_widget_to_attribute("nodesize", + "nodesizescale", g); get_combobox_widget_to_attribute("defaultnodeshape","settingscombobox1", g) ; get_combobox_widget_to_attribute("defaultselectionmethod","settingscombobox2", g) ; -- 2.40.0