Permalink
Browse files

Update icon paths/names.

Based on a patch from Carlos Cardenas.
  • Loading branch information...
1 parent effa4fb commit 163f65699df18c8934ee34d7891d4fd7295c3996 @infininight infininight committed Dec 19, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 Support/bin/build_qt_project.rb
@@ -187,7 +187,7 @@ class << @mup
def borrow_xcode_icon(icon_name, background=false)
image( :class => background ? "backgroundicon" : "icon",
- :src => "file:///System/Library/PrivateFrameworks/DevToolsInterface.framework/Versions/A/Resources/#{icon_name}" )
+ :src => "file:///Applications/Xcode.app/Contents/OtherFrameworks/DevToolsInterface.framework/Versions/A/Resources/#{icon_name}" )
end
def div_stack
@@ -427,11 +427,11 @@ def error_message(cssclass, path, line, error_desc)
cssclass = cssclass.downcase
cssclass, icon = case cssclass
when "", "error"
- ["error", "PBXBuildErrorIcon.tiff"]
+ ["error", "XCBuildErrorIcon.tiff"]
when "message", "info"
["info", "globe.tiff"]
when "warning"
- ["warning", "PBXBuildWarningIcon.tiff"]
+ ["warning", "XCBuildWarningIcon.tiff"]
else
[cssclass, "globe.tiff"]
end
@@ -462,7 +462,7 @@ def success(message)
def failure
@mup.new_div!("error", "", :show) do
@mup.h2 do
- @mup.borrow_xcode_icon("PBXBuildErrorIcon.tiff")
+ @mup.borrow_xcode_icon("XCBuildErrorIcon.tiff")
@mup.text("Build Failed")
end
end

0 comments on commit 163f656

Please sign in to comment.