Merge lp:~tigrangab/slingshot/testing-startup-time into lp:~elementary-pantheon/slingshot/trunk
Proposed by
Tigran Gabrielyan
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Cody Garver | ||||
Approved revision: | 370 | ||||
Merged at revision: | 368 | ||||
Proposed branch: | lp:~tigrangab/slingshot/testing-startup-time | ||||
Merge into: | lp:~elementary-pantheon/slingshot/trunk | ||||
Diff against target: |
55 lines (+12/-15) 1 file modified
src/Slingshot.vala (+12/-15) |
||||
To merge this branch: | bzr merge lp:~tigrangab/slingshot/testing-startup-time | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Cody Garver (community) | Approve | ||
David Gomes (community) | Needs Fixing | ||
Review via email: mp+179821@code.launchpad.net |
Commit message
Only use OptionContext parser if we have args to avoid slow down in startup time to fix bug #1043689.
To post a comment you must log in.
Code style fixes:
Add a newline after "context.add_group (Gtk.get_ option_ group (true));"
var context = new OptionContext(""); → var context = new OptionContext ("");
context.parse(ref args); → context.parse (ref args);
print(e.message + "\n"); → print (e.message + "\n");
Cuddle the try/catch blog so it'll be } catch {
This will need to be tested on Pantheon, seen as I can't run Pantheon I can't test it, but somebody will have to before it gets merged.