/gpump/trunk

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

« back to all changes in this revision

Viewing changes to src/main.js

  • Committer: Gustav Hartvigsson
  • Date: 2014-12-15 21:45:36 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20141215214536-ty17fg5rq06clphg
* Code cleanup
* fixed a Gtk warning (by hooking up the parameters thingy)
* Hooked up "quit on exit" in the references UI.
  * added a popover to set it for the first time...
    This way of doing it is not so good, I think I will have
    to re-do how "quit on exit" is handled.
* Switched the order of the fealds in the return map in the
  SettingsData.get_setting.
  This should, hypothetically, make it posible to use the the ret
  data as is.
  This shoold probably be be redone to just return undefined.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/gjs
 
2
 
 
3
 
 
4
imports.searchPath.unshift('.', './src/'); //FIXME
 
5
const Application = imports.app;
 
6
 
 
7
function main (argv) {
 
8
  var app = new Application.Application ();
 
9
  return app.run(argv);
 
10
}
 
11
 
 
12
main (ARGV);