]> granicus.if.org Git - graphviz/commitdiff
node size problem is solved for good
authorarif <devnull@localhost>
Wed, 13 May 2009 20:10:07 +0000 (20:10 +0000)
committerarif <devnull@localhost>
Wed, 13 May 2009 20:10:07 +0000 (20:10 +0000)
cmd/smyrna/gui/topviewsettings.c

index 4e2f00b63f449680638ad328d8dba2cecbb3cf36..3b77694a7dce613b3538e6b75c985e9bd0c8d35d 100644 (file)
@@ -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)       ;