Return NULL in the case that the control is already present
2001-07-13 Bradford Hovinen <hovinen@ximian.com> * capplet-util.c (create_dialog_cb): Return NULL in the case that the control is already present * capplet-dir.c (capplet_control_launch): Accept window_title parameter and use it as the title (capplet_activate): Pass entry->name to capplet_control_launch (capplet_control_launch): Don't print error and use correct test for control_ref == CORBA_OBJECT_NIL
This commit is contained in:
parent
fa695ff9ee
commit
8459555f65
4 changed files with 10 additions and 3 deletions
|
@ -194,7 +194,7 @@ create_dialog_cb (BonoboPropertyControl *property_control, gint page_number)
|
|||
gtk_signal_connect (GTK_OBJECT (control), "destroy",
|
||||
GTK_SIGNAL_FUNC (close_cb), NULL);
|
||||
} else {
|
||||
gtk_widget_show_all (widget);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return BONOBO_OBJECT (control);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue