Owen W. Taylor 5803aa7e65 Simplify Button class by using ShellButtonBox
Make Button class purely about adding visuals, and use ShellButtonBox
for behavior. API equivalences:

  shell.button => shell.actor [for consistency]

  staysPressed parameter to constructor => replaced by manually setting
   the 'active' property of button.actor as appropriate

  pressIn/release => button.actor.active = true/false

  enter-event/leave-event signals => button.actor notify::hover

Along the way, this fixes a bug with the user status menu where it was
not getting set to active because the button was getting a leave
(triggered by the menu popping up and grabbing the pointer) before for
button release, which disabled the staysPressed behavior.

Reported by Michael Meeks
http://bugzilla.gnome.org/show_bug.cgi?id=593471
2009-08-29 15:20:19 -04:00
2009-08-29 15:11:34 +02:00
2009-08-18 18:19:16 -04:00
2008-10-31 04:22:44 +00:00
2009-08-14 09:14:34 -04:00
2009-08-28 20:10:43 -04:00
2008-10-31 04:22:44 +00:00
2008-10-31 04:22:44 +00:00
2009-08-14 09:14:34 -04:00
2008-10-31 04:22:44 +00:00

The file is empty.
Description
Languages
C 49.2%
JavaScript 47.4%
SCSS 1.4%
Meson 0.8%
Python 0.6%
Other 0.4%