File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -77,21 +77,19 @@ public class AppWindow : Gtk.Window {
7777 default_width = 300 ;
7878 titlebar = header;
7979
80- debug ("Connecting signals ");
80+ debug ("Binding window title to file_name ");
81+ bind_property ("file_name ", this , "title ");
82+ debug ("Success !");
8183
84+ open_file (file );
85+
86+ debug ("Connecting signals ");
8287 // Signal callbacks are heavily derived from similar operations in
8388 // elementary/code
8489 save_as_button.clicked.connect (on_save_as );
8590 this.close_request.connect (on_close );
8691 buf.changed.connect (on_buffer_changed );
8792
88- debug ("Binding window title to file_name ");
89-
90- bind_property ("file_name ", this , "title ");
91-
92- debug ("Success !");
93-
94- open_file (file );
9593 }
9694
9795
You can’t perform that action at this time.
0 commit comments