Changeset b555a66e08da48e45b0bc874e1eb8e2cc461f14a
- Timestamp:
- 27/10/10 13:25:51 (3 years ago)
- Children:
- f459951b0ff73a824f9318b55e01971d64dbd604
- Parents:
- 64c35aaea9c9a3e96a4aaf1cf2a0fb6be883b95c
- git-committer:
- Matias De la Puente <mfpuente.ar@…> (27/10/10 13:25:51)
- File:
-
- 1 edited
-
gtkfrontend/addfiledialogview.vala (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
gtkfrontend/addfiledialogview.vala
rdfe49c7 rb555a66 52 52 public Gee.List<string> activated_profiles { owned get { return _profiles_check_list.activated_items; } } 53 53 54 public bool file_in_project_visible 55 { 56 set { _file_in_project_info_bar.visible = value; } 57 get { return _file_in_project_info_bar.visible; } 58 } 59 60 public bool new_file_sensitive 61 { 62 set { _new_file_entry.sensitive = value; } 63 get { return _new_file_entry.sensitive; } 64 } 65 66 public bool import_file_sensitive 67 { 68 set { _import_file_chooser.sensitive = value; } 69 get { return _import_file_chooser.sensitive; } 70 } 71 72 public bool accept_sensitive 73 { 74 set { _accept_button.sensitive = value; } 75 get { return _accept_button.sensitive; } 76 } 54 public bool file_in_project_visible { set; get; } 55 public bool new_file_sensitive { set; get; } 56 public bool import_file_sensitive { set; get; } 57 public bool accept_sensitive { set; get; } 77 58 78 59 public AddFileDialogView () … … 104 85 set_default_response (ResponseType.OK); 105 86 this.vbox.show_all (); 106 87 88 //Bind properties 89 this.bind_property ("file-in-project-visible", _file_in_project_info_bar, "visible", BindingFlags.BIDIRECTIONAL); 90 this.bind_property ("new-file-sensitive", _new_file_entry, "sensitive", BindingFlags.BIDIRECTIONAL); 91 this.bind_property ("import-file-sensitive", _import_file_chooser, "sensitive", BindingFlags.BIDIRECTIONAL); 92 this.bind_property ("accept-sensitive", _accept_button, "sensitive", BindingFlags.BIDIRECTIONAL); 93 94 //Connect signals 107 95 _new_file_radio.toggled.connect (() => this.is_new_changed ()); 108 96 _new_file_entry.changed.connect (() => this.new_file_changed ());
Note: See TracChangeset
for help on using the changeset viewer.

