Skip to content

Commit

Permalink
remove icons from system analysis client
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Jan 21, 2014
1 parent 70b92d4 commit 1d6d071
Showing 1 changed file with 1 addition and 43 deletions.
44 changes: 1 addition & 43 deletions src/clients/inst_system_analysis.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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(
Expand All @@ -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(
Expand All @@ -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
Expand All @@ -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(
Expand All @@ -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"))
Expand All @@ -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(
Expand All @@ -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"))
Expand All @@ -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(
Expand All @@ -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(
Expand All @@ -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"),
" ",
Expand All @@ -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|
Expand Down

0 comments on commit 1d6d071

Please sign in to comment.