Re: Patch for bonobo-ui-sync-status.c



On Tue, 2002-02-26 at 13:08, Michael Meeks wrote:
> 
> 	I think we need to have something like:
> 
> 	has_grip = FALSE;
> 	if (resize_grip && atoi (resize_grup) != 0)
> 		resize_grip = TRUE;
> 
> 	gtk_statusbar ...
> 
> 	Otherwise if people delete the attribute having had it set to some
> state - they are left with an un-defined state lurking around :-)
> 
> 	With that change, please do commit,
> 

The default should be has_grip = TRUE (like in Gtk+ and as it was before
this patch)

So we should have something like:

has_grip = TRUE;
if (resize_grip && atoi (resize_grip) == 0)
	has_grip = FALSE;

gtk_statusbar_set_has_resize_grip (                             
	msync->main_status, has_grip);

Is it ok?

Ciao

Paolo




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]