# Ruby-glade-create-template bug

**URL:** <https://www.ruby-forum.com/t/ruby-glade-create-template-bug/133196>\
**Category:** Ruby-Gnome 2\
**Created:** [March 28, 2008, 4:57pm UTC](https://www.ruby-forum.com/t/ruby-glade-create-template-bug/133196 "2008-03-28T16:57:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![martin\_gnu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/edb3f5/32.png) [@martin\_gnu](https://www.ruby-forum.com/u/martin_gnu)\
**Post date:** [March 28, 2008, 4:57pm UTC](https://www.ruby-forum.com/t/ruby-glade-create-template-bug/133196/1 "2008-03-28T16:57:02Z")

</div>

Hi all:

This is my first post here.

I am using ruby-gnome to work in engineering applications for Windows.

Where i can post a bug to ruby-glade-create-template ???

we donÂ´t have exit signal. Every time you start the app you have a new  
instance therefore:

```
@glade = GladeXML.new(path_or_data, root, domain, localedir, flag)

```

{|handler| method(handler)}  
@window = @glade[‘window1’]  
@window.signal\_connect(“destroy”) { Gtk.main\_quit }

ItÂ´s would be great add this las line to the ruby-glade-create-template.

Regards.

---

<div class="post-metadata">

**Author:** ![martin\_gnu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/edb3f5/32.png) [@martin\_gnu](https://www.ruby-forum.com/u/martin_gnu)\
**Post date:** [March 29, 2008, 3:16am UTC](https://www.ruby-forum.com/t/ruby-glade-create-template-bug/133196/2 "2008-03-29T03:16:30Z")

</div>

Martin V. wrote:

> Hi all:
> 
> This is my first post here.
> 
> I am using ruby-gnome to work in engineering applications for Windows.
> 
> Where i can post a bug to ruby-glade-create-template ???
> 
> we donÂ´t have exit signal. Every time you start the app you have a new  
> instance therefore:
> 
> ```
> @glade = GladeXML.new(path_or_data, root, domain, localedir, flag)
> 
> ```
> 
> {|handler| method(handler)}  
> @window = @glade[‘window1’]  
> @window.signal\_connect(“destroy”) { Gtk.main\_quit }
> 
> ItÂ´s would be great add this last line to the ruby-glade-create-template.
> 
> Regards.

Hmm, sometimes I use multiple glade file for an application. I need to  
control the exit signal myself so some windows destroy will not trigger  
the ‘Gtk.main\_quit’. I think this is the reason they don’t include the  
exit signal in the template generator. This is just my thought, adding a  
single line on the file is easy and don’t need to add to the template.

Regards,  
Shin Guey
