Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
YCP Killer: Translate YCP files into Ruby
The commit is a result of running YCP Killer's "ruby" command. See also: https://github.com/yast/ycp-killer
- Loading branch information
Showing
70 changed files
with
9,720 additions
and
8,679 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# encoding: utf-8 | ||
|
||
# File: clients/irc.ycp | ||
# Package: TV cards configuration | ||
# Summary: Client for stand-alone IRC configuration | ||
# Authors: Jiri Suchomel <jsuchome@novell.com> | ||
# | ||
# $Id$ | ||
# | ||
# Main file for LIRC configuration. | ||
module Yast | ||
class IrcClient < Client | ||
def main | ||
Yast.import "UI" | ||
#** | ||
# <h3>Configuration of IRC</h3> | ||
|
||
textdomain "tv" | ||
|
||
Yast.import "Tv" | ||
Yast.include self, "tv/irc_ui.rb" | ||
|
||
Wizard.CreateDialog | ||
Wizard.SetDesktopIcon("tv") #FIXME need irc icon | ||
Wizard.SetDialogTitle(_("IRC")) #FIXME need irc icon | ||
|
||
@callback = lambda { UI.PollInput == :abort } | ||
Tv.Read(@callback) | ||
Tv.ReadIRC | ||
|
||
@ret = IRCDialog(true) | ||
|
||
Tv.WriteIRC if @ret == :next | ||
|
||
deep_copy(@ret) | ||
|
||
# EOF | ||
end | ||
end | ||
end | ||
|
||
Yast::IrcClient.new.main |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.