Skip to content

Commit

Permalink
controller: save the config's file name
Browse files Browse the repository at this point in the history
  • Loading branch information
ceyusa committed Jul 28, 2013
1 parent 2dd7a53 commit 5c53b3f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions controller.vala
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public class Controller : Gtk.Application {
public bool no_login { set; get; default = false; }

private string call_token = null;
private string config_file = null;

public Controller () {
Object (application_id: "org.gnome.GPhone",
Expand Down Expand Up @@ -214,6 +215,8 @@ public class Controller : Gtk.Application {
}

public void init (string? config_file) {
this.config_file = config_file;

if (!config.load (config_file))
View.display_notification (_("Gopal Failure"), "Cannot get configuration");

Expand Down

0 comments on commit 5c53b3f

Please sign in to comment.