diff options
author | Colin Guthrie <cguthrie@mandriva.org> | 2009-06-27 22:37:46 +0100 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2009-06-27 22:37:46 +0100 |
commit | 61cae8cd403ab6ff5e75d51edd0158e9335865fb (patch) | |
tree | e5617decedcf639bfdacde28bdaf17bcb76668a9 /src/sourceoutputwidget.cc | |
parent | 159609135f34c2791eee7f2d6576e50fff80fa6a (diff) |
Rename a variable to make it more generic
Diffstat (limited to 'src/sourceoutputwidget.cc')
-rw-r--r-- | src/sourceoutputwidget.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sourceoutputwidget.cc b/src/sourceoutputwidget.cc index 89f3bc4..450e339 100644 --- a/src/sourceoutputwidget.cc +++ b/src/sourceoutputwidget.cc @@ -38,8 +38,8 @@ SourceOutputWidget::SourceOutputWidget(BaseObjectType* cobject, const Glib::RefP terminate.set_label(_("Terminate Recording")); terminate.signal_activate().connect(sigc::mem_fun(*this, &SourceOutputWidget::onKill)); - terminateMenu.append(terminate); - terminateMenu.show_all(); + contextMenu.append(terminate); + contextMenu.show_all(); } void SourceOutputWidget::init(MainWindow* mainWindow) { @@ -75,7 +75,7 @@ uint32_t SourceOutputWidget::sourceIndex() { bool SourceOutputWidget::onWidgetButtonEvent(GdkEventButton* event) { if (GDK_BUTTON_PRESS == event->type && 3 == event->button) { - terminateMenu.popup(event->button, event->time); + contextMenu.popup(event->button, event->time); return true; } |