gnome-shell/js/ui
Marco Trevisan (Treviño) 9469064007 dialog: Really set ellipsize mode in subtitle and body
Dialog's subtitle or body could not be properly wrapped, while it's ellipsized
when the text's width doesn't exceed the container size.

Clutter text has an `ellipsize` property, however in dialog's subtitle and body
we have been setting the `ellipsize-mode` property to Pango.EllipsizeMode.NONE
that is not present in the underlying GObject.

Not being an error in javascript, gjs didn't warn us about this, while at the
same time the St.Label's default Pango.EllipsizeMode.END was used.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/922

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/531


(cherry picked from commit 3121c9aa29)
2019-05-03 21:33:58 +00:00
..
components autorunManager: Avoid access to non-existent array element 2017-09-19 20:07:21 +02:00
status network: Fix visibility of VPN section 2018-01-27 17:51:31 +01:00
accessDialog.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
altTab.js Make key-above-tab in switcher more consistent 2017-09-19 20:09:20 +02:00
animation.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
appDisplay.js appDisplay: don't try to close the popup menu that is already destroyed 2018-01-17 19:07:41 +01:00
appFavorites.js appFavorites: Add Empathy to rename list 2017-08-30 21:16:16 -05:00
audioDeviceSelection.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
background.js background: don't leak wall clock when background changes 2017-12-15 10:58:28 -05:00
backgroundMenu.js Define classes with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
boxpointer.js boxpointer: If available, use source actor for constraining 2017-09-04 16:28:58 +08:00
calendar.js calendar: Rebuild the calendar when the time zone changes 2017-10-04 16:44:07 +02:00
checkBox.js Define classes with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
closeDialog.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
ctrlAltTab.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
dash.js dash: Do not shadow ClutterActor's destroy() 2017-12-05 18:07:43 -05:00
dateMenu.js dateMenu: Fix possible crash with unknown locations 2017-12-06 02:06:49 +01:00
dialog.js dialog: Really set ellipsize mode in subtitle and body 2019-05-03 21:33:58 +00:00
dnd.js dnd: Declare restore location variables 2018-01-17 19:07:43 +01:00
edgeDragAction.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
endSessionDialog.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
environment.js environment: Remove stray semicolon 2017-07-19 01:45:12 +02:00
extensionDownloader.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
extensionSystem.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
focusCaretTracker.js Define classes with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
grabHelper.js Define classes with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
ibusCandidatePopup.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
iconGrid.js iconGrid: Cancel animations on unmap 2017-07-19 10:49:54 +02:00
inhibitShortcutsDialog.js inhibitShortcuts: Whitelist OS components 2017-08-22 12:09:04 +02:00
keyboard.js keyboard: Only rebuild keyboard actor on keyboard type changes 2017-07-23 16:06:04 +02:00
layout.js layout: Unset primary and bottom monitor when headless 2017-10-07 00:38:16 -04:00
lightbox.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
lookingGlass.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
magnifier.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
magnifierDBus.js Define classes with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
main.js dateMenu: Use icon for message indicator 2017-09-12 17:32:51 +02:00
messageList.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
messageTray.js messageTray: Check monitor's existence before trying to update the state 2017-09-28 16:32:00 +01:00
modalDialog.js dialog: Fix setting buttons as initial key focus 2017-10-04 18:12:27 +02:00
mpris.js Define classes with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
notificationDaemon.js notificationDaemon: Guard against invalid D-Bus object paths 2017-09-25 15:57:20 +01:00
osdMonitorLabeler.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
osdWindow.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
overview.js overview: Protect ::drag-end handlers 2017-11-17 16:03:37 +01:00
overviewControls.js overview: Don't expand workspace thumbnails by default 2017-08-10 20:16:06 +02:00
padOsd.js padOsd: Ensure to pick pad devices only 2018-01-30 16:43:34 +01:00
panel.js popupMenu: Close menus on session mode changes 2017-10-04 18:12:27 +02:00
panelMenu.js Define classes with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
pointerWatcher.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
popupMenu.js popupMenu: Fix setting ImageMenuItem's icons via strings 2017-10-16 20:54:57 +02:00
remoteMenu.js Define classes with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
remoteSearch.js remoteSearch: Fix remote search providers 2017-09-21 16:53:32 +02:00
runDialog.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
screencast.js Define classes with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
screenShield.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
screenshot.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
scripting.js shell-perf-helper: Add an option for continual redraws 2014-07-16 10:33:59 -04:00
search.js viewSelector: Open context for highlighted search result 2017-08-17 16:58:17 +02:00
sessionMode.js Define classes with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
shellDBus.js Define classes with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
shellEntry.js Define classes with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
shellMountOperation.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
slider.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
switcherPopup.js switcherPopup: Add support for modifier-less keybinding navigation 2017-08-22 10:50:56 +02:00
switchMonitor.js windowManager: Add a switcher for mutter's switch-monitor keybinding 2017-08-22 10:50:56 +02:00
tweener.js Define classes with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
unlockDialog.js Define classes with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
userWidget.js Resize the user's avatar when scaling factor changes 2017-08-11 12:47:45 +02:00
viewSelector.js viewSelector: Open context for highlighted search result 2017-08-17 16:58:17 +02:00
windowAttentionHandler.js Define classes with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
windowManager.js windowManager: Disable OSK gesture on lock screen 2017-09-29 15:59:10 +02:00
windowMenu.js Define classes with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
workspace.js workspace: Focus clone when highlighting 2017-10-04 18:12:27 +02:00
workspacesView.js Define externally accessible contants with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00
workspaceSwitcherPopup.js Fix some more undefined property warnings 2017-09-19 20:07:21 +02:00
workspaceThumbnail.js ui: Improve handling being headless 2017-10-04 11:50:21 -04:00
xdndHandler.js Define classes with 'var' instead of 'const' 2017-07-18 21:52:06 +02:00