Skip to content

Commit a971235

Browse files
danirabbitlenemter
andauthored
Window: remove set_title override (#2749)
Not sure what this was about. Also the comment is not accurate? This is visible in Multitasking View and read by the screen reader Co-authored-by: Leo <lenemter@gmail.com>
1 parent 187c6e1 commit a971235

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/View/Window.vala

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -497,10 +497,6 @@ public class Files.View.Window : Hdy.ApplicationWindow {
497497
});
498498
}
499499

500-
public new void set_title (string title) {
501-
this.title = title;
502-
}
503-
504500
private void change_tab () {
505501
//Ignore if some restored tabs still loading
506502
if (restoring_tabs > 0) {
@@ -1361,7 +1357,7 @@ public class Files.View.Window : Hdy.ApplicationWindow {
13611357

13621358
private void update_labels (string uri) {
13631359
if (current_container != null) { /* Can happen during restore */
1364-
set_title (current_container.tab_name); /* Not actually visible on elementaryos */
1360+
title = current_container.tab_name; /* Not actually visible on elementaryos */
13651361
update_location_bar (uri);
13661362
sidebar.sync_uri (uri);
13671363
}

0 commit comments

Comments
 (0)