Skip to content

Commit 4a62529

Browse files
committed
remove extra drive icon
1 parent 01876d6 commit 4a62529

File tree

3 files changed

+2
-66
lines changed

3 files changed

+2
-66
lines changed

src/icons.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
import { LabIcon } from '@jupyterlab/ui-components';
2-
import driveSvgstr from '../style/drive.svg';
32
import driveBrowserSvg from '../style/driveIconFileBrowser.svg';
43

5-
export const DriveIcon = new LabIcon({
6-
name: 'jupyter-drives:drive',
7-
svgstr: driveSvgstr
8-
});
9-
104
export const driveBrowserIcon = new LabIcon({
115
name: 'jupyter-drives:drive-browser',
126
svgstr: driveBrowserSvg

src/plugins/driveDialogPlugin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { addJupyterLabThemeChangeListener } from '@jupyter/web-components';
88
import { Dialog, showDialog } from '@jupyterlab/apputils';
99

1010
import { DriveListModel, DriveListView, IDrive } from './drivelistmanager';
11-
import { DriveIcon } from '../icons';
11+
import { driveBrowserIcon } from '../icons';
1212
import { CommandIDs } from '../token';
1313

1414
export const openDriveDialogPlugin: JupyterFrontEndPlugin<void> = {
@@ -108,7 +108,7 @@ export const openDriveDialogPlugin: JupyterFrontEndPlugin<void> = {
108108
}
109109
},
110110

111-
icon: DriveIcon.bindprops({ stylesheet: 'menuItem' }),
111+
icon: driveBrowserIcon.bindprops({ stylesheet: 'menuItem' }),
112112
caption: trans.__('Add drives to filebrowser.'),
113113
label: trans.__('Add Drives To Filebrowser')
114114
});

style/drive.svg

Lines changed: 0 additions & 58 deletions
This file was deleted.

0 commit comments

Comments
 (0)