Skip to content
Permalink
Browse files

remove icons from system analysis client

  • Loading branch information...
jreidinger committed Jan 21, 2014
1 parent 70b92d4 commit 1d6d071dd58f1c8b8009333462f9c73f4b847048
Showing with 1 addition and 43 deletions.
  1. +1 −43 src/clients/inst_system_analysis.rb
@@ -91,7 +91,6 @@ def main
@actions_todo = []
@actions_doing = []
@actions_functions = []
@visible_icons = []

Builtins.y2milestone("Probing done: %1", Installation.probing_done)
if !Installation.probing_done
@@ -107,10 +106,6 @@ def main
@actions_functions,
fun_ref(method(:ActionUSB), "boolean ()")
)
@visible_icons = Builtins.add(
@visible_icons,
"32x32/apps/yast-usb.png"
)

# TRANSLATORS: progress step
@actions_todo = Builtins.add(
@@ -126,10 +121,6 @@ def main
@actions_functions,
fun_ref(method(:ActionFireWire), "boolean ()")
)
@visible_icons = Builtins.add(
@visible_icons,
"32x32/apps/yast-firewire.png"
)

# TRANSLATORS: progress step
@actions_todo = Builtins.add(
@@ -145,10 +136,6 @@ def main
@actions_functions,
fun_ref(method(:ActionFloppyDisks), "boolean ()")
)
@visible_icons = Builtins.add(
@visible_icons,
"32x32/apps/yast-floppy.png"
)
end

# TRANSLATORS: progress step
@@ -165,10 +152,6 @@ def main
@actions_functions,
fun_ref(method(:ActionHHDControllers), "boolean ()")
)
@visible_icons = Builtins.add(
@visible_icons,
"32x32/apps/yast-hdd-controller.png"
)

# TRANSLATORS: progress step
@actions_todo = Builtins.add(
@@ -184,10 +167,6 @@ def main
@actions_functions,
fun_ref(method(:ActionLoadModules), "boolean ()")
)
@visible_icons = Builtins.add(
@visible_icons,
"32x32/apps/yast-hdd-controller-kernel-module.png"
)

# TRANSLATORS: progress step
@actions_todo = Builtins.add(@actions_todo, _("Probe hard disks"))
@@ -200,10 +179,6 @@ def main
@actions_functions,
fun_ref(method(:ActionHDDProbe), "boolean ()")
)
@visible_icons = Builtins.add(@visible_icons, "32x32/apps/yast-hdd.png")

WFM.CallFunction("inst_features", [])
end

# TRANSLATORS: progress step
@actions_todo = Builtins.add(
@@ -219,10 +194,6 @@ def main
@actions_functions,
fun_ref(method(:SearchForLinuxPartitions), "boolean ()")
)
@visible_icons = Builtins.add(
@visible_icons,
"32x32/apps/yast-search-linux-partition.png"
)

# TRANSLATORS: progress step
@actions_todo = Builtins.add(@actions_todo, _("Search for system files"))
@@ -236,10 +207,6 @@ def main
@actions_functions,
fun_ref(method(:FilesFromOlderSystems), "boolean ()")
)
@visible_icons = Builtins.add(
@visible_icons,
"32x32/apps/yast-system-files.png"
)

# TRANSLATORS: progress step
@actions_todo = Builtins.add(
@@ -255,10 +222,6 @@ def main
@actions_functions,
fun_ref(method(:EvaluateUpdatePossibilities), "boolean ()")
)
@visible_icons = Builtins.add(
@visible_icons,
"32x32/apps/yast-update-possibility.png"
)

# TRANSLATORS: progress step
@actions_todo = Builtins.add(
@@ -274,12 +237,8 @@ def main
@actions_functions,
fun_ref(method(:InitInstallationRepositories), "boolean ()")
)
@visible_icons = Builtins.add(
@visible_icons,
"32x32/apps/yast-package-manager.png"
)

Progress.NewProgressIcons(
Progress.New(
# TRANSLATORS: dialog caption
_("System Probing"),
" ",
@@ -288,7 +247,6 @@ def main
@actions_doing,
# TRANSLATORS: dialog help
_("YaST is probing computer hardware and installed systems now."),
[@visible_icons]
)

Builtins.foreach(@actions_functions) do |run_function|

0 comments on commit 1d6d071

Please sign in to comment.
You can’t perform that action at this time.