aboutsummaryrefslogtreecommitdiff
path: root/src/flat-button.vala
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2015-02-19 14:57:35 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-10-27 17:02:38 +0100
commitbedfb6dadf87ce5f5eee84c706c0246901f755c8 (patch)
tree5b084d0d28b1cf06fcd075a3b53f9da5c8cf89a1 /src/flat-button.vala
parent4bfa70ab27d3bdd524e9ec97f914c918cd2f4729 (diff)
downloadarctica-greeter-bedfb6dadf87ce5f5eee84c706c0246901f755c8.tar.gz
arctica-greeter-bedfb6dadf87ce5f5eee84c706c0246901f755c8.tar.bz2
arctica-greeter-bedfb6dadf87ce5f5eee84c706c0246901f755c8.zip
Add class name for toggle button
Ported to ArcticaGreeter: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Diffstat (limited to 'src/flat-button.vala')
-rw-r--r--src/flat-button.vala7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/flat-button.vala b/src/flat-button.vala
index a81aebf..b56cc46 100644
--- a/src/flat-button.vala
+++ b/src/flat-button.vala
@@ -39,13 +39,6 @@ public class FlatButton : Gtk.Button
}
}
- public override bool draw (Cairo.Context c)
- {
- // Make sure we don't react to mouse hovers
- unset_state_flags (Gtk.StateFlags.PRELIGHT);
- return base.draw (c);
- }
-
public override bool button_press_event (Gdk.EventButton event)
{
// Do nothing. The normal handler sets priv->button_down which