/loggerouter/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/loggerouter/trunk

« back to all changes in this revision

Viewing changes to src/options.vala

  • Committer: Gustav Hartvigsson
  • Date: 2025-06-16 19:36:56 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20250616193656-22lmuvenhe3407ol
[timer.vala] Fixed the timeout being triggered even is user has pressed concle.
[*] Fixed spelling of function present_dialog ()
[options.vala] Added to_string method.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
  private  Options () {
35
35
  }
 
36
 
 
37
  public string to_string () {
 
38
    var outstr = new StringBuilder ();
 
39
    outstr.append ("exec_name:");
 
40
    outstr.append (exec_name);
 
41
    outstr.append ("\nversion:");
 
42
    outstr.append (version.to_string ());
 
43
    outstr.append ("\nconfig_path:");
 
44
    outstr.append (config_path);
 
45
    outstr.append ("\nconfig_help:");
 
46
    outstr.append (config_help.to_string ());
 
47
    outstr.append ("\nactions_path:");
 
48
    outstr.append (actions_path);
 
49
    outstr.append ("\n");
 
50
 
 
51
    return outstr.str;
 
52
  }
36
53
}