Browse files

some comments in generated app

  • Loading branch information...
1 parent 88694f5 commit eb3de9e052ed13b4defdec13ebbbe350a24421bf andrea@SONGOKU committed Oct 19, 2010
View
2 lib/scaffolding/templates/application.ftt
@@ -6,4 +6,4 @@ include Freightrain
Freightrain.app_path = File.join(File.dirname(__FILE__), "lib")
Freightrain.toolkit = :gtk
-Freightrain.start(:$NAME)
+Freightrain.start(:$NAME) #shows $NAME_view
View
2 lib/scaffolding/templates/view_toplevel.ftt
@@ -1,6 +1,6 @@
class $NAMEView < FreightView
- signal :quit, :forwards => "$TOPLEVEL.destroy"
+ signal :quit, :forwards => "$TOPLEVEL_window.destroy"
end
View
2 lib/scaffolding/templates/view_toplevel_glade.ftt
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<interface>
<requires lib="gtk+" version="2.16"/>
- <object class="GtkWindow" id="$NAME">
+ <object class="GtkWindow" id="$NAME_window">
<property name="width_request">600</property>
<property name="height_request">400</property>
<property name="visible">True</property>

0 comments on commit eb3de9e

Please sign in to comment.