[xiph-cvs] cvs commit: postfish subpanel.c

Monty xiphmont at xiph.org
Fri Jan 9 16:09:05 PST 2004



xiphmont    04/01/09 19:09:04

  Modified:    .        subpanel.c
  Log:
  Fix bug in the subpanel delete event handler (delete should be
  redirected to hide; I broke it when abstracting out subpanels)

Revision  Changes    Path
1.3       +2 -2      postfish/subpanel.c

Index: subpanel.c
===================================================================
RCS file: /usr/local/cvsroot/postfish/subpanel.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- subpanel.c	26 Dec 2003 09:55:57 -0000	1.2
+++ subpanel.c	10 Jan 2004 00:09:02 -0000	1.3
@@ -33,7 +33,7 @@
                           gpointer in){
   subpanel_generic *p=in;
   gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(p->subpanel_windowbutton),0);
-  return FALSE;
+  return TRUE;
 }
 static int windowbutton_action(GtkWidget *widget,
                         gpointer in){
@@ -157,7 +157,7 @@
                           panel);
 
   /* delete should == hide */
-  g_signal_connect (G_OBJECT (panel->mainpanel->toplevel), "delete-event",
+  g_signal_connect (G_OBJECT (panel->subpanel_toplevel), "delete-event",
                     G_CALLBACK (clippanel_hide), 
                     panel);
 

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list