Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simple example for release notes button #17

Merged
merged 2 commits into from
Feb 26, 2014
Merged

simple example for release notes button #17

merged 2 commits into from
Feb 26, 2014

Conversation

gabi2
Copy link
Contributor

@gabi2 gabi2 commented Feb 13, 2014

No description provided.

Yast.import "UI"

rel_notes_file = UI.TextMode ? "./RELEASE-NOTES.en.txt" : "./RELEASE-NOTES.en.rtf"
rel_notes_text = Convert.to_string(SCR.Read(path(".target.string"), rel_notes_file))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the convert is really needed please use something more "rubyish".

@jreidinger
Copy link
Member

LGTM

gabi2 added a commit that referenced this pull request Feb 26, 2014
simple example for release notes button
@gabi2 gabi2 merged commit 9120cfd into yast:master Feb 26, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants