Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

some comments in generated app

  • Loading branch information...
commit eb3de9e052ed13b4defdec13ebbbe350a24421bf 1 parent 88694f5
andrea@SONGOKU authored
2  lib/scaffolding/templates/application.ftt
View
@@ -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
2  lib/scaffolding/templates/view_toplevel.ftt
View
@@ -1,6 +1,6 @@
class $NAMEView < FreightView
- signal :quit, :forwards => "$TOPLEVEL.destroy"
+ signal :quit, :forwards => "$TOPLEVEL_window.destroy"
end
2  lib/scaffolding/templates/view_toplevel_glade.ftt
View
@@ -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>
Please sign in to comment.
Something went wrong with that request. Please try again.