diff options
author | Sebastian Reichel <sre@ring0.de> | 2012-08-06 23:10:17 +0200 |
---|---|---|
committer | Sebastian Reichel <sre@ring0.de> | 2012-08-06 23:10:17 +0200 |
commit | 8c262f4212453f8d87c6333b3c3bb3fe5ffe541f (patch) | |
tree | 4fdec1d5fa1b69294568f47ae4be1d85e9710905 /main.vala | |
parent | c9f13c0c94956418bd06c114850000a2bf2d5ed0 (diff) | |
download | serial-barcode-scanner-8c262f4212453f8d87c6333b3c3bb3fe5ffe541f.tar.bz2 |
refactor ui code
Diffstat (limited to 'main.vala')
-rw-r--r-- | main.vala | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -25,6 +25,8 @@ public static int main(string[] args) { dev.blink(10); }); + init_ui(); + Gtk.main(); return 0; } @@ -77,7 +79,7 @@ public static bool interpret(string data) { stdout.printf("[%lld] You must be logged in to go into the stock mode\n", timestamp); return false; } else { - restock_dialog(); + show_restock_dialog(); return true; } } else { |