Codebase list gnome-shell-extension-desktop-icons / 114ea62
fileItem: Make display name an object attribute Similar to all the other file metadata Carlos Soriano authored 5 years ago Carlos Soriano committed 5 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
8686 this._filePath = this._file.get_path();
8787 this._modifiedTime = this._fileInfo.get_attribute_uint64("time::modified");
8888 this._state = State.NORMAL;
89 this._displayName = fileInfo.get_attribute_as_string('standard::display-name');
8990
9091 this.actor = new St.Bin({ visible: true });
9192 this.actor.set_fill(true, true);
110111 this._container.add_actor(this._iconContainer);
111112
112113 this._label = new St.Label({
113 text: fileInfo.get_attribute_as_string('standard::display-name'),
114 text: this._displayName,
114115 style_class: 'name-label'
115116 });
116117