Created
March 16, 2012 17:39
-
-
Save syuu1228/2051360 to your computer and use it in GitHub Desktop.
svn diff
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
Index: core/mui/null_skin.rb | |
=================================================================== | |
--- core/mui/null_skin.rb (revision 0) | |
+++ core/mui/null_skin.rb (revision 0) | |
@@ -0,0 +1,13 @@ | |
+# -*- coding: utf-8 -*- | |
+ | |
+module MUI | |
+ class Skin | |
+ | |
+ def self.get(filename) | |
+ end | |
+ | |
+ def self.path | |
+ end | |
+ | |
+ end | |
+end | |
Index: core/miquire.rb | |
=================================================================== | |
--- core/miquire.rb (revision 713) | |
+++ core/miquire.rb (working copy) | |
@@ -21,7 +21,9 @@ | |
PATH_KIND_CONVERTER[:mui] = Class.new{ | |
define_method(:+){ |other| | |
render = lambda{ |r| File.join('mui', "#{r}_" + other) } | |
- if other == '*' or FileTest.exist?(render[:cairo] + '.rb') | |
+ if 1 == 1 | |
+ render[:null] | |
+ elsif other == '*' or FileTest.exist?(render[:cairo] + '.rb') | |
render[:cairo] | |
else | |
render[:gtk] end } }.new |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment