Commit 4a53cbab authored by Sam Hocevar's avatar Sam Hocevar

* ./modules/gui/gtk/gtk.glade: handled delete event for the Open window.

parent 67c3e67a
...@@ -1442,6 +1442,11 @@ http://www.videolan.org/</label> ...@@ -1442,6 +1442,11 @@ http://www.videolan.org/</label>
<class>GtkDialog</class> <class>GtkDialog</class>
<name>intf_open</name> <name>intf_open</name>
<border_width>5</border_width> <border_width>5</border_width>
<signal>
<name>delete_event</name>
<handler>gtk_widget_hide</handler>
<last_modification_time>Mon, 16 Sep 2002 07:48:17 GMT</last_modification_time>
</signal>
<title>Open Target</title> <title>Open Target</title>
<type>GTK_WINDOW_TOPLEVEL</type> <type>GTK_WINDOW_TOPLEVEL</type>
<position>GTK_WIN_POS_NONE</position> <position>GTK_WIN_POS_NONE</position>
......
...@@ -2091,6 +2091,9 @@ create_intf_open (void) ...@@ -2091,6 +2091,9 @@ create_intf_open (void)
GDK_Escape, 0, GDK_Escape, 0,
GTK_ACCEL_VISIBLE); GTK_ACCEL_VISIBLE);
gtk_signal_connect (GTK_OBJECT (intf_open), "delete_event",
GTK_SIGNAL_FUNC (gtk_widget_hide),
NULL);
gtk_signal_connect_after (GTK_OBJECT (open_notebook), "switch_page", gtk_signal_connect_after (GTK_OBJECT (open_notebook), "switch_page",
GTK_SIGNAL_FUNC (GtkOpenNotebookChanged), GTK_SIGNAL_FUNC (GtkOpenNotebookChanged),
NULL); NULL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment