gnome-shell/js/ui
Florian Müllner 2c1a81f448 runDialog: Don't return from finally block
Control flow statements like return, break or continue are considered
unsafe in finally blocks, as they take precendence over any control
flow statement in the try and catch blocks, which may be unexpected.

This isn't the case here as the statement in the finally block is the
only one, but we can just as well avoid the finally block altogether
and use a regular return statement.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/606
2019-07-01 21:09:49 +00:00
..
components telepathyClient: Don't redeclare N_() 2019-07-01 21:09:49 +00:00
status system: Drop custom styling of user submenu icon 2019-06-29 20:01:52 +00:00
accessDialog.js modalDialog: Inherit from St.Widget 2019-05-24 16:27:25 -05:00
altTab.js altTab: Remove get_preferred_width override of AppIcon 2019-07-01 20:46:26 +02:00
animation.js animation: fix unintentional loop while polkit dialog is active 2019-06-27 14:54:36 -04:00
appDisplay.js appDisplay: Set Adjustment value after allocation 2019-06-18 23:22:32 +02:00
appFavorites.js appFavorites: Update RENAMED_DESKTOP_IDS 2019-04-11 23:28:49 +02:00
audioDeviceSelection.js modalDialog: Inherit from St.Widget 2019-05-24 16:27:25 -05:00
background.js background: Group 'changed' signal emission 2019-06-14 12:24:20 +00:00
backgroundMenu.js popupMenu: Make MenuManager to take an actor as parameter 2019-04-17 21:32:18 +00:00
barLevel.js barLevel: Don't show border radius if the value is 0 2019-04-17 18:38:13 +00:00
boxpointer.js boxpointer: Remove deprecated show/hide methods 2019-06-17 14:22:42 +02:00
calendar.js calendar: Load interface description from resource 2019-02-13 17:58:36 +00:00
checkBox.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
closeDialog.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
ctrlAltTab.js st-texture-cache: use StImageContent for cairo bound surface 2019-03-01 17:12:53 +00:00
dash.js cleanup: Fix spelling errors 2019-05-15 19:32:29 +00:00
dateMenu.js worldClocks: Ignore locations with unknown timezone 2019-04-30 16:15:27 +00:00
dialog.js dialog: Use GObject.set() over Object.assign() 2019-06-26 20:49:46 +02:00
dnd.js dnd: Multiply drag threshold by output scale 2019-03-13 17:22:35 +00:00
edgeDragAction.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
endSessionDialog.js modalDialog: Inherit from St.Widget 2019-05-24 16:27:25 -05:00
environment.js environment: Warn when trying to access a deprecated actor property 2019-04-17 21:32:18 +00:00
extensionDownloader.js extensionDownloader: Use common message dialog layout 2019-06-26 20:49:46 +02:00
extensionSystem.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
focusCaretTracker.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
grabHelper.js grabHelper: Throw an error if the owner is not an actor 2019-05-29 15:13:00 -05:00
ibusCandidatePopup.js boxpointer: Don't use boxpointer actor, as it's now an actor itself 2019-04-17 21:32:18 +00:00
iconGrid.js iconGrid: Fix animation glitch 2019-06-18 22:03:34 +00:00
inhibitShortcutsDialog.js inhibitShortcuts: Save choice in permission store 2019-03-04 10:12:58 +01:00
kbdA11yDialog.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
keyboard.js keyboard: Add extended keys and language popups to top window group 2019-06-19 00:30:17 +02:00
layout.js layout: Use addChrome instead of addTopChrome for screenShieldGroup 2019-06-21 20:57:23 +00:00
lightbox.js Theme: update to sync with gtk Adwaita 2019-06-21 10:44:08 +02:00
locatePointer.js locatePointer: Use constant for GSettings key 2019-07-01 21:09:49 +00:00
lookingGlass.js lookingGlass: Use symbolic icon for close button 2019-02-28 16:21:38 +01:00
magnifier.js cleanup: Fix spelling errors 2019-05-15 19:32:29 +00:00
magnifierDBus.js cleanup: Port non-GObject classes to JS6 classes 2019-01-25 14:02:44 +00:00
main.js locatePointer: Capitalize class name 2019-07-01 21:09:49 +00:00
messageList.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
messageTray.js messageTray: Remove this.actor definition to SourceActor 2019-04-17 21:32:18 +00:00
modalDialog.js modalDialog: Use a Gobject property to manage the state 2019-05-24 16:28:18 -05:00
mpris.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
notificationDaemon.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
osdMonitorLabeler.js shellDBus: Remove ShowMonitorLabels API 2019-04-11 17:49:40 +00:00
osdWindow.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
overview.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
overviewControls.js js: Throw GObject.NotImplementedError when requiring overriding 2019-05-21 15:43:21 -05:00
padOsd.js padOsd: Use non-deprecated librsvg API to create handle 2019-04-27 05:50:08 +00:00
pageIndicators.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
panel.js panel: Center-align menu arrows 2019-06-21 21:09:56 +00:00
panelMenu.js panelMenu: Remove usage of this.actor from Button 2019-04-17 21:32:18 +00:00
pointerA11yTimeout.js accessibility: Add pointer accessibility support 2019-06-06 09:13:29 +02:00
pointerWatcher.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
popupMenu.js popupMenu: Use regular method style 2019-07-01 21:09:49 +00:00
remoteSearch.js remoteSearch: exclude content from hidden apps 2019-06-05 16:15:42 -07:00
ripples.js ripples: Remove unreachable return statements 2019-07-01 21:09:49 +00:00
runDialog.js runDialog: Don't return from finally block 2019-07-01 21:09:49 +00:00
screencast.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
screenShield.js screenShield: Handle signal 'StatusChanged' when lockscreen is active 2019-03-18 08:32:54 +08:00
screenshot.js screenshot: Don't pick up rubberband style from GTK 2019-04-11 17:27:50 +00:00
scripting.js scripting: Don't use legacy API 2019-03-21 10:18:02 +00:00
search.js search: reload search providers when installed applications change 2019-05-29 20:33:16 +00:00
sessionMode.js accessibility: Add pointer accessibility support 2019-06-06 09:13:29 +02:00
shellDBus.js shellDBus: Accept connector to restrict OSD to one monitor 2019-04-11 18:53:53 +00:00
shellEntry.js popupMenu: Make MenuManager to take an actor as parameter 2019-04-17 21:32:18 +00:00
shellMountOperation.js shellMountOperation: Remove unused functions 2019-07-01 21:09:49 +00:00
slider.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
switcherPopup.js js: Throw GObject.NotImplementedError when requiring overriding 2019-05-21 15:43:21 -05:00
switchMonitor.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
tweener.js cleanup: Fix spelling errors 2019-05-15 19:32:29 +00:00
unlockDialog.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
userWidget.js userWidget: Fix avatar size 2019-03-12 00:34:04 +00:00
viewSelector.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00
windowAttentionHandler.js windowAttentionHandler: disconnect signals before destruction 2019-05-27 08:35:56 -07:00
windowManager.js windowManager: Use own variables for each gesture 2019-06-26 18:18:28 +02:00
windowMenu.js sessionMode: add a property to disable window manager menus 2019-06-06 01:25:04 +00:00
workspace.js js: Throw GObject.NotImplementedError when requiring overriding 2019-05-21 15:43:21 -05:00
workspacesView.js workspacesView: remove unused variables 2019-05-19 16:06:39 +00:00
workspaceSwitcherPopup.js workspaceSwitcherPopup: Remove this.actor definition to self 2019-04-17 21:32:18 +00:00
workspaceThumbnail.js workspaceThumbnail: Remove this.actor definition to ThumbnailsBox 2019-04-17 21:32:18 +00:00
xdndHandler.js cleanup: Use destructuring for imports from GI 2019-02-09 07:39:20 +01:00