CVSROOT: /cvs/gnome Module name: gnome-applets Changes by: ryanl 05/08/22 12:15:29
Modified files: multiload : ChangeLog Makefile.am global.h load-graph.c load-graph.h main.c properties.c Removed files: multiload : cpuload.c diskload.c loadavg.c memload.c netload.c swapload.c Log message: 2005-08-22 Ryan Lortie <[EMAIL PROTECTED]> * cpuload.c: * memload.c: * netload.c: * diskload.c: * swapload.c: * loadavg.c: These 6 files have been removed from CVS. * Makefile.am: Remove the above 6 files from multiload_applet_2_SOURCES. * global.h (struct _LoadGraph, struct _MultiloadApplet): Change "Applet" backref in LoadGraph to "MultiloadApplet". Add an 'id' to each LoadGraph so it knows its own number. Fix 'const'ness on 'name' field in LoadGraph. Add 'notebook' field to MultiloadApplet to allow page switching. Add 'last_clicked' field so we know what page to switch to. Remove prototypes for the 6 deleted C files above. * load-graph.c (load_graph_unalloc, load_graph_load_config, load_graph_new, load_graph_clicked): Changes to deal with the applet -> multiloadapplet backref change. Add 'clicked' handler to record who received the most recent click. Modify event mask so that we receive click events. Changed prototype of the 'new' function to take its 'id' number and a MultiloadApplet pointer instead of Applet pointer. * load-graph.h: Update load_graph_new prototype for above changes. * properties.c (fill_properties, multiload_properties_cb): Change 'fill' code to initialise 'notebook' field in struct. Change properties callback to switch to the correct notebook page. * main.c (multiload_create_graphs, multiload_applet_refresh): New create_graphs function replaces the functionality of the 6 separate C files. applet_refresh now calls create_graphs instead of the 6 C files. URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-applets&who=ryanl&date=explicit&mindate=2005-08-22%2012:14&maxdate=2005-08-22%2012:16 _______________________________________________ cvs-commits-list mailing list cvs-commits-list@gnome.org http://mail.gnome.org/mailman/listinfo/cvs-commits-list