Author: aschnell Date: Wed Mar 11 10:39:05 2009 New Revision: 56067 URL: http://svn.opensuse.org/viewcvs/yast?rev=56067&view=rev Log: - properly handle `opt(`notify) in Graph Modified: trunk/qt-graph/src/YQGraph.cc trunk/storage/storage/src/include/ep-graph.ycp Modified: trunk/qt-graph/src/YQGraph.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/qt-graph/src/YQGraph.cc?rev=56067&r1=56066&r2=56067&view=diff ============================================================================== --- trunk/qt-graph/src/YQGraph.cc (original) +++ trunk/qt-graph/src/YQGraph.cc Wed Mar 11 10:39:05 2009 @@ -133,8 +133,11 @@ void YQGraph::nodeDoubleClick(QMouseEvent* event, const QString& name) { - lastActivatedNode = name.toStdString(); - YQUI::ui()->sendEvent(new YWidgetEvent(this, YEvent::Activated)); + if (notify()) + { + lastActivatedNode = name.toStdString(); + YQUI::ui()->sendEvent(new YWidgetEvent(this, YEvent::Activated)); + } } Modified: trunk/storage/storage/src/include/ep-graph.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/ep-graph.ycp?rev=56067&r1=56066&r2=56067&view=diff ============================================================================== --- trunk/storage/storage/src/include/ep-graph.ycp (original) +++ trunk/storage/storage/src/include/ep-graph.ycp Wed Mar 11 10:39:05 2009 @@ -37,7 +37,7 @@ // dialog heading, graph is the mathematic term for // a set of notes connected with edges `IconAndHeading(_("Graph"), StorageIcons::graph_icon), - `Graph(`id(`graph), `opt(`notifyContextMenu), filename, "dot"), + `Graph(`id(`graph), `opt(`notify, `notifyContextMenu), filename, "dot"), `HBox( // button text `PushButton(`id(`export), _("Export Graph...")), -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org