add chinese translation from Rui-huai Zhang
[ardour.git] / gtk2_ardour / selectable.h
index b4be7090e25609b695398244033607630d9a7694..2d31dbf62bd88a34959da664574f62941de24c58 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2004 Paul Davis 
+    Copyright (C) 2004 Paul Davis
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -15,7 +15,6 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id$
 */
 
 #ifndef __ardour_gtk_selectable_h__
@@ -34,8 +33,7 @@ class Selectable : public virtual sigc::trackable
 
        virtual void set_selected (bool yn) {
                if (yn != _selected) {
-                       _selected = true;
-                       Selected (_selected); /* EMIT_SIGNAL */
+                       _selected = yn;
                }
        }
 
@@ -43,9 +41,6 @@ class Selectable : public virtual sigc::trackable
                return _selected;
        }
 
-       /** Emitted when the selected status of this Selectable changes */
-       sigc::signal<void, bool> Selected ;
-
   protected:
        bool _selected;
 };