Skip to content

Commit afca68a

Browse files
committed
puublic signals and properties before private
1 parent 8bc79d9 commit afca68a

1 file changed

Lines changed: 10 additions & 13 deletions

File tree

src/FolderManager/ProjectFolderItem.vala

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,25 @@
66
*/
77

88
public class Scratch.FolderManager.ProjectFolderItem : FolderItem {
9-
struct VisibleItem {
10-
public string rel_path;
11-
public Item item;
12-
}
13-
14-
private static Icon added_icon;
15-
private static Icon modified_icon;
16-
private SimpleAction checkout_local_branch_action;
17-
private SimpleAction checkout_remote_branch_action;
18-
199
public signal void closed ();
2010

2111
public Scratch.Services.MonitoredRepository? monitored_repo { get; private set; default = null; }
22-
// Cache the visible item in the project.
23-
private List<VisibleItem?> visible_item_list = null;
24-
2512
public bool is_git_repo {
2613
get {
2714
return monitored_repo != null;
2815
}
2916
}
3017

18+
private struct VisibleItem {
19+
public string rel_path;
20+
public Item item;
21+
}
22+
private static Icon added_icon;
23+
private static Icon modified_icon;
24+
private SimpleAction checkout_local_branch_action;
25+
private SimpleAction checkout_remote_branch_action;
26+
// Cache the visible item in the project.
27+
private List<VisibleItem?> visible_item_list = null;
3128
private Ggit.Repository? git_repo {
3229
get {
3330
return (is_git_repo ? monitored_repo.git_repo : null);

0 commit comments

Comments
 (0)