gnome-shell/js/ui
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
..
altTab.js Delete Tidy 2009-08-27 02:00:23 -04:00
appDisplay.js Delete Tidy 2009-08-27 02:00:23 -04:00
appIcon.js Split out "AppIcon" and make WellDisplayItem a subclass of it 2009-08-26 16:28:42 -04:00
button.js Simplify Button class by using ShellButtonBox 2009-08-29 15:20:19 -04:00
chrome.js
dash.js Simplify Button class by using ShellButtonBox 2009-08-29 15:20:19 -04:00
dnd.js
docDisplay.js
genericDisplay.js Delete Tidy 2009-08-27 02:00:23 -04:00
link.js
lookingGlass.js
main.js Renable PrintScreen and Super_L in the overview 2009-08-28 15:15:17 -04:00
Makefile.am Split out "AppIcon" and make WellDisplayItem a subclass of it 2009-08-26 16:28:42 -04:00
overview.js
panel.js Simplify Button class by using ShellButtonBox 2009-08-29 15:20:19 -04:00
places.js Bug 592507 - Javascript exception when ~/.gtk-bookmarks is missing 2009-08-29 14:26:26 +01:00
runDialog.js Add 'r' as an alias to 'restart' in run dialog 2009-08-26 18:43:44 -04:00
sidebar.js
tweener.js
widget.js
widgetBox.js
windowManager.js
workspaces.js