Codebase list gnome-shell-extension-appindicator / 07d09c7
testTool: Fix a typo causing the overwrite flag not to be applied Marco Trevisan (TreviƱo) 2 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
6161 let newName = `${iconName}-${Math.floor(Math.random() * 100)}.${extension}`;
6262 let newFile = Gio.File.new_for_path(
6363 `${GLib.dir_make_tmp('indicator-test-XXXXXX')}/${newName}`);
64 iconFile.copy(newFile, Gio.FileCopyFlagsOVERWRITE, null, null);
64 iconFile.copy(newFile, Gio.FileCopyFlags.OVERWRITE, null, null);
6565
6666 indicator.set_icon_theme_path(newFile.get_parent().get_path());
6767 indicator.set_icon(newFile.get_basename());