public
Description: A SSB OSX application, which at some point will be able to create a new application which wraps a specific web application, (Think Campfire, Twitter etc) and allows the user to use Ruby to create event handlers to be able support things like Growl or whatever you would like.
Clone URL: git://github.com/alloy/webapp-app.git
Load bundles before writing out the tmp user stylesheet, otherwise there's 
no custom css defined yet.
alloy (author)
Mon Apr 07 02:51:49 -0700 2008
commit  ea8d54e6281869b269ceb933e1e3e6903b43807d
tree    a1a3f0b6cecb0c99427c872e4f467dd9b7a6949c
parent  03a3769cf48a1d864f9ec8681cb6f0f7e7107cf2
...
22
23
24
25
26
27
28
29
30
31
32
33
34
35
...
51
52
53
 
 
 
 
 
 
 
 
54
55
56
...
22
23
24
 
 
 
 
 
 
 
 
25
26
27
...
43
44
45
46
47
48
49
50
51
52
53
54
55
56
0
@@ -22,14 +22,6 @@ class ApplicationController < Rucola::RCController
0
     setup_tabView!
0
     setup_tabBarController!
0
     
0
- # If there are any custom user css rules, now is the time to write them out.
0
- if stylesheet_path = WebApp::EventHandler.write_tmp_stylesheet!
0
- # And assign it to the WebView preferences.
0
- prefs = OSX::WebPreferences.standardPreferences
0
- prefs.userStyleSheetEnabled = true
0
- prefs.userStyleSheetLocation = OSX::NSURL.fileURLWithPath(stylesheet_path)
0
- end
0
-
0
     @bundle_window_controllers = {}
0
     
0
     ["#{Rucola::RCApp.root_path}/bundles/", Rucola::RCApp.application_support_path].each do |bundles|
0
@@ -51,6 +43,14 @@ class ApplicationController < Rucola::RCController
0
       end
0
     end
0
     
0
+ # If there are any custom user css rules, now is the time to write them out.
0
+ if stylesheet_path = WebApp::EventHandler.write_tmp_stylesheet!
0
+ # And assign it to the WebView preferences.
0
+ prefs = OSX::WebPreferences.standardPreferences
0
+ prefs.userStyleSheetEnabled = true
0
+ prefs.userStyleSheetLocation = OSX::NSURL.fileURLWithPath(stylesheet_path)
0
+ end
0
+
0
     @webViewControllers = []
0
     addWebViewTab
0
   end

Comments

    No one has commented yet.