MCPcopy
hub / github.com/paperwm/PaperWM / updateName

Method updateName

tiling.js:1699–1708  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1697 }
1698
1699 updateName() {
1700 let name = workspaceSettings.getWorkspaceName(this.settings, this.index);
1701 Meta.prefs_change_workspace_name(this.index, name);
1702 this.workspaceLabel.text = name;
1703 this.name = name;
1704
1705 if (this.workspace === workspaceManager.get_active_workspace()) {
1706 Topbar.updateWorkspaceIndicator(this.index);
1707 }
1708 }
1709
1710 /**
1711 * Enables or disables this space's window position bar.

Callers 3

setSettingsMethod · 0.95
initWorkspacesFunction · 0.80

Calls 1

getWorkspaceNameMethod · 0.45

Tested by

no test coverage detected