Go to file
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
.settings Convert all JS style to be uniform, add Eclipse settings bits 2008-11-28 20:12:20 +00:00
data Some search appearance fixes for last commit 2009-08-16 10:09:34 -04:00
js Simplify Button class by using ShellButtonBox 2009-08-29 15:20:19 -04:00
po Update Dutch translation 2009-08-29 15:11:34 +02:00
src ShellButtonBox: only listen to button 1 and single clicks 2009-08-29 15:20:18 -04:00
tools/build Remove pre-GNOME-2.26 panel-replacement code 2009-08-28 12:34:04 -04:00
.gitignore Update .gitignore for i18n files 2009-08-18 18:19:16 -04:00
.project Convert all JS style to be uniform, add Eclipse settings bits 2008-11-28 20:12:20 +00:00
AUTHORS Initial commit 2008-10-31 04:22:44 +00:00
autogen.sh Add localization 2009-08-14 09:14:34 -04:00
configure.ac Bump version to 2.27.1 2009-08-28 20:10:43 -04:00
COPYING Initial commit 2008-10-31 04:22:44 +00:00
MAINTAINERS Initial commit 2008-10-31 04:22:44 +00:00
Makefile.am Add localization 2009-08-14 09:14:34 -04:00
README Initial commit 2008-10-31 04:22:44 +00:00