shellMountOperation: Remove unused functions

Spotted by eslint.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/606
This commit is contained in:
Florian Müllner 2019-02-01 00:53:51 +01:00 committed by Georges Basile Stavracas Neto
parent a8f0787c91
commit e10a768ddb

View File

@ -20,16 +20,6 @@ var WORK_SPINNER_ICON_SIZE = 16;
const REMEMBER_MOUNT_PASSWORD_KEY = 'remember-mount-password';
/* ------ Common Utils ------- */
function _setLabelText(label, text) {
if (text) {
label.set_text(text);
label.show();
} else {
label.set_text('');
label.hide();
}
}
function _setButtonsForChoices(dialog, choices) {
let buttons = [];
@ -50,11 +40,6 @@ function _setLabelsForMessage(content, message) {
content.body = labels.join('\n');
}
function _createIcon(gicon) {
return new St.Icon({ gicon: gicon,
style_class: 'shell-mount-operation-icon' })
}
/* -------------------------------------------------------- */
var ListItem = class {