gnome-shell/js/ui
Ray Strode 13bf64a53d popupMenu: Use new convenience method for settings
All the system status menus in the panel offer a
menu item to jump to a relevant part of the
control-center.

This means each status icon has the same, or nearly the
same bit of code to:

- Add a new "action" menu item and listen for its activation.
- Hide the overview if it's showing when the menu item is activated
- Find the relevant control-center panel from its desktop file
- Launch the control-center to the relevant panel

This commit consolidates all those details in a new method,
addSettingsAction.  This refactoring reduces code duplication and
slight inconsistencies in the code resulting from that duplication.
It will also make it easier in subsequent commits to hide settings menu
items when the shell is used in the login screen.

https://bugzilla.gnome.org/show_bug.cgi?id=657082
2011-08-28 12:16:04 -04:00
..
status popupMenu: Use new convenience method for settings 2011-08-28 12:16:04 -04:00
altTab.js altTab: do a step transition instead of fading in 2011-08-03 16:23:35 +01:00
appDisplay.js AppDisplay: fix typo that prevented Ctrl+Enter in search 2011-08-22 23:28:23 +02:00
appFavorites.js Kill off ShellAppInfo, move into ShellApp 2011-08-10 12:59:32 -04:00
automountManager.js screenSaver: bugfixes 2011-07-14 12:51:18 -04:00
autorunManager.js autorun-manager: Fix 'destroy' handler of resident source 2011-07-13 21:43:30 +02:00
boxpointer.js panelMenu: add a gap between the panel and its menus 2011-08-01 11:48:02 -04:00
calendar.js calendar: Improve week start handling 2011-08-10 01:03:26 +02:00
ctrlAltTab.js layout: new file handling shell layout 2011-07-06 08:38:35 -04:00
dash.js Kill off ShellAppInfo, move into ShellApp 2011-08-10 12:59:32 -04:00
dateMenu.js popupMenu: Use new convenience method for settings 2011-08-28 12:16:04 -04:00
dnd.js dnd: Reparent drag actor to the uiGroup rather then the stage 2011-06-30 21:13:15 +02:00
docDisplay.js ShellApp: Change activation API 2011-08-11 05:35:23 -04:00
endSessionDialog.js ShellApp: Change activation API 2011-08-11 05:35:23 -04:00
environment.js shell_global_set_property_mutable: Remove 2011-06-20 17:58:40 -04:00
extensionSystem.js extensionSystem: Don't try to make the user extensinons dir if it exists 2011-08-26 17:34:50 -04:00
iconGrid.js Setting StWidget::label-actor on some ui elements 2011-04-27 02:09:11 +02:00
layout.js layout: Don't create and destroy ripple animations 2011-08-08 14:11:09 -04:00
lightbox.js Clean up unused includes 2010-07-19 01:46:01 +02:00
link.js Clean up unused includes 2010-07-19 01:46:01 +02:00
lookingGlass.js extensionSystem: Add a DOWNLOADING state 2011-08-24 13:58:22 -04:00
magnifier.js magnifier: Adjust for removal of 'show-magnifier' key 2011-02-17 16:09:07 +01:00
magnifierDBus.js Refactor Magnifier.ZoomRegion to avoid permanent Clutter.Clone 2010-12-03 14:21:57 -05:00
main.js Add a system modal dialog for network secrets 2011-08-29 18:11:50 +02:00
messageTray.js layout: make Chrome an implementation detail of LayoutManager 2011-08-03 09:18:30 -04:00
modalDialog.js Add a system modal dialog for network secrets 2011-08-29 18:11:50 +02:00
networkAgent.js Add a system modal dialog for network secrets 2011-08-29 18:11:50 +02:00
notificationDaemon.js telepathyClient: Add IM subscription request support 2011-08-29 10:35:09 -04:00
overview.js Kill off ShellAppInfo, move into ShellApp 2011-08-10 12:59:32 -04:00
panel.js panel: Fix ordering of status icons 2011-08-25 17:15:24 -04:00
panelMenu.js panel: Add an easier way of adding items to the system status area 2011-08-25 13:34:45 -04:00
placeDisplay.js ShellApp: Change activation API 2011-08-11 05:35:23 -04:00
polkitAuthenticationAgent.js environment: put gettext stuff into global environment 2011-05-16 14:57:21 -04:00
popupMenu.js popupMenu: Use new convenience method for settings 2011-08-28 12:16:04 -04:00
runDialog.js runDialog: catch exceptions from Gio.app_info_launch_default_for_uri() 2011-07-20 00:25:11 +01:00
scripting.js layout: new file handling shell layout 2011-07-06 08:38:35 -04:00
search.js search: Fix documentation comment 2011-05-20 14:19:16 +02:00
searchDisplay.js search-display: Try harder to use a correct drag actor source 2011-06-21 22:23:00 +02:00
shellDBus.js extensionSystem: Add 'extension-status-changed' signal 2011-08-24 13:58:22 -04:00
shellMountOperation.js ShellApp: Change activation API 2011-08-11 05:35:23 -04:00
statusIconDispatcher.js statusIconDispatcher: fix trailing comma 2011-03-25 21:24:42 -04:00
statusMenu.js popupMenu: Hide separators when they aren't separating 2011-08-28 12:15:17 -04:00
telepathyClient.js telepathyClient: Add notification for account connection errors 2011-08-29 10:35:09 -04:00
tweener.js tweener: remove tweens when target.actor is destroyed 2011-02-22 12:36:25 -05:00
viewSelector.js viewSelector: Bind <Ctrl>+<Return> for open new window 2011-07-17 00:50:26 +04:00
windowAttentionHandler.js shell-global: add a "display" property 2011-08-03 09:09:55 -04:00
windowManager.js windowManager: use meta_window_is_attached_dialog() 2011-08-27 13:14:38 -04:00
workspace.js ShellApp: Change activation API 2011-08-11 05:35:23 -04:00
workspacesView.js workspacesView: belatedly remove an unused variable 2011-08-04 13:37:57 -04:00
workspaceSwitcherPopup.js layout: new file handling shell layout 2011-07-06 08:38:35 -04:00
workspaceThumbnail.js ShellApp: Change activation API 2011-08-11 05:35:23 -04:00
xdndHandler.js xdndHandler: Correctly disconnect the window group visibility handler 2011-03-04 11:23:18 +01:00