~noskcaj/ubuntu/trusty/gnome-documents/3.10.2

« back to all changes in this revision

Viewing changes to src/main.js

  • Committer: Package Import Robot
  • Author(s): Andreas Henriksson, Thomas Bechtold
  • Date: 2013-04-04 13:32:08 UTC
  • mfrom: (3.1.4 experimental)
  • Revision ID: package-import@ubuntu.com-20130404133208-n19gqczi05z31ogb
Tags: 3.8.0-1
[ Thomas Bechtold ]
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 */
21
21
 
22
22
const Application = imports.application;
 
23
const GLib = imports.gi.GLib;
23
24
 
24
25
function start() {
25
26
    let application = new Application.Application();
 
27
    if (GLib.getenv('DOCUMENTS_PERSIST'))
 
28
        application.hold();
26
29
    return application.run(ARGV);
27
30
}