29 {
30
31 log_debug(
"ExcludeMessageWindow: ExcludeMessageWindow()");
32
33 this.title =
_(
"Excluded Directories");
34 this.set_destroy_with_parent (true);
35 this.set_modal (true);
36 this.set_default_size (520, 420);
37
38 string msg;
39
41 vbox_main.margin_start = 12;
42 vbox_main.margin_end = 12;
43 vbox_main.margin_top = 12;
44 vbox_main.margin_bottom = 12;
45 vbox_main.spacing = 8;
46
48 lbl_header_exclude.xalign = (float) 0.0;
51
52 lbl_exclude =
new Gtk.Label(
_(
"Files matching the following patterns will be excluded") +
":");
53 lbl_exclude.xalign = (float) 0.0;
54 lbl_exclude.wrap = true;
56
60
62 sw_exclude.set_policy(Gtk.PolicyType.AUTOMATIC, Gtk.PolicyType.AUTOMATIC);
64 sw_exclude.hexpand = true;
65 sw_exclude.vexpand = true;
67
69 lbl_header_home.xalign = (float) 0.0;
71 lbl_header_home.margin_top = 6;
73
75 lbl_home.xalign = (float) 0.0;
77 lbl_home.wrap = true;
79
80 msg =
_(
"Hidden files and folders are included by default since they contain user-specific configuration files.") +
"\n";
81 msg +=
_(
"All other files and folders are excluded.") +
"\n";
82 lbl_home.label = msg;
83
84 btn_ok = (Gtk.Button) add_button(
_(
"OK"), Gtk.ResponseType.OK);
86
89 }
90
91 log_debug(
"ExcludeMessageWindow: ExcludeMessageWindow(): exit");
92 }
ScrolledWindow sw_exclude
void exclude_list_add_item(string path)
Gee.ArrayList< string > exclude_list_default
void log_debug(string message)