Spelling fixes

Fix several spelling mistakes in code comments as well as the Changelog.

Thanks to Ville Skyttä for providing the patch.
This commit is contained in:
Stefan Gehn 2014-07-12 22:48:16 +02:00
parent 4ff218d726
commit eb0a44b64b
14 changed files with 17 additions and 17 deletions

View File

@ -372,7 +372,7 @@ GKrellM Changelog
o Henrik Brix Andersen: use gtk_window_get_size() when calculating
_NET_WM_STRUT size so strut space can be resized when shutting gkrellm.
o Don't save new y_positions that are y packed and not user set (eg
preserve user positon when opening fs secondaries for > 10 seconds).
preserve user position when opening fs secondaries for > 10 seconds).
o Don't nest static function declarations inside of functions to fix
upcoming gcc 3.5 compile errors - from Art Haas.
o Sensor location menu wasn't recreated after the first config opening.
@ -1289,7 +1289,7 @@ I got a very needed translation update just after releasing 2.1.7:
Solaris from Daisuke.
* Option to run sensor reads in a thread - for systems with slow sensor
interfaces that cause display pauses.
* Cumulative net bytes transfered displayable with dual trip counters.
* Cumulative net bytes transferred displayable with dual trip counters.
* i18n enabled Makefile is default.
* Contributions:
o Hajimu UMEMOTO <ume--at--FreeBSD.org> patch for adding APOP password
@ -1737,7 +1737,7 @@ I got a very needed translation update just after releasing 2.1.7:
as a drawer that FS monitors can be taken out of when mounted.
* FS mount commands can be customized so mounts can be made of file
systems not in /etc/fstab. Using this requires that GKrellM be
run as root or that the user has sudo mount priviledges.
run as root or that the user has sudo mount privileges.
* Changed the FS capacity display from toggling to scrolling and added
option to display in binary units (MiB GiB) instead of default SI norm.
* Patch from Tom Gilbert <gilbertt--at--btinternet.com> allows window

View File

@ -1054,7 +1054,7 @@ Notes about Style settings for panel or meter areas only:
<li>label_yoff (new in 2.2.2) is a pixel offset for labels from the top of
a panel. If label_yoff is <= 0 (the default), labels are placed at the
panel top margin. Use this if for some reason you want to control a
label's y postion independent of the panel top margin setting.
label's y position independent of the panel top margin setting.
Not all panels use labels, so this may be of special case usefulness.
</li><li>
margins may be used to set all margins at once, or you may individually

View File

@ -1604,7 +1604,7 @@ static gboolean service_uninstall()
}
else
{
// handle to gkrellm service aquired, now stop and uninstall it
// handle to gkrellm service acquired, now stop and uninstall it
if (service_stop(svcHandle))
{
delRet = DeleteService(svcHandle);

View File

@ -1452,7 +1452,7 @@ gkrellm_add_chartdata(GkrellmChart *cp, GdkPixmap **src_pixmap,
if (!cp || !src_pixmap || !grid_pixmap || !label)
return NULL;
/* To handle theme and vert size changes without loosing data, reuse the
/* To handle theme and vert size changes without losing data, reuse the
| GkrellmChartdata structs in the cd_list.
*/
list = g_list_nth(cp->cd_list, cp->cd_list_index++);

View File

@ -176,7 +176,7 @@ void gkrellm_disk_units_are_blocks(void); /* Otherwise bytes */
/* Inet monitor interface
|
| System dependent code should #include "inet.h" and inet.h
| should #define INET6 if IPV6 protocal is available.
| should #define INET6 if IPV6 protocol is available.
*/
gboolean gkrellm_sys_inet_init(void);

View File

@ -420,7 +420,7 @@ gkrellm_gtk_config_launcher(GtkWidget *table, gint n, GtkWidget **launch_entry,
}
/* FIXME: this guy is called on panels at create events
| when this situation has occured: the GKrellM rebuild has destroyed
| when this situation has occurred: the GKrellM rebuild has destroyed
| the decal button list. But existing launchers have not had their
| button pointer set to NULL! This could cause a problem with
| code that tries to check for button pointers in the create routines.

View File

@ -1673,7 +1673,7 @@ cb_configure_notify(GtkWidget *widget, GdkEventConfigure *ev, gpointer data)
/* At startup can be a race for configure events to be reporting correct
| move to position and pack_side_frames() first call. Initial configure
| events will be intermediate x,y values as intial mapping happens, so
| events will be intermediate x,y values as initial mapping happens, so
| using configure event position values is delayed.
*/
if (!configure_position_lock)

View File

@ -87,7 +87,7 @@ typedef struct
GkrellmAlert *alert;
guint64 total, /* Total memory or swap in system */
used, /* Amount of memory (calulated) or swap used */
used, /* Amount of memory (calculated) or swap used */
free, /* Not used by swap monitor */
shared, /* Not used by swap monitor */
buffers, /* Not used by swap monitor */

View File

@ -991,7 +991,7 @@ gkrellm_sys_sensors_init(void)
GList *list;
struct freebsd_sensor *sensor;
/* Do intial daemon reads to get sensors loaded into sensors.c
/* Do initial daemon reads to get sensors loaded into sensors.c
*/
gkrellm_sys_sensors_mbmon_check(TRUE);

View File

@ -1564,7 +1564,7 @@ gkrellm_sys_sensors_init(void)
GList *list;
struct freebsd_sensor *sensor;
/* Do intial daemon reads to get sensors loaded into sensors.c
/* Do initial daemon reads to get sensors loaded into sensors.c
*/
gkrellm_sys_sensors_mbmon_check(TRUE);

View File

@ -955,7 +955,7 @@ gkrellm_sys_net_check_routes(void)
{
if ( strtok(buf, " \t\n") == NULL) continue; /* Extract first field */
/* Extract the nineth field on the line, i.e., the name of the device */
/* Extract the ninth field on the line, i.e., the name of the device */
for (i = 1; i <= 9 && (s = strtok(NULL, " \t\n")) != NULL; i++);
/* If i is not 10, strtok failed prematurely */
@ -3880,7 +3880,7 @@ gkrellm_sys_sensors_init(void)
g_dir_close(dir);
}
/* Do intial daemon reads to get sensors loaded into sensors.c
/* Do initial daemon reads to get sensors loaded into sensors.c
*/
gkrellm_sys_sensors_hddtemp_check();
gkrellm_sys_sensors_mbmon_check(TRUE);

View File

@ -71,7 +71,7 @@ gkrellm_sys_main_init(void)
/*
* a function called by the following requires sys gid privilege.
* the folowing function should be performed here just for that reason.
* the following function should be performed here just for that reason.
*/
solaris_list_harddisks();

View File

@ -121,7 +121,7 @@ shm_open_or_start_app(ShmData *shm, const wchar_t *shm_name,
// - Chris Zahrt techn0@iastate.edu (visual c alterations)
// http://techn0.dhs.org/programming/vcmbmsm.html
//
// Licence : Cardware. (Send me a note/email if you find it usefull.)
// Licence : Cardware. (Send me a note/email if you find it useful.)
// Basically you may use it as you see fit as long as the origin
// of the code remains clear
//

View File

@ -1363,7 +1363,7 @@ gkrellm_sys_swap_read_data(void)
{
win32_warning(NTDLL, ntstatus, "Could not determine swap usage");
g_free(pBuf);
// Some other error occured, give up
// Some other error occurred, give up
return;
}
}