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 Bug 591437 - Rename overlay.js to overview.js 2009-08-11 15:15:25 +02:00
dash.js Simplify Button class by using ShellButtonBox 2009-08-29 15:20:19 -04:00
dnd.js dnd: Centralize drag actor positioning code, use shellWorkspaceLaunch for workspaces 2009-08-20 19:37:50 -04:00
docDisplay.js dash: Make recent docs display two columns 2009-08-20 19:37:50 -04:00
genericDisplay.js Delete Tidy 2009-08-27 02:00:23 -04:00
link.js Fix behavior of More... links by adding a Link class 2009-02-26 18:07:25 -05:00
lookingGlass.js Use new plugin-modality functionality in Mutter 2009-08-26 14:07:02 -04:00
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 Use new plugin-modality functionality in Mutter 2009-08-26 14:07:02 -04:00
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 Add GConf schemas for sidebar prefs, and use those prefs from sidebar.js 2009-07-06 11:55:17 -04:00
tweener.js Port gnome-shell to the Clutter-1.0 API 2009-06-08 13:49:53 -04:00
widget.js Add initial calls to Gettext 2009-08-14 09:32:15 -04:00
widgetBox.js Fixes to allow widgets to be initially collapsed 2009-07-06 11:55:16 -04:00
windowManager.js Bug 582763 - Remove maximization effects 2009-08-14 08:41:00 -04:00
workspaces.js dnd: Centralize drag actor positioning code, use shellWorkspaceLaunch for workspaces 2009-08-20 19:37:50 -04:00