Commit a5a6908d authored by claes's avatar claes

Default access wasn't transferd correctly

parent 7a745919
/*
* Proview $Id: ge_graph_gtk.cpp,v 1.2 2007-01-11 11:40:30 claes Exp $
* Proview $Id: ge_graph_gtk.cpp,v 1.3 2007-05-03 14:22:13 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -53,6 +53,7 @@ GraphGtk::GraphGtk(
Graph( xn_parent_ctx, xn_name, xn_default_path, graph_mode, xn_gdh_init_done, xn_object_name,
xn_use_default_access), parent_wid(xn_parent_wid)
{
default_access = xn_default_access;
if ( scrollbar) {
form_widget = scrolledgrowwidgetgtk_new( graph_init_grow_base_cb, this, &grow_widget);
}
......
/*
* Proview $Id: ge_graph_motif.cpp,v 1.1 2007-01-04 08:22:16 claes Exp $
* Proview $Id: ge_graph_motif.cpp,v 1.2 2007-05-03 14:22:13 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -65,6 +65,7 @@ GraphMotif::GraphMotif(
Graph( xn_parent_ctx, xn_name, xn_default_path, graph_mode, xn_gdh_init_done, xn_object_name,
xn_use_default_access), parent_wid(xn_parent_wid)
{
default_access = xn_default_access;
if ( scrollbar)
form_widget = ScrolledGrowCreate( parent_wid, name, NULL, 0,
graph_init_grow_base_cb, this, (Widget *)&grow_widget);
......
/*
* Proview $Id: xtt_ge_gtk.cpp,v 1.3 2007-01-23 13:15:54 claes Exp $
* Proview $Id: xtt_ge_gtk.cpp,v 1.4 2007-05-03 14:22:13 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -336,7 +336,7 @@ XttGeGtk::XttGeGtk( GtkWidget *xg_parent_wid, void *xg_parent_ctx, char *xg_name
graph_form = gtk_vbox_new( FALSE, 0);
graph = new GraphGtk( this, graph_form, "Plant",
&grow_widget, &sts, "pwrp_exe:", graph_eMode_Runtime,
scrollbar, 1, object_name, 0, 0);
scrollbar, 1, object_name, use_default_access, access);
// graph->set_scantime( scan_time);
graph->message_cb = &message_cb;
graph->close_cb = &graph_close_cb;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment