diff options
Diffstat (limited to 'multiload')
137 files changed, 0 insertions, 7900 deletions
diff --git a/multiload/.cvsignore b/multiload/.cvsignore deleted file mode 100644 index c94bafa49..000000000 --- a/multiload/.cvsignore +++ /dev/null @@ -1,6 +0,0 @@ -Makefile.in -Makefile -.deps -.libs -multiload_applet -dummy.cc diff --git a/multiload/AUTHORS b/multiload/AUTHORS deleted file mode 100644 index 4e48a7a0c..000000000 --- a/multiload/AUTHORS +++ /dev/null @@ -1 +0,0 @@ -Martin Baulig <martin@home-of-linux.org> diff --git a/multiload/ChangeLog b/multiload/ChangeLog deleted file mode 100644 index 16b25051c..000000000 --- a/multiload/ChangeLog +++ /dev/null @@ -1,257 +0,0 @@ -Sun May 21 18:44:58 2000 George Lebl <jirka@5z.com> - - * load-graph.c (applet_pixel_size_changed_cb) (load_graph_new): - When changing sizes remove the box from it's parent, and destroy - the frame if it exists. Don't depend on the show_frame value it - is bogus at that point. - -2000-05-22 Kjartan Maraas <kmaraas@online.no> - - * main.c: Added trick to translate labels to loadavg_texts also. - * *.c: #include <config.h> moved around to make everything work. - -2000-05-14 Andreas Hyden <a.hyden@cyberpoint.se> - - * loadavg_applet.desktop, netload_applet.desktop: Added Swedish translation. - -Fri May 12 16:18:23 2000 George Lebl <jirka@5z.com> - - * memload.c,cpuload.c,netload.c,swapload.c: Mark some strings for - translations (the can't create, g_error and the tooltip) - -2000-05-05 Yukihiro Nakai <nakai@gnome.gr.jp> - - * loadavg_applet.desktop: Add 'ja'. - -Thu May 04 00:15:30 2000 George Lebl <jirka@5z.com> - - * load-graph.c: s/INT_MAX/G_MAXINT/ - -2000-04-25 Fatih Demir <kabalak@gmx.net> - - * *.desktop : Added [tr] sections . - -2000-04-16 Dan Mueth <d-mueth@uchicago.edu> - - * Added Eric's fixes to CVS. Made a few small fixes to linking - and docs (copyright and author section). - * Removing old docs since new ones are there and in right place - now - * Adding topic.dat files - -2000-04-16 Eric Baudais <baudais@okstate.edu> - - * local-properties.h (LocalPropData): Added a variable - PropertyClass type to determine which help file will - be displayed. - * load-graph.c (load_graph_new): Initialized above - variable. - * local-propeties: Linked the docs separately. - * main.c: Linked the docs separately. - * properties.c: Linked the docs separately. - * cpuload.c: Linked the docs separetely. - * memload.c: Linked the docs separately. - * swapload.c: Linked the docs separately. - * netload.c: Linked the docs separately. - * loadavg.c: Linked the docs separately. - -2000-04-16 Karl EICHWALDER <ke@suse.de> - - * loadavg_applet.desktop: Add de. - * cpuload_applet.desktop, memload_applet.desktop, - swapload_applet.desktop: Improve de. - -2000-04-15 Eric Baudias <baudais@okstate,edu> - - * docs/C/*.sgml: Separated the one large doc into - 5 smaller docs. Added screenshots. - *docs/C/*.png: Added screenshots. - -2000-04-11 Eric Baudais <baudais@okstate.edu> - - * docs/C/*.sgml: changed the license to the FDL. - -2000-03-30 Jacob Berkman <jacob@helixcode.com> - - * docs/C/*.sgml: remove the DOCTYPE for entities - -2000-03-26 Jacob Berkman <jacob@helixcode.com> - - * Makefile.am (SUBDIRS): add docs subdir - -2000-03-18 Jacob Berkman <jacob@helixcode.com> - - * docs/: - * memload.c (make_memload_applet): - * swapload.c (make_swapload_applet): - * netload.c (make_netload_applet): - * loadavg.c (make_loadavg_applet): - * cpuload.c (make_cpuload_applet): documentation from Telsa - -2000-03-17 Jacob Berkman <jacob@helixcode.com> - - * linux-proc.c (GetLoadAvg): quiet gcc down a bit - -2000-02-24 Martin Baulig <martin@home-of-linux.org> - - * AUTHORS: Added AUTHORS file and listed me there. If I missed - anyone except myself here, please feel free to add your name ... - - * ChangeLog: We now have our own ChangeLog file. - -2000-02-24 Martin Baulig <martin@home-of-linux.org> - - * cpuload.c: Added "About" dialog. - * memload.c: Added "About" dialog. - * swapload.c: Added "About" dialog. - * loadavg.c: Added "About" dialog. - * netload.c: Added "About" dialog. - -2000-02-20 Jacob Berkman <jacob@helixcode.com> - - * netload.c (make_netload_applet): have netload use - netload local properties instead of swapload's properties - -2000-02-20 Martin Baulig <martin@home-of-linux.org> - - Added a load average applet to the multiload applet. - - * loadavg.c: New file. - * loadavg_applet.desktop: New file. - -2000-02-20 Martin Baulig <martin@home-of-linux.org> - - Changed most of the properties code from the multiload applet. We - now have two types of properties: global properties (which you can - configure using the "Default Properties" applet menu entry) and local - ones (which you can configure using the "Properties" applet menu entry). - - Global properties are default values which are used for newly created - instances of the load applets. - - Additionally, each of the load applet also has local properties which - are only for this single instance. This means that you can now have - two or more cpuload applets with different size, speed, etc. The - local properties dialog also has a "use default properties" checkbox; - if it is checked, the global properties are used. - - This is especially useful when you have more than one panel ... - - * local-properties.h: New file. - * local-properties.c: New file. - - * *: Larger changes in the properties code to do what is - described above. - -2000-02-19 Martin Baulig <martin@home-of-linux.org> - - Implemented panel size and orientation hints. - - * properties.h (LoadGraphProperties): `adj_data' is now - an array of size 2, not 3. - * load-graph.h (LoadGraph): Removed `width' and `height'. - Added `applet', `size', `orient', `pixel_size' and `allocated'. - * load-graph.c (load_graph_new): Replaced `width' and - `height' parameters with `size' and added new `applet' parameter. - -1999-12-07 Jacob Berkman <jberkman@andrew.cmu.edu> - - * main.c: - * netload.c: - * linux-proc.c: fix broken code. Now this - all works, plus there is now support for eth devices. - - slip/ppp/lo fix inspired by patch from Eduardo Perez - <100018135@alumnos.uc3m.es> - -1999-09-26 Jacob Berkman <jberkman@andrew.cmu.edu> - - * main.c (main): fix startup crash (from 1-0) - -1999-08-01 Jacob Berkman <jberkman@andrew.cmu.edu> - - * swapload.c (make_swapload_applet): - * memload.c (make_memload_applet): - * cpuload.c (make_cpuload_applet): use index menu - image - -1999-06-27 Jacob Berkman <jberkman@andrew.cmu.edu> - - * swapload.c (make_swapload_applet): added a tooltip - (fixes gnome bug 1436 by putting in patches from bug originator) - - * memload.c (make_memload_applet): again - - * netload.c (make_netload_applet): ditto - - * cpuload.c (make_cpuload_applet): one more time - -1999-04-16 Jacob Berkman <jberkman@cmu.edu> - - * main.c, global.h (start_gtop_cb): added - function to run gtop (gnome bug #1025) - - * *load.c (make_*load_applet): added "run gtop..." - menu item - -Wed Apr 7 23:03:11 1999 Jacob Berkman <jberkman@cmu.edu> - - * load-graph.c (load_graph_properties_init): - Set the minimum values for update time and width to - avoid lock up/crash - -1999-02-22 Martin Baulig <martin@home-of-linux.org> - - * multiload: Resize the widget after changing the size in the - properties dialog. Add "destroy" signal handler to the load - graph and correctly destroy it so it will no longer dump core - when you remove on of the applets. - - * multiload: Applied the patch from Jacob Berkman that makes - the multiload applet honor the width and height settings in - the properties dialog on next startup. - -1999-02-07 Federico Mena Quintero <federico@nuclecu.unam.mx> - - * load-graph.c (load_graph_update): Now this is the - timeout handler. - (load_graph_draw): Do not update the graph's data, just redraw. - (load_graph_properties_update): Redraw the load graphs, to make - properties take effect immediately when the user hits Apply. - - * properties.c (multiload_properties_cb): Invoke the - properties for the correct part of the applet. - (multiload_show_properties): Show the property page corresponding - to the type of applet the user clicked on. - -1998-12-28 Martin Baulig <martin@home-of-linux.org> - - The "MultiLoad Applet Revolution". - - All three multiload applets (cpuload, memload, swapload) now use - the same load graph object and the same properties code. - - This will make it much easier to add a new applet here. - - * cpuload.h: Removed. - * memload.h: Removed. - * swapload.h: Removed. - * properties-cpu.[ch]: Removed. - * properties-mem.[ch]: Removed. - * properties-swap.[ch]: Removed. - - * global.h: New file. - - * property-entries.[ch]: New files. This code will be - moved into libgnomeui after GNOME 1.0 is released. - - * load-graph.[ch]: New files. Contains some kind of - load graph widget/object that is used in all multiload applets. - - * properties.[ch]: New files. Contains general properties - stuff that is used in all multiload applets. - - * cpuload.c: Use the new load graph. - * memload.c: Likewise. - * swapload.c: Likewise. - diff --git a/multiload/Makefile.am b/multiload/Makefile.am deleted file mode 100644 index 57fc63c21..000000000 --- a/multiload/Makefile.am +++ /dev/null @@ -1,47 +0,0 @@ -SUBDIRS = docs - -INCLUDES = -I. -I$(srcdir) \ - -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \ - -I$(includedir) $(GNOME_INCLUDEDIR) $(LIBGTOP_INCS) - -bin_PROGRAMS = multiload_applet - -multiload_applet_SOURCES = cpuload.c \ - memload.c \ - swapload.c \ - netload.c \ - loadavg.c \ - main.c \ - global.h \ - properties.c \ - properties.h \ - local-properties.c \ - local-properties.h \ - property-entries.c \ - property-entries.h \ - linux-proc.h \ - linux-proc.c \ - load-graph.c \ - load-graph.h - -multiload_applet_LDADD = \ - $(GNOME_LIBDIR) \ - $(GNOME_APPLETS_LIBS) $(INTLLIBS) \ - $(LIBGTOP_LIBS) $(LIBGTOP_EXTRA_LIBS) - -appletdir = $(datadir)/applets - -Monitorsdir = $(appletdir)/Monitors - -Monitors_DATA = cpuload_applet.desktop memload_applet.desktop \ - swapload_applet.desktop netload_applet.desktop \ - loadavg_applet.desktop - -pixmaps = gnome-cpu.png gnome-mem.png -pixmapdir = $(datadir)/pixmaps -pixmap_DATA = $(pixmaps) - -EXTRA_DIST = $(Monitors_DATA) multiload_applet.gnorba $(pixmaps) - -gnorbadir = $(sysconfdir)/CORBA/servers -gnorba_DATA = multiload_applet.gnorba diff --git a/multiload/cpuload.c b/multiload/cpuload.c deleted file mode 100644 index 5e03d80d3..000000000 --- a/multiload/cpuload.c +++ /dev/null @@ -1,121 +0,0 @@ -/* GNOME cpuload/memload panel applet - * (C) 1997 The Free Software Foundation - * - * Authors: Tim P. Gerla - * Martin Baulig - * - * With code from wmload.c, v0.9.2, apparently by Ryan Land, rland@bc1.com. - * - */ - -#include <config.h> -#include <stdio.h> -#include <sys/stat.h> -#include <unistd.h> -#include <signal.h> -#include <dirent.h> -#include <string.h> -#include <time.h> -#include <config.h> -#include <gnome.h> -#include <gdk/gdkx.h> -#include <applet-widget.h> - -#include "global.h" - -static void -about_cb (AppletWidget *widget, gpointer data) -{ - static GtkWidget *about = NULL; - const gchar *authors[8]; - - if (about != NULL) - { - gdk_window_show(about->window); - gdk_window_raise(about->window); - return; - } - - authors[0] = "Martin Baulig <martin@home-of-linux.org>"; - authors[1] = NULL; - - about = gnome_about_new - (_("CPU Load Applet"), VERSION, - "(C) 1999", - authors, - _("Released under the GNU general public license.\n\n" - "CPU Load Meter Applet."), - NULL); - - gtk_signal_connect (GTK_OBJECT (about), "destroy", - GTK_SIGNAL_FUNC (gtk_widget_destroyed), &about); - - gtk_widget_show (about); -} - -/* start a new instance of the cpuload applet */ -GtkWidget * -make_cpuload_applet (const gchar *goad_id) -{ - GtkWidget *applet; - LoadGraphProperties *prop_data; - LoadGraph *g; - - /* create a new applet_widget */ - applet = applet_widget_new(goad_id); - /* in the rare case that the communication with the panel - failed, error out */ - if (!applet) - g_error (_("Can't create applet!\n")); - - prop_data = g_memdup (&multiload_properties.cpuload, - sizeof (LoadGraphProperties)); - - g = load_graph_new (APPLET_WIDGET (applet), 4, N_("CPU Load"), - &multiload_properties.cpuload, prop_data, - multiload_properties.cpuload.adj_data[0], - multiload_properties.cpuload.adj_data[1], GetLoad, - "index.html#CPULOAD-PROPERTIES"); - - applet_widget_add (APPLET_WIDGET(applet), g->main_widget); - gtk_widget_show (applet); - - load_graph_start (g); - - applet_widget_register_stock_callback (APPLET_WIDGET(applet), - "properties", - GNOME_STOCK_MENU_PROP, - _("Default Properties..."), - multiload_properties_cb, - g); - - applet_widget_register_stock_callback (APPLET_WIDGET(applet), - "local_properties", - GNOME_STOCK_MENU_PROP, - _("Properties..."), - multiload_local_properties_cb, - g); - - applet_widget_register_stock_callback (APPLET_WIDGET(applet), - "run_gtop", - GNOME_STOCK_MENU_INDEX, - _("Run gtop..."), - start_gtop_cb, NULL); - - applet_widget_register_stock_callback (APPLET_WIDGET(applet), - "help", - GNOME_STOCK_PIXMAP_HELP, - _("Help"), - multiload_help_cb, - "cpuload_applet"); - - applet_widget_register_stock_callback (APPLET_WIDGET(applet), - "about", - GNOME_STOCK_MENU_ABOUT, - _("About..."), - about_cb, NULL); - - applet_widget_set_tooltip(APPLET_WIDGET(applet), _("CPU Load")); - - return applet; -} diff --git a/multiload/cpuload_applet.desktop b/multiload/cpuload_applet.desktop deleted file mode 100644 index 9619ff583..000000000 --- a/multiload/cpuload_applet.desktop +++ /dev/null @@ -1,53 +0,0 @@ -[Desktop Entry] -Name=CPULoad -Name[ca]=Càrrega d'UPC -Name[da]=Processor-måler -Name[de]=Prozessorlast -Name[el]=Öüñôïò CPU -Name[es]=Carga CPU -Name[et]=Prose koormu -Name[eu]=CPU zama -Name[fi]=Prosessorikuorma -Name[fr]=Charge CPU -Name[gl]=Carga da CPU -Name[it]=Carico CPU -Name[ja]=CPUÉé²Ù -Name[ko]=Áß¾Óó¸®ÀåÄ¡ ·Îµå -Name[lt]=CPU apkrovimas -Name[nl]=Processorbelasting -Name[no]=Prosessorbelastning -Name[pl]=Procesor -Name[pt]=Carga CPU -Name[ru]=úÁÇÒÕÚËÁ ãðõ -Name[sv]=CPU-belastning -Name[tr]=Iþlemci yükü -Name[uk]=úÁ×ÁÎÔÁÖÅÎÎÑ CPU -Name[wa]=Tchedje do CPU -Comment=CPU Load Meter -Comment[ca]=Mostra la càrrega del processador -Comment[da]=Måler procesorbelastning -Comment[de]=Anzeige der Prozessorlast -Comment[el]=Åìöáíßæåé ôï öüñôï ôçò åðåîåñãáóôéêÞò ìïíÜäáò -Comment[es]=Muestra la carga del procesador -Comment[et]=Näitab protsessori koormust -Comment[eu]=CPUak darabilen zama neurtzeko -Comment[fi]=Prosessorin kuormitusmittari -Comment[fr]=Charge du processeur -Comment[gl]=Medidor da carga do procesador -Comment[it]=Mostra l'andamento del livello di utilizzazione della CPU in un grafico -Comment[ja]=CPUÉé²Ù¥á¡¼¥¿¡¼ -Comment[ko]=Áß¾Óó¸®ÀåÄ¡ ·Îµå ÃøÁ¤ -Comment[lt]=Procesoriaus apkrovimo matuoklis -Comment[nl]=Processorbelasting -Comment[no]=Måler for prosessorbelastning -Comment[pl]=Monitor obci±¿enia procesora -Comment[pt]=Monitor da carga de CPU -Comment[ru]=éÚÍÅÒÉÔÅÌØ ÚÁÇÒÕÚËÉ ãðõ -Comment[sv]=Mäter CPU-belastningen -Comment[tr]=Iþlemci yükünü gösterir -Comment[uk]=÷ÉͦÒÀ×ÁÞ ÚÁ×ÁÎÔÁÖÅÎÎÑ CPU -Comment[wa]=Aplikete ki mostere li tchedje do processeu -Exec=multiload_applet --activate-goad-server=multiload_cpuload_applet -Icon=gnome-cpu.png -Terminal=0 -Type=Application diff --git a/multiload/docs/.cvsignore b/multiload/docs/.cvsignore deleted file mode 100644 index 3dda72986..000000000 --- a/multiload/docs/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -Makefile.in -Makefile diff --git a/multiload/docs/C/.cvsignore b/multiload/docs/C/.cvsignore deleted file mode 100644 index 23bc3c90b..000000000 --- a/multiload/docs/C/.cvsignore +++ /dev/null @@ -1,5 +0,0 @@ -Makefile.in -Makefile -*.junk -*.html -multiload-applet diff --git a/multiload/docs/C/Makefile.am b/multiload/docs/C/Makefile.am deleted file mode 100644 index a3e317b86..000000000 --- a/multiload/docs/C/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -SUBDIRS = cpuload loadavg memload netload swapload diff --git a/multiload/docs/C/cpuload/.cvsignore b/multiload/docs/C/cpuload/.cvsignore deleted file mode 100644 index 88dcf120c..000000000 --- a/multiload/docs/C/cpuload/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -Makefile.in -Makefile -index.html -cpuload-applet diff --git a/multiload/docs/C/cpuload/Makefile.am b/multiload/docs/C/cpuload/Makefile.am deleted file mode 100644 index b67a65d70..000000000 --- a/multiload/docs/C/cpuload/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -applet = cpuload -figs = \ - cpuload-applet-default.png\ - cpuload-applet-greyed.png\ - cpuload-applet-properties.png\ - cpuload-applet.png -lang = C -sgml_ents = $(applet).sgml -include $(top_srcdir)/applet-docs.make -dist-hook: applet-dist-hook diff --git a/multiload/docs/C/cpuload/cpuload-applet-default.png b/multiload/docs/C/cpuload/cpuload-applet-default.png Binary files differdeleted file mode 100644 index 40e5df2fb..000000000 --- a/multiload/docs/C/cpuload/cpuload-applet-default.png +++ /dev/null diff --git a/multiload/docs/C/cpuload/cpuload-applet-greyed.png b/multiload/docs/C/cpuload/cpuload-applet-greyed.png Binary files differdeleted file mode 100644 index afd328d98..000000000 --- a/multiload/docs/C/cpuload/cpuload-applet-greyed.png +++ /dev/null diff --git a/multiload/docs/C/cpuload/cpuload-applet-properties.png b/multiload/docs/C/cpuload/cpuload-applet-properties.png Binary files differdeleted file mode 100644 index 183cbcf3a..000000000 --- a/multiload/docs/C/cpuload/cpuload-applet-properties.png +++ /dev/null diff --git a/multiload/docs/C/cpuload/cpuload-applet.png b/multiload/docs/C/cpuload/cpuload-applet.png Binary files differdeleted file mode 100644 index c5110b893..000000000 --- a/multiload/docs/C/cpuload/cpuload-applet.png +++ /dev/null diff --git a/multiload/docs/C/cpuload/cpuload-applet.sgml b/multiload/docs/C/cpuload/cpuload-applet.sgml deleted file mode 100644 index db84f7bb7..000000000 --- a/multiload/docs/C/cpuload/cpuload-applet.sgml +++ /dev/null @@ -1,43 +0,0 @@ -<!DOCTYPE Article PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.0//EN"[ - <!entity cpuload.sgml SYSTEM "cpuload.sgml"> -]> - -<article id="index"> - - <artheader> - <title>CPU Load Applet</title> - <copyright> - <year>2000</year> - <holder>Telsa Gwynne and Eric Baudais</holder> - </copyright> - - <legalnotice> - <para> - Permission is granted to copy, distribute and/or modify this - document under the terms of the <citetitle>GNU Free Documentation - License</citetitle>, Version 1.1 or any later version published - by the Free Software Foundation with no Invariant Sections, no - Front-Cover Texts, and no Back-Cover Texts. You may obtain a copy - of the <citetitle>GNU Free Documentation License</citetitle> from - the Free Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to: - Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - </para> - <para> - Many of the names used by companies to distinguish their products and - services are claimed as trademarks. Where those names appear in any - GNOME documentation, and those trademarks are made aware to the members - of the GNOME Documentation Project, the names have been printed in caps - or initial caps. - </para> - </legalnotice> - - <releaseinfo> - This is version 1.0 of the CPU Load Applet manual. - </releaseinfo> - </artheader> - - &cpuload.sgml; - -</article> diff --git a/multiload/docs/C/cpuload/cpuload.sgml b/multiload/docs/C/cpuload/cpuload.sgml deleted file mode 100644 index 350cf51e3..000000000 --- a/multiload/docs/C/cpuload/cpuload.sgml +++ /dev/null @@ -1,317 +0,0 @@ -<!-- Permission is granted to make and distribute verbatim copies of --> -<!-- this manual provided the copyright notice and this permission --> -<!-- notice are preserved on all copies. --> -<!-- --> -<!-- Permission is granted to copy and distribute modified versions of --> -<!-- this manual under the conditions for verbatim copying, provided --> -<!-- that the entire resulting derived work is distributed under the --> -<!-- terms of a permission notice identical to this one. --> -<!-- --> -<!-- Permission is granted to copy and distribute translations of this --> -<!-- manual into another language, under the above conditions for --> -<!-- modified versions, except that this permission notice may be --> -<!-- stated in a translation approved by the Foundation. --> - - <sect1 id="cpuload-applet"> - <title>The CPU load applet</title> - - <para> - The <application>cpuload_applet</application> is a small monitor - applet which sits in your panel and tells you how much CPU is - being used. - </para> - - <sect2 id="cpuload-usage"> - <title>Usage</title> - <para> - You don't need to do anything to this applet. It will sit and - run in your panel. Various options to alter its display are - available. - </para> - - <figure id="cpuload-applet-fig"> - <title>CPU Load Applet</title> - <screenshot> - <screeninfo>CPU Load Applet</screeninfo> - <graphic format="png" fileref="cpuload-applet" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - <application>cpuload_applet</application> divides CPU use into - four sorts: - </para> - <variablelist> - <varlistentry> - <term>User</term> - <listitem> - <para> - This measures CPU use in "userland": ie, things not talking to - the kernel. The default colour for this is yellow. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>System</term> - <listitem> - <para> - This measures CPU use that involves the kernel: lots of talking - between memory and disc, for example. The default colour is pale - grey. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Nice</term> - <listitem> - <para> - This measures CPU use which is not "nice": running at a high priority. - The default colour is medium grey. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Idle</term> - <listitem> - <para> - Idle measures unused CPU capacity. The default colour is black. - </para> - </listitem> - </varlistentry> - </variablelist> - </sect2> - - <sect2 id="cpuload-right-click"> - <title>Right-Click Pop-Up Menu Items</title> - <para> - In addition to the standard menu items, the right-click pop-up menu has - the following items: - </para> - - <variablelist> - <varlistentry> - <term>Default Properties...</term> - <listitem> - <para> - This opens the <guilabel>multiload_applet dialogue box</guilabel> - <link linkend="cpuload-properties">described below</link> which allows - you to alter the default properties of this and related monitor - applets. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Properties...</term> - <listitem> - <para> - This opens the <guilabel>multiload_applet dialogue box</guilabel> - <link linkend="cpuload-properties">described below</link> which - affects only the <application>cpuload_applet</application> - properties. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Run gtop...</term> - <listitem> - <para> - This option will run the <command>gtop</command> which - starts up the GNOME System Monitor. <application>gtop</application> - gives a much more detailed look at your system and what's happening - on it. - </para> - </listitem> - </varlistentry> - </variablelist> - </sect2> - - <sect2 id="cpuload-properties"> - <title>Properties</title> - - <figure id="cpuload-default-fig"> - <title>Default Properties Dialog</title> - <screenshot> - <screeninfo>CPU Load Applet Default Properties Dialog</screeninfo> - <graphic format="png" fileref="cpuload-applet-default" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - Like several of the monitor applets, - <application>cpuload_applet</application> has two ways of setting - preferences. You can make changes that affect any of this group - (<application>cpuload_applet</application>, <application>memload_applet</application>, - <application>swapload_applet</application>, <application>netload_applet</application> - and <application>loadavg_applet</application>) in one large dialogue - box. This is useful if you run one or more of them. These are the - settings used by default. They are reached from the - <guimenuitem>Default Properties...</guimenuitem> menu item. - </para> - - <figure id="cpuload-greyed-fig"> - <title>Greyed Out Properties Dialog</title> - <screenshot> - <screeninfo>CPU Load Applet Greyed Out Properties Dialog</screeninfo> - <graphic format="png" fileref="cpuload-applet-greyed" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - Or you can change just the properties for - <application>cpuload_applet</application>. This is useful for when - you only use <application>cpuload_applet</application> or want to - try new combinations out. It is reached from the - <guimenuitem>Properties</guimenuitem> menu item. - </para> - <note> - <para> - If you use the <guimenuitem>Properties...</guimenuitem> menu item - and edit the preferences for just this applet, you must uncheck - the <guibutton>Use default properties</guibutton> checkbox before - you can alter any settings. - </para> - </note> - - <figure id="cpuload-properties-fig"> - <title>CPU Load Properties Dialog</title> - <screenshot> - <screeninfo>CPU Load Applet Properties Dialog</screeninfo> - <graphic format="png" fileref="cpuload-applet-properties" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - The changes you can make to the properties are three: - </para> - - <variablelist> - <varlistentry> - <term>Colours</term> - <listitem> - <para> - You can alter the colours used for the different forms of - CPU usage displayed by clicking on the colour boxes. This - invokes the GNOME colour wheel. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Speed</term> - <listitem> - <para> - You can alter the speed that the graph proceeds with this. - It is measured in milliseconds. The highest value is 1,000,000,000 - and the lowest is 1. The default is a more sensible 500. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Size</term> - <listitem> - <para> - You can alter the size of the applet with this. It is measured - in pixels. The default value is 40, and the range is from 1 pixel - to whatever you like. In a vertical panel, this refers to the - height. In a horizontal panel, it refers to the width. - </para> - </listitem> - </varlistentry> - </variablelist> - </sect2> - - <sect2 id="cpuload-bugs"> - <title> Known Bugs and Limitations</title> - <para> - Resizing and then altering the panel orientation can result in - intermittent problems, although they now fix themselves after a - short period. - </para> - </sect2> - - <sect2 id="cpuload-authors"> - <title>Authors</title> - <para> - This applet was writen by Martin Baulig (<email>martin@home-of-linux.org</email>). - Please send all comments, suggestions, and bug - reports to the <ulink url="http://bugs.gnome.org" type="http">GNOME - bug tracking database</ulink>. (Instructions for submitting bug - reports can be found <ulink - url="http://bugs.gnome.org/Reporting.html" type="http"> - on-line</ulink>. If you are using - GNOME 1.1 or later, you can also use <application>Bug Report - Tool</application> (<command>bug-buddy</command>), available in the - <guisubmenu>Utilities</guisubmenu> submenu of <guimenu>Main - Menu</guimenu>, for submitting bug reports. - </para> - <para> - This manual was written by Telsa Gywnne - (<email>telsa@linuxchix.org</email>) and Eric Baudais - (<email>baudais@okstate.edu</email>). Please send all comments and - suggestions regarding this manual to the <ulink type="http" - url="http://www.gnome.org/gdp">GNOME Documentation Project</ulink> - by sending an email to <email>docs@gnome.org</email>. You can also - submit comments online by using the <ulink type="http" - url="http://www.gnome.org/gdp/doctable/">GNOME Documentation Status - Table</ulink>. - </para> - - <!-- For translations: uncomment this: - - <para> - Latin translation was done by ME - (<email>MYNAME@MYADDRESS</email>). Please send all comments and - suggestions regarding this translation to SOMEWHERE. - </para> - - --> - - </sect2> - - <!-- ============= Application License ============================= --> - - <sect2 id="license"> - <title>License</title> - <para> - This program is free software; you can redistribute it and/or - modify it under the terms of the <citetitle>GNU General Public - License</citetitle> as published by the Free Software Foundation; - either version 2 of the License, or (at your option) any later - version. - </para> - <para> - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - <citetitle>GNU General Public License</citetitle> for more details. - </para> - <para> - A copy of the <citetitle>GNU General Public License</citetitle> is - included as an appendix to the <citetitle>GNOME Users - Guide</citetitle>. You may also obtain a copy of the - <citetitle>GNU General Public License</citetitle> from the Free - Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to - <address> - Free Software Foundation, Inc. - <street>59 Temple Place</street> - Suite 330 - <city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode> - <country>USA</country> - </address> - </para> - </sect2> -</sect1> diff --git a/multiload/docs/C/cpuload/cpuload_applet.sgml b/multiload/docs/C/cpuload/cpuload_applet.sgml deleted file mode 100644 index db84f7bb7..000000000 --- a/multiload/docs/C/cpuload/cpuload_applet.sgml +++ /dev/null @@ -1,43 +0,0 @@ -<!DOCTYPE Article PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.0//EN"[ - <!entity cpuload.sgml SYSTEM "cpuload.sgml"> -]> - -<article id="index"> - - <artheader> - <title>CPU Load Applet</title> - <copyright> - <year>2000</year> - <holder>Telsa Gwynne and Eric Baudais</holder> - </copyright> - - <legalnotice> - <para> - Permission is granted to copy, distribute and/or modify this - document under the terms of the <citetitle>GNU Free Documentation - License</citetitle>, Version 1.1 or any later version published - by the Free Software Foundation with no Invariant Sections, no - Front-Cover Texts, and no Back-Cover Texts. You may obtain a copy - of the <citetitle>GNU Free Documentation License</citetitle> from - the Free Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to: - Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - </para> - <para> - Many of the names used by companies to distinguish their products and - services are claimed as trademarks. Where those names appear in any - GNOME documentation, and those trademarks are made aware to the members - of the GNOME Documentation Project, the names have been printed in caps - or initial caps. - </para> - </legalnotice> - - <releaseinfo> - This is version 1.0 of the CPU Load Applet manual. - </releaseinfo> - </artheader> - - &cpuload.sgml; - -</article> diff --git a/multiload/docs/C/cpuload/topic.dat b/multiload/docs/C/cpuload/topic.dat deleted file mode 100644 index c0ee2863e..000000000 --- a/multiload/docs/C/cpuload/topic.dat +++ /dev/null @@ -1 +0,0 @@ -index.html CPU Load applet diff --git a/multiload/docs/C/loadavg/.cvsignore b/multiload/docs/C/loadavg/.cvsignore deleted file mode 100644 index 77b67bd99..000000000 --- a/multiload/docs/C/loadavg/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -Makefile.in -Makefile -index.html -loadavg-applet diff --git a/multiload/docs/C/loadavg/Makefile.am b/multiload/docs/C/loadavg/Makefile.am deleted file mode 100644 index 1bb1545e2..000000000 --- a/multiload/docs/C/loadavg/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -applet = loadavg -figs = \ - loadavg-applet-default.png\ - loadavg-applet-greyed.png\ - loadavg-applet-properties.png\ - loadavg-applet.png -lang = C -sgml_ents = $(applet).sgml -include $(top_srcdir)/applet-docs.make -dist-hook: applet-dist-hook diff --git a/multiload/docs/C/loadavg/loadavg-applet-default.png b/multiload/docs/C/loadavg/loadavg-applet-default.png Binary files differdeleted file mode 100644 index 92db347dc..000000000 --- a/multiload/docs/C/loadavg/loadavg-applet-default.png +++ /dev/null diff --git a/multiload/docs/C/loadavg/loadavg-applet-greyed.png b/multiload/docs/C/loadavg/loadavg-applet-greyed.png Binary files differdeleted file mode 100644 index 3c8fb0a4c..000000000 --- a/multiload/docs/C/loadavg/loadavg-applet-greyed.png +++ /dev/null diff --git a/multiload/docs/C/loadavg/loadavg-applet-properties.png b/multiload/docs/C/loadavg/loadavg-applet-properties.png Binary files differdeleted file mode 100644 index 2f7efea7e..000000000 --- a/multiload/docs/C/loadavg/loadavg-applet-properties.png +++ /dev/null diff --git a/multiload/docs/C/loadavg/loadavg-applet.png b/multiload/docs/C/loadavg/loadavg-applet.png Binary files differdeleted file mode 100644 index 31e944a26..000000000 --- a/multiload/docs/C/loadavg/loadavg-applet.png +++ /dev/null diff --git a/multiload/docs/C/loadavg/loadavg-applet.sgml b/multiload/docs/C/loadavg/loadavg-applet.sgml deleted file mode 100644 index 51319001f..000000000 --- a/multiload/docs/C/loadavg/loadavg-applet.sgml +++ /dev/null @@ -1,63 +0,0 @@ -<!DOCTYPE Article PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.0//EN"[ - <!entity loadavg.sgml SYSTEM "loadavg.sgml"> - -]> -<article id="index"> <!-- please do not change the id --> - - <artheader> - <title>Load Average Applet</title> - <copyright> - <year>2000</year> - <holder>Telsa Gywnne and Eric Baudais</holder> - </copyright> - - <!-- translators: uncomment this: - - <copyright> - <year>2000</year> - <holder>ME-THE-TRANSLATOR (Latin translation)</holder> - </copyright> - - --> - - <!-- do not put authorname in the header except in copyright - use - section "authors" below --> - - <legalnotice> - <para> - Permission is granted to copy, distribute and/or modify this - document under the terms of the <citetitle>GNU Free Documentation - License</citetitle>, Version 1.1 or any later version published - by the Free Software Foundation with no Invariant Sections, no - Front-Cover Texts, and no Back-Cover Texts. You may obtain a copy - of the <citetitle>GNU Free Documentation License</citetitle> from - the Free Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to: - Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - </para> - <para> - Many of the names used by companies to distinguish their products and - services are claimed as trademarks. Where those names appear in any - GNOME documentation, and those trademarks are made aware to the members - of the GNOME Documentation Project, the names have been printed in caps - or initial caps. - </para> - </legalnotice> - - <releaseinfo> - This is version 1.0 of the Load Average applet manual. - </releaseinfo> - </artheader> - - &loadavg.sgml; - -</article> - - - - - - - - diff --git a/multiload/docs/C/loadavg/loadavg.sgml b/multiload/docs/C/loadavg/loadavg.sgml deleted file mode 100644 index 7d79c265c..000000000 --- a/multiload/docs/C/loadavg/loadavg.sgml +++ /dev/null @@ -1,303 +0,0 @@ -<!-- Permission is granted to make and distribute verbatim copies of --> -<!-- this manual provided the copyright notice and this permission --> -<!-- notice are preserved on all copies. --> -<!-- --> -<!-- Permission is granted to copy and distribute modified versions of --> -<!-- this manual under the conditions for verbatim copying, provided --> -<!-- that the entire resulting derived work is distributed under the --> -<!-- terms of a permission notice identical to this one. --> -<!-- --> -<!-- Permission is granted to copy and distribute translations of this --> -<!-- manual into another language, under the above conditions for --> -<!-- modified versions, except that this permission notice may be --> -<!-- stated in a translation approved by the Foundation. --> - - <sect1 id="loadavg-applet"> - <title>The load average applet</title> - - <para> - The <application>loadavg_applet</application> is a small monitor - applet which sits in your panel and tells you the current load - average. - </para> - - <para> - The load average of a machine is a rather arbitrary number which - represents how "busy" your machine is. It is calculated as an - average of (very roughly) how many processes there are which are - either running or are waiting for a wake-up call from the kernel. - It is very useful for comparing over time with different load - averages on your machine, but it is not very useful to compare - it with other machines. Normally, it is represented as a fraction. - - <figure id="loadavg-applet-fig"> - <title>Load Average Applet</title> - <screenshot> - <screeninfo>Load Average Applet</screeninfo> - <graphic format="png" fileref="loadavg-applet" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - </para> - - <sect2 id="loadavg-usage"> - <title>Usage</title> - <para> - You don't need to do anything to this applet. It will sit and - run in your panel. Various options to alter its display are - available. - </para> - </sect2> - - <sect2 id="loadavg-right-click"> - <title>Right-Click Pop-Up Menu Items</title> - <para> - In addition to the standard menu items, - the right-click pop-up menu has the following items: - </para> - - <variablelist> - <varlistentry> - <term>Default Properties...</term> - <listitem> - <para> - This opens the <guilabel>multiload_applet dialogue box</guilabel> - <link linkend="loadavg-properties">described below</link> which allows - you to alter the default properties of this and related monitor - applets. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Properties...</term> - <listitem> - <para> - This opens the <guilabel>multiload_applet dialogue box</guilabel> - <link linkend="loadavg-properties">described below</link> which - affects only the <application>loadavg_applet</application> - properties. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Run gtop...</term> - <listitem> - <para> - This option will run the <command>gtop</command> which - starts up the GNOME System Monitor. <application>gtop</application> - gives a much more detailed look at your system and what's happening - on it. - </para> - </listitem> - </varlistentry> - </variablelist> - </sect2> - - <sect2 id="loadavg-properties"> - <title>Properties</title> - - <figure id="loadavg-default-fig"> - <title>Default Properties Dialog</title> - <screenshot> - <screeninfo>Load Average Applet Default Properties Dialog</screeninfo> - <graphic format="png" fileref="loadavg-applet-default" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - Like several of the monitor applets, - <application>loadavg_applet</application> has two ways of setting - preferences. You can make changes that affect any of this group of - applets, - (<application>cpuload_applet</application>, <application>memload_applet</application>, - <application>swapload_applet</application>, <application>netload_applet</application> - and <application>loadavg_applet</application>) in one large dialogue - box. This is useful if you run one or more of them. These are the - settings used by default. They are reached from the - <guimenuitem>Default Properties...</guimenuitem> menu item. - </para> - - <figure id="loadavg-greyed-fig"> - <title>Greyed Out Properties Dialog</title> - <screenshot> - <screeninfo>Load Average Applet Greyed Out Properties Dialog</screeninfo> - <graphic format="png" fileref="loadavg-applet-greyed" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - Or you can change just the properties for - <application>loadavg_applet</application>. This is useful for when - you only use <application>loadavg_applet</application> or want to - try new combinations out. It is reached from the - <guimenuitem>Properties</guimenuitem> menu item. - </para> - <note> - <para> - If you use the <guimenuitem>Properties...</guimenuitem> menu item - and edit the preferences for just this applet, you must uncheck - the <guibutton>Use default properties</guibutton> checkbox before - you can alter any settings. - </para> - </note> - - <figure id="loadavg-properties-fig"> - <title>Load Average Properties Dialog</title> - <screenshot> - <screeninfo>Load Average Applet Properties Dialog</screeninfo> - <graphic format="png" fileref="loadavg-applet-properties" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - The changes you can make to the properties are four: - </para> - - <variablelist> - <varlistentry> - <term>Colours</term> - <listitem> - <para> - You can alter the colours used for the applet's display - clicking on the colour boxes. This invokes the GNOME colour wheel. - The titles are a little misleading. "Used" is the current load - average, and "free" is the background colour. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Speed</term> - <listitem> - <para> - You can alter the speed that the graph proceeds with this. - It is measured in milliseconds. The default is 500. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Size</term> - <listitem> - <para> - You can alter the size of the applet with this. It is measured - in pixels. The default value is 40, and the range is from 1 pixel - to whatever you like. In a vertical panel, this refers to the - height. In a horizontal panel, it refers to the width. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Maximum</term> - <listitem> - <para> - This is the maximum number in the Y axis (the possible - maximum load average which the applet will show). The default - is 10. - </para> - <note> - <para> - This option is only available from the <guimenuitem>Default - Properties menu option</guimenuitem>. It does not appear on - the dialogue box which is started by the - <guimenuitem>Properties menu option</guimenuitem>. - </para> - </note> - </listitem> - </varlistentry> - </variablelist> - </sect2> - - <sect2 id="loadavg-bugs"> - <title> Known Bugs and Limitations</title> - <para> - Resizing and then altering the panel orientation can still cause - intermittent problems, although they now fix themselves after a - short period. - </para> - </sect2> - - <sect2 id="loadavg-authors"> - <title>Authors</title> - <para> - This applet was writen by Martin Baulig (<email>martin@home-of-linux.org</email>). - Please send all comments, suggestions, and bug - reports to the <ulink url="http://bugs.gnome.org" type="http">GNOME - bug tracking database</ulink>. (Instructions for submitting bug - reports can be found <ulink - url="http://bugs.gnome.org/Reporting.html" type="http"> - on-line</ulink>. If you are using - GNOME 1.1 or later, you can also use <application>Bug Report - Tool</application> (<command>bug-buddy</command>), available in the - <guisubmenu>Utilities</guisubmenu> submenu of <guimenu>Main - Menu</guimenu>, for submitting bug reports. - </para> - <para> - This manual was written by Telsa Gwynne - (<email>telsa@linuxchix.org</email>) and Eric Baudais - (<email>baudais@okstate.edu</email>). Please send all comments and - suggestions regarding this manual to the <ulink type="http" - url="http://www.gnome.org/gdp">GNOME Documentation Project</ulink> - by sending an email to <email>docs@gnome.org</email>. You can also - submit comments online by using the <ulink type="http" - url="http://www.gnome.org/gdp/doctable/">GNOME Documentation Status - Table</ulink>. - </para> - - <!-- For translations: uncomment this: - - <para> - Latin translation was done by ME - (<email>MYNAME@MYADDRESS</email>). Please send all comments and - suggestions regarding this translation to SOMEWHERE. - </para> - - --> - - </sect2> - - <!-- ============= Application License ============================= --> - - <sect2 id="license"> - <title>License</title> - <para> - This program is free software; you can redistribute it and/or - modify it under the terms of the <citetitle>GNU General Public - License</citetitle> as published by the Free Software Foundation; - either version 2 of the License, or (at your option) any later - version. - </para> - <para> - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - <citetitle>GNU General Public License</citetitle> for more details. - </para> - <para> - A copy of the <citetitle>GNU General Public License</citetitle> is - included as an appendix to the <citetitle>GNOME Users - Guide</citetitle>. You may also obtain a copy of the - <citetitle>GNU General Public License</citetitle> from the Free - Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to - <address> - Free Software Foundation, Inc. - <street>59 Temple Place</street> - Suite 330 - <city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode> - <country>USA</country> - </address> - </para> - </sect2> -</sect1> - - diff --git a/multiload/docs/C/loadavg/loadavg_applet.sgml b/multiload/docs/C/loadavg/loadavg_applet.sgml deleted file mode 100644 index 51319001f..000000000 --- a/multiload/docs/C/loadavg/loadavg_applet.sgml +++ /dev/null @@ -1,63 +0,0 @@ -<!DOCTYPE Article PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.0//EN"[ - <!entity loadavg.sgml SYSTEM "loadavg.sgml"> - -]> -<article id="index"> <!-- please do not change the id --> - - <artheader> - <title>Load Average Applet</title> - <copyright> - <year>2000</year> - <holder>Telsa Gywnne and Eric Baudais</holder> - </copyright> - - <!-- translators: uncomment this: - - <copyright> - <year>2000</year> - <holder>ME-THE-TRANSLATOR (Latin translation)</holder> - </copyright> - - --> - - <!-- do not put authorname in the header except in copyright - use - section "authors" below --> - - <legalnotice> - <para> - Permission is granted to copy, distribute and/or modify this - document under the terms of the <citetitle>GNU Free Documentation - License</citetitle>, Version 1.1 or any later version published - by the Free Software Foundation with no Invariant Sections, no - Front-Cover Texts, and no Back-Cover Texts. You may obtain a copy - of the <citetitle>GNU Free Documentation License</citetitle> from - the Free Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to: - Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - </para> - <para> - Many of the names used by companies to distinguish their products and - services are claimed as trademarks. Where those names appear in any - GNOME documentation, and those trademarks are made aware to the members - of the GNOME Documentation Project, the names have been printed in caps - or initial caps. - </para> - </legalnotice> - - <releaseinfo> - This is version 1.0 of the Load Average applet manual. - </releaseinfo> - </artheader> - - &loadavg.sgml; - -</article> - - - - - - - - diff --git a/multiload/docs/C/loadavg/topic.dat b/multiload/docs/C/loadavg/topic.dat deleted file mode 100644 index 26062b1b9..000000000 --- a/multiload/docs/C/loadavg/topic.dat +++ /dev/null @@ -1 +0,0 @@ -index.html Load Average applet diff --git a/multiload/docs/C/memload/.cvsignore b/multiload/docs/C/memload/.cvsignore deleted file mode 100644 index a72cbdc20..000000000 --- a/multiload/docs/C/memload/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -Makefile.in -Makefile -index.html -memload-applet diff --git a/multiload/docs/C/memload/Makefile.am b/multiload/docs/C/memload/Makefile.am deleted file mode 100644 index 92793c8bb..000000000 --- a/multiload/docs/C/memload/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -applet = memload -figs = \ - memload-applet-default.png\ - memload-applet-greyed.png\ - memload-applet-properties.png\ - memload-applet.png -lang = C -sgml_ents = $(applet).sgml -include $(top_srcdir)/applet-docs.make -dist-hook: applet-dist-hook diff --git a/multiload/docs/C/memload/memload-applet-default.png b/multiload/docs/C/memload/memload-applet-default.png Binary files differdeleted file mode 100644 index 93bc8274b..000000000 --- a/multiload/docs/C/memload/memload-applet-default.png +++ /dev/null diff --git a/multiload/docs/C/memload/memload-applet-greyed.png b/multiload/docs/C/memload/memload-applet-greyed.png Binary files differdeleted file mode 100644 index f234c3c94..000000000 --- a/multiload/docs/C/memload/memload-applet-greyed.png +++ /dev/null diff --git a/multiload/docs/C/memload/memload-applet-properties.png b/multiload/docs/C/memload/memload-applet-properties.png Binary files differdeleted file mode 100644 index cfe8a7b03..000000000 --- a/multiload/docs/C/memload/memload-applet-properties.png +++ /dev/null diff --git a/multiload/docs/C/memload/memload-applet.png b/multiload/docs/C/memload/memload-applet.png Binary files differdeleted file mode 100644 index c8e8f2190..000000000 --- a/multiload/docs/C/memload/memload-applet.png +++ /dev/null diff --git a/multiload/docs/C/memload/memload-applet.sgml b/multiload/docs/C/memload/memload-applet.sgml deleted file mode 100644 index 123304698..000000000 --- a/multiload/docs/C/memload/memload-applet.sgml +++ /dev/null @@ -1,55 +0,0 @@ -<!DOCTYPE Article PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.0//EN"[ - <!entity memload.sgml SYSTEM "memload.sgml"> - -]> - -<article id="index"> - - <artheader> - <title>MEM Load Applet</title> - <copyright> - <year>2000</year> - <holder>Telsa Gwynne and Eric Baudais</holder> - </copyright> - - <!-- translators: uncomment this: - - <copyright> - <year>2000</year> - <holder>ME-THE-TRANSLATOR (Latin translation)</holder> - </copyright> - - --> - - <legalnotice> - <para> - Permission is granted to copy, distribute and/or modify this - document under the terms of the <citetitle>GNU Free Documentation - License</citetitle>, Version 1.1 or any later version published - by the Free Software Foundation with no Invariant Sections, no - Front-Cover Texts, and no Back-Cover Texts. You may obtain a copy - of the <citetitle>GNU Free Documentation License</citetitle> from - the Free Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to: - Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - </para> - <para> - Many of the names used by companies to distinguish their products and - services are claimed as trademarks. Where those names appear in any - GNOME documentation, and those trademarks are made aware to the members - of the GNOME Documentation Project, the names have been printed in caps - or initial caps. - </para> - </legalnotice> - - <releaseinfo> - This is version 1.0 of the MEM Load Applet manual. - </releaseinfo> - </artheader> - - &memload.sgml; - -</article> - - diff --git a/multiload/docs/C/memload/memload.sgml b/multiload/docs/C/memload/memload.sgml deleted file mode 100644 index adfc3ffc0..000000000 --- a/multiload/docs/C/memload/memload.sgml +++ /dev/null @@ -1,327 +0,0 @@ -<!-- Permission is granted to make and distribute verbatim copies of --> -<!-- this manual provided the copyright notice and this permission --> -<!-- notice are preserved on all copies. --> -<!-- --> -<!-- Permission is granted to copy and distribute modified versions of --> -<!-- this manual under the conditions for verbatim copying, provided --> -<!-- that the entire resulting derived work is distributed under the --> -<!-- terms of a permission notice identical to this one. --> -<!-- --> -<!-- Permission is granted to copy and distribute translations of this --> -<!-- manual into another language, under the above conditions for --> -<!-- modified versions, except that this permission notice may be --> -<!-- stated in a translation approved by the Foundation. --> - - <sect1 id="memload-applet"> - <title>The memory load applet</title> - - <para> - The <application>memload_applet</application> is a small monitor - applet which sits in your panel and tells you how much memory is - being used. - </para> - - <sect2 id="memload-usage"> - <title>Usage</title> - <para> - You don't need to do anything to this applet. It will sit and - run in your panel. Various options to alter its display are - available. - </para> - - <figure id="memload-applet-fig"> - <title>MEM Load Applet</title> - <screenshot> - <screeninfo>MEM Load Applet</screeninfo> - <graphic format="png" fileref="memload-applet" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - The applet shows four different uses of memory: - </para> - <variablelist> - <varlistentry> - <term>Free</term> - <listitem> - <para> - Free memory is memory which is not being used by any program. - The default colour is green. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Buffers</term> - <listitem> - <para> - Buffers hold data which has not yet been written to the disk. - They also hold data which has been recently read from the disk, - keeping it around in case it is needed again. The default colour - is grey. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Shared memory</term> - <listitem> - <para> - Shared memory is memory which more than one program is using. - This is a very common thing to do on UNIX systems. Many GNOME - programs use a lot of shared memory, which cuts down on the - total memory used. The default colour is yellow. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Other</term> - <listitem> - <para> - Memory being used in other ways is shown in this category. The - default colour is a greenish-yellow. - </para> - </listitem> - </varlistentry> - </variablelist> - </sect2> - - <sect2 id="memload-right-click"> - <title>Right-Click Pop-Up Menu Items</title> - <para> - In addition to the standard menu items, the right-click pop-up menu - has the following items: - </para> - - <variablelist> - <varlistentry> - <term>Default Properties...</term> - <listitem> - <para> - This opens the <guilabel>multiload_applet dialogue box</guilabel> - <link linkend="memload-properties">described below</link> which allows - you to alter the default properties of this and related monitor - applets. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Properties...</term> - <listitem> - <para> - This opens the <guilabel>multiload_applet dialogue box</guilabel> - <link linkend="memload-properties">described below</link> which - affects only the <application>memload_applet</application> - properties. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Run gtop...</term> - <listitem> - <para> - This option will run the <command>gtop</command> which - starts up the GNOME System Monitor. <application>gtop</application> - gives a much more detailed look at your system and what's happening - on it. - </para> - </listitem> - </varlistentry> - </variablelist> - </sect2> - - <sect2 id="memload-properties"> - <title>Properties</title> - - <figure id="memload-default-fig"> - <title>Default Properties Dialog</title> - <screenshot> - <screeninfo>MEM Load Applet Default Properties Dialog</screeninfo> - <graphic format="png" fileref="memload-applet-default" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - Like several of the monitor applets, - <application>memload_applet</application> has two ways of setting - preferences. You can make changes that affect any of this group of - applets - (<application>cpuload_applet</application>, <application>memload_applet</application>, - <application>swapload_applet</application>, <application>netload_applet</application> - and <application>loadavg_applet</application>) in one large dialogue - box. This is useful if you run one or more of them. These are the - settings used by default. They are reached from the - <guimenuitem>Default Properties...</guimenuitem> menu item. - </para> - - <figure id="memload-greyed-fig"> - <title>Greyed Out Properties Dialog</title> - <screenshot> - <screeninfo>MEM Load Applet Greyed Out Properties Dialog</screeninfo> - <graphic format="png" fileref="memload-applet-greyed" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - Or you can change just the properties for - <application>memload_applet</application>. This is useful for when - you only use <application>memload_applet</application> or want to - try new combinations out. It is reached from the - <guimenuitem>Properties</guimenuitem> menu item. - </para> - <note> - <para> - If you use the <guimenuitem>Properties...</guimenuitem> menu item - and edit the preferences for just this applet, you must uncheck - the <guibutton>Use default properties</guibutton> checkbox before - you can alter any settings. - </para> - </note> - - <figure id="memload-properties-fig"> - <title>MEM Load Properties Dialog</title> - <screenshot> - <screeninfo>MEM Load Applet Properties Dialog</screeninfo> - <graphic format="png" fileref="memload-applet-properties" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - The changes you can make to the properties are three: - </para> - - <variablelist> - <varlistentry> - <term>Colours</term> - <listitem> - <para> - You can alter the colours used for the different categories of memory - the applet displays by clicking on the colour boxes. This - invokes the GNOME colour wheel. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Speed</term> - <listitem> - <para> - You can alter the speed that the graph proceeds with this. - It is measured in milliseconds. The default value is 500. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Size</term> - <listitem> - <para> - You can alter the size of the applet with this. It is measured - in pixels. The default value is 40, and the range is from 1 pixel - to whatever you like. In a vertical panel, this refers to the - height. In a horizontal panel, it refers to the width. - </para> - </listitem> - </varlistentry> - </variablelist> - </sect2> - - <sect2 id="memload-bugs"> - <title> Known Bugs and Limitations</title> - <para> - Resizing and then altering the panel orientation can still cause - intermittent problems, although they now fix themselves after a - short period. - </para> - </sect2> - - <sect2 id="memload-authors"> - <title>Authors</title> - <para> - This applet was writen by Martin Baulig (<email>martin@home-of-linux.org</email>). - Please send all comments, suggestions, and bug - reports to the <ulink url="http://bugs.gnome.org" type="http">GNOME - bug tracking database</ulink>. (Instructions for submitting bug - reports can be found <ulink - url="http://bugs.gnome.org/Reporting.html" type="http"> - on-line</ulink>. If you are using - GNOME 1.1 or later, you can also use <application>Bug Report - Tool</application> (<command>bug-buddy</command>), available in the - <guisubmenu>Utilities</guisubmenu> submenu of <guimenu>Main - Menu</guimenu>, for submitting bug reports. - </para> - <para> - This manual was written by Telsa Gywnne - (<email>telsa@linuxchix.org</email>) and Eric Baudais - (<email>baudais@okstate.edu</email>). Please send all comments and - suggestions regarding this manual to the <ulink type="http" - url="http://www.gnome.org/gdp">GNOME Documentation Project</ulink> - by sending an email to <email>docs@gnome.org</email>. You can also - submit comments online by using the <ulink type="http" - url="http://www.gnome.org/gdp/doctable/">GNOME Documentation Status - Table</ulink>. - </para> - - <!-- For translations: uncomment this: - - <para> - Latin translation was done by ME - (<email>MYNAME@MYADDRESS</email>). Please send all comments and - suggestions regarding this translation to SOMEWHERE. - </para> - - --> - - </sect2> - - <!-- ============= Application License ============================= --> - - <sect2 id="license"> - <title>License</title> - <para> - This program is free software; you can redistribute it and/or - modify it under the terms of the <citetitle>GNU General Public - License</citetitle> as published by the Free Software Foundation; - either version 2 of the License, or (at your option) any later - version. - </para> - <para> - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - <citetitle>GNU General Public License</citetitle> for more details. - </para> - <para> - A copy of the <citetitle>GNU General Public License</citetitle> is - included as an appendix to the <citetitle>GNOME Users - Guide</citetitle>. You may also obtain a copy of the - <citetitle>GNU General Public License</citetitle> from the Free - Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to - <address> - Free Software Foundation, Inc. - <street>59 Temple Place</street> - Suite 330 - <city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode> - <country>USA</country> - </address> - </para> - </sect2> -</sect1> - - - - - - - diff --git a/multiload/docs/C/memload/memload_applet.sgml b/multiload/docs/C/memload/memload_applet.sgml deleted file mode 100644 index 123304698..000000000 --- a/multiload/docs/C/memload/memload_applet.sgml +++ /dev/null @@ -1,55 +0,0 @@ -<!DOCTYPE Article PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.0//EN"[ - <!entity memload.sgml SYSTEM "memload.sgml"> - -]> - -<article id="index"> - - <artheader> - <title>MEM Load Applet</title> - <copyright> - <year>2000</year> - <holder>Telsa Gwynne and Eric Baudais</holder> - </copyright> - - <!-- translators: uncomment this: - - <copyright> - <year>2000</year> - <holder>ME-THE-TRANSLATOR (Latin translation)</holder> - </copyright> - - --> - - <legalnotice> - <para> - Permission is granted to copy, distribute and/or modify this - document under the terms of the <citetitle>GNU Free Documentation - License</citetitle>, Version 1.1 or any later version published - by the Free Software Foundation with no Invariant Sections, no - Front-Cover Texts, and no Back-Cover Texts. You may obtain a copy - of the <citetitle>GNU Free Documentation License</citetitle> from - the Free Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to: - Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - </para> - <para> - Many of the names used by companies to distinguish their products and - services are claimed as trademarks. Where those names appear in any - GNOME documentation, and those trademarks are made aware to the members - of the GNOME Documentation Project, the names have been printed in caps - or initial caps. - </para> - </legalnotice> - - <releaseinfo> - This is version 1.0 of the MEM Load Applet manual. - </releaseinfo> - </artheader> - - &memload.sgml; - -</article> - - diff --git a/multiload/docs/C/memload/topic.dat b/multiload/docs/C/memload/topic.dat deleted file mode 100644 index ec2cf4828..000000000 --- a/multiload/docs/C/memload/topic.dat +++ /dev/null @@ -1 +0,0 @@ -index.html Memory Load applet diff --git a/multiload/docs/C/netload/.cvsignore b/multiload/docs/C/netload/.cvsignore deleted file mode 100644 index ceb5c2aaf..000000000 --- a/multiload/docs/C/netload/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -Makefile.in -Makefile -index.html -netload-applet diff --git a/multiload/docs/C/netload/Makefile.am b/multiload/docs/C/netload/Makefile.am deleted file mode 100644 index d5e1c9c8b..000000000 --- a/multiload/docs/C/netload/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -applet = netload -figs = \ - netload-applet-default.png\ - netload-applet-greyed.png\ - netload-applet-properties.png\ - netload-applet.png -lang = C -sgml_ents = $(applet).sgml -include $(top_srcdir)/applet-docs.make -dist-hook: applet-dist-hook diff --git a/multiload/docs/C/netload/netload-applet-default.png b/multiload/docs/C/netload/netload-applet-default.png Binary files differdeleted file mode 100644 index 25458e9eb..000000000 --- a/multiload/docs/C/netload/netload-applet-default.png +++ /dev/null diff --git a/multiload/docs/C/netload/netload-applet-greyed.png b/multiload/docs/C/netload/netload-applet-greyed.png Binary files differdeleted file mode 100644 index 274f92b15..000000000 --- a/multiload/docs/C/netload/netload-applet-greyed.png +++ /dev/null diff --git a/multiload/docs/C/netload/netload-applet-properties.png b/multiload/docs/C/netload/netload-applet-properties.png Binary files differdeleted file mode 100644 index c6dde3219..000000000 --- a/multiload/docs/C/netload/netload-applet-properties.png +++ /dev/null diff --git a/multiload/docs/C/netload/netload-applet.png b/multiload/docs/C/netload/netload-applet.png Binary files differdeleted file mode 100644 index bf93c987f..000000000 --- a/multiload/docs/C/netload/netload-applet.png +++ /dev/null diff --git a/multiload/docs/C/netload/netload-applet.sgml b/multiload/docs/C/netload/netload-applet.sgml deleted file mode 100644 index d581ae21a..000000000 --- a/multiload/docs/C/netload/netload-applet.sgml +++ /dev/null @@ -1,43 +0,0 @@ -<!DOCTYPE Article PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.0//EN"[ - <!entity netload.sgml SYSTEM "netload.sgml"> -]> - -<article id="index"> - - <artheader> - <title>Net Load Applet</title> - <copyright> - <year>2000</year> - <holder>Telsa Gwynne and Eric Baudais</holder> - </copyright> - - <legalnotice> - <para> - Permission is granted to copy, distribute and/or modify this - document under the terms of the <citetitle>GNU Free Documentation - License</citetitle>, Version 1.1 or any later version published - by the Free Software Foundation with no Invariant Sections, no - Front-Cover Texts, and no Back-Cover Texts. You may obtain a copy - of the <citetitle>GNU Free Documentation License</citetitle> from - the Free Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to: - Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - </para> - <para> - Many of the names used by companies to distinguish their products and - services are claimed as trademarks. Where those names appear in any - GNOME documentation, and those trademarks are made aware to the members - of the GNOME Documentation Project, the names have been printed in caps - or initial caps. - </para> - </legalnotice> - - <releaseinfo> - This is version 1.0 of the Net Load Applet manual. - </releaseinfo> - </artheader> - - &netload.sgml; - -</article> diff --git a/multiload/docs/C/netload/netload.sgml b/multiload/docs/C/netload/netload.sgml deleted file mode 100644 index 2a3a86223..000000000 --- a/multiload/docs/C/netload/netload.sgml +++ /dev/null @@ -1,331 +0,0 @@ -<!-- Permission is granted to make and distribute verbatim copies of --> -<!-- this manual provided the copyright notice and this permission --> -<!-- notice are preserved on all copies. --> -<!-- --> -<!-- Permission is granted to copy and distribute modified versions of --> -<!-- this manual under the conditions for verbatim copying, provided --> -<!-- that the entire resulting derived work is distributed under the --> -<!-- terms of a permission notice identical to this one. --> -<!-- --> -<!-- Permission is granted to copy and distribute translations of this --> -<!-- manual into another language, under the above conditions for --> -<!-- modified versions, except that this permission notice may be --> -<!-- stated in a translation approved by the Foundation. --> - - <sect1 id="netload-applet"> - <title>The net load applet</title> - - <para> - The <application>netload_applet</application> is a small monitor - applet which sits in your panel and tells you about the load on -different network interfaces. - </para> - - - <sect2 id="netload-usage"> - <title>Usage</title> - <para> - You don't need to do anything to this applet. It will sit and - run in your panel. Various options to alter its display are - available. - </para> - - <figure id="netload-applet-fig"> - <title>Net Load Applet</title> - <screenshot> - <screeninfo>Net Load Applet</screeninfo> - <graphic format="png" fileref="netload-applet" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - It displays details for four different types of network interfaces: - </para> - <variablelist> - <varlistentry> - <term>SLIP</term> - <listitem> - <para> - SLIP is the serial line IP protocol. It is not commonly used - any more, being largely replaced by PPP, but it is one way of - connecting a computer to other machines which was popular for - modems. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>PPP</term> - <listitem> - <para> - PPP is the Point to Point Protocol, for connecting one computer - to another. It has largely replaced SLIP. It is effective and - flexible but not as fast as ethernet. This is probably the most - common way people connect from home to the internet. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>ETH</term> - <listitem> - <para> - Ethernet is another method for connecting machines together. - It requires an ethernet card in the computer and a piece of - ethernet cable connecting it to the other machine to talk to. - It's a lot faster than PPP. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Other</term> - <listitem> - <para> - Other forms of networking are available, such as ways to - talk over infra-red beams (IRDA), ways to talk over amateur - radio (AX25), and token-ring networks. Anything the applet - finds which is not SLIP, PPP or ethernet is monitored under - 'other'. - </para> - </listitem> - </varlistentry> - </variablelist> - - <para> - If you have two interfaces of the same type running (for example, - two ethernet interfaces talking to different machines), what is - displayed is the sum total of the two. The applet will not divide - it into two sections. - </para> - </sect2> - - <sect2 id="netload-right-click"> - <title>Right-Click Pop-Up Menu Items</title> - <para> - In addition to the standard menu items, the right-click pop-up - menu has the following items: - </para> - - <variablelist> - <varlistentry> - <term>Default Properties...</term> - <listitem> - <para> - This opens the <guilabel>multiload_applet dialogue box</guilabel> - <link linkend="netload-properties">described below</link> which allows - you to alter the default properties of this and related monitor - applets. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Properties...</term> - <listitem> - <para> - This opens the <guilabel>multiload_applet dialogue box</guilabel> - <link linkend="netload-properties">described below</link> which - affects only the <application>netload_applet</application> - properties. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Run gtop...</term> - <listitem> - <para> - This option will run the <command>gtop</command> which - starts up the GNOME System Monitor. <application>gtop</application> - gives a much more detailed look at your system and what's happening - on it. - </para> - </listitem> - </varlistentry> - </variablelist> - </sect2> - - <sect2 id="netload-properties"> - <title>Properties</title> - - <figure id="netload-default-fig"> - <title>Default Properties Dialog</title> - <screenshot> - <screeninfo>Net Load Applet Default Properties Dialog</screeninfo> - <graphic format="png" fileref="netload-applet-default" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - Like several of the monitor applets, - <application>netload_applet</application> has two ways of setting - preferences. You can make changes that affect all of this applet group - (<application>cpuload_applet</application>, <application>memload_applet</application>, - <application>swapload_applet</application>, <application>netload_applet</application> - and <application>loadavg_applet</application>) in one large dialogue - box. This is useful if you run one or more of them. These are the - settings used by default. They are reached from the - <guimenuitem>Default Properties...</guimenuitem> menu item. - </para> - - <figure id="netload-greyed-fig"> - <title>Greyed Out Properties Dialog</title> - <screenshot> - <screeninfo>Net Load Applet Greyed Out Properties Dialog</screeninfo> - <graphic format="png" fileref="netload-applet-greyed" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - Or you can change just the properties for - <application>netload_applet</application>. This is useful for when - you only use <application>netload_applet</application> or want to - try new combinations out. It is reached from the - <guimenuitem>Properties</guimenuitem> menu item. - </para> - <note> - <para> - If you use the <guimenuitem>Properties...</guimenuitem> menu item - and edit the preferences for just this applet, you must uncheck - the <guibutton>Use default properties</guibutton> checkbox before - you can alter any settings. - </para> - </note> - - <figure id="netload-properties-fig"> - <title>Net Load Properties Dialog</title> - <screenshot> - <screeninfo>Net Load Applet Properties Dialog</screeninfo> - <graphic format="png" fileref="netload-applet-properties" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - The changes you can make to the properties are three: - </para> - - <variablelist> - <varlistentry> - <term>Colours</term> - <listitem> - <para> - You can alter the colours used for the different network interfaces - by clicking on the colour boxes. This invokes the GNOME colour wheel. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Speed</term> - <listitem> - <para> - You can alter the speed that the graph proceeds with this. - It is measured in milliseconds. The default is 500. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Size</term> - <listitem> - <para> - You can alter the size of the applet with this. It is measured - in pixels. The default value is 40, and the range is from 1 pixel - to whatever you like. In a vertical panel, this refers to the - height. In a horizontal panel, it refers to the width. - </para> - </listitem> - </varlistentry> - </variablelist> - </sect2> - - <sect2 id="netload-bugs"> - <title> Known Bugs and Limitations</title> - <para> - Resizing and then altering the panel orientation can still cause - intermittent problems, although they now fix themselves after a - short period. - </para> - </sect2> - - <sect2 id="netload-authors"> - <title>Authors</title> - <para> - This applet was writen by Martin Baulig (<email>martin@home-of-linux.org</email>). - Please send all comments, suggestions, and bug - reports to the <ulink url="http://bugs.gnome.org" type="http">GNOME - bug tracking database</ulink>. (Instructions for submitting bug - reports can be found <ulink - url="http://bugs.gnome.org/Reporting.html" type="http"> - on-line</ulink>. If you are using - GNOME 1.1 or later, you can also use <application>Bug Report - Tool</application> (<command>bug-buddy</command>), available in the - <guisubmenu>Utilities</guisubmenu> submenu of <guimenu>Main - Menu</guimenu>, for submitting bug reports. - </para> - <para> - This manual was written by Telsa Gywnne - (<email>telsa@linuxchix.org</email>) and Eric Baudais - (<email>baudais@okstate.edu</email>). Please send all comments and - suggestions regarding this manual to the <ulink type="http" - url="http://www.gnome.org/gdp">GNOME Documentation Project</ulink> - by sending an email to <email>docs@gnome.org</email>. You can also - submit comments online by using the <ulink type="http" - url="http://www.gnome.org/gdp/doctable/">GNOME Documentation Status - Table</ulink>. - </para> - - <!-- For translations: uncomment this: - - <para> - Latin translation was done by ME - (<email>MYNAME@MYADDRESS</email>). Please send all comments and - suggestions regarding this translation to SOMEWHERE. - </para> - - --> - - </sect2> - - <!-- ============= Application License ============================= --> - - <sect2 id="license"> - <title>License</title> - <para> - This program is free software; you can redistribute it and/or - modify it under the terms of the <citetitle>GNU General Public - License</citetitle> as published by the Free Software Foundation; - either version 2 of the License, or (at your option) any later - version. - </para> - <para> - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - <citetitle>GNU General Public License</citetitle> for more details. - </para> - <para> - A copy of the <citetitle>GNU General Public License</citetitle> is - included as an appendix to the <citetitle>GNOME Users - Guide</citetitle>. You may also obtain a copy of the - <citetitle>GNU General Public License</citetitle> from the Free - Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to - <address> - Free Software Foundation, Inc. - <street>59 Temple Place</street> - Suite 330 - <city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode> - <country>USA</country> - </address> - </para> - </sect2> - </sect1> diff --git a/multiload/docs/C/netload/netload_applet.sgml b/multiload/docs/C/netload/netload_applet.sgml deleted file mode 100644 index d581ae21a..000000000 --- a/multiload/docs/C/netload/netload_applet.sgml +++ /dev/null @@ -1,43 +0,0 @@ -<!DOCTYPE Article PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.0//EN"[ - <!entity netload.sgml SYSTEM "netload.sgml"> -]> - -<article id="index"> - - <artheader> - <title>Net Load Applet</title> - <copyright> - <year>2000</year> - <holder>Telsa Gwynne and Eric Baudais</holder> - </copyright> - - <legalnotice> - <para> - Permission is granted to copy, distribute and/or modify this - document under the terms of the <citetitle>GNU Free Documentation - License</citetitle>, Version 1.1 or any later version published - by the Free Software Foundation with no Invariant Sections, no - Front-Cover Texts, and no Back-Cover Texts. You may obtain a copy - of the <citetitle>GNU Free Documentation License</citetitle> from - the Free Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to: - Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - </para> - <para> - Many of the names used by companies to distinguish their products and - services are claimed as trademarks. Where those names appear in any - GNOME documentation, and those trademarks are made aware to the members - of the GNOME Documentation Project, the names have been printed in caps - or initial caps. - </para> - </legalnotice> - - <releaseinfo> - This is version 1.0 of the Net Load Applet manual. - </releaseinfo> - </artheader> - - &netload.sgml; - -</article> diff --git a/multiload/docs/C/netload/topic.dat b/multiload/docs/C/netload/topic.dat deleted file mode 100644 index 2382d4551..000000000 --- a/multiload/docs/C/netload/topic.dat +++ /dev/null @@ -1 +0,0 @@ -index.html Net Load applet diff --git a/multiload/docs/C/swapload/.cvsignore b/multiload/docs/C/swapload/.cvsignore deleted file mode 100644 index ab62b1f8c..000000000 --- a/multiload/docs/C/swapload/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -Makefile.in -Makefile -index.html -swapload-applet diff --git a/multiload/docs/C/swapload/Makefile.am b/multiload/docs/C/swapload/Makefile.am deleted file mode 100644 index 13ba48159..000000000 --- a/multiload/docs/C/swapload/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -applet = swapload -figs = \ - swapload-applet-default.png\ - swapload-applet-greyed.png\ - swapload-applet-properties.png\ - swapload-applet.png -lang = C -sgml_ents = $(applet).sgml -include $(top_srcdir)/applet-docs.make -dist-hook: applet-dist-hook diff --git a/multiload/docs/C/swapload/swapload-applet-default.png b/multiload/docs/C/swapload/swapload-applet-default.png Binary files differdeleted file mode 100644 index 4e40efe65..000000000 --- a/multiload/docs/C/swapload/swapload-applet-default.png +++ /dev/null diff --git a/multiload/docs/C/swapload/swapload-applet-greyed.png b/multiload/docs/C/swapload/swapload-applet-greyed.png Binary files differdeleted file mode 100644 index e4224a3f2..000000000 --- a/multiload/docs/C/swapload/swapload-applet-greyed.png +++ /dev/null diff --git a/multiload/docs/C/swapload/swapload-applet-properties.png b/multiload/docs/C/swapload/swapload-applet-properties.png Binary files differdeleted file mode 100644 index 192cbb764..000000000 --- a/multiload/docs/C/swapload/swapload-applet-properties.png +++ /dev/null diff --git a/multiload/docs/C/swapload/swapload-applet.png b/multiload/docs/C/swapload/swapload-applet.png Binary files differdeleted file mode 100644 index 1bbf19b08..000000000 --- a/multiload/docs/C/swapload/swapload-applet.png +++ /dev/null diff --git a/multiload/docs/C/swapload/swapload-applet.sgml b/multiload/docs/C/swapload/swapload-applet.sgml deleted file mode 100644 index 9027b03bc..000000000 --- a/multiload/docs/C/swapload/swapload-applet.sgml +++ /dev/null @@ -1,48 +0,0 @@ -<!DOCTYPE Article PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.0//EN"[ - <!entity swapload.sgml SYSTEM "swapload.sgml"> -]> - -<article id="index"> - - <artheader> - <title>Swap Load Applet</title> - <copyright> - <year>2000</year> - <holder>Telsa Gwynne and Eric Baudais</holder> - </copyright> - - <legalnotice> - <para> - Permission is granted to copy, distribute and/or modify this - document under the terms of the <citetitle>GNU Free Documentation - License</citetitle>, Version 1.1 or any later version published - by the Free Software Foundation with no Invariant Sections, no - Front-Cover Texts, and no Back-Cover Texts. You may obtain a copy - of the <citetitle>GNU Free Documentation License</citetitle> from - the Free Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to: - Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - </para> - <para> - Many of the names used by companies to distinguish their products and - services are claimed as trademarks. Where those names appear in any - GNOME documentation, and those trademarks are made aware to the members - of the GNOME Documentation Project, the names have been printed in caps - or initial caps. - </para> - </legalnotice> - - <releaseinfo> - This is version 1.0 of the Swap Load Applet manual. - </releaseinfo> - </artheader> - - &swapload.sgml; - -</article> - - - - - diff --git a/multiload/docs/C/swapload/swapload.sgml b/multiload/docs/C/swapload/swapload.sgml deleted file mode 100644 index 678ed8e60..000000000 --- a/multiload/docs/C/swapload/swapload.sgml +++ /dev/null @@ -1,287 +0,0 @@ -<!-- Permission is granted to make and distribute verbatim copies of --> -<!-- this manual provided the copyright notice and this permission --> -<!-- notice are preserved on all copies. --> -<!-- --> -<!-- Permission is granted to copy and distribute modified versions of --> -<!-- this manual under the conditions for verbatim copying, provided --> -<!-- that the entire resulting derived work is distributed under the --> -<!-- terms of a permission notice identical to this one. --> -<!-- --> -<!-- Permission is granted to copy and distribute translations of this --> -<!-- manual into another language, under the above conditions for --> -<!-- modified versions, except that this permission notice may be --> -<!-- stated in a translation approved by the Foundation. --> - - <sect1 id="swapload-applet"> - <title>The swap load applet</title> - - <para> - The <application>swapload_applet</application> is a small monitor - applet which sits in your panel and tells you how much swap space is - being used. - </para> - - <para> - The swap space is a part of the hard drive which is not - part of the filesystem. When the kernel decides a program in - memory is not being used a lot but might be required soon, - it takes parts of the program out of memory and puts those into the - swap space, where it can easily retrieve it. Moving data between - memory and swap can be slow, so if you are using a lot of your - swap space, you may find the machine's reaction slows. - </para> - - <sect2 id="swapload-usage"> - <title>Usage</title> - <para> - You don't need to do anything to this applet. It will sit and - run in your panel. Various options to alter its display are - available. - </para> - - <figure id="cpuload-applet-fig"> - <title>Swap Load Applet</title> - <screenshot> - <screeninfo>Swap Load Applet</screeninfo> - <graphic format="png" fileref="swapload-applet" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - </sect2> - - <sect2 id="swapload-right-click"> - <title>Right-Click Pop-Up Menu Items</title> - <para> - In addition to the standard menu items, the right-click pop-up menu has - the following items: - </para> - - <variablelist> - <varlistentry> - <term>Default Properties...</term> - <listitem> - <para> - This opens the <guilabel>multiload_applet dialogue box</guilabel> - <link linkend="swapload-properties">described below</link> which allows - you to alter the default properties of this and related monitor - applets. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Properties...</term> - <listitem> - <para> - This opens the <guilabel>multiload_applet dialogue box</guilabel> - <link linkend="swapload-properties">described below</link> which - affects only the <application>swapload_applet</application> - properties. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Run gtop...</term> - <listitem> - <para> - This option will run the <command>gtop</command> which - starts up the GNOME System Monitor. <application>gtop</application> - gives a much more detailed look at your system and what's happening - on it. - </para> - </listitem> - </varlistentry> - </variablelist> - </sect2> - - <sect2 id="swapload-properties"> - <title>Properties</title> - - <figure id="cpuload-default-fig"> - <title>Default Properties Dialog</title> - <screenshot> - <screeninfo>Swap Load Applet Default Properties Dialog</screeninfo> - <graphic format="png" fileref="swapload-applet-default" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - Like several of the monitor applets, - <application>swapload_applet</application> has two ways of setting - preferences. You can make changes that affect all of this group - (<application>cpuload_applet</application>, <application>memload_applet</application>, - <application>swapload_applet</application>, <application>netload_applet</application> - and <application>loadavg_applet</application>) in one large dialogue - box. This is useful if you run one or more of them. These are the - settings used by default. They are reached from the - <guimenuitem>Default Properties...</guimenuitem> menu item. - </para> - - <figure id="swapload-greyed-fig"> - <title>Greyed Out Properties Dialog</title> - <screenshot> - <screeninfo>Swap Load Applet Greyed Out Properties Dialog</screeninfo> - <graphic format="png" fileref="swapload-applet-greyed" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - Or you can change just the properties for - <application>swapload_applet</application>. This is useful for when - you only use <application>swapload_applet</application> or want to - try new combinations out. It is reached from the - <guimenuitem>Properties</guimenuitem> menu item. - </para> - <note> - <para> - If you use the <guimenuitem>Properties...</guimenuitem> menu item - and edit the preferences for just this applet, you must uncheck - the <guibutton>Use default properties</guibutton> checkbox before - you can alter any settings. - </para> - </note> - - <figure id="swapload-properties-fig"> - <title>Swap Load Properties Dialog</title> - <screenshot> - <screeninfo>Swap Load Applet Properties Dialog</screeninfo> - <graphic format="png" fileref="swapload-applet-properties" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - The changes you can make to the properties are three: - </para> - - <variablelist> - <varlistentry> - <term>Colours</term> - <listitem> - <para> - You can alter the colours used for used and free swap space - that are displayed by clicking on the colour boxes. This - invokes the GNOME colour wheel. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Speed</term> - <listitem> - <para> - You can alter the speed that the graph proceeds with this. - It is measured in milliseconds, and the default is 500. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Size</term> - <listitem> - <para> - You can alter the size of the applet with this. It is measured - in pixels. The default value is 40, and the range is from 1 pixel - to whatever you like. In a vertical panel, this refers to the - height. In a horizontal panel, it refers to the width. - </para> - </listitem> - </varlistentry> - </variablelist> - </sect2> - - <sect2 id="swapload-bugs"> - <title> Known Bugs and Limitations</title> - <para> - Resizing and then altering the panel orientation can still cause - intermittent problems, although they now fix themselves after a - short period. - </para> - </sect2> - - <sect2 id="swapload-authors"> - <title>Authors</title> - <para> - This applet was writen by Martin Baulig (<email>martin@home-of-linux.org</email>). - Please send all comments, suggestions, and bug - reports to the <ulink url="http://bugs.gnome.org" type="http">GNOME - bug tracking database</ulink>. (Instructions for submitting bug - reports can be found <ulink - url="http://bugs.gnome.org/Reporting.html" type="http"> - on-line</ulink>. If you are using - GNOME 1.1 or later, you can also use <application>Bug Report - Tool</application> (<command>bug-buddy</command>), available in the - <guisubmenu>Utilities</guisubmenu> submenu of <guimenu>Main - Menu</guimenu>, for submitting bug reports. - </para> - <para> - This manual was written by Telsa Gywnne - (<email>telsa@linuxchix.org</email>) and Eric Baudais - (<email>baudais@okstate.edu</email>). Please send all comments and - suggestions regarding this manual to the <ulink type="http" - url="http://www.gnome.org/gdp">GNOME Documentation Project</ulink> - by sending an email to <email>docs@gnome.org</email>. You can also - submit comments online by using the <ulink type="http" - url="http://www.gnome.org/gdp/doctable/">GNOME Documentation Status - Table</ulink>. - </para> - - <!-- For translations: uncomment this: - - <para> - Latin translation was done by ME - (<email>MYNAME@MYADDRESS</email>). Please send all comments and - suggestions regarding this translation to SOMEWHERE. - </para> - - --> - - </sect2> - - <!-- ============= Application License ============================= --> - - <sect2 id="license"> - <title>License</title> - <para> - This program is free software; you can redistribute it and/or - modify it under the terms of the <citetitle>GNU General Public - License</citetitle> as published by the Free Software Foundation; - either version 2 of the License, or (at your option) any later - version. - </para> - <para> - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - <citetitle>GNU General Public License</citetitle> for more details. - </para> - <para> - A copy of the <citetitle>GNU General Public License</citetitle> is - included as an appendix to the <citetitle>GNOME Users - Guide</citetitle>. You may also obtain a copy of the - <citetitle>GNU General Public License</citetitle> from the Free - Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to - <address> - Free Software Foundation, Inc. - <street>59 Temple Place</street> - Suite 330 - <city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode> - <country>USA</country> - </address> - </para> - </sect2> -</sect1> - - - - - - diff --git a/multiload/docs/C/swapload/swapload_applet.sgml b/multiload/docs/C/swapload/swapload_applet.sgml deleted file mode 100644 index 9027b03bc..000000000 --- a/multiload/docs/C/swapload/swapload_applet.sgml +++ /dev/null @@ -1,48 +0,0 @@ -<!DOCTYPE Article PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.0//EN"[ - <!entity swapload.sgml SYSTEM "swapload.sgml"> -]> - -<article id="index"> - - <artheader> - <title>Swap Load Applet</title> - <copyright> - <year>2000</year> - <holder>Telsa Gwynne and Eric Baudais</holder> - </copyright> - - <legalnotice> - <para> - Permission is granted to copy, distribute and/or modify this - document under the terms of the <citetitle>GNU Free Documentation - License</citetitle>, Version 1.1 or any later version published - by the Free Software Foundation with no Invariant Sections, no - Front-Cover Texts, and no Back-Cover Texts. You may obtain a copy - of the <citetitle>GNU Free Documentation License</citetitle> from - the Free Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to: - Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - </para> - <para> - Many of the names used by companies to distinguish their products and - services are claimed as trademarks. Where those names appear in any - GNOME documentation, and those trademarks are made aware to the members - of the GNOME Documentation Project, the names have been printed in caps - or initial caps. - </para> - </legalnotice> - - <releaseinfo> - This is version 1.0 of the Swap Load Applet manual. - </releaseinfo> - </artheader> - - &swapload.sgml; - -</article> - - - - - diff --git a/multiload/docs/C/swapload/topic.dat b/multiload/docs/C/swapload/topic.dat deleted file mode 100644 index dd85c2078..000000000 --- a/multiload/docs/C/swapload/topic.dat +++ /dev/null @@ -1 +0,0 @@ -index.html Swap Load applet diff --git a/multiload/docs/Makefile.am b/multiload/docs/Makefile.am deleted file mode 100644 index 8efa7d72a..000000000 --- a/multiload/docs/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -SUBDIRS = C it diff --git a/multiload/docs/de/.cvsignore b/multiload/docs/de/.cvsignore deleted file mode 100644 index 23bc3c90b..000000000 --- a/multiload/docs/de/.cvsignore +++ /dev/null @@ -1,5 +0,0 @@ -Makefile.in -Makefile -*.junk -*.html -multiload-applet diff --git a/multiload/docs/de/cpuload.sgml b/multiload/docs/de/cpuload.sgml deleted file mode 100644 index 3a58922bc..000000000 --- a/multiload/docs/de/cpuload.sgml +++ /dev/null @@ -1,243 +0,0 @@ -<!DOCTYPE sect1 PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.0//EN"[ -]> - -<!-- Permission is granted to make and distribute verbatim copies of --> -<!-- this manual provided the copyright notice and this permission --> -<!-- notice are preserved on all copies. --> -<!-- --> -<!-- Permission is granted to copy and distribute modified versions of --> -<!-- this manual under the conditions for verbatim copying, provided --> -<!-- that the entire resulting derived work is distributed under the --> -<!-- terms of a permission notice identical to this one. --> -<!-- --> -<!-- Permission is granted to copy and distribute translations of this --> -<!-- manual into another language, under the above conditions for --> -<!-- modified versions, except that this permission notice may be --> -<!-- stated in a translation approved by the Foundation. --> - -<sect1 id="cpuload-applet"> - <title>Das Prozessorlast-Applet</title> - - <para> - Das <application>cpuload_applet</application> ist ein kleines - Monitor-Applet, das im Panel sitzt und Ihnen mitteilt, wie hoch - die Prozessorlast zur Zeit ist. - </para> - - <sect2 id="cpuload-usage"> - <title>Benutzung</title> - <para> - Sie brauchen nichts zu tun, um dieses Applet zu benutzen. Es - sitzt und läauft einfach im Panel. Es gibt jedoch zahlreiche - Optionen, um das äußere Erscheinungsbild zu verändern. - </para> - <para> - Das <application>cpuload_applet</application> unterteilt die - Prozessorlast in vier Kategorien: - four sorts: - </para> - <variablelist> - <varlistentry> - <term>Benutzerzeit</term> - <listitem> - <para> - Dies ist die im "Benutzer-Mode" verbrauchte Prozessorlast, d.h. - alles was nicht im Kernel abläuft. Die Standard-Farbe - hierfür ist gelb. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Kernelzeit</term> - <listitem> - <para> - Dies ist die vom Kernel verbrauchte Prozessorlast, z.B. - Festplattenzugriffe etc. Die Standard-Farbe hierfür ist - grau. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Priorität</term> - <listitem> - <para> - Dies ist die von mit erhöhter Priorität ablaufender - Prozesse verbrauchte Prozessorlast. Die Standard-Farbe hierfür - ist hellgrau. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Leerlauf</term> - <listitem> - <para> - Dies ist die auf den Leerlaufprozeß fallende Prozessorlast. - Die Standard-Farbe hierfür ist schwarz. - </para> - </listitem> - </varlistentry> - </variablelist> - </sect2> - - <sect2 id="cpuload-right-click"> - <title>Kontext-Menü</title> - <para> - Zusätzlich zu den Standardeinträgen enthält das - Kontext-Menü folgende Einträge: - </para> - - <variablelist> - <varlistentry> - <term>Standardeigenschaften...</term> - <listitem> - <para> - Dies öffnet die - <link linkend="cpuload-properties">unten beschriebene</link> - <guilabel>multiload_applet Dialogbox</guilabel>, die es - ermöglicht, die Standardeigenschaften aller Monitor-Applets - zu ändern. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Eigenschaften</term> - <listitem> - <para> - Dies öffnet die - <link linkend="cpuload-properties">unten beschriebene</link> - <guilabel>multiload_applet Dialogbox</guilabel>, welche nur - die Eigenschaften des gegenwärtigen Applets beinflusst. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>GTop aufrufen...</term> - <listitem> - <para> - Diese Option startet <command>gtop</command>, den - GNOME-Systemmonitor. <application>GTop</application> gibt Ihnen - einen viel detailierteren Überblick über Ihr System und - darüber, was auf ihm zur Zeit abl&auuml;ft. - </para> - </listitem> - </varlistentry> - </variablelist> - </sect2> - - <sect2 id="cpuload-properties"> - <title>Eigenschaften</title> - <para> - Wie einige der Monitor-Applets hat das - <application>cpuload_applet</application> mehrere Arten, seine - Eigenschaften zu setzen. - </para> - <para> - Zum einen können Sie in einer großen Dialogbox Einstellungen - vornehmen, alle Applets dieser Gruppe - (<application>cpuload_applet</application>, - <application>memload_applet</application>, - <application>swapload_applet</application>, - <application>netload_applet</application> und - and <application>loadavg_applet</application>) betreffen. Dies ist sehr - hilfreich, wenn Sie mehrere davon benutzen. - </para> - <para> - Alle Einstellungen, die Sie hier vornehmen werden als - Standard-Einstellungen für alle nachfolgend gestarteten Applets - dieser Gruppe benutzt. Sie erreichen diese Dialogbox über - <guimenuitem>Standardeigenschaften...</guimenuitem> im - Kontext-Menü. - </para> - <para> - Oder aber Sie ändern nur die Eigenschaften des aktuellen - <application>cpuload_applet</application>. Dies ist hilfreich, wenn - Sie entweder nur ein <application>cpuload_applet</application> haben - oder wenn Sie mehrere davon mit verschiedenen Einstellungen verwenden - wollen. Sie finden die hierzu verwendete Dialogbox unter - <guimenuitem>Eigenschaften</guimenuitem> im Kontext-Menü. - </para> - <note> - <para> - Wenn Sie den <guimenuitem>Eigenschaften...</guimenuitem> - Menüeintrag verwenden und nur die Eigenschaften des - gegenwärtigen Applets ändern wollen, müssen Sie - die Checkbox <guibutton>Standardeigenschaften verwenden</guibutton> - deaktivieren, bevor Sie irgendwelche Einstellungen verändern. - </para> - </note> - - <para> - Die Eigenschaften, die Sie verändern können, sind: - </para> - - <variablelist> - <varlistentry> - <term>Farben</term> - <listitem> - <para> - Sie können die Farben ändern, die für die - verschiedenen Arten der Prozessorlast verwendet werden, - indem Sie auf eine der Farbboxen klicken. Dies startet das - GNOME-Farbrad. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Geschwindigkeit</term> - <listitem> - <para> - Hier können Sie festlegen, wie oft der Graph aktualisiert - wird. Alle Werte sind in Millisekunden; der - größtmögliche Wert ist 1,000,000,000 und der - kleinstmögliche 1. Die Standardeinstellung ist 500. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Größe</term> - <listitem> - <para> - Hier bestimmen Sie die Größe des Applets (in Pixeln), - wobei die Standardeinstellung 40 Pixel beträgt. Dies ist - die Höhe des Applets in einem vertikalen Panel, bzw. die - Breite in einem horizontalen Panel. - </para> - </listitem> - </varlistentry> - </variablelist> - </sect2> - - <sect2 id="cpuload-bugs"> - <title>Bekannte Probleme und Limitationen</title> - <para> - Wenn Sie die Größe ändern und anschließen die - Orientierung das Panel, kann dies zu kurzzeitigen Problemen führen, - die allerdings von selbst wieder verschwinden. - </para> - </sect2> - - <sect2 id="cpuload-authors"> - <title>Autoren</title> - <para> - Dieses Applet wurde von Martin Baulig - (<email>martin@home-of-linux.org</email>) geschrieben. - Bitte benutzen Sie das <ulink type="http" url="http://bugs.gnome.org">GNOME Bugtracking-System</ulink> für alle Fehlerberichte. - Befolgen Sie dazu entweder die Anweisungen auf dieser Site oder - benutzen Sie <application>bug-buddy</application> von der - Kommandozeile. Benutzen Sie gnome-applets als Packetnamen. - </para> - <para> - Dieser Teil des Manuals wurde von Telsa Gwynne - (<email>telsa@linuxchix.org</email>) verfaßt. - Bitte wenden Sie sich mit allen Problemen oder Anregungen an das - GNOME Dokumentations-Projekt (<email>docs@gnome.org</email>). - </para> - </sect2> -</sect1> diff --git a/multiload/docs/it/.cvsignore b/multiload/docs/it/.cvsignore deleted file mode 100644 index 282522db0..000000000 --- a/multiload/docs/it/.cvsignore +++ /dev/null @@ -1,2 +0,0 @@ -Makefile -Makefile.in diff --git a/multiload/docs/it/Makefile.am b/multiload/docs/it/Makefile.am deleted file mode 100644 index a3e317b86..000000000 --- a/multiload/docs/it/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -SUBDIRS = cpuload loadavg memload netload swapload diff --git a/multiload/docs/it/cpuload/.cvsignore b/multiload/docs/it/cpuload/.cvsignore deleted file mode 100644 index 88dcf120c..000000000 --- a/multiload/docs/it/cpuload/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -Makefile.in -Makefile -index.html -cpuload-applet diff --git a/multiload/docs/it/cpuload/Makefile.am b/multiload/docs/it/cpuload/Makefile.am deleted file mode 100644 index 366875a61..000000000 --- a/multiload/docs/it/cpuload/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -applet = cpuload -figs = \ - cpuload-applet-default.png\ - cpuload-applet-greyed.png\ - cpuload-applet-properties.png\ - cpuload-applet.png -lang = it -sgml_ents = $(applet).sgml -include $(top_srcdir)/applet-docs.make -dist-hook: applet-dist-hook diff --git a/multiload/docs/it/cpuload/cpuload-applet-default.png b/multiload/docs/it/cpuload/cpuload-applet-default.png Binary files differdeleted file mode 100644 index a2aecfcf4..000000000 --- a/multiload/docs/it/cpuload/cpuload-applet-default.png +++ /dev/null diff --git a/multiload/docs/it/cpuload/cpuload-applet-greyed.png b/multiload/docs/it/cpuload/cpuload-applet-greyed.png Binary files differdeleted file mode 100644 index 9b69463ac..000000000 --- a/multiload/docs/it/cpuload/cpuload-applet-greyed.png +++ /dev/null diff --git a/multiload/docs/it/cpuload/cpuload-applet-properties.png b/multiload/docs/it/cpuload/cpuload-applet-properties.png Binary files differdeleted file mode 100644 index 79b42038e..000000000 --- a/multiload/docs/it/cpuload/cpuload-applet-properties.png +++ /dev/null diff --git a/multiload/docs/it/cpuload/cpuload-applet.png b/multiload/docs/it/cpuload/cpuload-applet.png Binary files differdeleted file mode 100644 index c5110b893..000000000 --- a/multiload/docs/it/cpuload/cpuload-applet.png +++ /dev/null diff --git a/multiload/docs/it/cpuload/cpuload-applet.sgml b/multiload/docs/it/cpuload/cpuload-applet.sgml deleted file mode 100644 index 57ffc7705..000000000 --- a/multiload/docs/it/cpuload/cpuload-applet.sgml +++ /dev/null @@ -1,43 +0,0 @@ -<!DOCTYPE Article PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.0//EN"[ - <!entity cpuload.sgml SYSTEM "cpuload.sgml"> -]> - -<article id="index" lang="it"> - - <artheader> - <title>Applet Carico CPU</title> - <copyright> - <year>2000</year> - <holder>Telsa Gwynne and Eric Baudais</holder> - </copyright> - - <legalnotice> - <para> - Permission is granted to copy, distribute and/or modify this - document under the terms of the <citetitle>GNU Free Documentation - License</citetitle>, Version 1.1 or any later version published - by the Free Software Foundation with no Invariant Sections, no - Front-Cover Texts, and no Back-Cover Texts. You may obtain a copy - of the <citetitle>GNU Free Documentation License</citetitle> from - the Free Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to: - Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - </para> - <para> - Many of the names used by companies to distinguish their products and - services are claimed as trademarks. Where those names appear in any - GNOME documentation, and those trademarks are made aware to the members - of the GNOME Documentation Project, the names have been printed in caps - or initial caps. - </para> - </legalnotice> - - <releaseinfo> - Questa è la versione 1.0 del manuale della applet Carico CPU. - </releaseinfo> - </artheader> - - &cpuload.sgml; - -</article> diff --git a/multiload/docs/it/cpuload/cpuload.sgml b/multiload/docs/it/cpuload/cpuload.sgml deleted file mode 100644 index 4cee04e6d..000000000 --- a/multiload/docs/it/cpuload/cpuload.sgml +++ /dev/null @@ -1,334 +0,0 @@ -<!-- Permission is granted to make and distribute verbatim copies of --> -<!-- this manual provided the copyright notice and this permission --> -<!-- notice are preserved on all copies. --> -<!-- --> -<!-- Permission is granted to copy and distribute modified versions of --> -<!-- this manual under the conditions for verbatim copying, provided --> -<!-- that the entire resulting derived work is distributed under the --> -<!-- terms of a permission notice identical to this one. --> -<!-- --> -<!-- Permission is granted to copy and distribute translations of this --> -<!-- manual into another language, under the above conditions for --> -<!-- modified versions, except that this permission notice may be --> -<!-- stated in a translation approved by the Foundation. --> - - <sect1 id="cpuload-applet"> - <title> - L'applet Carico CPU - </title> - - <para> - L'applicazione <application>cpuload_applet</application> è una piccola - applet di controllo che si aggiunge ad un pannello e che mostra quanto - viene usata la CPU. - </para> - - <sect2 id="cpuload-usage"> - <title> - Uso - </title> - <para> - Non c'è alcunché da fare con questa applet. Si aggiunge al pannello e lì - gira. Ci sono però molte opzioni per modificarne l'aspetto. - </para> - - <figure id="cpuload-applet-fig"> - <title>Applet Carico CPU</title> - <screenshot> - <screeninfo>Applet Carico CPU</screeninfo> - <graphic format="png" fileref="cpuload-applet" srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - <application>cpuload_applet</application> divide l'uso della CPU in - quattro modi: - </para> - <variablelist> - <varlistentry> - <term>Utente</term> - <listitem> - <para> - Questo misura l'uso della CPU nello "spazio utente", cioè tutto ciò - che non sta comunicando direttamente con il kernel. Il colore - predefinito è il giallo. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Sistema</term> - <listitem> - <para> - Questo misura l'uso della CPU da parte di ciò che lavora con il - kernel, cioè ciò che lavora con memoria e dischi. Il colore - predefinito è grigio chiaro. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Nice</term> - <listitem> - <para> - Questo misura l'uso della CPU da parte di ciò che non è "nice", cioè - che gira ad alta priorità. Il colore predefinito è grigio normale. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Inattività</term> - <listitem> - <para> - Misura la capacità del processore che non viene usata. Il colore - predefinito è nero. - </para> - </listitem> - </varlistentry> - </variablelist> - </sect2> - - <sect2 id="cpuload-right-click"> - <title> - Voci del menù del tasto destro - </title> - <para> - Oltre alle voci del menù normale, il menù del tasto destro contiene anche - le seguenti: - </para> - -<!-- Secondo me c'è un errore nella traduzione dell'applet perché cliccando con --> -<!-- il tasto destro appare due volte la voce Proprietà --> -<!-- Comunque la prima voce apre le configurazioni per l'applet multiload --> -<!-- Inoltre le due finestre che appaiono hanno lo stesso titolo --> -<!-- "multiload_applet", francamente un po' ridicolo :-))) --> -<!-- un Leandro un po' pignolo --> - - <variablelist> - <varlistentry> - <term>Proprietà...</term> - <listitem> - <para> - Con questo si apre la finestra di dialogo - <guilabel>multiload_applet</guilabel> <link - linkend="cpuload-properties">descritta più avanti</link> con la - quale si possono modificare le proprietà di default di questa e di - altre applet di controllo. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Proprietà...</term> - <listitem> - <para> - Questo apre la finestra di dialogo - <guilabel>multiload_applet</guilabel> in cui si possono modificare - le proprietà solo di <application>cpuload_applet</application>. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Avvia gtop...</term> - <listitem> - <para> - Questa voce avvia il programma <command>gtop</command>, Monitor di - Sistema di GNOME. <application>gtop</application> offre un controllo - molto più dettagliato del sistema e cose vi sta accadendo. - </para> - </listitem> - </varlistentry> - </variablelist> - </sect2> - - <sect2 id="cpuload-properties"> - <title>Proprietà</title> - - <figure id="cpuload-default-fig"> - <title> - Finestra di dialogo Proprietà con i valori predefiniti - </title> - <screenshot> - <screeninfo> Finestra di dialogo dell'applet Carico CPU con valori - predefiniti</screeninfo> - <graphic format="png" fileref="cpuload-applet-default" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - Come in molte altre applet di controllo, - <application>cpuload_applet</application> ci sono due modi per selezionare - le proprietà. Si può cambiare contemporaneamente tutte le applet che - appartengono a questo gruppo (<application>cpuload_applet</application>, - <application>memload_applet</application>, - <application>swapload_applet</application>, - <application>netload_applet</application> e - <application>loadavg_applet</application>) in una sola grande finestra di - dialogo. Può essere utile nel caso si usino una o più di queste applet e - queste proprietà vengono usate di default. Per arrivarci si deve cliccare - sulla voce <guimenuitem>Proprietà...</guimenuitem> del menù. - </para> - - <figure id="cpuload-greyed-fig"> - <title> - Finestra di dialogo specifica per l'Applet Carico CPU - </title> - <screenshot> - <screeninfo>Finestra di dialogo specifica per l'Applet Carico - CPU</screeninfo> - <graphic format="png" fileref="cpuload-applet-greyed" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - È anche possibile modificare solo le proprietà per - <application>cpuload_applet</application>. Può essere utile se viene usata - soltanto quest'applicazione oppure se si vogliono provare nuove - combinazioni. Per arrivarci si deve cliccare sulla voce - <guimenuitem>Proprietà</guimenuitem> del menù. - </para> - <note> - <para> - Se si usa la voce <guimenuitem>Proprietà...</guimenuitem> e si - modificano le proprietà solo per questa applet è necessario - deselezionare il bottone <guibutton>Utilizza impostazioni - predefinite</guibutton> prima di poter modificare le impostazioni. - </para> - </note> - - <figure id="cpuload-properties-fig"> - <title>Finestra di dialogo delle Proprietà di Carico CPU</title> - <screenshot> - <screeninfo>Finestra di dialogo delle Proprietà di Carico CPU</screeninfo> - <graphic format="png" fileref="cpuload-applet-properties" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - Le modifiche che possono essere fatte sono tre: - </para> - - <variablelist> - <varlistentry> - <term>Colori</term> - <listitem> - <para> - Si possono modificare i colori usati per i diversi usi dell'uso - della CPU cliccando sui bottoni con i colori; apparirà così la - finestra di dialogo dei colori di GNOME. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Velocità</term> - <listitem> - <para> - Si può modificare la velocità con cui procede il grafico. L'unità di - misura è il millisecondo; il valore massimo è 1.000.000.000 (un - milione) e il minimo è 1 con valore predefinito pari a 500. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Dimensione</term> - <listitem> - <para> - Si può così modificare la dimensione della applet. L'unità di misura - è il pixel. Il valore predefinito è 40 e si può variare da 1 pixel a - piacere. Nei pannelli verticali il valore si riferisce all'altezza, - in quelli orizzontali la larghezza. - </para> - </listitem> - </varlistentry> - </variablelist> - </sect2> - - <sect2 id="cpuload-bugs"> - <title>Errori conosciuti e Limitazioni</title> - <para> - Ridimensionando e modificando l'orientamento del pannello può provocare - problemi intermittenti che dovrebbero però stabilizzarsi rapidamente. - </para> - </sect2> - - <sect2 id="cpuload-authors"> - <title>Autori</title> - <para> - Questa applet è stata scritta da Martin Baulig - (<email>martin@home-of-linux.org</email>). Inviate tutti i commenti, - suggerimenti e notifiche di errori al <ulink url="http://bugs.gnome.org" - type="http">GNOME bug tracking database</ulink>. (Le istruzioni per - riportare errori possono essere trovate <ulink - url="http://bugs.gnome.org/Reporting.html" type="http">on-line</ulink>. Se - state usando la versione di GNOME 1.1 o una più recente è possibile usare - anche il programma <application>bug-buddy</application> - (<command>bug-buddy</command>), che si trova nel sotto-menù - <guisubmenu>Utilità</guisubmenu> nel <guimenu>Menù Principale</guimenu>, - per riportare errori. - </para> - <para> - Questo manuale è stato scritto da Telsa Gywnne - (<email>telsa@linuxchix.org</email>) e Eric Baudais - (<email>baudais@okstate.edu</email>). Inviate tutti i commenti e i - suggerimenti riguardo questo manuale allo <ulink type="http" - url="http://www.gnome.org/gdp">GNOME Documentation Project</ulink> - mandando un email a <email>docs@gnome.org</email>. È possibile anche - spedire commenti on-line usando lo <ulink type="http" - url="http://www.gnome.org/gdp/doctable/">GNOME Documentation Status - Table</ulink>. - </para> - - <para> - La traduzione italiana è stata curata da Leandro Noferini - (<email>lnoferin@cybervalley.org</email>). Inviate tutti i commenti e - suggerimenti riguardo questa traduzione a - <email>gnome-i18n@lists.it.gnome.org</email>. - </para> - - - </sect2> - - <!-- ============= Application License ============================= --> - - <sect2 id="license"> - <title>Licenza</title> - <para> - This program is free software; you can redistribute it and/or - modify it under the terms of the <citetitle>GNU General Public - License</citetitle> as published by the Free Software Foundation; - either version 2 of the License, or (at your option) any later - version. - </para> - <para> - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - <citetitle>GNU General Public License</citetitle> for more details. - </para> - <para> - A copy of the <citetitle>GNU General Public License</citetitle> is - included as an appendix to the <citetitle>GNOME Users - Guide</citetitle>. You may also obtain a copy of the - <citetitle>GNU General Public License</citetitle> from the Free - Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to - <address> - Free Software Foundation, Inc. - <street>59 Temple Place</street> - Suite 330 - <city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode> - <country>USA</country> - </address> - </para> - </sect2> -</sect1> diff --git a/multiload/docs/it/cpuload/cpuload_applet.sgml b/multiload/docs/it/cpuload/cpuload_applet.sgml deleted file mode 100644 index 57ffc7705..000000000 --- a/multiload/docs/it/cpuload/cpuload_applet.sgml +++ /dev/null @@ -1,43 +0,0 @@ -<!DOCTYPE Article PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.0//EN"[ - <!entity cpuload.sgml SYSTEM "cpuload.sgml"> -]> - -<article id="index" lang="it"> - - <artheader> - <title>Applet Carico CPU</title> - <copyright> - <year>2000</year> - <holder>Telsa Gwynne and Eric Baudais</holder> - </copyright> - - <legalnotice> - <para> - Permission is granted to copy, distribute and/or modify this - document under the terms of the <citetitle>GNU Free Documentation - License</citetitle>, Version 1.1 or any later version published - by the Free Software Foundation with no Invariant Sections, no - Front-Cover Texts, and no Back-Cover Texts. You may obtain a copy - of the <citetitle>GNU Free Documentation License</citetitle> from - the Free Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to: - Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - </para> - <para> - Many of the names used by companies to distinguish their products and - services are claimed as trademarks. Where those names appear in any - GNOME documentation, and those trademarks are made aware to the members - of the GNOME Documentation Project, the names have been printed in caps - or initial caps. - </para> - </legalnotice> - - <releaseinfo> - Questa è la versione 1.0 del manuale della applet Carico CPU. - </releaseinfo> - </artheader> - - &cpuload.sgml; - -</article> diff --git a/multiload/docs/it/cpuload/topic.dat b/multiload/docs/it/cpuload/topic.dat deleted file mode 100644 index 1fab3e3bb..000000000 --- a/multiload/docs/it/cpuload/topic.dat +++ /dev/null @@ -1 +0,0 @@ -index.html Applet Carico CPU diff --git a/multiload/docs/it/loadavg/.cvsignore b/multiload/docs/it/loadavg/.cvsignore deleted file mode 100644 index 77b67bd99..000000000 --- a/multiload/docs/it/loadavg/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -Makefile.in -Makefile -index.html -loadavg-applet diff --git a/multiload/docs/it/loadavg/Makefile.am b/multiload/docs/it/loadavg/Makefile.am deleted file mode 100644 index b382c4e33..000000000 --- a/multiload/docs/it/loadavg/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -applet = loadavg -figs = \ - loadavg-applet-default.png\ - loadavg-applet-greyed.png\ - loadavg-applet-properties.png\ - loadavg-applet.png -lang = it -sgml_ents = $(applet).sgml -include $(top_srcdir)/applet-docs.make -dist-hook: applet-dist-hook diff --git a/multiload/docs/it/loadavg/loadavg-applet-default.png b/multiload/docs/it/loadavg/loadavg-applet-default.png Binary files differdeleted file mode 100644 index ead2abe7f..000000000 --- a/multiload/docs/it/loadavg/loadavg-applet-default.png +++ /dev/null diff --git a/multiload/docs/it/loadavg/loadavg-applet-greyed.png b/multiload/docs/it/loadavg/loadavg-applet-greyed.png Binary files differdeleted file mode 100644 index 9369fab21..000000000 --- a/multiload/docs/it/loadavg/loadavg-applet-greyed.png +++ /dev/null diff --git a/multiload/docs/it/loadavg/loadavg-applet-properties.png b/multiload/docs/it/loadavg/loadavg-applet-properties.png Binary files differdeleted file mode 100644 index ff2845768..000000000 --- a/multiload/docs/it/loadavg/loadavg-applet-properties.png +++ /dev/null diff --git a/multiload/docs/it/loadavg/loadavg-applet.png b/multiload/docs/it/loadavg/loadavg-applet.png Binary files differdeleted file mode 100644 index 31e944a26..000000000 --- a/multiload/docs/it/loadavg/loadavg-applet.png +++ /dev/null diff --git a/multiload/docs/it/loadavg/loadavg-applet.sgml b/multiload/docs/it/loadavg/loadavg-applet.sgml deleted file mode 100644 index 56eff2bba..000000000 --- a/multiload/docs/it/loadavg/loadavg-applet.sgml +++ /dev/null @@ -1,60 +0,0 @@ -<!DOCTYPE Article PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.0//EN"[ - <!entity loadavg.sgml SYSTEM "loadavg.sgml"> - -]> -<article id="index" lang="it"> <!-- please do not change the id --> - - <artheader> - <title>Applet Carico Medio</title> - <copyright> - <year>2000</year> - <holder>Telsa Gywnne and Eric Baudais</holder> - </copyright> - - <copyright> - <year>2000</year> - <holder>Leandro Noferini (traduzione italiana)</holder> - </copyright> - - - <!-- do not put authorname in the header except in copyright - use - section "authors" below --> - - <legalnotice> - <para> - Permission is granted to copy, distribute and/or modify this - document under the terms of the <citetitle>GNU Free Documentation - License</citetitle>, Version 1.1 or any later version published - by the Free Software Foundation with no Invariant Sections, no - Front-Cover Texts, and no Back-Cover Texts. You may obtain a copy - of the <citetitle>GNU Free Documentation License</citetitle> from - the Free Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to: - Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - </para> - <para> - Many of the names used by companies to distinguish their products and - services are claimed as trademarks. Where those names appear in any - GNOME documentation, and those trademarks are made aware to the members - of the GNOME Documentation Project, the names have been printed in caps - or initial caps. - </para> - </legalnotice> - - <releaseinfo> - Questa è la versione 1.0 del manuale dell'applet Carico Medio. - </releaseinfo> - </artheader> - - &loadavg.sgml; - -</article> - - - - - - - - diff --git a/multiload/docs/it/loadavg/loadavg.sgml b/multiload/docs/it/loadavg/loadavg.sgml deleted file mode 100644 index 01bcd46ad..000000000 --- a/multiload/docs/it/loadavg/loadavg.sgml +++ /dev/null @@ -1,303 +0,0 @@ -<!-- Permission is granted to make and distribute verbatim copies of --> -<!-- this manual provided the copyright notice and this permission --> -<!-- notice are preserved on all copies. --> -<!-- --> -<!-- Permission is granted to copy and distribute modified versions of --> -<!-- this manual under the conditions for verbatim copying, provided --> -<!-- that the entire resulting derived work is distributed under the --> -<!-- terms of a permission notice identical to this one. --> -<!-- --> -<!-- Permission is granted to copy and distribute translations of this --> -<!-- manual into another language, under the above conditions for --> -<!-- modified versions, except that this permission notice may be --> -<!-- stated in a translation approved by the Foundation. --> - -<sect1 id="loadavg-applet"> - <title> - Applet Carico Medio - </title> - - <para> - L'applicazione <application>loadavg_applet</application> è una - piccola applet di controllo che si aggiunge all'interno del pannello e - che mostra il carico medio corrente. - </para> - - <para> - Il carico medio di una macchina è un numero abbastanza arbitrario che - rappresenta quanto è "occupata" la macchina. Viene calcolato come una media - (abbastanza rozza) del numero di processi ci sono sia che siano veramente - in funzione sia che stiano aspettando una chiamata da parte del kernel. È - molto utile per comparare l'uso di una stessa macchina nel tempo, ma non è - invece molto utile per fare comparazioni fra computer - differenti. Normalmente viene rappresentato da una funzione. - - <figure id="loadavg-applet-fig"> - <title>Applet Carico Medio</title> - <screenshot> - <screeninfo>Applet Carico Medio</screeninfo> - <graphic format="png" fileref="loadavg-applet" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - </para> - - <sect2 id="loadavg-usage"> - <title>Uso</title> - <para> - Non c'è alcunché da fare con questa applet. Si aggiunge ad un pannello. Ci - sono molte opzioni per modificarne l'aspetto. - </para> - </sect2> - - <sect2 id="loadavg-right-click"> - <title>Voci del menù del tasto destro</title> - <para> - Oltre alle voci del menù normale, il menù del tasto destro contiene anche - le seguenti: - </para> - - <!-- Solito errore già visto su cpuload --> - <variablelist> - <varlistentry> - <term>Proprietà...</term> - <listitem> - <para> - Con questo si apre la finestra di dialogo - <guilabel>multiload_applet</guilabel> <link - linkend="cpuload-properties">descritta più avanti</link> con la - quale si possono modificare le proprietà di default di questa e di - altre applet di controllo. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Proprietà...</term> - <listitem> - <para> - Questo apre la finestra di dialogo <guilabel>multiload_applet - dialogue box</guilabel> <link linkend="loadavg-properties">descritta - più avanti</link> con cui si possono modificare solo le proprietà - dell'applet <application>loadavg_applet</application>. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Avvia gtop...</term> - <listitem> - <para> - Questa voce avvia il programma <command>gtop</command>, Monitor di - Sistema di GNOME. <application>gtop</application> offre un controllo - molto più dettagliato del sistema e cose vi sta accadendo. - </para> - </listitem> - </varlistentry> - </variablelist> - </sect2> - - <sect2 id="loadavg-properties"> - <title>Proprietà</title> - - <figure id="loadavg-default-fig"> - <title> - Finestra di dialogo Proprietà con i valori predefiniti - </title> - <screenshot> - <screeninfo>Finestra di dialogo Proprietà Applet Carico Medio</screeninfo> - <graphic format="png" fileref="loadavg-applet-default" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - Come in molte altre applet di controllo, - <application>loadavg_applet</application> ci sono due modi per selezionare - le proprietà. Si può cambiare contemporaneamente tutte le applet che - appartengono a questo gruppo (<application>cpuload_applet</application>, - <application>memload_applet</application>, - <application>swapload_applet</application>, - <application>netload_applet</application> e - <application>cpuload_applet</application>) in una sola grande finestra di - dialogo. Può essere utile nel caso si usino una o più di queste applet e - queste proprietà vengono usate di default. Per arrivarci si deve cliccare - sulla voce <guimenuitem>Proprietà...</guimenuitem> del menù. - </para> - - <figure id="loadavg-greyed-fig"> - <title>Finestra di dialogo specifica per l'Applet Carico Medio</title> - <screenshot> - <screeninfo>Finestra di dialogo specifica per l'Applet Carico - Medio</screeninfo> - <graphic format="png" fileref="loadavg-applet-greyed" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - Oppure è possibile modificare solo le proprietà di - <application>loadavg_applet</application>. Può essere utile se viene usata - soltanto quest'applicazione oppure se si vogliono provare nuove - combinazioni. Per arrivarci si deve cliccare sulla voce - <guimenuitem>Proprietà</guimenuitem> del menù. - </para> - <note> - <para> - Se si usa la voce <guimenuitem>Proprietà...</guimenuitem> e si - modificano le proprietà solo per questa applet è necessario - deselezionare il bottone <guibutton>Utilizza impostazioni - predefinite</guibutton> prima di poter modificare le impostazioni. - </para> - </note> - - <figure id="loadavg-properties-fig"> - <title>Finestra di dialogo delle proprietà di Carico Medio</title> - <screenshot> - <screeninfo>Finestra di dialogo delle proprietà di Carico Medio</screeninfo> - <graphic format="png" fileref="loadavg-applet-properties" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - I cambiamenti possibili sono quattro: - </para> - - <variablelist> - <varlistentry> - <term>Colori</term> - <listitem> - <para> - Si possono modificare i colori usati dall'applet cliccando sui - bottoni con i colori; apparirà così la finestra di dialogo dei - colori di GNOME. I nomi usati sono leggermente scorretti: "Used" è - il carico medio corrente e "free" è il colore dello sfondo. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Velocità</term> - <listitem> - <para> - Si può modificare la velocità con cui procede il grafico misurato in - millisecondi. Il valore predefinito è 500. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Dimensione</term> - <listitem> - <para> - Si può così modificare la dimensione dell'applet. L'unità di misura - è il pixel. Il valore predefinito è 40 e si può variare da 1 pixel a - piacere. Nei pannelli verticali il valore si riferisce all'altezza, - in quelli orizzontali la larghezza. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Massimo</term> - <listitem> - <para> - Questo il valore massimo dell'asse delle verticale (cioè il carico - medio più alto che verrà mostrato). Il valore predefinito è 10. - </para> - <note> - <para> - Questa opzione è disponibile solo da <guimenuitem>Default - Properties menu option</guimenuitem>, e non appare nella - finestra di dialogo <guimenuitem>Properties menu - option</guimenuitem>. - </para> - </note> - </listitem> - </varlistentry> - </variablelist> - </sect2> - - <sect2 id="loadavg-bugs"> - <title>Errori conosciuti e Limitazioni</title> - <para> - Ridimensionando e modificando l'orientamento del pannello può provocare - problemi intermittenti che dovrebbero però stabilizzarsi rapidamente. - </para> - </sect2> - - <sect2 id="loadavg-authors"> - <title>Autori</title> - <para> - Questa applet è stata scritta da Martin Baulig - (<email>martin@home-of-linux.org</email>). Inviate tutti i commenti, - suggerimenti e notifiche di errori al <ulink url="http://bugs.gnome.org" - type="http">GNOME bug tracking database</ulink>. (Le istruzioni per - riportare errori possono essere trovate <ulink - url="http://bugs.gnome.org/Reporting.html" type="http">on-line</ulink>. Se - state usando la versione di GNOME 1.1 o una più recente è possibile usare - anche il programma <application>bug-buddy</application> - (<command>bug-buddy</command>), che si trova nel sotto-menù - <guisubmenu>Utilità</guisubmenu> nel <guimenu>Menù Principale</guimenu>, - per riportare errori. - </para> - Questo manuale è stato scritto da Telsa Gywnne - (<email>telsa@linuxchix.org</email>) e Eric Baudais - (<email>baudais@okstate.edu</email>). Inviate tutti i commenti e i - suggerimenti riguardo questo manuale allo <ulink type="http" - url="http://www.gnome.org/gdp">GNOME Documentation Project</ulink> - mandando un email a <email>docs@gnome.org</email>. È possibile anche - spedire commenti on-line usando lo <ulink type="http" - url="http://www.gnome.org/gdp/doctable/">GNOME Documentation Status - Table</ulink>. - </para> - - <para> - La traduzione italiana è stata curata da Leandro Noferini - (<email>lnoferin@cybervalley.org</email>). Inviate tutti i commenti e - suggerimenti riguardo questa traduzione a - <email>gnome-i18n@lists.it.gnome.org</email>. - </para> - - </sect2> - - <!-- ============= Application License ============================= --> - - <sect2 id="license"> - <title>Licenza</title> - <para> - This program is free software; you can redistribute it and/or - modify it under the terms of the <citetitle>GNU General Public - License</citetitle> as published by the Free Software Foundation; - either version 2 of the License, or (at your option) any later - version. - </para> - <para> - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - <citetitle>GNU General Public License</citetitle> for more details. - </para> - <para> - A copy of the <citetitle>GNU General Public License</citetitle> is - included as an appendix to the <citetitle>GNOME Users - Guide</citetitle>. You may also obtain a copy of the - <citetitle>GNU General Public License</citetitle> from the Free - Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to - <address> - Free Software Foundation, Inc. - <street>59 Temple Place</street> - Suite 330 - <city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode> - <country>USA</country> - </address> - </para> - </sect2> -</sect1> - - diff --git a/multiload/docs/it/loadavg/loadavg_applet.sgml b/multiload/docs/it/loadavg/loadavg_applet.sgml deleted file mode 100644 index 56eff2bba..000000000 --- a/multiload/docs/it/loadavg/loadavg_applet.sgml +++ /dev/null @@ -1,60 +0,0 @@ -<!DOCTYPE Article PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.0//EN"[ - <!entity loadavg.sgml SYSTEM "loadavg.sgml"> - -]> -<article id="index" lang="it"> <!-- please do not change the id --> - - <artheader> - <title>Applet Carico Medio</title> - <copyright> - <year>2000</year> - <holder>Telsa Gywnne and Eric Baudais</holder> - </copyright> - - <copyright> - <year>2000</year> - <holder>Leandro Noferini (traduzione italiana)</holder> - </copyright> - - - <!-- do not put authorname in the header except in copyright - use - section "authors" below --> - - <legalnotice> - <para> - Permission is granted to copy, distribute and/or modify this - document under the terms of the <citetitle>GNU Free Documentation - License</citetitle>, Version 1.1 or any later version published - by the Free Software Foundation with no Invariant Sections, no - Front-Cover Texts, and no Back-Cover Texts. You may obtain a copy - of the <citetitle>GNU Free Documentation License</citetitle> from - the Free Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to: - Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - </para> - <para> - Many of the names used by companies to distinguish their products and - services are claimed as trademarks. Where those names appear in any - GNOME documentation, and those trademarks are made aware to the members - of the GNOME Documentation Project, the names have been printed in caps - or initial caps. - </para> - </legalnotice> - - <releaseinfo> - Questa è la versione 1.0 del manuale dell'applet Carico Medio. - </releaseinfo> - </artheader> - - &loadavg.sgml; - -</article> - - - - - - - - diff --git a/multiload/docs/it/loadavg/topic.dat b/multiload/docs/it/loadavg/topic.dat deleted file mode 100644 index fe6b876eb..000000000 --- a/multiload/docs/it/loadavg/topic.dat +++ /dev/null @@ -1 +0,0 @@ -index.html Applet Carico Medio diff --git a/multiload/docs/it/memload/.cvsignore b/multiload/docs/it/memload/.cvsignore deleted file mode 100644 index a72cbdc20..000000000 --- a/multiload/docs/it/memload/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -Makefile.in -Makefile -index.html -memload-applet diff --git a/multiload/docs/it/memload/Makefile.am b/multiload/docs/it/memload/Makefile.am deleted file mode 100644 index 1c4b2f3ab..000000000 --- a/multiload/docs/it/memload/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -applet = memload -figs = \ - memload-applet-default.png\ - memload-applet-greyed.png\ - memload-applet-properties.png\ - memload-applet.png -lang = it -sgml_ents = $(applet).sgml -include $(top_srcdir)/applet-docs.make -dist-hook: applet-dist-hook diff --git a/multiload/docs/it/memload/memload-applet-default.png b/multiload/docs/it/memload/memload-applet-default.png Binary files differdeleted file mode 100644 index 7051588fc..000000000 --- a/multiload/docs/it/memload/memload-applet-default.png +++ /dev/null diff --git a/multiload/docs/it/memload/memload-applet-greyed.png b/multiload/docs/it/memload/memload-applet-greyed.png Binary files differdeleted file mode 100644 index 25b01c5a1..000000000 --- a/multiload/docs/it/memload/memload-applet-greyed.png +++ /dev/null diff --git a/multiload/docs/it/memload/memload-applet-properties.png b/multiload/docs/it/memload/memload-applet-properties.png Binary files differdeleted file mode 100644 index 840542e14..000000000 --- a/multiload/docs/it/memload/memload-applet-properties.png +++ /dev/null diff --git a/multiload/docs/it/memload/memload-applet.png b/multiload/docs/it/memload/memload-applet.png Binary files differdeleted file mode 100644 index c8e8f2190..000000000 --- a/multiload/docs/it/memload/memload-applet.png +++ /dev/null diff --git a/multiload/docs/it/memload/memload-applet.sgml b/multiload/docs/it/memload/memload-applet.sgml deleted file mode 100644 index db427a5fe..000000000 --- a/multiload/docs/it/memload/memload-applet.sgml +++ /dev/null @@ -1,53 +0,0 @@ -<!DOCTYPE Article PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.0//EN"[ - <!entity memload.sgml SYSTEM "memload.sgml"> - -]> - -<article id="index" lang="it"> - - <artheader> - <title>Applet Carico Memoria</title> - <copyright> - <year>2000</year> - <holder>Telsa Gwynne and Eric Baudais</holder> - </copyright> - - <copyright> - <year>2000</year> - <holder>Leandro Noferini (Traduzione italiana)</holder> - </copyright> - - - - <legalnotice> - <para> - Permission is granted to copy, distribute and/or modify this - document under the terms of the <citetitle>GNU Free Documentation - License</citetitle>, Version 1.1 or any later version published - by the Free Software Foundation with no Invariant Sections, no - Front-Cover Texts, and no Back-Cover Texts. You may obtain a copy - of the <citetitle>GNU Free Documentation License</citetitle> from - the Free Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to: - Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - </para> - <para> - Many of the names used by companies to distinguish their products and - services are claimed as trademarks. Where those names appear in any - GNOME documentation, and those trademarks are made aware to the members - of the GNOME Documentation Project, the names have been printed in caps - or initial caps. - </para> - </legalnotice> - - <releaseinfo> - Questa è la versione 1.0 del manuale dell'Applet Carico Memoria - </releaseinfo> - </artheader> - - &memload.sgml; - -</article> - - diff --git a/multiload/docs/it/memload/memload.sgml b/multiload/docs/it/memload/memload.sgml deleted file mode 100644 index b2d9f54e9..000000000 --- a/multiload/docs/it/memload/memload.sgml +++ /dev/null @@ -1,326 +0,0 @@ -<!-- Permission is granted to make and distribute verbatim copies of --> -<!-- this manual provided the copyright notice and this permission --> -<!-- notice are preserved on all copies. --> -<!-- --> -<!-- Permission is granted to copy and distribute modified versions of --> -<!-- this manual under the conditions for verbatim copying, provided --> -<!-- that the entire resulting derived work is distributed under the --> -<!-- terms of a permission notice identical to this one. --> -<!-- --> -<!-- Permission is granted to copy and distribute translations of this --> -<!-- manual into another language, under the above conditions for --> -<!-- modified versions, except that this permission notice may be --> -<!-- stated in a translation approved by the Foundation. --> - - <sect1 id="memload-applet"> - <title>Applet Carico Memoria</title> - - <para> - L'applicazione <application>memload_applet</application> è una piccola - applet che si aggiunge ad un pannello e che mostra quanta memoria viene - usata. - </para> - - <sect2 id="memload-usage"> - <title>Uso</title> - <para> - Non c'è alcunché da fare con questa applet. Si aggiunge ad un pannello. Ci - sono molte opzioni per modificarne l'aspetto. - </para> - - <figure id="memload-applet-fig"> - <title>Applet Carico Memoria</title> - <screenshot> - <screeninfo>Applet Carico Memoria</screeninfo> - <graphic format="png" fileref="memload-applet" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - L'applet mostra quattro differenti usi della memoria: - </para> - <variablelist> - <varlistentry> - <term>Libera</term> - <listitem> - <para> - La memoria libera è quella che non è usata da nessun programma. Il - colore predefinito è il verde. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Buffer</term> - <listitem> - <para> - I buffer contengono i dati che ancora non sono stati scritti su - disco e quelli che sono stati letti di recente dal disco, lasciati - lì nel caso che debbano servire ancora. Il colore predefinito è il - grigio. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Condivisa</term> - <listitem> - <para> - La memoria condivisa è quella usata contemporaneamente da più - programmi, cosa molto comune su sistemi UNIX. Molti programmi GNOME - usano molta memoria condivisa, cosa che abbatte di molto il totale - della memoria usata. Il colore predefinito è il giallo. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Altro</term> - <listitem> - <para> - La memoria usata in tutti gli altri modi viene indicata in questa - categoria. Il colore di default è un giallo-verdognolo. - </para> - </listitem> - </varlistentry> - </variablelist> - </sect2> - - <sect2 id="memload-right-click"> - <title>Voci del menù del tasto destro</title> - <para> - Oltre alle voci del menù normale, il menù del tasto destro contiene anche - le seguenti: - </para> - - <!-- Solito errore già visto su cpuload --> - <variablelist> - <varlistentry> - <term>Proprietà...</term> - <listitem> - <para> - Con questo si apre la finestra di dialogo - <guilabel>multiload_applet</guilabel> <link - linkend="cpuload-properties">descritta più avanti</link> con la - quale si possono modificare le proprietà di default di questa e di - altre applet di controllo. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Proprietà...</term> - <listitem> - <para> - Questo apre la finestra di dialogo <guilabel>multiload_applet - dialogue box</guilabel> <link linkend="loadavg-properties">descritta più avanti</link> con cui si possono modificare solo le proprietà - dell'applet <application>memload_applet</application>. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Avvia gtop...</term> - <listitem> - <para> - Questa voce avvia il programma <command>gtop</command>, Monitor di - Sistema di GNOME. <application>gtop</application> offre un controllo - molto più dettagliato del sistema e cosa vi sta accadendo. - </para> - </listitem> - </varlistentry> - </variablelist> - </sect2> - - <sect2 id="memload-properties"> - <title>Proprietà</title> - - <figure id="memload-default-fig"> - <title>Finestra di dialogo delle Proprietà Predefinite</title> - <screenshot> - <screeninfo>Finestra di dialogo delle Proprietà Predefinite dell'Applet - Carico Memoria</screeninfo> - <graphic format="png" fileref="memload-applet-default" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - Come in molte altre applet di controllo, - <application>memload_applet</application> ci sono due modi per selezionare - le proprietà. Si può cambiare contemporaneamente tutte le applet che - appartengono a questo gruppo (<application>cpuload_applet</application>, - <application>loadavg_applet</application>, - <application>swapload_applet</application>, - <application>netload_applet</application> e - <application>cpuload_applet</application>) in una sola grande finestra di - dialogo. Può essere utile nel caso si usino una o più di queste applet e - queste proprietà vengono usate di default. Per arrivarci si deve cliccare - sulla voce <guimenuitem>Proprietà...</guimenuitem> del menù. - </para> - - <figure id="memload-greyed-fig"> - <title>Finestra di dialogo specifica dell'Applet Carico Memoria</title> - <screenshot> - <screeninfo>Finestra di dialogo specifica dell'Applet Carico - Memoria</screeninfo> - <graphic format="png" fileref="memload-applet-greyed" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - Oppure è possibile modificare solo le proprietà di - <application>loadavg_applet</application>. Può essere utile se viene usata - soltanto <application>memload_applet</application> oppure se si vogliono - provare nuove combinazioni. Per arrivarci si deve cliccare sulla voce - <guimenuitem>Proprietà</guimenuitem> del menù. - </para> - <note> - <para> - Se si usa la voce <guimenuitem>Proprietà...</guimenuitem> e si - modificano le proprietà solo per questa applet è necessario - deselezionare il bottone <guibutton>Utilizza impostazioni - predefinite</guibutton> prima di poter modificare le impostazioni. - </para> - </note> - - <figure id="memload-properties-fig"> - <title>Finestra di dialogo delle Proprietà dell'Applet Carico - Memoria</title> - <screenshot> - <screeninfo>Finestra di dialogo delle Proprietà dell'Applet Carico - Memoria</screeninfo> - <graphic format="png" fileref="memload-applet-properties" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - I cambiamenti possibili sono tre: - </para> - - <variablelist> - <varlistentry> - <term>Colori</term> - <listitem> - <para> - Si possono modificare i colori usati per le varie categorie di - memoria che vengono mostrate dall'applet cliccando sui bottoni con i - colori; apparirà così la finestra di dialogo dei colori di GNOME. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Velocità</term> - <listitem> - <para> - Si può modificare la velocità con cui procede il grafico misurato in - millisecondi. Il valore predefinito è 500. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Dimensione</term> - <listitem> - <para> - Si può così modificare la dimensione dell'applet. L'unità di misura - è il pixel. Il valore predefinito è 40 e si può variare da 1 pixel a - piacere. Nei pannelli verticali il valore si riferisce all'altezza, - in quelli orizzontali la larghezza. - </para> - </listitem> - </varlistentry> - </variablelist> - </sect2> - - <sect2 id="memload-bugs"> - <title>Errori conosciuti e Limitazioni</title> - <para> - Ridimensionando e modificando l'orientamento del pannello può provocare - problemi intermittenti che dovrebbero però stabilizzarsi rapidamente. - </para> - </sect2> - - <sect2 id="memload-authors"> - <title>Autori</title> - <para> - Questa applet è stata scritta da Martin Baulig - (<email>martin@home-of-linux.org</email>). Inviate tutti i commenti, - suggerimenti e notifiche di errori al <ulink url="http://bugs.gnome.org" - type="http">GNOME bug tracking database</ulink>. (Le istruzioni per - riportare errori possono essere trovate <ulink - url="http://bugs.gnome.org/Reporting.html" type="http">on-line</ulink>. Se - state usando la versione di GNOME 1.1 o una più recente è possibile usare - anche il programma <application>bug-buddy</application> - (<command>bug-buddy</command>), che si trova nel sotto-menù - <guisubmenu>Utilità</guisubmenu> nel <guimenu>Menù Principale</guimenu>, - per riportare errori. - </para> - <para> - Questo manuale è stato scritto da Telsa Gywnne - (<email>telsa@linuxchix.org</email>) e Eric Baudais - (<email>baudais@okstate.edu</email>). Inviate tutti i commenti e i - suggerimenti riguardo questo manuale allo <ulink type="http" - url="http://www.gnome.org/gdp">GNOME Documentation Project</ulink> - mandando un email a <email>docs@gnome.org</email>. È possibile anche - spedire commenti on-line usando lo <ulink type="http" - url="http://www.gnome.org/gdp/doctable/">GNOME Documentation Status - Table</ulink>. - </para> - - <para> - La traduzione italiana è stata curata da Leandro Noferini - (<email>lnoferin@cybervalley.org</email>). Inviate tutti i commenti e - suggerimenti riguardo questa traduzione a - <email>gnome-i18n@lists.it.gnome.org</email>. - </para> - </sect2> - - <!-- ============= Application License ============================= --> - - <sect2 id="license"> - <title>Licenza</title> - <para> - This program is free software; you can redistribute it and/or - modify it under the terms of the <citetitle>GNU General Public - License</citetitle> as published by the Free Software Foundation; - either version 2 of the License, or (at your option) any later - version. - </para> - <para> - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - <citetitle>GNU General Public License</citetitle> for more details. - </para> - <para> - A copy of the <citetitle>GNU General Public License</citetitle> is - included as an appendix to the <citetitle>GNOME Users - Guide</citetitle>. You may also obtain a copy of the - <citetitle>GNU General Public License</citetitle> from the Free - Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to - <address> - Free Software Foundation, Inc. - <street>59 Temple Place</street> - Suite 330 - <city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode> - <country>USA</country> - </address> - </para> - </sect2> -</sect1> - - - - - - - diff --git a/multiload/docs/it/memload/memload_applet.sgml b/multiload/docs/it/memload/memload_applet.sgml deleted file mode 100644 index db427a5fe..000000000 --- a/multiload/docs/it/memload/memload_applet.sgml +++ /dev/null @@ -1,53 +0,0 @@ -<!DOCTYPE Article PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.0//EN"[ - <!entity memload.sgml SYSTEM "memload.sgml"> - -]> - -<article id="index" lang="it"> - - <artheader> - <title>Applet Carico Memoria</title> - <copyright> - <year>2000</year> - <holder>Telsa Gwynne and Eric Baudais</holder> - </copyright> - - <copyright> - <year>2000</year> - <holder>Leandro Noferini (Traduzione italiana)</holder> - </copyright> - - - - <legalnotice> - <para> - Permission is granted to copy, distribute and/or modify this - document under the terms of the <citetitle>GNU Free Documentation - License</citetitle>, Version 1.1 or any later version published - by the Free Software Foundation with no Invariant Sections, no - Front-Cover Texts, and no Back-Cover Texts. You may obtain a copy - of the <citetitle>GNU Free Documentation License</citetitle> from - the Free Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to: - Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - </para> - <para> - Many of the names used by companies to distinguish their products and - services are claimed as trademarks. Where those names appear in any - GNOME documentation, and those trademarks are made aware to the members - of the GNOME Documentation Project, the names have been printed in caps - or initial caps. - </para> - </legalnotice> - - <releaseinfo> - Questa è la versione 1.0 del manuale dell'Applet Carico Memoria - </releaseinfo> - </artheader> - - &memload.sgml; - -</article> - - diff --git a/multiload/docs/it/memload/topic.dat b/multiload/docs/it/memload/topic.dat deleted file mode 100644 index f489b200e..000000000 --- a/multiload/docs/it/memload/topic.dat +++ /dev/null @@ -1 +0,0 @@ -index.html Applet Carico Memoria diff --git a/multiload/docs/it/netload/.cvsignore b/multiload/docs/it/netload/.cvsignore deleted file mode 100644 index ceb5c2aaf..000000000 --- a/multiload/docs/it/netload/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -Makefile.in -Makefile -index.html -netload-applet diff --git a/multiload/docs/it/netload/Makefile.am b/multiload/docs/it/netload/Makefile.am deleted file mode 100644 index 7e6fc0aba..000000000 --- a/multiload/docs/it/netload/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -applet = netload -figs = \ - netload-applet-default.png\ - netload-applet-greyed.png\ - netload-applet-properties.png\ - netload-applet.png -lang = it -sgml_ents = $(applet).sgml -include $(top_srcdir)/applet-docs.make -dist-hook: applet-dist-hook diff --git a/multiload/docs/it/netload/netload-applet-default.png b/multiload/docs/it/netload/netload-applet-default.png Binary files differdeleted file mode 100644 index 25458e9eb..000000000 --- a/multiload/docs/it/netload/netload-applet-default.png +++ /dev/null diff --git a/multiload/docs/it/netload/netload-applet-greyed.png b/multiload/docs/it/netload/netload-applet-greyed.png Binary files differdeleted file mode 100644 index 274f92b15..000000000 --- a/multiload/docs/it/netload/netload-applet-greyed.png +++ /dev/null diff --git a/multiload/docs/it/netload/netload-applet-properties.png b/multiload/docs/it/netload/netload-applet-properties.png Binary files differdeleted file mode 100644 index c6dde3219..000000000 --- a/multiload/docs/it/netload/netload-applet-properties.png +++ /dev/null diff --git a/multiload/docs/it/netload/netload-applet.png b/multiload/docs/it/netload/netload-applet.png Binary files differdeleted file mode 100644 index bf93c987f..000000000 --- a/multiload/docs/it/netload/netload-applet.png +++ /dev/null diff --git a/multiload/docs/it/netload/netload-applet.sgml b/multiload/docs/it/netload/netload-applet.sgml deleted file mode 100644 index 6c1ed9770..000000000 --- a/multiload/docs/it/netload/netload-applet.sgml +++ /dev/null @@ -1,43 +0,0 @@ -<!DOCTYPE Article PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.0//EN"[ - <!entity netload.sgml SYSTEM "netload.sgml"> -]> - -<article id="index" lang="it"> - - <artheader> - <title>Net Load Applet</title> - <copyright> - <year>2000</year> - <holder>Telsa Gwynne and Eric Baudais</holder> - </copyright> - - <legalnotice> - <para> - Permission is granted to copy, distribute and/or modify this - document under the terms of the <citetitle>GNU Free Documentation - License</citetitle>, Version 1.1 or any later version published - by the Free Software Foundation with no Invariant Sections, no - Front-Cover Texts, and no Back-Cover Texts. You may obtain a copy - of the <citetitle>GNU Free Documentation License</citetitle> from - the Free Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to: - Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - </para> - <para> - Many of the names used by companies to distinguish their products and - services are claimed as trademarks. Where those names appear in any - GNOME documentation, and those trademarks are made aware to the members - of the GNOME Documentation Project, the names have been printed in caps - or initial caps. - </para> - </legalnotice> - - <releaseinfo> - Questa è la versione 1.0 del manuale dell'Applet NetLoad. - </releaseinfo> - </artheader> - - &netload.sgml; - -</article> diff --git a/multiload/docs/it/netload/netload.sgml b/multiload/docs/it/netload/netload.sgml deleted file mode 100644 index 044d5b206..000000000 --- a/multiload/docs/it/netload/netload.sgml +++ /dev/null @@ -1,331 +0,0 @@ -<!-- Permission is granted to make and distribute verbatim copies of --> -<!-- this manual provided the copyright notice and this permission --> -<!-- notice are preserved on all copies. --> -<!-- --> -<!-- Permission is granted to copy and distribute modified versions of --> -<!-- this manual under the conditions for verbatim copying, provided --> -<!-- that the entire resulting derived work is distributed under the --> -<!-- terms of a permission notice identical to this one. --> -<!-- --> -<!-- Permission is granted to copy and distribute translations of this --> -<!-- manual into another language, under the above conditions for --> -<!-- modified versions, except that this permission notice may be --> -<!-- stated in a translation approved by the Foundation. --> - - <sect1 id="netload-applet"> - <title>Applet NetLoad</title> - - <para> - L'applicazione <application>netload_applet</application> è una piccola - applet di controllo che si aggiunge ad un pannello e che mostra il carico - del traffico di rete sulle varie interfacce. - </para> - - - <sect2 id="netload-usage"> - <title>Uso</title> - <para> - Non c'è alcunché da fare con questa applet. Si aggiunge ad un pannello. Ci - sono molte opzioni per modificarne l'aspetto. - </para> - - <figure id="netload-applet-fig"> - <title>Applet NetLoad</title> - <screenshot> - <screeninfo>Applet NetLoad</screeninfo> - <graphic format="png" fileref="netload-applet" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - Mostra i dettagli per quattro diversi tipi di interfaccia di rete: - </para> - <variablelist> - <varlistentry> - <term>SLIP</term> - <listitem> - <para> - SLIP è il protocollo per linee seriali. Non viene più usato - comunemente essendo stato quasi ovunque rimpiazzato dal PPP ma - rimane pur sempre un modo per connettere un computer ad altre - macchine che era molto usato con i modem. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>PPP</term> - <listitem> - <para> - PPP sta per Point to Point Protocol e serve per connettere un - computer ad un altro. Ha largamente rimpiazzato il precedente - protocollo SLIP poiché è efficiente e flessibile ma non veloce come - l'Ethernet. È comunque il modo più comune per collegarsi ad Internet - da casa. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>ETH</term> - <listitem> - <para> - Ethernet è l'altro metodo per connettere macchine. Richiede una - scheda ethernet all'interno dei vari computer e del cavo ethernet - per connettere le varie macchine. È molto più veloce del PPP. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Other</term> - <listitem> - <para> - Sono disponibili altri sistemi di rete, come per esempio modi di - comunicazione via raggi infrarossi (IRDA), via radio di tipo - amatoriale (AX25) e reti token-ring. Tutto ciò che l'applet trova e - che non è né SLIP, né PPP né ethernet viene visualizzato come 'other'. - </para> - </listitem> - </varlistentry> - </variablelist> - - <para> - Se nel computer ci sono due interfacce di rete dello stesso tipo - contemporaneamente (ad esempio quando ci sono due schede di rete collegate - a macchine differenti) ciò che viene mostrato è la somma delle due poiché - l'applet non le divide in due parti. - </para> - </sect2> - - <sect2 id="netload-right-click"> - <title>Voci del menù del tasto destro</title> - <para> - Oltre alle voci del menù normale, il menù del tasto destro contiene anche - le seguenti: - </para> - - <!-- Solito errore già visto su cpuload --> - <variablelist> - <varlistentry> - <term>Proprietà...</term> - <listitem> - <para> - Con questo si apre la finestra di dialogo - <guilabel>multiload_applet</guilabel> <link - linkend="cpuload-properties">descritta più avanti</link> con la - quale si possono modificare le proprietà di default di questa e di - altre applet di controllo. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Proprietà...</term> - <listitem> - <para> - Questo apre la finestra di dialogo <guilabel>multiload_applet - dialogue box</guilabel> <link linkend="loadavg-properties">descritta più avanti</link> con cui si possono modificare solo le proprietà - dell'applet <application>netload_applet</application>. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Avvia gtop...</term> - <listitem> - <para> - Questa voce avvia il programma <command>gtop</command>, Monitor di - Sistema di GNOME. <application>gtop</application> offre un controllo - molto più dettagliato del sistema e cosa vi sta accadendo. - </para> - </listitem> - </varlistentry> - </variablelist> - </sect2> - - <sect2 id="netload-properties"> - <title>Proprietà</title> - - <figure id="netload-default-fig"> - <title>Finestra di dialogo delle Proprietà Predefinite</title> - <screenshot> - <screeninfo>Finestra di dialogo delle Proprietà Predefinite dell'Applet - NetLoad</screeninfo> - <graphic format="png" fileref="netload-applet-default" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - Come in molte altre applet di controllo, in - <application>netload_applet</application> ci sono due modi per selezionare - le proprietà. Si può cambiare contemporaneamente tutte le applet che - appartengono a questo gruppo (<application>cpuload_applet</application>, - <application>loadavg_applet</application>, - <application>swapload_applet</application>, - <application>memload_applet</application> e - <application>cpuload_applet</application>) in una sola grande finestra di - dialogo. Può essere utile nel caso si usino una o più di queste applet e - queste proprietà vengono usate di default. Per arrivarci si deve cliccare - sulla voce <guimenuitem>Proprietà...</guimenuitem> del menù. - </para> - - <figure id="netload-greyed-fig"> - <title>Finestra di dialogo specifica dell'Applet NetLoad</title> - <screenshot> - <screeninfo>Finestra di dialogo specifica dell'Applet NetLoad</screeninfo> - <graphic format="png" fileref="netload-applet-greyed" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - Oppure è possibile modificare solo le proprietà dell'applet - <application>netload_applet</application>. Può essere utile se viene usata - soltanto <application>netload_applet</application> oppure se si vogliono - provare nuove combinazioni. Per arrivarci si deve cliccare sulla voce - <guimenuitem>Proprietà</guimenuitem> del menù. - </para> - <note> - <para> - Se si usa la voce <guimenuitem>Proprietà...</guimenuitem> e si - modificano le proprietà solo per questa applet è necessario - deselezionare il bottone <guibutton>Utilizza impostazioni - predefinite</guibutton> prima di poter modificare le impostazioni. - </para> - </note> - - <figure id="netload-properties-fig"> - <title>Finestra di dialogo delle Proprietà dell'Applet NetLoad</title> - <screenshot> - <screeninfo>Finestra di dialogo delle Proprietà dell'Applet - NetLoad</screeninfo> - <graphic format="png" fileref="netload-applet-properties" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - I cambiamenti possibili sono tre: - </para> - - <variablelist> - <varlistentry> - <term>Colori</term> - <listitem> - <para> - Si possono modificare i colori usati per le differenti interfacce di - rete cliccando sui bottoni con i colori; apparirà così la finestra - di dialogo dei colori di GNOME. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Velocità</term> - <listitem> - <para> - Si può modificare la velocità con cui procede il grafico misurato in - millisecondi. Il valore predefinito è 500. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Dimensione</term> - <listitem> - <para> - Si può così modificare la dimensione dell'applet. L'unità di misura - è il pixel. Il valore predefinito è 40 e si può variare da 1 pixel a - piacere. Nei pannelli verticali il valore si riferisce all'altezza, - in quelli orizzontali la larghezza. - </para> - </listitem> - </varlistentry> - </variablelist> - </sect2> - - <sect2 id="netload-bugs"> - <title>Errori conosciuti e Limitazioni</title> - <para> - Ridimensionando e modificando l'orientamento del pannello può provocare - problemi intermittenti che dovrebbero però stabilizzarsi rapidamente. - </para> - </sect2> - - <sect2 id="netload-authors"> - <title>Autori</title> - <para> - Questa applet è stata scritta da Martin Baulig - (<email>martin@home-of-linux.org</email>). Inviate tutti i commenti, - suggerimenti e notifiche di errori al <ulink url="http://bugs.gnome.org" - type="http">GNOME bug tracking database</ulink>. (Le istruzioni per - riportare errori possono essere trovate <ulink - url="http://bugs.gnome.org/Reporting.html" type="http">on-line</ulink>. Se - state usando la versione di GNOME 1.1 o una più recente è possibile usare - anche il programma <application>bug-buddy</application> - (<command>bug-buddy</command>), che si trova nel sotto-menù - <guisubmenu>Utilità</guisubmenu> nel <guimenu>Menù Principale</guimenu>, - per riportare errori. - </para> - <para> - Questo manuale è stato scritto da Telsa Gywnne - (<email>telsa@linuxchix.org</email>) e Eric Baudais - (<email>baudais@okstate.edu</email>). Inviate tutti i commenti e i - suggerimenti riguardo questo manuale allo <ulink type="http" - url="http://www.gnome.org/gdp">GNOME Documentation Project</ulink> - mandando un email a <email>docs@gnome.org</email>. È possibile anche - spedire commenti on-line usando lo <ulink type="http" - url="http://www.gnome.org/gdp/doctable/">GNOME Documentation Status - Table</ulink>. - </para> - - <para> - La traduzione italiana è stata curata da Leandro Noferini - (<email>lnoferin@cybervalley.org</email>). Inviate tutti i commenti e - suggerimenti riguardo questa traduzione a - <email>gnome-i18n@lists.it.gnome.org</email>. - </para> - </sect2> - - <!-- ============= Application License ============================= --> - - <sect2 id="license"> - <title>Licenza</title> - <para> - This program is free software; you can redistribute it and/or - modify it under the terms of the <citetitle>GNU General Public - License</citetitle> as published by the Free Software Foundation; - either version 2 of the License, or (at your option) any later - version. - </para> - <para> - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - <citetitle>GNU General Public License</citetitle> for more details. - </para> - <para> - A copy of the <citetitle>GNU General Public License</citetitle> is - included as an appendix to the <citetitle>GNOME Users - Guide</citetitle>. You may also obtain a copy of the - <citetitle>GNU General Public License</citetitle> from the Free - Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to - <address> - Free Software Foundation, Inc. - <street>59 Temple Place</street> - Suite 330 - <city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode> - <country>USA</country> - </address> - </para> - </sect2> -</sect1> - - diff --git a/multiload/docs/it/netload/netload_applet.sgml b/multiload/docs/it/netload/netload_applet.sgml deleted file mode 100644 index 6c1ed9770..000000000 --- a/multiload/docs/it/netload/netload_applet.sgml +++ /dev/null @@ -1,43 +0,0 @@ -<!DOCTYPE Article PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.0//EN"[ - <!entity netload.sgml SYSTEM "netload.sgml"> -]> - -<article id="index" lang="it"> - - <artheader> - <title>Net Load Applet</title> - <copyright> - <year>2000</year> - <holder>Telsa Gwynne and Eric Baudais</holder> - </copyright> - - <legalnotice> - <para> - Permission is granted to copy, distribute and/or modify this - document under the terms of the <citetitle>GNU Free Documentation - License</citetitle>, Version 1.1 or any later version published - by the Free Software Foundation with no Invariant Sections, no - Front-Cover Texts, and no Back-Cover Texts. You may obtain a copy - of the <citetitle>GNU Free Documentation License</citetitle> from - the Free Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to: - Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - </para> - <para> - Many of the names used by companies to distinguish their products and - services are claimed as trademarks. Where those names appear in any - GNOME documentation, and those trademarks are made aware to the members - of the GNOME Documentation Project, the names have been printed in caps - or initial caps. - </para> - </legalnotice> - - <releaseinfo> - Questa è la versione 1.0 del manuale dell'Applet NetLoad. - </releaseinfo> - </artheader> - - &netload.sgml; - -</article> diff --git a/multiload/docs/it/netload/topic.dat b/multiload/docs/it/netload/topic.dat deleted file mode 100644 index 21f441811..000000000 --- a/multiload/docs/it/netload/topic.dat +++ /dev/null @@ -1 +0,0 @@ -index.html Applet NetLoad
\ No newline at end of file diff --git a/multiload/docs/it/swapload/.cvsignore b/multiload/docs/it/swapload/.cvsignore deleted file mode 100644 index ab62b1f8c..000000000 --- a/multiload/docs/it/swapload/.cvsignore +++ /dev/null @@ -1,4 +0,0 @@ -Makefile.in -Makefile -index.html -swapload-applet diff --git a/multiload/docs/it/swapload/Makefile.am b/multiload/docs/it/swapload/Makefile.am deleted file mode 100644 index 5793b079c..000000000 --- a/multiload/docs/it/swapload/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -applet = swapload -figs = \ - swapload-applet-default.png\ - swapload-applet-greyed.png\ - swapload-applet-properties.png\ - swapload-applet.png -lang = it -sgml_ents = $(applet).sgml -include $(top_srcdir)/applet-docs.make -dist-hook: applet-dist-hook diff --git a/multiload/docs/it/swapload/swapload-applet-default.png b/multiload/docs/it/swapload/swapload-applet-default.png Binary files differdeleted file mode 100644 index 4e40efe65..000000000 --- a/multiload/docs/it/swapload/swapload-applet-default.png +++ /dev/null diff --git a/multiload/docs/it/swapload/swapload-applet-greyed.png b/multiload/docs/it/swapload/swapload-applet-greyed.png Binary files differdeleted file mode 100644 index e4224a3f2..000000000 --- a/multiload/docs/it/swapload/swapload-applet-greyed.png +++ /dev/null diff --git a/multiload/docs/it/swapload/swapload-applet-properties.png b/multiload/docs/it/swapload/swapload-applet-properties.png Binary files differdeleted file mode 100644 index 192cbb764..000000000 --- a/multiload/docs/it/swapload/swapload-applet-properties.png +++ /dev/null diff --git a/multiload/docs/it/swapload/swapload-applet.png b/multiload/docs/it/swapload/swapload-applet.png Binary files differdeleted file mode 100644 index 1bbf19b08..000000000 --- a/multiload/docs/it/swapload/swapload-applet.png +++ /dev/null diff --git a/multiload/docs/it/swapload/swapload-applet.sgml b/multiload/docs/it/swapload/swapload-applet.sgml deleted file mode 100644 index 33672075f..000000000 --- a/multiload/docs/it/swapload/swapload-applet.sgml +++ /dev/null @@ -1,48 +0,0 @@ -<!DOCTYPE Article PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.0//EN"[ - <!entity swapload.sgml SYSTEM "swapload.sgml"> -]> - -<article id="index" lang="it" - - <artheader> - <title>Swap Load Applet</title> - <copyright> - <year>2000</year> - <holder>Telsa Gwynne and Eric Baudais</holder> - </copyright> - - <legalnotice> - <para> - Permission is granted to copy, distribute and/or modify this - document under the terms of the <citetitle>GNU Free Documentation - License</citetitle>, Version 1.1 or any later version published - by the Free Software Foundation with no Invariant Sections, no - Front-Cover Texts, and no Back-Cover Texts. You may obtain a copy - of the <citetitle>GNU Free Documentation License</citetitle> from - the Free Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to: - Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - </para> - <para> - Many of the names used by companies to distinguish their products and - services are claimed as trademarks. Where those names appear in any - GNOME documentation, and those trademarks are made aware to the members - of the GNOME Documentation Project, the names have been printed in caps - or initial caps. - </para> - </legalnotice> - - <releaseinfo> - Questa è la verione 1.0 del manuale dell'applet Carico dello swap. - </releaseinfo> - </artheader> - - &swapload.sgml; - -</article> - - - - - diff --git a/multiload/docs/it/swapload/swapload.sgml b/multiload/docs/it/swapload/swapload.sgml deleted file mode 100644 index 4132bbf99..000000000 --- a/multiload/docs/it/swapload/swapload.sgml +++ /dev/null @@ -1,289 +0,0 @@ -<!-- Permission is granted to make and distribute verbatim copies of --> -<!-- this manual provided the copyright notice and this permission --> -<!-- notice are preserved on all copies. --> -<!-- --> -<!-- Permission is granted to copy and distribute modified versions of --> -<!-- this manual under the conditions for verbatim copying, provided --> -<!-- that the entire resulting derived work is distributed under the --> -<!-- terms of a permission notice identical to this one. --> -<!-- --> -<!-- Permission is granted to copy and distribute translations of this --> -<!-- manual into another language, under the above conditions for --> -<!-- modified versions, except that this permission notice may be --> -<!-- stated in a translation approved by the Foundation. --> - -<sect1 id="swapload-applet"> - <title> - Applet Carico dello Swap - </title> - - <para> - L'applicazione <application>swapload_applet</application> è una piccola - applet di controllo che si aggiunge ad un pannello e che mostra quanto swap - è correntemente occupato. - </para> - - <para> - Lo swap è una parte dell'hard disk che non fa parte del file system. Quando - il kernel stabilisce che un programma in memoria non viene usato molto ma - che potrebbe essere usato entro poco, il kernel sposta parte del programma - dalla memoria nello swap, da dove può essere facilmente recuperato. Spostare - i dati fra la memoria e lo swap può essere un processo lento così se si sta - usando una grossa parte dello swap può far verificare un generale - rallentamento del computer. - </para> - - <sect2 id="swapload-usage"> - <title>Uso</title> - <para> - Non c'è alcunché da fare con questa applet. Si aggiunge ad un pannello. Ci - sono molte opzioni per modificarne l'aspetto. - </para> - - <figure id="cpuload-applet-fig"> - <title>Applet Carico dello Swap</title> - <screenshot> - <screeninfo>Applet Carico dello Swap</screeninfo> - <graphic format="png" fileref="swapload-applet" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - </sect2> - - <sect2 id="swapload-right-click"> - <title>Voci del menù del tasto destro</title> - <para> - Oltre alle voci del menù normale, il menù del tasto destro contiene anche - le seguenti: - </para> - - <!-- Solito errore già visto su cpuload --> - <variablelist> - <varlistentry> - <term>Proprietà...</term> - <listitem> - <para> - Con questo si apre la finestra di dialogo - <guilabel>multiload_applet</guilabel> <link - linkend="cpuload-properties">descritta più avanti</link> con la - quale si possono modificare le proprietà di default di questa e di - altre applet di controllo. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Proprietà...</term> - <listitem> - <para> - Questo apre la finestra di dialogo <guilabel>multiload_applet - dialogue box</guilabel> <link linkend="loadavg-properties">descritta più avanti</link> con cui si possono modificare solo le proprietà - dell'applet <application>swapload_applet</application>. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Avvia gtop...</term> - <listitem> - <para> - Questa voce avvia il programma <command>gtop</command>, Monitor di - Sistema di GNOME. <application>gtop</application> offre un controllo - molto più dettagliato del sistema e cosa vi sta accadendo. - </para> - </listitem> - </varlistentry> - </variablelist> - </sect2> - - <sect2 id="swapload-properties"> - <title>Proprietà</title> - - <figure id="netload-default-fig"> - <title>Finestra di dialogo delle Proprietà Predefinite</title> - <screenshot> - <screeninfo>Finestra di dialogo delle Proprietà Predefinite dell'Applet - Carico dello swap</screeninfo> - <graphic format="png" fileref="swapload-applet-default" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - Come in molte altre applet di controllo, in - <application>swapload_applet</application> ci sono due modi per selezionare - le proprietà. Si può cambiare contemporaneamente tutte le applet che - appartengono a questo gruppo (<application>cpuload_applet</application>, - <application>loadavg_applet</application>, - <application>netload_applet</application>, - <application>memload_applet</application> e - <application>cpuload_applet</application>) in una sola grande finestra di - dialogo. Può essere utile nel caso si usino una o più di queste applet e - queste proprietà vengono usate di default. Per arrivarci si deve cliccare - sulla voce <guimenuitem>Proprietà...</guimenuitem> del menù. - </para> - - <figure id="swapload-greyed-fig"> - <title>Finestra di dialogo specifica dell'Applet Carico dello swap</title> - <screenshot> - <screeninfo>Finestra di dialogo specifica dell'Applet Carico dello - swap</screeninfo> - <graphic format="png" fileref="swapload-applet-greyed" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - Oppure è possibile modificare solo le proprietà - <application>swapload_applet</application>. Può essere utile se viene usata - soltanto <application>swapload_applet</application> oppure se si vogliono - provare nuove combinazioni. Per arrivarci si deve cliccare sulla voce - <guimenuitem>Proprietà</guimenuitem> del menù. - </para> - <note> - <para> - Se si usa la voce <guimenuitem>Proprietà...</guimenuitem> e si - modificano le proprietà solo per questa applet è necessario - deselezionare il bottone <guibutton>Utilizza impostazioni - predefinite</guibutton> prima di poter modificare le impostazioni. - </para> - </note> - - <figure id="swapload-properties-fig"> - <title>Finestra di dialogo delle Proprietà dell'Applet Carico dello - swap</title> - <screenshot> - <screeninfo>Finestra di dialogo delle Proprietà dell'Applet Carico dello - swap</screeninfo> - <graphic format="png" fileref="swapload-applet-properties" - srccredit="Eric Baudais"> - </graphic> - </screenshot> - </figure> - - <para> - I cambiamenti possibili alle proprietà sono tre: - </para> - - <variablelist> - <varlistentry> - <term>Colori</term> - <listitem> - <para> - Si possono modificare i colori usati per lo swap in uso e quello - libero cliccando ai mottoni con i colori; apparirà così la finestra - di dialogo dei colori di GNOME. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Velocità</term> - <listitem> - <para> - Si può modificare la velocità con cui procede il grafico misurato in - millisecondi. Il valore predefinito è 500. - </para> - </listitem> - </varlistentry> - - <varlistentry> - <term>Dimensione</term> - <listitem> - <para> - Si può così modificare la dimensione dell'applet. L'unità di misura - è il pixel. Il valore predefinito è 40 e si può variare da 1 pixel a - piacere. Nei pannelli verticali il valore si riferisce all'altezza, - in quelli orizzontali la larghezza. - </para> - </listitem> - </varlistentry> - </variablelist> - </sect2> - - <sect2 id="swapload-bugs"> - <title>Errori conosciuti e Limitazioni</title> - <para> - Ridimensionando e modificando l'orientamento del pannello può provocare - problemi intermittenti che dovrebbero però stabilizzarsi rapidamente. - </para> - </sect2> - - <sect2 id="netload-authors"> - <title>Autori</title> - <para> - Questa applet è stata scritta da Martin Baulig - (<email>martin@home-of-linux.org</email>). Inviate tutti i commenti, - suggerimenti e notifiche di errori al <ulink url="http://bugs.gnome.org" - type="http">GNOME bug tracking database</ulink>. (Le istruzioni per - riportare errori possono essere trovate <ulink - url="http://bugs.gnome.org/Reporting.html" type="http">on-line</ulink>. Se - state usando la versione di GNOME 1.1 o una più recente è possibile usare - anche il programma <application>bug-buddy</application> - (<command>bug-buddy</command>), che si trova nel sotto-menù - <guisubmenu>Utilità</guisubmenu> nel <guimenu>Menù Principale</guimenu>, - per riportare errori. - </para> - <para> - Questo manuale è stato scritto da Telsa Gywnne - (<email>telsa@linuxchix.org</email>) e Eric Baudais - (<email>baudais@okstate.edu</email>). Inviate tutti i commenti e i - suggerimenti riguardo questo manuale allo <ulink type="http" - url="http://www.gnome.org/gdp">GNOME Documentation Project</ulink> - mandando un email a <email>docs@gnome.org</email>. È possibile anche - spedire commenti on-line usando lo <ulink type="http" - url="http://www.gnome.org/gdp/doctable/">GNOME Documentation Status - Table</ulink>. - </para> - - <para> - La traduzione italiana è stata curata da Leandro Noferini - (<email>lnoferin@cybervalley.org</email>). Inviate tutti i commenti e - suggerimenti riguardo questa traduzione a - <email>gnome-i18n@lists.it.gnome.org</email>. - </para> - </sect2> - - <!-- ============= Application License ============================= --> - - <sect2 id="license"> - <title>Licenza</title> - <para> - This program is free software; you can redistribute it and/or - modify it under the terms of the <citetitle>GNU General Public - License</citetitle> as published by the Free Software Foundation; - either version 2 of the License, or (at your option) any later - version. - </para> - <para> - This program is distributed in the hope that it will be useful, but - WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - <citetitle>GNU General Public License</citetitle> for more details. - </para> - <para> - A copy of the <citetitle>GNU General Public License</citetitle> is - included as an appendix to the <citetitle>GNOME Users - Guide</citetitle>. You may also obtain a copy of the - <citetitle>GNU General Public License</citetitle> from the Free - Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to - <address> - Free Software Foundation, Inc. - <street>59 Temple Place</street> - Suite 330 - <city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode> - <country>USA</country> - </address> - </para> - </sect2> -</sect1> - - - - - - diff --git a/multiload/docs/it/swapload/swapload_applet.sgml b/multiload/docs/it/swapload/swapload_applet.sgml deleted file mode 100644 index 33672075f..000000000 --- a/multiload/docs/it/swapload/swapload_applet.sgml +++ /dev/null @@ -1,48 +0,0 @@ -<!DOCTYPE Article PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.0//EN"[ - <!entity swapload.sgml SYSTEM "swapload.sgml"> -]> - -<article id="index" lang="it" - - <artheader> - <title>Swap Load Applet</title> - <copyright> - <year>2000</year> - <holder>Telsa Gwynne and Eric Baudais</holder> - </copyright> - - <legalnotice> - <para> - Permission is granted to copy, distribute and/or modify this - document under the terms of the <citetitle>GNU Free Documentation - License</citetitle>, Version 1.1 or any later version published - by the Free Software Foundation with no Invariant Sections, no - Front-Cover Texts, and no Back-Cover Texts. You may obtain a copy - of the <citetitle>GNU Free Documentation License</citetitle> from - the Free Software Foundation by visiting <ulink type="http" - url="http://www.fsf.org">their Web site</ulink> or by writing to: - Free Software Foundation, Inc., 59 Temple Place - Suite 330, - Boston, MA 02111-1307, USA. - </para> - <para> - Many of the names used by companies to distinguish their products and - services are claimed as trademarks. Where those names appear in any - GNOME documentation, and those trademarks are made aware to the members - of the GNOME Documentation Project, the names have been printed in caps - or initial caps. - </para> - </legalnotice> - - <releaseinfo> - Questa è la verione 1.0 del manuale dell'applet Carico dello swap. - </releaseinfo> - </artheader> - - &swapload.sgml; - -</article> - - - - - diff --git a/multiload/docs/it/swapload/topic.dat b/multiload/docs/it/swapload/topic.dat deleted file mode 100644 index bc9695240..000000000 --- a/multiload/docs/it/swapload/topic.dat +++ /dev/null @@ -1 +0,0 @@ -index.html Applet Carico dello swap diff --git a/multiload/global.h b/multiload/global.h deleted file mode 100644 index 3a031309a..000000000 --- a/multiload/global.h +++ /dev/null @@ -1,59 +0,0 @@ -#ifndef __GLOBAL_H__ -#define __GLOBAL_H__ - -#include <config.h> -#include <gnome.h> -#include <applet-widget.h> - -#include <local-properties.h> -#include <load-graph.h> - -#include <linux-proc.h> - -BEGIN_GNOME_DECLS - -/* start a new instance of the cpuload applet */ -GtkWidget * -make_cpuload_applet (const gchar *goad_id); - -/* start a new instance of the memload applet */ -GtkWidget * -make_memload_applet (const gchar *goad_id); - -/* start a new instance of the swapload applet */ -GtkWidget * -make_swapload_applet (const gchar *goad_id); - -/* start a new instance of the netload applet */ -GtkWidget * -make_netload_applet (const gchar *goad_id); - -/* start a new instance of the loadavg applet */ -GtkWidget * -make_loadavg_applet (const gchar *goad_id); - -/* show default properties dialog. */ -void -multiload_properties_cb (AppletWidget *widget, gpointer data); - -/* show local properties dialog. */ -void -multiload_local_properties_cb (AppletWidget *widget, gpointer data); - -/* run gtop */ -void -start_gtop_cb (AppletWidget *widget, gpointer data); - -/* show help */ -void -multiload_help_cb (AppletWidget *widget, gpointer data); - -/* Load graph properties descriptor. */ -extern GnomePropertyDescriptor LoadGraphProperty_Descriptor; - -/* Load graph local properties descriptor. */ -extern GnomePropertyDescriptor LoadGraphLocalProperty_Descriptor; - -END_GNOME_DECLS - -#endif diff --git a/multiload/gnome-cpu.png b/multiload/gnome-cpu.png Binary files differdeleted file mode 100644 index 8578ee52b..000000000 --- a/multiload/gnome-cpu.png +++ /dev/null diff --git a/multiload/gnome-mem.png b/multiload/gnome-mem.png Binary files differdeleted file mode 100644 index 65b5570c8..000000000 --- a/multiload/gnome-mem.png +++ /dev/null diff --git a/multiload/linux-proc.c b/multiload/linux-proc.c deleted file mode 100644 index 821570573..000000000 --- a/multiload/linux-proc.c +++ /dev/null @@ -1,291 +0,0 @@ -/* From wmload.c, v0.9.2, licensed under the GPL. */ -#include <config.h> -#include <sys/types.h> -#include <math.h> -#include <fcntl.h> -#include <unistd.h> -#include <assert.h> - -#include <glibtop.h> -#include <glibtop/cpu.h> -#include <glibtop/mem.h> -#include <glibtop/swap.h> -#include <glibtop/loadavg.h> - -#include "linux-proc.h" - -static unsigned needed_cpu_flags = -(1 << GLIBTOP_CPU_USER) + -(1 << GLIBTOP_CPU_IDLE); - -static unsigned needed_mem_flags = -(1 << GLIBTOP_MEM_USED) + -(1 << GLIBTOP_MEM_FREE); - -static unsigned needed_swap_flags = 0; - -static unsigned needed_loadavg_flags = -(1 << GLIBTOP_LOADAVG_LOADAVG); - -void -GetLoad (int Maximum, int data [4], LoadGraph *g) -{ - int usr, nice, sys, free; - int total; - - glibtop_cpu cpu; - - glibtop_get_cpu (&cpu); - - assert ((cpu.flags & needed_cpu_flags) == needed_cpu_flags); - - g->cpu_time [0] = cpu.user; - g->cpu_time [1] = cpu.nice; - g->cpu_time [2] = cpu.sys; - g->cpu_time [3] = cpu.idle; - - if (!g->cpu_initialized) { - memcpy (g->cpu_last, g->cpu_time, sizeof (g->cpu_last)); - g->cpu_initialized = 1; - } - - usr = g->cpu_time [0] - g->cpu_last [0]; - nice = g->cpu_time [1] - g->cpu_last [1]; - sys = g->cpu_time [2] - g->cpu_last [2]; - free = g->cpu_time [3] - g->cpu_last [3]; - - total = usr + nice + sys + free; - - g->cpu_last [0] = g->cpu_time [0]; - g->cpu_last [1] = g->cpu_time [1]; - g->cpu_last [2] = g->cpu_time [2]; - g->cpu_last [3] = g->cpu_time [3]; - - if (!total) total = Maximum; - - usr = rint (Maximum * (float)(usr) / total); - nice = rint (Maximum * (float)(nice) / total); - sys = rint (Maximum * (float)(sys) / total); - free = rint (Maximum * (float)(free) / total); - - data [0] = usr; - data [1] = sys; - data [2] = nice; - data [3] = free; -} - -void -GetMemory (int Maximum, int data [4], LoadGraph *g) -{ - int user, shared, buffer, free; - - glibtop_mem mem; - - glibtop_get_mem (&mem); - - assert ((mem.flags & needed_mem_flags) == needed_mem_flags); - - user = mem.used - mem.buffer - mem.shared; - - user = rint (Maximum * (float)user / mem.total); - shared = rint (Maximum * (float)mem.shared / mem.total); - buffer = rint (Maximum * (float)mem.buffer / mem.total); - free = rint (Maximum * (float)mem.free / mem.total); - - data [0] = user; - data [1] = shared; - data [2] = buffer; - data [3] = free; -} - -void -GetSwap (int Maximum, int data [2], LoadGraph *g) -{ - int used, free; - - glibtop_swap swap; - - glibtop_get_swap (&swap); - - assert ((swap.flags & needed_swap_flags) == needed_swap_flags); - - swap.total = swap.free + swap.used; - - if (swap.total == 0) { /* Avoid division by zero */ - used = free = 0; - return; - } - - used = rint (Maximum * (float)swap.used / swap.total); - free = rint (Maximum * (float)swap.free / swap.total); - - data [0] = used; - data [1] = free; -} - -void -GetLoadAvg (int Maximum, int data [2], LoadGraph *g) -{ - float used, free; - float max_loadavg = 10.0; - int index; - - glibtop_loadavg loadavg; - - glibtop_get_loadavg (&loadavg); - - assert ((loadavg.flags & needed_loadavg_flags) == needed_loadavg_flags); - - switch (g->prop_data->loadavg_type) { - case LOADAVG_1: - index = 0; - break; - case LOADAVG_5: - index = 1; - break; - case LOADAVG_15: - index = 2; - break; - default: - g_assert_not_reached (); - return; - } - - if (g->prop_data_ptr->adj_data [2]) - max_loadavg = (float) g->prop_data_ptr->adj_data [2]; - - if (loadavg.loadavg [index] > max_loadavg) - loadavg.loadavg [index] = max_loadavg; - - used = (loadavg.loadavg [index]) / max_loadavg; - free = (max_loadavg - loadavg.loadavg [index]) / max_loadavg; - - data [0] = rint ((float) Maximum * used); - data [1] = rint ((float) Maximum * free); -} - -void -GetNet (int Maximum, int data [4], LoadGraph *g) -{ -#define SLIP_COUNT 0 -#define PPP_COUNT 1 -#define ETH_COUNT 2 -#define OTHER_COUNT 3 -#define COUNT_TYPES 4 - int fields[4], present[COUNT_TYPES], delta[COUNT_TYPES], i; - static int ticks, past[COUNT_TYPES]; - static char *netdevfmt; - char *cp, buffer[256]; - int found = 0; - FILE *fp; - - /* - * We use the maximum number of bits we've seen come through to scale - * the deltas; thus, the load meter is more like a bandwidth-saturation - * meter. Ideally, we'd like to initialize max to the user's link speed - * in bytes/sec. If it's set too low, the spikes in the first part of - * the loadmeter will be too high until we find the maximum burst - * throughput. If it's set too high, the spikes will be permanently - * too small. We set it a bit below what a 14.4 running SLIP can do. - */ - static int max = 500; - - if (!netdevfmt) - { - FILE *fp = popen("uname -r", "r"); /* still wins if /proc isn't */ - - /* pre-linux-2.2 format -- transmit packet count in 8th field */ - netdevfmt = "%d %d %*d %*d %*d %d %*d %d %*d %*d %*d %*d %d"; - - if (!fp) - return; - else - { - int major, minor; - - if (fscanf(fp, "%d.%d.%*d", &major, &minor) != 2) - { - pclose(fp); - return; - } - - if (major >= 2 && minor >= 2) - /* Linux 2.2 -- transmit packet count in 10th field */ - netdevfmt = "%d %d %*d %*d %*d %d %*d %*d %*d %*d %d %*d %d"; - pclose(fp); - } - } - - fp = fopen("/proc/net/dev", "r"); - if (!fp) - return; - - memset(present, '0', sizeof(present)); - - while (fgets(buffer, sizeof(buffer) - 1, fp)) - { - int *resp; - - for (cp = buffer; *cp == ' '; cp++) - continue; - - resp = present + OTHER_COUNT; - switch (cp[0]) { - case 'l': - if (cp[1] == 'o') - continue; - break; - case 's': - if (!strncmp (cp+1, "lip", 3)) - resp = present + SLIP_COUNT; - break; - case 'p': - if (!strncmp (cp+1, "pp", 2)) - resp = present + PPP_COUNT; - break; - case 'e': - if (!strncmp (cp+1, "th", 2)) - resp = present + ETH_COUNT; - break; - } - - if ((cp = strchr(buffer, ':'))) - { - cp++; - if (sscanf(cp, netdevfmt, - fields, fields+1, fields+2, - fields+3,&found)>4) - *resp += fields[0] + fields[2]; - } - } - - fclose(fp); - - memset(data, '\0', sizeof(data)); - if (ticks++ > 0) /* avoid initial spike */ - { - int total = 0; - - for (i = 0; i < COUNT_TYPES; i++) - { - delta[i] = (present[i] - past[i]); - total += delta[i]; - } - if (total > max) - max = total; - for (i = 0; i < COUNT_TYPES; i++) - data[i] = rint (Maximum * (float)delta[i] / max); - -#if 0 - printf("dSLIP: %9d dPPP: %9d dOther: %9d, max: %9d\n", - delta[SLIP_COUNT], delta[PPP_COUNT], delta[OTHER_COUNT], max); - - printf("vSLIP: %9d vPPP: %9d vOther: %9d, Maximum: %9d\n", - data[0], data[1], data[2], Maximum); -#endif - } - memcpy(past, present, sizeof(present)); -} - - - diff --git a/multiload/linux-proc.h b/multiload/linux-proc.h deleted file mode 100644 index ad98607ba..000000000 --- a/multiload/linux-proc.h +++ /dev/null @@ -1,12 +0,0 @@ -#ifndef LINUX_PROC_H__ -#define LINUX_PROC_H__ - -#include <load-graph.h> - -void GetLoad (int Maximum, int data [4], LoadGraph *g); -void GetMemory (int Maximum, int data [4], LoadGraph *g); -void GetSwap (int Maximum, int data [2], LoadGraph *g); -void GetLoadAvg (int Maximum, int data [2], LoadGraph *g); -void GetNet (int Maximum, int data [3], LoadGraph *g); - -#endif diff --git a/multiload/load-graph.c b/multiload/load-graph.c deleted file mode 100644 index a8677b242..000000000 --- a/multiload/load-graph.c +++ /dev/null @@ -1,899 +0,0 @@ -#include <config.h> -#include <stdio.h> -#include <sys/stat.h> -#include <unistd.h> -#include <signal.h> -#include <dirent.h> -#include <string.h> -#include <time.h> -#include <config.h> -#include <gnome.h> -#include <gdk/gdkx.h> -#include <applet-widget.h> - -#include "global.h" - -static GtkWidget *load_graph_properties_init (GnomePropertyObject *object); -static void load_graph_properties_changed (GnomePropertyObject *object); -static void load_graph_properties_update (GnomePropertyObject *object); -static void load_graph_properties_load (GnomePropertyObject *object); -static void load_graph_properties_save (GnomePropertyObject *object); - -static GList *object_list = NULL; - -typedef struct _RadioButtonCbData RadioButtonCbData; - -struct _RadioButtonCbData -{ - GnomePropertyObject *object; - GtkWidget *button, *color_frame, *data_frame; - gint index; -}; - -GnomePropertyDescriptor LoadGraphProperty_Descriptor = { - sizeof (LoadGraphProperties), - N_("Load Graph"), - load_graph_properties_init, - NULL, - load_graph_properties_update, - load_graph_properties_load, - load_graph_properties_save, - NULL, NULL, NULL, - load_graph_properties_changed, - NULL -}; - -static GtkWidget *load_graph_local_properties_init (GnomePropertyObject *object); -static void load_graph_local_properties_changed (GnomePropertyObject *object); -static void load_graph_local_properties_update (GnomePropertyObject *object); -static void load_graph_local_properties_save (GnomePropertyObject *object); - -GnomePropertyDescriptor LoadGraphLocalProperty_Descriptor = { - sizeof (LoadGraphProperties), - N_("Load Graph"), - load_graph_local_properties_init, - NULL, - load_graph_local_properties_update, - NULL, - load_graph_local_properties_save, - NULL, NULL, NULL, - load_graph_local_properties_changed, - NULL -}; - -/* Redraws the backing pixmap for the load graph and updates the window */ -static void -load_graph_draw (LoadGraph *g) -{ - guint i, j; - - /* we might get called before the configure event so that - * g->disp->allocation may not have the correct size - * (after the user resized the applet in the prop dialog). */ - - if (!g->pixmap) - g->pixmap = gdk_pixmap_new (g->disp->window, - g->draw_width, g->draw_height, - gtk_widget_get_visual (g->disp)->depth); - - /* Create GC if necessary. */ - if (!g->gc) { - g->gc = gdk_gc_new (g->disp->window); - gdk_gc_copy (g->gc, g->disp->style->white_gc); - } - - /* Allocate colors. */ - if (!g->colors_allocated) { - GdkColormap *colormap; - - colormap = gdk_window_get_colormap (g->disp->window); - for (i = 0; i < g->n; i++) { - g->colors [i] = g->prop_data_ptr->colors [i]; - gdk_color_alloc (colormap, &(g->colors [i])); - } - - g->colors_allocated = 1; - } - - /* Erase Rectangle */ - gdk_draw_rectangle (g->pixmap, - g->disp->style->black_gc, - TRUE, 0, 0, - g->disp->allocation.width, - g->disp->allocation.height); - - for (i = 0; i < g->draw_width; i++) - g->pos [i] = g->draw_height; - - for (j = 0; j < g->n; j++) { - gdk_gc_set_foreground (g->gc, &(g->colors [j])); - - for (i = 0; i < g->draw_width; i++) { - gdk_draw_line (g->pixmap, g->gc, - g->draw_width - i, g->pos[i], - g->draw_width - i, g->pos[i] - g->data[i][j]); - - g->pos [i] -= g->data [i][j]; - } - } - - gdk_draw_pixmap (g->disp->window, - g->disp->style->fg_gc [GTK_WIDGET_STATE(g->disp)], - g->pixmap, - 0, 0, - 0, 0, - g->disp->allocation.width, - g->disp->allocation.height); - - for (i = 0; i < g->draw_width; i++) - memcpy (g->odata [i], g->data [i], g->data_size); -} - -/* Updates the load graph when the timeout expires */ -static int -load_graph_update (LoadGraph *g) -{ - guint i, j; - - g->get_data (g->draw_height, g->data [0], g); - - for (i=0; i < g->draw_width-1; i++) - for (j=0; j < g->n; j++) - g->data [i+1][j] = g->odata [i][j]; - - load_graph_draw (g); - return TRUE; -} - -static void -load_graph_unalloc (LoadGraph *g) -{ - int i; - - if (!g->allocated) - return; - - for (i = 0; i < g->draw_width; i++) { - g_free (g->data [i]); - g_free (g->odata [i]); - } - - g_free (g->data); - g_free (g->odata); - g_free (g->pos); - - g->pos = NULL; - g->data = g->odata = NULL; - g->size = g->prop_data_ptr->adj_data [1]; - - if (g->pixmap) { - gdk_pixmap_unref (g->pixmap); - g->pixmap = NULL; - } - - g->allocated = FALSE; -} - -static void -load_graph_alloc (LoadGraph *g) -{ - PanelOrientType orient; - int pixel_size, i; - - if (g->allocated) - return; - - orient = applet_widget_get_panel_orient (g->applet); - switch (orient) { - case ORIENT_UP: - case ORIENT_DOWN: - g->orient = FALSE; - break; - case ORIENT_LEFT: - case ORIENT_RIGHT: - g->orient = TRUE; - break; - default: - g_assert_not_reached (); - } - - pixel_size = applet_widget_get_panel_pixel_size (g->applet); - g_assert (pixel_size > 0); - - g->pixel_size = pixel_size; - - g->show_frame = pixel_size > PIXEL_SIZE_SMALL; - - if (g->orient) { - g->draw_width = g->pixel_size; - g->draw_height = g->size; - } else { - g->draw_width = g->size; - g->draw_height = g->pixel_size; - } - - g->data = g_new0 (guint *, g->draw_width); - g->odata = g_new0 (guint *, g->draw_width); - g->pos = g_new0 (guint, g->draw_width); - - g->data_size = sizeof (guint) * g->n; - - for (i = 0; i < g->draw_width; i++) { - g->data [i] = g_malloc0 (g->data_size); - g->odata [i] = g_malloc0 (g->data_size); - } - - g->allocated = TRUE; -} - -static gint -load_graph_configure (GtkWidget *widget, GdkEventConfigure *event, - gpointer data_ptr) -{ - LoadGraph *c = (LoadGraph *) data_ptr; - - load_graph_unalloc (c); - load_graph_alloc (c); - - if (!c->pixmap) - c->pixmap = gdk_pixmap_new (widget->window, - widget->allocation.width, - widget->allocation.height, - gtk_widget_get_visual (c->disp)->depth); - - gdk_draw_rectangle (c->pixmap, - widget->style->black_gc, - TRUE, 0,0, - widget->allocation.width, - widget->allocation.height); - gdk_draw_pixmap (widget->window, - c->disp->style->fg_gc [GTK_WIDGET_STATE(widget)], - c->pixmap, - 0, 0, - 0, 0, - c->disp->allocation.width, - c->disp->allocation.height); - return TRUE; - event = NULL; -} - -static gint -load_graph_expose (GtkWidget *widget, GdkEventExpose *event, - gpointer data_ptr) -{ - LoadGraph *g = (LoadGraph *) data_ptr; - - gdk_draw_pixmap (widget->window, - widget->style->fg_gc [GTK_WIDGET_STATE(widget)], - g->pixmap, - event->area.x, event->area.y, - event->area.x, event->area.y, - event->area.width, event->area.height); - return FALSE; -} - -static void -load_graph_destroy (GtkWidget *widget, gpointer data_ptr) -{ - LoadGraph *g = (LoadGraph *) data_ptr; - - load_graph_stop (g); - - object_list = g_list_remove (object_list, g); - return; - widget = NULL; -} - -static void -applet_pixel_size_changed_cb (GtkWidget *applet, int size, LoadGraph *g) -{ - load_graph_unalloc (g); - - g->pixel_size = size; - - gtk_widget_ref (g->box); - - gtk_container_remove (GTK_CONTAINER (g->box->parent), g->box); - - if (g->frame) { - gtk_widget_destroy (g->frame); - g->frame = NULL; - } - - load_graph_alloc (g); - - if (g->show_frame) { - g->frame = gtk_frame_new (NULL); - gtk_container_add (GTK_CONTAINER (g->frame), g->box); - gtk_container_add (GTK_CONTAINER (g->main_widget), g->frame); - gtk_widget_show (g->frame); - } else { - gtk_container_add (GTK_CONTAINER (g->main_widget), g->box); - } - - gtk_widget_unref (g->box); - - if (g->orient) - gtk_widget_set_usize (g->main_widget, g->pixel_size, g->size); - else - gtk_widget_set_usize (g->main_widget, g->size, g->pixel_size); -} - -static gint -applet_orient_changed_cb (GtkWidget *applet, gpointer data, LoadGraph *g) -{ - load_graph_unalloc (g); - load_graph_alloc (g); - - if (g->orient) - gtk_widget_set_usize (g->main_widget, g->pixel_size, g->size); - else - gtk_widget_set_usize (g->main_widget, g->size, g->pixel_size); - - return FALSE; -} - -static gint -applet_save_session_cb (GtkWidget *w, const char *privcfgpath, - const char *globcfgpath, LoadGraph *g) -{ - gchar name [BUFSIZ], temp [BUFSIZ]; - guint i; - - gnome_config_push_prefix (privcfgpath); - - for (i=0; i < g->prop_data->n; i++) { - GdkColor *color = &(g->prop_data->colors [i]); - - sprintf (temp, "#%04x%04x%04x", - color->red, color->green, color->blue); - - sprintf (name, "%s/color%d", g->prop_data->name, i); - gnome_config_set_string (name, temp); - } - - sprintf (name, "%s/speed", g->prop_data->name); - gnome_config_set_int (name, g->prop_data->adj_data [0]); - - sprintf (name, "%s/size", g->prop_data->name); - gnome_config_set_int (name, g->prop_data->adj_data [1]); - - sprintf (name, "%s/maximum", g->prop_data->name); - gnome_config_set_int (name, g->prop_data->adj_data [2]); - - sprintf (name, "%s/use_default", g->prop_data->name); - gnome_config_set_int (name, g->prop_data->use_default); - - sprintf (name, "%s/loadavg_type", g->prop_data->name); - gnome_config_set_int (name, g->prop_data->loadavg_type); - - gnome_config_pop_prefix(); - - gnome_config_sync(); - /* you need to use the drop_all here since we're all writing to - one file, without it, things might not work too well */ - gnome_config_drop_all (); - - /* make sure you return FALSE, otherwise your applet might not - work compeltely, there are very few circumstances where you - want to return TRUE. This behaves similiar to GTK events, in - that if you return FALSE it means that you haven't done - everything yourself, meaning you want the panel to save your - other state such as the panel you are on, position, - parameter, etc ... */ - - return FALSE; -} - -static void -applet_load_config (LoadGraph *g) -{ - gchar name [BUFSIZ], *temp; - guint i; - - gnome_config_push_prefix (g->applet->privcfgpath); - - if (!g->prop_data->colors) - g->prop_data->colors = g_new0 (GdkColor, g->prop_data->n); - - for (i=0; i < g->prop_data->n; i++) { - GdkColor *color = &(g->prop_data->colors [i]); - - sprintf (name, "%s/color%d=%s", - g->prop_data->name, i, g->prop_data->color_defs [i]); - - temp = gnome_config_get_string (name); - gdk_color_parse (temp, color); - g_free (temp); - } - - sprintf (name, "%s/speed=%ld", - g->prop_data->name, g->prop_data->adj_data [0]); - g->prop_data->adj_data [0] = gnome_config_get_int (name); - - sprintf (name, "%s/size=%ld", - g->prop_data->name, g->prop_data->adj_data [1]); - g->prop_data->adj_data [1] = gnome_config_get_int (name); - - sprintf (name, "%s/maximum=%ld", - g->prop_data->name, g->prop_data->adj_data [2]); - g->prop_data->adj_data [2] = gnome_config_get_int (name); - - sprintf (name, "%s/use_default=1", g->prop_data->name); - g->prop_data->use_default = gnome_config_get_int (name); - - sprintf (name, "%s/loadavg_type=%d", - g->prop_data->name, g->prop_data->loadavg_type); - g->prop_data->loadavg_type = gnome_config_get_int (name); - - if (g->prop_data->use_default) - g->prop_data_ptr = g->global_prop_data; - else - g->prop_data_ptr = g->prop_data; - - gnome_config_pop_prefix (); -} - -LoadGraph * -load_graph_new (AppletWidget *applet, guint n, gchar *label, - LoadGraphProperties *global_prop_data, - LoadGraphProperties *prop_data, guint speed, - guint size, LoadGraphDataFunc get_data, - gchar *help_path) -{ - LoadGraph *g; - - g = g_new0 (LoadGraph, 1); - - g->applet = applet; - - g->n = n; - g->prop_data = prop_data; - g->global_prop_data = global_prop_data; - applet_load_config (g); - - g->local_prop_data = g_new0 (LocalPropData, 1); - g->local_prop_data->help_path = help_path; /* no need to dup */ - - g->local_prop_data->applet = g->applet; - - g->local_prop_data->property_object = gnome_property_object_new - (&LoadGraphLocalProperty_Descriptor, g->prop_data); - - g->local_prop_data->property_object->user_data = g->local_prop_data; - - g->local_prop_data->local_property_object_list = g_list_append - (NULL, g->local_prop_data->property_object); - - if (g->global_prop_data == &multiload_properties.cpuload) - g->prop_data->type = PROP_CPULOAD; - else if (g->global_prop_data == &multiload_properties.memload) - g->prop_data->type = PROP_MEMLOAD; - else if (g->global_prop_data == &multiload_properties.swapload) - g->prop_data->type = PROP_SWAPLOAD; - else if (g->global_prop_data == &multiload_properties.netload) - g->prop_data->type = PROP_NETLOAD; - else if (g->global_prop_data == &multiload_properties.loadavg) - g->prop_data->type = PROP_LOADAVG; - else - g_assert_not_reached(); - - g->local_prop_data->type = g->prop_data->type; - - g->speed = speed; - g->size = size; - - g->get_data = get_data; - - g->colors = g_new0 (GdkColor, g->n); - - g->timer_index = -1; - - load_graph_alloc (g); - - g->main_widget = gtk_vbox_new (FALSE, FALSE); - gtk_widget_show (g->main_widget); - - g->box = gtk_vbox_new (FALSE, FALSE); - gtk_widget_show (g->box); - - if (g->show_frame) { - g->frame = gtk_frame_new (NULL); - gtk_container_add (GTK_CONTAINER (g->frame), g->box); - gtk_container_add (GTK_CONTAINER (g->main_widget), g->frame); - } else { - g->frame = NULL; - gtk_container_add (GTK_CONTAINER (g->main_widget), g->box); - } - - g->disp = gtk_drawing_area_new (); - gtk_signal_connect (GTK_OBJECT (g->disp), "expose_event", - (GtkSignalFunc)load_graph_expose, g); - gtk_signal_connect (GTK_OBJECT(g->disp), "configure_event", - (GtkSignalFunc)load_graph_configure, g); - gtk_signal_connect (GTK_OBJECT(g->disp), "destroy", - (GtkSignalFunc)load_graph_destroy, g); - gtk_widget_set_events (g->disp, GDK_EXPOSURE_MASK); - - gtk_box_pack_start_defaults (GTK_BOX (g->box), g->disp); - - gtk_signal_connect (GTK_OBJECT (applet), "change_orient", - GTK_SIGNAL_FUNC (applet_orient_changed_cb), - (gpointer) g); - - gtk_signal_connect (GTK_OBJECT (applet), - "change_pixel_size", - GTK_SIGNAL_FUNC (applet_pixel_size_changed_cb), - (gpointer) g); - - gtk_signal_connect (GTK_OBJECT (applet), "save_session", - GTK_SIGNAL_FUNC (applet_save_session_cb), - (gpointer) g); - - if (g->orient) - gtk_widget_set_usize (g->main_widget, g->pixel_size, g->size); - else - gtk_widget_set_usize (g->main_widget, g->size, g->pixel_size); - - object_list = g_list_append (object_list, g); - - gtk_widget_show_all (g->main_widget); - - return g; - label = NULL; -} - -void -load_graph_start (LoadGraph *g) -{ - if (g->timer_index != -1) - gtk_timeout_remove (g->timer_index); - - g->timer_index = gtk_timeout_add (g->prop_data_ptr->adj_data [0], - (GtkFunction) load_graph_update, g); -} - -void -load_graph_stop (LoadGraph *g) -{ - if (g->timer_index != -1) - gtk_timeout_remove (g->timer_index); - - g->timer_index = -1; -} - -static GtkWidget * -load_graph_properties_init (GnomePropertyObject *object) -{ - GtkWidget *vb, *frame; - /* GtkWidget *label, *entry, *button, *table, *spin; */ - LoadGraphProperties *prop_data = object->prop_data; - /* guint i; */ - - static const gchar *adj_data_texts [3] = { - N_("Speed:"), N_("Size:"), N_("Maximum:") - }; - - static glong adj_data_descr [3*8] = { - 1, 0, 0, 1, G_MAXINT, 1, 256, 256, - 1, 0, 0, 1, G_MAXINT, 1, 256, 256, - 1, 0, 0, 1, G_MAXINT, 1, 256, 256 - }; - - vb = gtk_vbox_new (FALSE, 0); - gtk_container_set_border_width (GTK_CONTAINER (vb), GNOME_PAD_SMALL); - - frame = gnome_property_entry_colors - (object, _("Colors"), prop_data->n, - prop_data->n, NULL, prop_data->colors, - prop_data->texts); - - gtk_container_add (GTK_CONTAINER (vb), frame); - - if (object->prop_data == &multiload_properties.loadavg) - frame = gnome_property_entry_adjustments - (object, NULL, 3, 3, 2, NULL, adj_data_texts, - adj_data_descr, prop_data->adj_data); - else - frame = gnome_property_entry_adjustments - (object, NULL, 2, 2, 2, NULL, adj_data_texts, - adj_data_descr, prop_data->adj_data); - - gtk_container_add (GTK_CONTAINER (vb), frame); - - return vb; -} - -static void -load_graph_properties_load (GnomePropertyObject *object) -{ - LoadGraphProperties *prop_data = object->prop_data; - gchar name [BUFSIZ], *temp; - guint i; - - if (!prop_data->colors) - prop_data->colors = g_new0 (GdkColor, prop_data->n); - - for (i=0; i < prop_data->n; i++) { - GdkColor *color = &(prop_data->colors [i]); - - sprintf (name, "multiload/%s/color%d=%s", - prop_data->name, i, prop_data->color_defs [i]); - - temp = gnome_config_get_string (name); - gdk_color_parse (temp, color); - g_free (temp); - } - - sprintf (name, "multiload/%s/speed=%ld", - prop_data->name, prop_data->adj_data [0]); - prop_data->adj_data [0] = gnome_config_get_int (name); - - sprintf (name, "multiload/%s/size=%ld", - prop_data->name, prop_data->adj_data [1]); - prop_data->adj_data [1] = gnome_config_get_int (name); - - sprintf (name, "multiload/%s/maximum=%ld", - prop_data->name, prop_data->adj_data [2]); - prop_data->adj_data [2] = gnome_config_get_int (name); - - sprintf (name, "multiload/%s/loadavg_type=%d", - prop_data->name, prop_data->loadavg_type); - prop_data->loadavg_type = gnome_config_get_int (name); -} - -static void -load_graph_properties_save (GnomePropertyObject *object) -{ - LoadGraphProperties *prop_data = object->prop_data; - gchar name [BUFSIZ], temp [BUFSIZ]; - guint i; - - for (i=0; i < prop_data->n; i++) { - GdkColor *color = &(prop_data->colors [i]); - - sprintf (temp, "#%04x%04x%04x", - color->red, color->green, color->blue); - - sprintf (name, "multiload/%s/color%d", prop_data->name, i); - gnome_config_set_string (name, temp); - } - - sprintf (name, "multiload/%s/speed", prop_data->name); - gnome_config_set_int (name, prop_data->adj_data [0]); - - sprintf (name, "multiload/%s/size", prop_data->name); - gnome_config_set_int (name, prop_data->adj_data [1]); - - sprintf (name, "multiload/%s/maximum", prop_data->name); - gnome_config_set_int (name, prop_data->adj_data [2]); - - sprintf (name, "multiload/%s/loadavg_type", prop_data->name); - gnome_config_set_int (name, prop_data->loadavg_type); -} - -static void -load_graph_properties_changed (GnomePropertyObject *object) -{ - multiload_properties_changed (); - return; - object = NULL; -} - -static void -load_graph_properties_update (GnomePropertyObject *object) -{ - GList *c; - - for (c = object_list; c; c = c->next) { - LoadGraph *g = (LoadGraph *) c->data; - - /* Remember not to use `object->prop_data' here, - * `g->prop_data' is what you want ! - * - * To make this clear: - * - * This function is called for each GnomePropertyObject - * (currently cpuload, memload, swapload), but this - * block loops over each real applet. - * - * So if you have for instance only a cpuload applet running - * this function is called three times (for cpuload, memload - * and swapload properties), but `g' will always point to - * the running cpuload applet and thus `g->prop_data' will - * always point to the cpuload properties while `prop_data' - * will point to the cpuload, memload and swapload properties - * in each invocation of this function. - * - * Feb 22, Martin Baulig - */ - - if (g->prop_data->use_default) - g->prop_data_ptr = g->global_prop_data; - else - g->prop_data_ptr = g->prop_data; - - if (g->colors_allocated) { - GdkColormap *colormap; - - colormap = gdk_window_get_colormap (g->disp->window); - gdk_colormap_free_colors (colormap, g->colors, g->n); - - g->colors_allocated = 0; - } - - if (g->timer_index != -1) { - load_graph_stop (g); - load_graph_start (g); - } - - load_graph_unalloc (g); - load_graph_alloc (g); - - if (g->orient) - gtk_widget_set_usize (g->main_widget, g->pixel_size, g->size); - else - gtk_widget_set_usize (g->main_widget, g->size, g->pixel_size); - - load_graph_draw (g); - } - return; - object = NULL; -} - -static void -use_defaults_cb (GtkWidget *widget, RadioButtonCbData *cb_data) -{ - LoadGraphProperties *prop_ptr = cb_data->object->temp_data; - - prop_ptr->use_default = GTK_TOGGLE_BUTTON (cb_data->button)->active; - - gtk_widget_set_sensitive (cb_data->color_frame, !prop_ptr->use_default); - gtk_widget_set_sensitive (cb_data->data_frame, !prop_ptr->use_default); - - multiload_local_properties_changed (cb_data->object->user_data); -} - -static GtkWidget * -load_graph_local_properties_init (GnomePropertyObject *object) -{ - GtkWidget *color_frame, *data_frame; - GtkWidget *vb, *frame, *button, *table; - LoadGraphProperties *prop_data = object->prop_data; - RadioButtonCbData *cb_data; - - static const gchar *adj_data_texts [3] = { - N_("Speed:"), N_("Size:"), N_("Maximum:") - }; - - static glong adj_data_descr [3*8] = { - 1, 0, 0, 1, G_MAXINT, 1, 256, 256, - 1, 0, 0, 1, G_MAXINT, 1, 256, 256, - 1, 0, 0, 1, G_MAXINT, 1, 256, 256 - }; - - vb = gtk_vbox_new (FALSE, 0); - gtk_container_set_border_width (GTK_CONTAINER (vb), GNOME_PAD_SMALL); - - color_frame = gnome_property_entry_colors - (object, _("Colors"), prop_data->n, - prop_data->n, NULL, prop_data->colors, - prop_data->texts); - - gtk_widget_set_sensitive (color_frame, !prop_data->use_default); - - gtk_container_add (GTK_CONTAINER (vb), color_frame); - - if (prop_data->type == PROP_LOADAVG) - data_frame = gnome_property_entry_adjustments - (object, NULL, 3, 3, 2, NULL, adj_data_texts, - adj_data_descr, prop_data->adj_data); - else - data_frame = gnome_property_entry_adjustments - (object, NULL, 2, 2, 2, NULL, adj_data_texts, - adj_data_descr, prop_data->adj_data); - - gtk_widget_set_sensitive (data_frame, !prop_data->use_default); - - gtk_container_add (GTK_CONTAINER (vb), data_frame); - - frame = gtk_frame_new (NULL); - - table = gtk_table_new (1, 1, FALSE); - gtk_table_set_col_spacings (GTK_TABLE (table), GNOME_PAD); - - button = gtk_check_button_new_with_label (_("Use default properties")); - if (prop_data->use_default) - gtk_toggle_button_set_state (GTK_TOGGLE_BUTTON (button), TRUE); - - cb_data = g_new0 (RadioButtonCbData, 1); - cb_data->button = button; - cb_data->object = object; - cb_data->color_frame = color_frame; - cb_data->data_frame = data_frame; - - gtk_signal_connect - (GTK_OBJECT (button), "toggled", use_defaults_cb, cb_data); - - gtk_table_attach_defaults (GTK_TABLE (table), button, 0, 1, 0, 1); - - gtk_container_add (GTK_CONTAINER (frame), table); - gtk_box_pack_start (GTK_BOX (vb), frame, FALSE, TRUE, 0); - - return vb; -} - -static void -load_graph_local_properties_save (GnomePropertyObject *object) -{ - LocalPropData *d = object->user_data; - - applet_widget_sync_config (d->applet); -} - -static void -load_graph_local_properties_changed (GnomePropertyObject *object) -{ - multiload_local_properties_changed (object->user_data); -} - -static void -load_graph_local_properties_update (GnomePropertyObject *object) -{ - GList *c; - - for (c = object_list; c; c = c->next) { - LoadGraph *g = (LoadGraph *) c->data; - - /* Remember not to use `object->prop_data' here, - * `g->prop_data' is what you want ! - * - * To make this clear: - * - * This function is called for each GnomePropertyObject - * (currently cpuload, memload, swapload), but this - * block loops over each real applet. - * - * So if you have for instance only a cpuload applet running - * this function is called three times (for cpuload, memload - * and swapload properties), but `g' will always point to - * the running cpuload applet and thus `g->prop_data' will - * always point to the cpuload properties while `prop_data' - * will point to the cpuload, memload and swapload properties - * in each invocation of this function. - * - * Feb 22, Martin Baulig - */ - - if (g->prop_data->use_default) - g->prop_data_ptr = g->global_prop_data; - else - g->prop_data_ptr = g->prop_data; - - if (g->colors_allocated) { - GdkColormap *colormap; - - colormap = gdk_window_get_colormap (g->disp->window); - gdk_colormap_free_colors (colormap, g->colors, g->n); - - g->colors_allocated = 0; - } - - if (g->timer_index != -1) { - load_graph_stop (g); - load_graph_start (g); - } - - load_graph_unalloc (g); - load_graph_alloc (g); - - if (g->orient) - gtk_widget_set_usize (g->main_widget, g->pixel_size, g->size); - else - gtk_widget_set_usize (g->main_widget, g->size, g->pixel_size); - - load_graph_draw (g); - } - return; - object = NULL; -} diff --git a/multiload/load-graph.h b/multiload/load-graph.h deleted file mode 100644 index 417c3dc16..000000000 --- a/multiload/load-graph.h +++ /dev/null @@ -1,64 +0,0 @@ -#ifndef LOAD_GRAPH_H__ -#define LOAD_GRAPH_H__ - -#include <global.h> - -typedef struct _LoadGraph LoadGraph; - -typedef void (*LoadGraphDataFunc) (int, int [], LoadGraph *); - -#define NCPUSTATES 4 - -struct _LoadGraph { - AppletWidget *applet; - - guint n; - guint speed, size; - guint orient, pixel_size; - guint draw_width, draw_height; - LoadGraphDataFunc get_data; - - LoadGraphProperties *prop_data; - LoadGraphProperties *global_prop_data; - LoadGraphProperties *prop_data_ptr; - - LocalPropData *local_prop_data; - - guint allocated; - - GdkColor *colors; - guint **data, **odata; - guint data_size; - guint *pos; - - gint colors_allocated; - GtkWidget *main_widget; - GtkWidget *frame, *box, *disp; - GdkPixmap *pixmap; - GdkGC *gc; - int timer_index; - - gint show_frame; - - long cpu_time [NCPUSTATES]; - long cpu_last [NCPUSTATES]; - int cpu_initialized; -}; - -/* Create new load graph. */ -LoadGraph * -load_graph_new (AppletWidget *applet, guint n, gchar *label, - LoadGraphProperties *global_prop_data, - LoadGraphProperties *prop_data, guint speed, - guint size, LoadGraphDataFunc get_data, - gchar *help_path); - -/* Start load graph. */ -void -load_graph_start (LoadGraph *g); - -/* Stop load graph. */ -void -load_graph_stop (LoadGraph *g); - -#endif diff --git a/multiload/loadavg.c b/multiload/loadavg.c deleted file mode 100644 index 47aa9e50e..000000000 --- a/multiload/loadavg.c +++ /dev/null @@ -1,197 +0,0 @@ -/* GNOME cpuload/memload panel applet - * (C) 1997 The Free Software Foundation - * - * Authors: Tim P. Gerla - * Martin Baulig - * - * With code from wmload.c, v0.9.2, apparently by Ryan Land, rland@bc1.com. - * - */ - -#include <config.h> -#include <stdio.h> -#include <sys/stat.h> -#include <unistd.h> -#include <signal.h> -#include <dirent.h> -#include <string.h> -#include <time.h> -#include <config.h> -#include <gnome.h> -#include <gdk/gdkx.h> -#include <applet-widget.h> - -#include "global.h" - -static const char *loadavg_texts [3] = { - N_("Load average over 1 minute"), - N_("Load average over 5 minutes"), - N_("Load average over 15 minutes") -}; - -static void -loadavg_1_cb (AppletWidget *widget, gpointer data) -{ - LoadGraph *g = (LoadGraph *) data; - - g->prop_data->loadavg_type = LOADAVG_1; - - gnome_property_object_list_walk - (g->local_prop_data->local_property_object_list, - GNOME_PROPERTY_ACTION_UPDATE); - - gnome_property_object_list_walk - (g->local_prop_data->local_property_object_list, - GNOME_PROPERTY_ACTION_SAVE); - - applet_widget_set_tooltip (g->applet, _(loadavg_texts [0])); -} - -static void -loadavg_5_cb (AppletWidget *widget, gpointer data) -{ - LoadGraph *g = (LoadGraph *) data; - - g->prop_data->loadavg_type = LOADAVG_5; - - gnome_property_object_list_walk - (g->local_prop_data->local_property_object_list, - GNOME_PROPERTY_ACTION_UPDATE); - - gnome_property_object_list_walk - (g->local_prop_data->local_property_object_list, - GNOME_PROPERTY_ACTION_SAVE); - - applet_widget_set_tooltip (g->applet, _(loadavg_texts [1])); -} - -static void -loadavg_15_cb (AppletWidget *widget, gpointer data) -{ - LoadGraph *g = (LoadGraph *) data; - - g->prop_data->loadavg_type = LOADAVG_15; - - gnome_property_object_list_walk - (g->local_prop_data->local_property_object_list, - GNOME_PROPERTY_ACTION_UPDATE); - - gnome_property_object_list_walk - (g->local_prop_data->local_property_object_list, - GNOME_PROPERTY_ACTION_SAVE); - - applet_widget_set_tooltip (g->applet, _(loadavg_texts [2])); -} - -static void -about_cb (AppletWidget *widget, gpointer data) -{ - static GtkWidget *about = NULL; - const gchar *authors[8]; - - if (about != NULL) - { - gdk_window_show(about->window); - gdk_window_raise(about->window); - return; - } - - authors[0] = "Martin Baulig <martin@home-of-linux.org>"; - authors[1] = NULL; - - about = gnome_about_new - (_("Load Average Applet"), VERSION, - "(C) 1999", - authors, - _("Released under the GNU general public license.\n\n" - "Load Average Meter Applet."), - NULL); - - gtk_signal_connect (GTK_OBJECT (about), "destroy", - GTK_SIGNAL_FUNC (gtk_widget_destroyed), &about); - - gtk_widget_show (about); -} - -/* start a new instance of the loadavg applet */ -GtkWidget * -make_loadavg_applet (const gchar *goad_id) -{ - GtkWidget *applet; - LoadGraphProperties *prop_data; - LoadGraph *g; - - /* create a new applet_widget */ - applet = applet_widget_new(goad_id); - /* in the rare case that the communication with the panel - failed, error out */ - if (!applet) - g_error ("Can't create applet!\n"); - - prop_data = g_memdup (&multiload_properties.loadavg, - sizeof (LoadGraphProperties)); - - g = load_graph_new (APPLET_WIDGET (applet), 2, N_("Load Average"), - &multiload_properties.loadavg, prop_data, - multiload_properties.loadavg.adj_data[0], - multiload_properties.loadavg.adj_data[1], GetLoadAvg, - "index.html#LOADAVG-PROPERTIES"); - - applet_widget_add (APPLET_WIDGET(applet), g->main_widget); - gtk_widget_show (applet); - - load_graph_start (g); - - applet_widget_register_callback_dir (APPLET_WIDGET (applet), - "loadavg/", _("Load Average")); - - applet_widget_register_callback (APPLET_WIDGET (applet), - "loadavg/load_1", _(loadavg_texts [0]), - loadavg_1_cb, g); - - applet_widget_register_callback (APPLET_WIDGET (applet), - "loadavg/load_5", _(loadavg_texts [1]), - loadavg_5_cb, g); - - applet_widget_register_callback (APPLET_WIDGET (applet), - "loadavg/load_15", _(loadavg_texts [2]), - loadavg_15_cb, g); - - applet_widget_register_stock_callback (APPLET_WIDGET (applet), - "properties", - GNOME_STOCK_MENU_PROP, - _("Default Properties..."), - multiload_properties_cb, - g); - - applet_widget_register_stock_callback (APPLET_WIDGET (applet), - "local_properties", - GNOME_STOCK_MENU_PROP, - _("Properties..."), - multiload_local_properties_cb, - g); - - applet_widget_register_stock_callback (APPLET_WIDGET (applet), - "run_gtop", - GNOME_STOCK_MENU_INDEX, - _("Run gtop..."), - start_gtop_cb, NULL); - - applet_widget_register_stock_callback (APPLET_WIDGET(applet), - "help", - GNOME_STOCK_PIXMAP_HELP, - _("Help"), - multiload_help_cb, - "loadavg_applet"); - - applet_widget_register_stock_callback (APPLET_WIDGET(applet), - "about", - GNOME_STOCK_MENU_ABOUT, - _("About..."), - about_cb, NULL); - - applet_widget_set_tooltip (APPLET_WIDGET (applet), - _(loadavg_texts [prop_data->loadavg_type])); - - return applet; -} diff --git a/multiload/loadavg_applet.desktop b/multiload/loadavg_applet.desktop deleted file mode 100644 index f7b0cda79..000000000 --- a/multiload/loadavg_applet.desktop +++ /dev/null @@ -1,30 +0,0 @@ -[Desktop Entry] -Name=Load Average -Name[da]=Belastningsgrad -Name[de]=Lastmittel -Name[el]=ÌÝóï Öïñôßï -Name[fi]=Keskimääräinen kuorma -Name[gl]=Carga Media -Name[ja]=Éé²ÙÊ¿¶Ñ -Name[lt]=Apkrovimo vidurkis -Name[no]=Snittbelastning -Name[pl]=¦rednie obci±¿enie -Name[ru]=óÒÅÄÎÑÑ ÚÁÇÒÕÚËÁ -Name[sv]=Genomsnittsbelastning -Name[tr]=Ortalama yük -Comment=Load Average Applet -Comment[da]=Belastningsgrads-applet -Comment[de]=Applet zur Anzeige der durchschnittlichen Last -Comment[el]=Åöáñìïãßäéï ¸íäåéîçò ÌÝóïõ Öïñôßïõ -Comment[fi]=Sovelma joka mittaa keskimääräistä kuormitusta -Comment[gl]=Applet medidora da carga media -Comment[ja]=Éé²ÙÊ¿¶Ñ(¥í¡¼¥É¥¢¥Ù¥ì¡¼¥¸)¤ò·×¬ -Comment[lt]=Priedas apkrovimo vidurkiui -Comment[no]=Applet for visning av snittbelastning -Comment[pl]=Aplet wy¶wietlaj±cy ¶rednie obci±¿enie systemu -Comment[ru]=áÐÐÌÅÔ ÓÒÅÄÎÅÊ ÚÁÇÒÕÚËÉ -Comment[sv]=Visar den genomsnittsliga belastningen -Comment[tr]=Ortalama yükü gösteren bir uygulak -Exec=multiload_applet --activate-goad-server=multiload_loadavg_applet -Terminal=0 -Type=Application diff --git a/multiload/local-properties.c b/multiload/local-properties.c deleted file mode 100644 index 086e1128a..000000000 --- a/multiload/local-properties.c +++ /dev/null @@ -1,115 +0,0 @@ -#include "global.h" -#include <libgnomeui/gnome-window-icon.h> - -static void multiload_show_local_properties (LocalPropData *); -static void multiload_local_properties_apply (GtkWidget *, gint, LocalPropData *); -static void multiload_local_properties_close (GtkWidget *, LocalPropData *); - -void -multiload_local_properties_cb (AppletWidget *widget, gpointer data) -{ - LoadGraph *g = (LoadGraph *) data; - - multiload_show_local_properties (g->local_prop_data); -} - -static void -multiload_local_properties_close (GtkWidget *widget, LocalPropData *d) -{ - gnome_property_object_list_walk (d->local_property_object_list, - GNOME_PROPERTY_ACTION_DISCARD_TEMP); - - d->win = NULL; -} - -static void -multiload_local_properties_apply (GtkWidget *widget, gint page, - LocalPropData *d) -{ - gnome_property_object_list_walk (d->local_property_object_list, - GNOME_PROPERTY_ACTION_APPLY); - - gnome_property_object_list_walk (d->local_property_object_list, - GNOME_PROPERTY_ACTION_SAVE_TEMP); - - gnome_property_object_list_walk (d->local_property_object_list, - GNOME_PROPERTY_ACTION_SAVE); - - gnome_property_object_list_walk (d->local_property_object_list, - GNOME_PROPERTY_ACTION_UPDATE); - - gnome_property_object_list_walk (d->local_property_object_list, - GNOME_PROPERTY_ACTION_LOAD_TEMP); -} - -void -multiload_local_properties_changed (LocalPropData *d) -{ - gnome_property_box_changed (GNOME_PROPERTY_BOX (d->win)); -} - -static void -phelp_cb (GtkWidget *w, gint tab, gpointer data) -{ - GnomeHelpMenuEntry help_entry = { - NULL, "index.html" - }; - - char *das_names[] = { - "cpuload_applet", - "memload_applet", - "swapload_applet", - "netload_applet", - "loadavg_applet" - }; - help_entry.name = das_names[((LocalPropData *) data)->type]; - help_entry.path = ((LocalPropData *)data)->help_path; - gnome_help_display (NULL, &help_entry); -} - -static void -multiload_show_local_properties (LocalPropData *d) -{ - static GnomeHelpMenuEntry help_entry = { NULL, "properties" }; - GList *c; - - help_entry.name = gnome_app_id; - - if (d->win) { - gdk_window_raise (d->win->window); - - return; - } - - d->win = gnome_property_box_new (); - if (d->type == PROP_MEMLOAD || d->type == PROP_SWAPLOAD) - gnome_window_icon_set_from_file (GTK_WINDOW (d->win), - GNOME_ICONDIR"/gnome-mem.png"); - - for (c = d->local_property_object_list; c; c = c->next) { - GnomePropertyObject *object = c->data; - - gnome_property_object_register - (GNOME_PROPERTY_BOX (d->win), object); - } - - gnome_property_object_list_walk (d->local_property_object_list, - GNOME_PROPERTY_ACTION_LOAD_TEMP); - - gtk_signal_connect (GTK_OBJECT (d->win), "destroy", - GTK_SIGNAL_FUNC (multiload_local_properties_close), - (gpointer) d); - - gtk_signal_connect (GTK_OBJECT (d->win), "apply", - GTK_SIGNAL_FUNC (multiload_local_properties_apply), - (gpointer) d); - - gtk_signal_connect (GTK_OBJECT (d->win), "destroy", - GTK_SIGNAL_FUNC (multiload_local_properties_close), - (gpointer) d); - - gtk_signal_connect (GTK_OBJECT (d->win), "help", - GTK_SIGNAL_FUNC (phelp_cb), d); - - gtk_widget_show_all (d->win); -} diff --git a/multiload/local-properties.h b/multiload/local-properties.h deleted file mode 100644 index 254774a83..000000000 --- a/multiload/local-properties.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef __LOCAL_PROPERTIES_H__ -#define __LOCAL_PROPERTIES_H__ - -#include <properties.h> - -BEGIN_GNOME_DECLS - -typedef struct _LocalPropData LocalPropData; - -struct _LocalPropData { - AppletWidget *applet; - GnomePropertyObject *property_object; - GList *local_property_object_list; - GtkWidget *win; - gchar *help_path; - PropertyClass type; -}; - -void -multiload_local_properties_changed (LocalPropData *d); - -END_GNOME_DECLS - -#endif diff --git a/multiload/main.c b/multiload/main.c deleted file mode 100644 index cacab26da..000000000 --- a/multiload/main.c +++ /dev/null @@ -1,251 +0,0 @@ -/* GNOME multiload panel applet - * (C) 1997 The Free Software Foundation - * - * Authors: Tim P. Gerla - * Martin Baulig - * - * With code from wmload.c, v0.9.2, apparently by Ryan Land, rland@bc1.com. - * - */ - -#include <config.h> -#include <stdio.h> -#include <config.h> -#include <sys/stat.h> -#include <unistd.h> -#include <signal.h> -#include <dirent.h> -#include <string.h> -#include <time.h> -#include <gnome.h> -#include <gdk/gdkx.h> -#include <applet-widget.h> -#include <libgnomeui/gnome-window-icon.h> - -#include "global.h" - -static const gchar *cpu_texts [4] = { - N_("User"), N_("System"), N_("Nice"), N_("Idle") -}; - -static const gchar *mem_texts [4] = { - N_("Other"), N_("Shared"), N_("Buffers"), N_("Free") -}; - -static const gchar *swap_texts [2] = { - N_("Used"), N_("Free") -}; - -static const gchar *net_texts [4] = { - N_("SLIP"), N_("PPP"), N_("ETH"), N_("Other"), -}; - -static const gchar *loadavg_texts [2] = { - N_("Used"), N_("Free") -}; - -static const gchar *cpu_color_defs [4] = { - "#ffffffff4fff", "#dfffdfffdfff", - "#afffafffafff", "#000000000000" -}; - -static const gchar *mem_color_defs [4] = { - "#bfffbfff4fff", "#efffefff4fff", - "#afffafffafff", "#00008fff0000" -}; - -static const gchar *swap_color_defs [4] = { - "#cfff5fff5fff", "#00008fff0000" -}; - -static const gchar *net_color_defs [4] = { - "#64009500e0e0", "#d300d300d300", - "#00008fff0000", "#ffffffff4fff" -}; - -static const gchar *loadavg_color_defs [2] = { - "#cfff5fff5fff", "#00008fff0000" -}; - -#define ADD_PROPERTIES(x,y) multiload_property_object_list = g_list_append (multiload_property_object_list, gnome_property_object_new (& ## x ## Property_Descriptor, &multiload_properties. ## y ##)) - -static GtkWidget * -make_new_applet (const gchar *goad_id) -{ - if (strstr (goad_id, "multiload_memload_applet")) - return make_memload_applet (goad_id); - else if (strstr (goad_id, "multiload_swapload_applet")) - return make_swapload_applet (goad_id); - else if (strstr (goad_id, "multiload_netload_applet")) - return make_netload_applet (goad_id); - else if (strstr (goad_id, "multiload_loadavg_applet")) - return make_loadavg_applet (goad_id); - else - return make_cpuload_applet (goad_id); -} - -/*when we get a command to start a new widget*/ -static GtkWidget * -applet_start_new_applet (const gchar *goad_id, const char **params, int nparams) -{ - return make_new_applet (goad_id); - params = NULL; - nparams = 0; -} - -/* run gtop (better location for this function?) */ -void -start_gtop_cb (AppletWidget *widget, gpointer data) -{ - gnome_execute_shell(NULL, "gtop"); - return; - widget = NULL; - data = NULL; -} - -/* show help for the applet */ -void -multiload_help_cb (AppletWidget *applet, gpointer data) -{ - GnomeHelpMenuEntry help_entry = { NULL, "index.html" }; - help_entry.name = data; - gnome_help_display(NULL, &help_entry); -} - - -int -main (int argc, char **argv) -{ - const char *goad_id; - GList *c; - - /* Initialize the i18n stuff */ - bindtextdomain (PACKAGE, GNOMELOCALEDIR); - textdomain (PACKAGE); - - applet_widget_init ("multiload_applet", VERSION, argc, argv, NULL, 0, NULL); - gnome_window_icon_set_default_from_file (GNOME_ICONDIR"/gnome-cpu.png"); - - goad_id = goad_server_activation_id(); - if(!goad_id) - return 0; - - /* Setup properties. */ - - multiload_properties.cpuload.n = 4; - multiload_properties.cpuload.name = "cpuload"; -#ifdef ENABLE_NLS - { - int i; - for (i=0;i<4;i++) cpu_texts[i]=_(cpu_texts[i]); - } -#endif - multiload_properties.cpuload.texts = cpu_texts; - multiload_properties.cpuload.color_defs = cpu_color_defs; - multiload_properties.cpuload.adj_data [0] = 500; - multiload_properties.cpuload.adj_data [1] = 40; - - multiload_properties.memload.n = 4; - multiload_properties.memload.name = "memload"; -#ifdef ENABLE_NLS - { - int i; - for (i=0;i<4;i++) mem_texts[i]=_(mem_texts[i]); - } -#endif - multiload_properties.memload.texts = mem_texts; - multiload_properties.memload.color_defs = mem_color_defs; - multiload_properties.memload.adj_data [0] = 500; - multiload_properties.memload.adj_data [1] = 40; - - multiload_properties.swapload.n = 2; - multiload_properties.swapload.name = "swapload"; -#ifdef ENABLE_NLS - { - int i; - for (i=0;i<2;i++) swap_texts[i]=_(swap_texts[i]); - } -#endif - multiload_properties.swapload.texts = swap_texts; - multiload_properties.swapload.color_defs = swap_color_defs; - multiload_properties.swapload.adj_data [0] = 500; - multiload_properties.swapload.adj_data [1] = 40; - - multiload_properties.netload.n = 4; - multiload_properties.netload.name = "netload"; -#ifdef ENABLE_NLS - { - int i; - for (i=0;i<3;i++) net_texts[i]=_(net_texts[i]); - } -#endif - multiload_properties.netload.texts = net_texts; - multiload_properties.netload.color_defs = net_color_defs; - multiload_properties.netload.adj_data [0] = 500; - multiload_properties.netload.adj_data [1] = 40; - - multiload_properties.loadavg.n = 2; - multiload_properties.loadavg.name = "loadavg"; -#ifdef ENABLE_NLS - { - int i; - for (i=0;i<2;i++) swap_texts[i]=_(swap_texts[i]); - } -#endif - multiload_properties.loadavg.texts = loadavg_texts; - multiload_properties.loadavg.color_defs = loadavg_color_defs; - multiload_properties.loadavg.adj_data [0] = 500; - multiload_properties.loadavg.adj_data [1] = 40; - multiload_properties.loadavg.adj_data [2] = 10; -#ifdef ENABLE_NLS - { - int i; - for (i=0;i<2;i++) loadavg_texts[i]=_(loadavg_texts[i]); - } -#endif - - - /* Add property objects. */ - - ADD_PROPERTIES (LoadGraph, cpuload); - ADD_PROPERTIES (LoadGraph, memload); - ADD_PROPERTIES (LoadGraph, swapload); - ADD_PROPERTIES (LoadGraph, netload); - ADD_PROPERTIES (LoadGraph, loadavg); - - /* This looks really ugly, but libgnomeui is already freezed so I can't - * add new function there ... */ - - c = g_list_nth (multiload_property_object_list, 0); - ((GnomePropertyObject *) c->data)->label = gtk_label_new (_("CPU Load")); - gtk_widget_ref (((GnomePropertyObject *) c->data)->label); - - c = g_list_nth (multiload_property_object_list, 1); - ((GnomePropertyObject *) c->data)->label = gtk_label_new (_("Memory Load")); - gtk_widget_ref (((GnomePropertyObject *) c->data)->label); - - c = g_list_nth (multiload_property_object_list, 2); - ((GnomePropertyObject *) c->data)->label = gtk_label_new (_("Swap Load")); - gtk_widget_ref (((GnomePropertyObject *) c->data)->label); - - c = g_list_nth (multiload_property_object_list, 3); - ((GnomePropertyObject *) c->data)->label = gtk_label_new (_("Net Load")); - gtk_widget_ref (((GnomePropertyObject *) c->data)->label); - - c = g_list_nth (multiload_property_object_list, 4); - ((GnomePropertyObject *) c->data)->label = gtk_label_new (_("Load Average")); - gtk_widget_ref (((GnomePropertyObject *) c->data)->label); - - /* Read properties. */ - multiload_init_properties (); - - applet_factory_new ("multiload_applet", NULL, applet_start_new_applet); - - /* Only do if factory wasn't requested. */ - if(strcmp(goad_id, "multiload_applet")) - make_new_applet(goad_id); - - applet_widget_gtk_main (); - - return 0; -} diff --git a/multiload/memload.c b/multiload/memload.c deleted file mode 100644 index 3a47b78e2..000000000 --- a/multiload/memload.c +++ /dev/null @@ -1,124 +0,0 @@ -/* GNOME cpuload/memload panel applet - * (C) 1997 The Free Software Foundation - * - * Authors: Tim P. Gerla - * Martin Baulig - * - * With code from wmload.c, v0.9.2, apparently by Ryan Land, rland@bc1.com. - * - */ - -#include <stdio.h> -#include <config.h> -#include <sys/stat.h> -#include <unistd.h> -#include <signal.h> -#include <dirent.h> -#include <string.h> -#include <time.h> -#include <config.h> -#include <gnome.h> -#include <gdk/gdkx.h> -#include <applet-widget.h> -#include <libgnomeui/gnome-window-icon.h> - -#include "global.h" - -static void -about_cb (AppletWidget *widget, gpointer data) -{ - static GtkWidget *about = NULL; - const gchar *authors[8]; - - if (about != NULL) - { - gdk_window_show(about->window); - gdk_window_raise(about->window); - return; - } - - authors[0] = "Martin Baulig <martin@home-of-linux.org>"; - authors[1] = NULL; - - about = gnome_about_new - (_("Memory Load Applet"), VERSION, - "(C) 1999", - authors, - _("Released under the GNU general public license.\n\n" - "Memory Load Applet."), - NULL); - gnome_window_icon_set_from_file (GTK_WINDOW (about), - GNOME_ICONDIR"/gnome-mem.png"); - - gtk_signal_connect (GTK_OBJECT (about), "destroy", - GTK_SIGNAL_FUNC (gtk_widget_destroyed), &about); - - gtk_widget_show (about); -} - -/* start a new instance of the memload applet */ -GtkWidget * -make_memload_applet (const gchar *goad_id) -{ - GtkWidget *applet; - LoadGraphProperties *prop_data; - LoadGraph *g; - - /* create a new applet_widget */ - applet = applet_widget_new(goad_id); - /* in the rare case that the communication with the panel - failed, error out */ - if (!applet) - g_error (_("Can't create applet!\n")); - - prop_data = g_memdup (&multiload_properties.memload, - sizeof (LoadGraphProperties)); - - g = load_graph_new (APPLET_WIDGET (applet), 4, N_("Memory Load"), - &multiload_properties.memload, prop_data, - multiload_properties.memload.adj_data[0], - multiload_properties.memload.adj_data[1], GetMemory, - "index.html#MEMLOAD-PROPERTIES"); - - applet_widget_add (APPLET_WIDGET(applet), g->main_widget); - gtk_widget_show (applet); - - load_graph_start (g); - - applet_widget_register_stock_callback (APPLET_WIDGET(applet), - "properties", - GNOME_STOCK_MENU_PROP, - _("Default Properties..."), - multiload_properties_cb, - g); - - applet_widget_register_stock_callback (APPLET_WIDGET(applet), - "local_properties", - GNOME_STOCK_MENU_PROP, - _("Properties..."), - multiload_local_properties_cb, - g); - - applet_widget_register_stock_callback (APPLET_WIDGET(applet), - "run_gtop", - GNOME_STOCK_MENU_INDEX, - _("Run gtop..."), - start_gtop_cb, NULL); - - applet_widget_register_stock_callback (APPLET_WIDGET(applet), - "help", - GNOME_STOCK_PIXMAP_HELP, - _("Help"), - multiload_help_cb, - "memload_applet"); - - applet_widget_register_stock_callback (APPLET_WIDGET(applet), - "about", - GNOME_STOCK_MENU_ABOUT, - _("About..."), - about_cb, NULL); - - applet_widget_set_tooltip(APPLET_WIDGET(applet), _("Memory Load")); - - return applet; -} diff --git a/multiload/memload_applet.desktop b/multiload/memload_applet.desktop deleted file mode 100644 index 04015b89e..000000000 --- a/multiload/memload_applet.desktop +++ /dev/null @@ -1,51 +0,0 @@ -[Desktop Entry] -Name=MemLoad -Name[ca]=Càrrega de Memòria -Name[da]=Hukommelsesmåler -Name[de]=Speicherlast -Name[el]=Öüñôïò ÌíÞìçò -Name[es]=Carga memoria -Name[et]=Mälu koormus -Name[eu]=Memoria zama -Name[fi]=Muistinkulutus -Name[fr]=Charge mémoire -Name[gl]=Carga da Memoria -Name[hu]=Memóriafoglaltság -Name[it]=Carico memoria -Name[ja]=¥á¥â¥êÉé²Ù -Name[ko]=±â¾ïÀåÄ¡ ·Îµå -Name[lt]=Atminties apkrovimas -Name[nl]=Geheugengebruik -Name[no]=Minnebelastning -Name[pl]=Pamiêæ -Name[pt]=Uso de memória -Name[ru]=úÁÇÒÕÚËÁ ÐÁÍÑÔÉ -Name[sv]=Minnesanvändning -Name[tr]=Bellek kullanýmý -Comment=Memory Load Meter -Comment[ca]=Mostra la càrrega de la memòria -Comment[da]=Måler hukommelsesbelastningen -Comment[de]=Messgerät für die Speicherlast -Comment[el]=Åìöáíßæåé ôï öüñôï ôçò ìíÞìçò -Comment[es]=Muestra la carga de la memoria -Comment[et]=Näitab mälu täidetust -Comment[eu]=Memorian dagoen zama neurtzeko -Comment[fi]=Muistinkulutusmittari -Comment[fr]=Indique la charge de la mémoire vive -Comment[gl]=Medidor da carga da memoria -Comment[hu]=Memóriahasználat-jelzõ -Comment[it]=Mostra l'andamento del livello di utilizzazione della memoria in un grafico -Comment[ja]=¥á¥â¥êÉé²Ù¥á¡¼¥¿¡¼ -Comment[ko]=±â¾ïÀåÄ¡ ·Îµå Ç¥½Ã -Comment[lt]=Atminties uþimtumo matuoklis -Comment[nl]=Geheugengebruik -Comment[no]=Måler for minnebelastning -Comment[pl]=Monitor wykorzystania pamiêci -Comment[pt]=Mostra o nível de utilização da memória -Comment[ru]=éÚÍÅÒÉÔÅÌØ ÚÁÇÒÕÚËÉ ÐÁÍÑÔÉ -Comment[sv]=Mätare för minnesanvänding -Comment[tr]=Bellek kullanýnýmýný gösterir -Exec=multiload_applet --activate-goad-server=multiload_memload_applet -Icon=gnome-mem.png -Terminal=0 -Type=Application diff --git a/multiload/multiload_applet.gnorba b/multiload/multiload_applet.gnorba deleted file mode 100644 index 156273cc6..000000000 --- a/multiload/multiload_applet.gnorba +++ /dev/null @@ -1,35 +0,0 @@ -[multiload_applet] -type=exe -repo_id=IDL:GNOME/GenericFactory:1.0 -description=internal -location_info=multiload_applet - -[multiload_cpuload_applet] -type=factory -repo_id=IDL:GNOME/Applet:1.0 -description=CPU Load applet/multi -location_info=multiload_applet - -[multiload_memload_applet] -type=factory -repo_id=IDL:GNOME/Applet:1.0 -description=Memory load applet/multi -location_info=multiload_applet - -[multiload_swapload_applet] -type=factory -repo_id=IDL:GNOME/Applet:1.0 -description=Swap Load applet/multi -location_info=multiload_applet - -[multiload_netload_applet] -type=factory -repo_id=IDL:GNOME/Applet:1.0 -description=Network load applet/multi -location_info=multiload_applet - -[multiload_loadavg_applet] -type=factory -repo_id=IDL:GNOME/Applet:1.0 -description=Load average applet/multi -location_info=multiload_applet diff --git a/multiload/netload.c b/multiload/netload.c deleted file mode 100644 index ea43b1f3f..000000000 --- a/multiload/netload.c +++ /dev/null @@ -1,120 +0,0 @@ -/* GNOME cpuload/memload panel applet - * (C) 1997 The Free Software Foundation - * - * Author: Eric S. Raymond - * - * With code from wmload.c, v0.9.2, apparently by Ryan Land, rland@bc1.com. - * - */ - -#include <stdio.h> -#include <config.h> -#include <sys/stat.h> -#include <unistd.h> -#include <signal.h> -#include <dirent.h> -#include <string.h> -#include <time.h> -#include <config.h> -#include <gnome.h> -#include <gdk/gdkx.h> -#include <applet-widget.h> - -#include "global.h" - -static void -about_cb (AppletWidget *widget, gpointer data) -{ - static GtkWidget *about = NULL; - const gchar *authors[8]; - - if (about != NULL) - { - gdk_window_show(about->window); - gdk_window_raise(about->window); - return; - } - - authors[0] = "Martin Baulig <martin@home-of-linux.org>"; - authors[1] = NULL; - - about = gnome_about_new - (_("Network Load Applet"), VERSION, - "(C) 1999", - authors, - _("Released under the GNU general public license.\n\n" - "Network Load Meter Applet."), - NULL); - - gtk_signal_connect (GTK_OBJECT (about), "destroy", - GTK_SIGNAL_FUNC (gtk_widget_destroyed), &about); - - gtk_widget_show (about); -} - -/* start a new instance of the netload applet */ -GtkWidget * -make_netload_applet (const gchar *goad_id) -{ - GtkWidget *applet; - LoadGraphProperties *prop_data; - LoadGraph *g; - - /* create a new applet_widget */ - applet = applet_widget_new (goad_id); - /* in the rare case that the communication with the panel - failed, error out */ - if (!applet) - g_error (_("Can't create applet!\n")); - - prop_data = g_memdup (&multiload_properties.netload, - sizeof (LoadGraphProperties)); - - g = load_graph_new (APPLET_WIDGET (applet), 4, N_("Net Load"), - &multiload_properties.netload, prop_data, - multiload_properties.netload.adj_data[0], - multiload_properties.netload.adj_data[1], GetNet, - "index.html#NETLOAD-PROPERTIES"); - - applet_widget_add (APPLET_WIDGET(applet), g->main_widget); - gtk_widget_show (applet); - - load_graph_start (g); - - applet_widget_register_stock_callback (APPLET_WIDGET(applet), - "properties", - GNOME_STOCK_MENU_PROP, - _("Default Properties..."), - multiload_properties_cb, - g); - - applet_widget_register_stock_callback (APPLET_WIDGET(applet), - "local_properties", - GNOME_STOCK_MENU_PROP, - _("Properties..."), - multiload_local_properties_cb, - g); - - applet_widget_register_stock_callback (APPLET_WIDGET(applet), - "run_gtop", - GNOME_STOCK_MENU_INDEX, - _("Run gtop..."), - start_gtop_cb, NULL); - - applet_widget_register_stock_callback (APPLET_WIDGET(applet), - "help", - GNOME_STOCK_PIXMAP_HELP, - _("Help"), - multiload_help_cb, - "netload_applet"); - - applet_widget_register_stock_callback (APPLET_WIDGET(applet), - "about", - GNOME_STOCK_MENU_ABOUT, - _("About..."), - about_cb, NULL); - - applet_widget_set_tooltip(APPLET_WIDGET(applet), _("Network Load")); - - return applet; -} diff --git a/multiload/netload_applet.desktop b/multiload/netload_applet.desktop deleted file mode 100644 index 7a820d2fc..000000000 --- a/multiload/netload_applet.desktop +++ /dev/null @@ -1,51 +0,0 @@ -[Desktop Entry] -Name=NetLoad -Name[ca]=Càrrega de Xarxa -Name[da]=Netmåler -Name[de]=Netzlast -Name[el]=Öüñôïò Äéêôýïõ -Name[es]=Carga de la red -Name[et]=Võrgu koormus -Name[eu]=Sare zama -Name[fi]=Verkkokuorma -Name[fr]=Charge Réseau -Name[gl]=Carga da Rede -Name[hu]=Hálózati forgalom -Name[ja]=¥Í¥Ã¥È¥ï¡¼¥¯Éé²Ù -Name[ko]=³×Æ®¿öÅ© ·Îµå -Name[lt]=Tinklo apkrovimas -Name[nl]=Netwerkbelasting -Name[no]=Nettverksbelastning -Name[pl]=Transfer sieciowy -Name[pt]=Utilização Rede -Name[ru]=úÁÇÒÕÚËÁ ÓÅÔÉ -Name[sv]=Nätbelastning -NAme[tr]=Að kullanýmý -Name[wa]=Tchedje del rantoele -Comment=Network Activity Meter -Comment[ca]=Mostra la càrrega de la xarxa -Comment[da]=Måler netværksaktiviteten -Comment[de]=Anzeige der Netzauslastung -Comment[el]=Åìöáíßæåé ôï åðßðåäï öüñôïõ ôïõ äéêôýïõ -Comment[es]=Muestra el nivel de utilización de la red -Comment[et]=Näitab võrgu koormatust -Comment[eu]=Sarearen jarduera neurtzeko -Comment[fi]=Verkonkuormitusmittari -Comment[fr]=Moniteur de la charge réseau -Comment[gl]=Medidor da carga da rede -Comment[hu]=Kijelzi a hálózati forgalmat -Comment[ja]=¥Í¥Ã¥È¥ï¡¼¥¯Éé²Ù¥â¥Ë¥¿ -Comment[ko]=³×Æ®¿öÅ© ·Îµå ÃøÁ¤ -Comment[lt]=Tinklo apkrovimo matuoklis -Comment[nl]=Netwerkbelasting -Comment[no]=Monitor for belastning av nettverk -Comment[pl]=Monitor obci±¿enia sieci -Comment[pt]=Mostra o nível de utilização de rede -Comment[ru]=éÚÍÅÒÉÔÅÌØ ÓÅÔÅ×ÏÊ ÁËÔÉ×ÎÏÓÔÉ -Comment[sv]=Nätverksaktivitets-visare -Comment[tr]=Að kullanýmýný gösterir -Comment[wa]=Aplikete ki mostere tchedje del rantoele -Exec=multiload_applet --activate-goad-server=multiload_netload_applet -Icon= -Terminal=0 -Type=Application diff --git a/multiload/properties.c b/multiload/properties.c deleted file mode 100644 index 828da14bb..000000000 --- a/multiload/properties.c +++ /dev/null @@ -1,132 +0,0 @@ -#include "global.h" -#include <libgnomeui/gnome-window-icon.h> - -GList *multiload_property_object_list = NULL; - -MultiLoadProperties multiload_properties; - -static GtkWidget *win = NULL; - -void -multiload_properties_cb (AppletWidget *widget, gpointer data) -{ - LoadGraph *g; - - g = data; - - if (g->global_prop_data == &multiload_properties.cpuload) - multiload_show_properties (PROP_CPULOAD); - else if (g->global_prop_data == &multiload_properties.memload) - multiload_show_properties (PROP_MEMLOAD); - else if (g->global_prop_data == &multiload_properties.swapload) - multiload_show_properties (PROP_SWAPLOAD); - else if (g->global_prop_data == &multiload_properties.netload) - multiload_show_properties (PROP_NETLOAD); - else if (g->global_prop_data == &multiload_properties.loadavg) - multiload_show_properties (PROP_LOADAVG); - else - g_assert_not_reached(); - return; - widget = NULL; -} - -void -multiload_properties_close (void) -{ - gnome_property_object_list_walk (multiload_property_object_list, - GNOME_PROPERTY_ACTION_DISCARD_TEMP); - - win = NULL; -} - -void -multiload_properties_apply (void) -{ - gnome_property_object_list_walk (multiload_property_object_list, - GNOME_PROPERTY_ACTION_APPLY); - - gnome_property_object_list_walk (multiload_property_object_list, - GNOME_PROPERTY_ACTION_SAVE_TEMP); - - gnome_property_object_list_walk (multiload_property_object_list, - GNOME_PROPERTY_ACTION_SAVE); - - gnome_property_object_list_walk (multiload_property_object_list, - GNOME_PROPERTY_ACTION_UPDATE); - - gnome_property_object_list_walk (multiload_property_object_list, - GNOME_PROPERTY_ACTION_LOAD_TEMP); -} - -void -multiload_properties_changed (void) -{ - gnome_property_box_changed (GNOME_PROPERTY_BOX (win)); -} - -static void -phelp_cb (GtkWidget *w, gint tab, gpointer data) -{ - GnomeHelpMenuEntry help_entry = { NULL, NULL }; - char *das_names[] = { - "cpuload_applet", - "memload_applet", - "swapload_applet", - "netload_applet", - "loadavg_applet" - }; - char *das_pages[] = { - "index.html#CPULOAD-PROPERTIES", - "index.html#MEMLOAD-PROPERTIES", - "index.html#SWAPLOAD-PROPERTIES", - "index.html#NETLOAD-PROPERTIES", - "index.html#LOADAVG-PROPERTIES" - }; - help_entry.name = das_names[tab]; - help_entry.path = das_pages[tab]; - gnome_help_display(NULL, &help_entry); -} - -void -multiload_show_properties (PropertyClass prop_class) -{ - GList *c; - - if (win) { - gdk_window_raise (win->window); - - return; - } - - win = gnome_property_box_new (); - if (prop_class == PROP_MEMLOAD || prop_class == PROP_SWAPLOAD) - gnome_window_icon_set_from_file (GTK_WINDOW (win), - GNOME_ICONDIR"/gnome-mem.png"); - - for (c = multiload_property_object_list; c; c = c->next) { - GnomePropertyObject *object = c->data; - - gnome_property_object_register - (GNOME_PROPERTY_BOX (win), object); - } - - gnome_property_object_list_walk (multiload_property_object_list, - GNOME_PROPERTY_ACTION_LOAD_TEMP); - - gtk_signal_connect (GTK_OBJECT (win), "apply", - GTK_SIGNAL_FUNC (multiload_properties_apply), NULL); - - gtk_signal_connect (GTK_OBJECT (win), "destroy", - GTK_SIGNAL_FUNC (multiload_properties_close), NULL); - - gtk_signal_connect (GTK_OBJECT (win), "help", - GTK_SIGNAL_FUNC (phelp_cb), NULL); - - gtk_widget_show_all (win); - gtk_notebook_set_page (GTK_NOTEBOOK (GNOME_PROPERTY_BOX (win)->notebook), prop_class); -} - -void -multiload_init_properties (void) -{ -} diff --git a/multiload/properties.h b/multiload/properties.h deleted file mode 100644 index 210ac388f..000000000 --- a/multiload/properties.h +++ /dev/null @@ -1,53 +0,0 @@ -#ifndef __PROPERTIES_H__ -#define __PROPERTIES_H__ - -#include <property-entries.h> - -BEGIN_GNOME_DECLS - -typedef enum { - PROP_CPULOAD, - PROP_MEMLOAD, - PROP_SWAPLOAD, - PROP_NETLOAD, - PROP_LOADAVG -} PropertyClass; - -typedef enum { - LOADAVG_1 = 0, - LOADAVG_5, - LOADAVG_15 -} LoadAvgType; - -typedef struct _MultiLoadProperties MultiLoadProperties; - -typedef struct _LoadGraphProperties LoadGraphProperties; - -struct _LoadGraphProperties { - guint type, n; - const gchar *name; - const gchar **texts; - const gchar **color_defs; - GdkColor *colors; - gulong adj_data [3]; - gint loadavg_type; - gint use_default; -}; - -struct _MultiLoadProperties { - LoadGraphProperties cpuload, memload, swapload, netload, loadavg; -}; - -extern GList *multiload_property_object_list; - -extern MultiLoadProperties multiload_properties; - -void multiload_properties_apply (void); -void multiload_properties_close (void); -void multiload_properties_changed (void); -void multiload_show_properties (PropertyClass prop_class); -void multiload_init_properties (void); - -END_GNOME_DECLS - -#endif diff --git a/multiload/property-entries.c b/multiload/property-entries.c deleted file mode 100644 index 21076990b..000000000 --- a/multiload/property-entries.c +++ /dev/null @@ -1,137 +0,0 @@ -#include <global.h> - -/* ======================================================================= - * Multiple adjustments. - * ======================================================================= - */ - -typedef struct -{ - gint num_items, total_size; - glong *values, *temp_values; -} AdjustmentBlockProperties; - -typedef struct -{ - glong *value; - GtkAdjustment *adjustment; - GnomePropertyObject *object; -} AdjustmentCbData; - -static void -_property_entry_adjustments_load_temp (GnomePropertyObject *object) -{ - AdjustmentBlockProperties *prop_ptr = object->prop_data; - - memcpy (prop_ptr->temp_values, prop_ptr->values, prop_ptr->total_size); -} - -static gint -_property_entry_adjustments_save_temp (GnomePropertyObject *object) -{ - AdjustmentBlockProperties *prop_ptr = object->prop_data; - - memcpy (prop_ptr->values, prop_ptr->temp_values, prop_ptr->total_size); - - return FALSE; -} - -static void -_property_entry_adjustment_changed_cb (GtkWidget *widget, - AdjustmentCbData *cb_data) -{ - *(cb_data->value) = cb_data->adjustment->value; - - gnome_property_object_changed (cb_data->object); - return; - widget = NULL; -} - -GtkWidget * -gnome_property_entry_adjustments (GnomePropertyObject *object, - const gchar *label, gint num_items, - gint columns, gint internal_columns, - gint *table_pos, const gchar *texts [], - glong *data_ptr, glong *values) -{ - GtkWidget *frame, *table; - GnomePropertyDescriptor *descriptor; - GnomePropertyObject *entry_object; - AdjustmentBlockProperties *prop_ptr; - glong *temp_values; - gint rows, i; - - frame = gtk_frame_new (_(label)); - - rows = (num_items < columns) ? 1 : (num_items+columns-1) / columns; - - temp_values = g_memdup (values, num_items * sizeof (glong)); - - table = gtk_table_new (rows, columns * internal_columns, TRUE); - gtk_table_set_col_spacings (GTK_TABLE (table), GNOME_PAD << 2); - gtk_container_set_border_width (GTK_CONTAINER (table), GNOME_PAD_SMALL); - - for (i = 0; i < num_items; i++) { - glong *data = &(data_ptr [i*8]); - AdjustmentCbData *cb_data; - GtkObject *adjustment; - GtkWidget *spin, *lb; - gint row, col; - - spin = gtk_spin_button_new (NULL, data [0], data [1]); - adjustment = gtk_adjustment_new (data [2], data[3], data [4], - data [5], data[6], data [7]); - gtk_spin_button_set_adjustment - (GTK_SPIN_BUTTON (spin), GTK_ADJUSTMENT (adjustment)); - gtk_spin_button_set_value - (GTK_SPIN_BUTTON (spin), values [i]); - - cb_data = g_new0 (AdjustmentCbData, 1); - cb_data->adjustment = GTK_ADJUSTMENT (adjustment); - cb_data->value = &(temp_values [i]); - cb_data->object = object; - - gtk_signal_connect (GTK_OBJECT (adjustment), "value_changed", - _property_entry_adjustment_changed_cb, - cb_data); - - col = table_pos ? table_pos [i] : i; - row = col / columns; - col %= columns; - col *= internal_columns; - - lb = gtk_label_new (_(texts [i])); - gtk_misc_set_alignment (GTK_MISC (lb), 0.0, 0.5); - - gtk_table_attach_defaults - (GTK_TABLE (table), lb, col, col+internal_columns-1, - row, row+1); - - gtk_table_attach_defaults - (GTK_TABLE (table), spin, col+internal_columns-1, - col+internal_columns, row, row+1); - } - - gtk_container_add (GTK_CONTAINER (frame), table); - - descriptor = g_new0 (GnomePropertyDescriptor, 1); - descriptor->size = sizeof (AdjustmentBlockProperties); - - descriptor->load_temp_func = _property_entry_adjustments_load_temp; - descriptor->save_temp_func = _property_entry_adjustments_save_temp; - - prop_ptr = g_new0 (AdjustmentBlockProperties, 1); - prop_ptr->total_size = num_items * sizeof (glong); - prop_ptr->num_items = num_items; - prop_ptr->temp_values = temp_values; - prop_ptr->values = values; - - entry_object = gnome_property_object_new (descriptor, prop_ptr); - entry_object->user_data = object; - - object->object_list = g_list_append (object->object_list, entry_object); - - g_free (descriptor); - - return frame; -} diff --git a/multiload/property-entries.h b/multiload/property-entries.h deleted file mode 100644 index 8e89e19b6..000000000 --- a/multiload/property-entries.h +++ /dev/null @@ -1,41 +0,0 @@ -/* WARNING ____ IMMATURE API ____ liable to change */ - -/* property-entries.h - Property entries. - - Copyright (C) 1998 Martin Baulig - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public License - as published by the Free Software Foundation; either version 2, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public - License along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA - 02111-1307, USA. -*/ - -#ifndef __PROPERTY_ENTRIES_H__ -#define __PROPERTY_ENTRIES_H__ - -#include <config.h> -#include <gnome.h> - -BEGIN_GNOME_DECLS - -/* Adjustment block. */ -GtkWidget * -gnome_property_entry_adjustments (GnomePropertyObject *object, - const gchar *label, gint num_items, - gint columns, gint internal_columns, - gint *table_pos, const gchar *texts [], - glong *data_ptr, glong *values); - -END_GNOME_DECLS - -#endif diff --git a/multiload/swapload.c b/multiload/swapload.c deleted file mode 100644 index 4b714b7ac..000000000 --- a/multiload/swapload.c +++ /dev/null @@ -1,124 +0,0 @@ -/* GNOME cpuload/memload panel applet - * (C) 1997 The Free Software Foundation - * - * Authors: Tim P. Gerla - * Martin Baulig - * - * With code from wmload.c, v0.9.2, apparently by Ryan Land, rland@bc1.com. - * - */ - -#include <stdio.h> -#include <config.h> -#include <sys/stat.h> -#include <unistd.h> -#include <signal.h> -#include <dirent.h> -#include <string.h> -#include <time.h> -#include <config.h> -#include <gnome.h> -#include <gdk/gdkx.h> -#include <applet-widget.h> -#include <libgnomeui/gnome-window-icon.h> - -#include "global.h" - -static void -about_cb (AppletWidget *widget, gpointer data) -{ - static GtkWidget *about = NULL; - const gchar *authors[8]; - - if (about != NULL) - { - gdk_window_show(about->window); - gdk_window_raise(about->window); - return; - } - - authors[0] = "Martin Baulig <martin@home-of-linux.org>"; - authors[1] = NULL; - - about = gnome_about_new - (_("Swap Load Applet"), VERSION, - "(C) 1999", - authors, - _("Released under the GNU general public license.\n\n" - "Swap Load Meter Applet."), - NULL); - gnome_window_icon_set_from_file (GTK_WINDOW (about), - GNOME_ICONDIR"/gnome-mem.png"); - - gtk_signal_connect (GTK_OBJECT (about), "destroy", - GTK_SIGNAL_FUNC (gtk_widget_destroyed), &about); - - gtk_widget_show (about); -} - -/* start a new instance of the swapload applet */ -GtkWidget * -make_swapload_applet (const gchar *goad_id) -{ - GtkWidget *applet; - LoadGraphProperties *prop_data; - LoadGraph *g; - - /* create a new applet_widget */ - applet = applet_widget_new (goad_id); - /* in the rare case that the communication with the panel - failed, error out */ - if (!applet) - g_error (_("Can't create applet!\n")); - - prop_data = g_memdup (&multiload_properties.swapload, - sizeof (LoadGraphProperties)); - - g = load_graph_new (APPLET_WIDGET (applet), 2, N_("Swap Load"), - &multiload_properties.swapload, prop_data, - multiload_properties.swapload.adj_data[0], - multiload_properties.swapload.adj_data[1], GetSwap, - "index.html#SWAPLOAD-PROPERTIES"); - - applet_widget_add (APPLET_WIDGET(applet), g->main_widget); - gtk_widget_show (applet); - - load_graph_start (g); - - applet_widget_register_stock_callback (APPLET_WIDGET(applet), - "properties", - GNOME_STOCK_MENU_PROP, - _("Default Properties..."), - multiload_properties_cb, - g); - - applet_widget_register_stock_callback (APPLET_WIDGET(applet), - "local_properties", - GNOME_STOCK_MENU_PROP, - _("Properties..."), - multiload_local_properties_cb, - g); - - applet_widget_register_stock_callback (APPLET_WIDGET(applet), - "run_gtop", - GNOME_STOCK_MENU_INDEX, - _("Run gtop..."), - start_gtop_cb, NULL); - - applet_widget_register_stock_callback (APPLET_WIDGET(applet), - "help", - GNOME_STOCK_PIXMAP_HELP, - _("Help"), - multiload_help_cb, - "swapload_applet"); - - applet_widget_register_stock_callback (APPLET_WIDGET(applet), - "about", - GNOME_STOCK_MENU_ABOUT, - _("About..."), - about_cb, NULL); - - applet_widget_set_tooltip(APPLET_WIDGET(applet), _("Swap Load")); - - return applet; -} diff --git a/multiload/swapload_applet.desktop b/multiload/swapload_applet.desktop deleted file mode 100644 index c3f38c3b2..000000000 --- a/multiload/swapload_applet.desktop +++ /dev/null @@ -1,49 +0,0 @@ -[Desktop Entry] -Name=SwapLoad -Name[ca]=Càrrega d'Intercanvi -Name[da]=Swapmåler -Name[de]=Swaplast -Name[el]=×ñÞóç éäåáôÞò ìíÞìçò (swap) -Name[es]=Carga swap -Name[et]=Swapi koormus -Name[eu]=Swap zama -Name[fi]=Sivutuskuorma -Name[fr]=Charge swap -Name[gl]=Carga da Swap -Name[it]=Carico dello swap -Name[ja]=¥¹¥ï¥Ã¥×Éé²Ù -Name[ko]=½º¿Ò ·Îµå -Name[lt]=Swap apkrovimas -Name[nl]=Wisselbestand -Name[no]=Swap-belastning -Name[pl]=Przestrzeñ wymiany -Name[pt]=Uso de swap -Name[ru]=úÁÇÒÕÚËÁ ÐÏÄËÁÞËÉ -Name[sv]=Swapbelastning -Name[tr]=Takas kullanýmý -Comment=Swap Load Meter -Comment[ca]=Mostra la càrrega dels dispositius d'intercanvi -Comment[da]=Viser swapbelastningen -Comment[de]=Messgerät für die Swaplast -Comment[el]=Åìöáíßæåé ôï åðßðåäï ÷ñÞóçò ôçò éäåáôÞò ìíÞìçò (swap) -Comment[es]=Muestra el nivel de ocupación de la memoria virtual (swap) -Comment[et]=Näitab virtuaalmälu täidetust -Comment[eu]=Memoria birtualak (swap)daraman zama neurtzeko -Comment[fi]=Sivutuskuorman mittari -Comment[fr]=Indique le taux d'occupation de la mémoire virtuelle (swap) -Comment[gl]=Medidor da carga da swap -Comment[it]=Mostra il livello di carico della memoria virtuale (swap) in un grafico -Comment[ja]=¥¹¥ï¥Ã¥×Éé²Ù¥á¡¼¥¿¡¼ -Comment[ko]=½º¿Ò ·Îµå Ç¥½Ã -Comment[lt]=Swap apkrovimo matuoklis -Comment[nl]=Wisselbestandsgebruik -Comment[no]=Måler for belastning på swap -Comment[pl]=Monitor wykorzystania przestrzeni wymiany -Comment[pt]=Mostra o nível de utilização do swap -Comment[ru]=éÚÍÅÒÉÔÅÌØ ÚÁÇÒÕÚËÉ ÐÏÄËÁÞËÉ -Comment[sv]=Övervakar swapbelastningen -Comment[tr]=Takas alaný kullanýmý -Exec=multiload_applet --activate-goad-server=multiload_swapload_applet -Icon= -Terminal=0 -Type=Application |