File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ public class AppWindow : Gtk.Window {
4545 actions_box.append (open_button );
4646 actions_box.append (save_as_button );
4747
48- var header = new Gtk .HeaderBar () {
48+ header = new Gtk .HeaderBar () {
4949 show_title_buttons = true ,
5050 tooltip_text = " "
5151 };
@@ -104,7 +104,7 @@ public class AppWindow : Gtk.Window {
104104
105105 this . file = file;
106106 this . file_name = file. get_basename ();
107- this . tooltip_text = file. get_path ();
107+ header . tooltip_text = file. get_path ();
108108
109109 } catch (Error err) {
110110 warning (" Couldn't open file: %s " , err. message);
@@ -154,7 +154,7 @@ public class AppWindow : Gtk.Window {
154154
155155 this . file = file;
156156 file_name = file. get_basename ();
157- this . tooltip_text = file. get_path ();
157+ header . tooltip_text = file. get_path ();
158158
159159 if ((is_unsaved_doc) && (oldfile != file)) {
160160 oldfile. delete ();
You can’t perform that action at this time.
0 commit comments