Merge lp:~riddlepl/granite/trunk into lp:~elementary-pantheon/granite/granite
Status: | Rejected |
---|---|
Rejected by: | kay van der Zander |
Proposed branch: | lp:~riddlepl/granite/trunk |
Merge into: | lp:~elementary-pantheon/granite/granite |
Diff against target: |
92 lines (+33/-15) 2 files modified
demo/main.vala (+1/-0) lib/Application.vala (+32/-15) |
To merge this branch: | bzr merge lp:~riddlepl/granite/trunk |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Victor Martinez (community) | Needs Fixing | ||
Rico Tzschichholz | Needs Fixing | ||
Cody Garver | Pending | ||
Review via email: mp+123253@code.launchpad.net |
Description of the change
Diff contains a fix for --version bug reported for all apps separately. Now cmdline arguments are handled in granite itself, no need to do it in particular app.
If you want --help to show name for file param like here "app_name [option] *OPTION_FILE*" please initialize cmd_parameter_name in app (see demo example).
If your app require its own cmdline options you can override add_custom_
If your app require gst, use context.
If it's merged, I will clean up apps (some of them do things which won't be required anymore)
Unmerged revisions
- 371. By riddle
-
Merge from parent
- 370. By darklin <email address hidden>
-
Coding style
- 369. By darklin <email address hidden>
-
Cmdline Args handling does not break ABI any more. cmd_parameter_name represent string displayed as a optional filename within --help
- 368. By riddle
-
add_custom_
cmd_options_ group is protected now. Cmd args handling done explicitly by granite - 367. By riddle
-
Generic cmd params handling
Introducing an ABI break of this kind is not welcome. You didnt even gave an explaination for your changes.
Adding new methods is fine while preserve the old ones to give reverse-depends the time to settle. You can use the "[Deprecated ...]" vala-annoation to propagate a change is needed in the future.