Re: net status



On Thu, 11 Jun 1998 redhat@frostnet.coso.com wrote:
> 5 minutes ago as w/ your cpu. It would be nice if netload update more
> often (as in you could only see the last second of activity).

you can change change it in applets/netload/properties.c:

replace 2000 and 1000 with some smaller value

...
void load_properties(char *path, netload_properties *prop )
{
        gnome_config_push_prefix(path);
        prop->gcolor    = gnome_config_get_string ("gcolor=#20b2aa");
        prop->bcolor    = gnome_config_get_string ("bcolor=#188982");
        prop->speed     = gnome_config_get_int    ("speed=2000");
  

... and further down:

void freq_cb( GtkWidget *widget, GtkWidget *spin )
{
        new_props.speed = 
		gtk_spin_button_get_value_as_float(GTK_SPIN_BUTTON(spin))*1000;
        gnome_property_box_changed(GNOME_PROPERTY_BOX(propbox));
}
 
...



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