aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2006-10-17 01:29:55 +0000
committerUlf Lamping <ulf.lamping@web.de>2006-10-17 01:29:55 +0000
commita1b7a22a8ea88fafb16aa87cd7df4554196592fb (patch)
tree5cf2dd68394ea163507828808dd5063aa06b8822 /gtk
parentb76aaf82dacfe37f041998ea7a159c55c6cb40f0 (diff)
from Stephen Fisher:
Here is a patch for spelling typos in comments and strings in the gtk/ directories. svn path=/trunk/; revision=19568
Diffstat (limited to 'gtk')
-rw-r--r--gtk/airpcap_dlg.c2
-rw-r--r--gtk/capture_if_details_dlg.c2
-rw-r--r--gtk/conversations_table.c4
-rw-r--r--gtk/decode_as_dlg.c2
-rw-r--r--gtk/expert_comp_table.c2
-rw-r--r--gtk/mcast_stream_dlg.c4
-rw-r--r--gtk/print_mswin.c2
-rw-r--r--gtk/rtp_analysis.c4
-rw-r--r--gtk/rtp_player.c4
-rw-r--r--gtk/voip_calls.c4
10 files changed, 15 insertions, 15 deletions
diff --git a/gtk/airpcap_dlg.c b/gtk/airpcap_dlg.c
index 41737d47a9..ba72c531ed 100644
--- a/gtk/airpcap_dlg.c
+++ b/gtk/airpcap_dlg.c
@@ -272,7 +272,7 @@ if(keys_in_list > 0)
if(!KeysCollection)
{
/* Simple dialog ERROR */
- simple_dialog(ESD_TYPE_ERROR,ESD_BTN_OK,"%s","Failed mamory allocation for KeysCollection!");
+ simple_dialog(ESD_TYPE_ERROR,ESD_BTN_OK,"%s","Failed memory allocation for KeysCollection!");
return;
}
diff --git a/gtk/capture_if_details_dlg.c b/gtk/capture_if_details_dlg.c
index 2565700866..5d00066a26 100644
--- a/gtk/capture_if_details_dlg.c
+++ b/gtk/capture_if_details_dlg.c
@@ -2413,7 +2413,7 @@ capture_if_details_open(char *iface)
/* couldn't even get the packet.dll version, must be a very old one or just not existing -> give up */
/* (this seems to be the case for 2.3 beta and all previous releases) */
simple_dialog(ESD_TYPE_WARN, ESD_BTN_OK,
- PRIMARY_TEXT_START "Couldn't optain WinPcap packet.dll version!" PRIMARY_TEXT_END
+ PRIMARY_TEXT_START "Couldn't obtain WinPcap packet.dll version!" PRIMARY_TEXT_END
"\n\nThe WinPcap packet.dll is not installed or the version you use seems to be very old!"
"\n\nPlease update/install WinPcap.");
return;
diff --git a/gtk/conversations_table.c b/gtk/conversations_table.c
index 29e699ce3c..d07125d864 100644
--- a/gtk/conversations_table.c
+++ b/gtk/conversations_table.c
@@ -653,7 +653,7 @@ ct_show_popup_menu_cb(void *widg _U_, GdkEvent *event, conversations_table *ct)
gint column;
- /* To qoute the "Gdk Event Structures" doc:
+ /* To quote the "Gdk Event Structures" doc:
* "Normally button 1 is the left mouse button, 2 is the middle button, and 3 is the right button" */
if(event->type==GDK_BUTTON_PRESS && bevent->button==3){
/* if this is a right click on one of our columns, select it and popup the context menu */
@@ -1286,7 +1286,7 @@ init_ct_table_page(conversations_table *conversations, GtkWidget *vbox, gboolean
/*copy_bt = gtk_button_new_with_label ("Copy content to clipboard as CSV");*/
copy_bt = BUTTON_NEW_FROM_STOCK(GTK_STOCK_COPY);
gtk_tooltips_set_tip(tooltips, copy_bt,
- "Copy all statistical values of this page to the clipboard in CSV (Comma Seperated Values) format.", NULL);
+ "Copy all statistical values of this page to the clipboard in CSV (Comma Separated Values) format.", NULL);
SIGNAL_CONNECT(copy_bt, "clicked", copy_as_csv_cb,(gpointer *) conversations);
gtk_box_pack_start(GTK_BOX(vbox), copy_bt, FALSE, FALSE, 0);
#endif
diff --git a/gtk/decode_as_dlg.c b/gtk/decode_as_dlg.c
index 3f1f161b07..7d58887e0c 100644
--- a/gtk/decode_as_dlg.c
+++ b/gtk/decode_as_dlg.c
@@ -97,7 +97,7 @@ static GtkWidget *decode_w = NULL;
/*
* A static pointer to the current "Decode As:Show" window. This is
* kept so that if somebody tries to do clock the "Show Current"
- * button or slect the "Display:User Specified Decodes" menu item
+ * button or select the "Display:User Specified Decodes" menu item
* while there's already a "Decode As:Show" window up, we just pop up
* the existing one, rather than creating a new one.
*/
diff --git a/gtk/expert_comp_table.c b/gtk/expert_comp_table.c
index 65eb05f660..c44f7e64cc 100644
--- a/gtk/expert_comp_table.c
+++ b/gtk/expert_comp_table.c
@@ -477,7 +477,7 @@ static GtkItemFactoryEntry error_list_menu_items[] =
error_select_filter_cb, 6*256+0, NULL, NULL),
#if (GTK_MAJOR_VERSION < 2)
/* Go to first packet matching this entry */
- ITEM_FACTORY_ENTRY("/Goto First Occurance", NULL,
+ ITEM_FACTORY_ENTRY("/Goto First Occurrence", NULL,
error_select_filter_cb, 7*256+0, NULL, NULL),
#endif
};
diff --git a/gtk/mcast_stream_dlg.c b/gtk/mcast_stream_dlg.c
index a402356089..85a99d03bb 100644
--- a/gtk/mcast_stream_dlg.c
+++ b/gtk/mcast_stream_dlg.c
@@ -85,7 +85,7 @@ static GList *last_list = NULL;
static guint32 streams_nb = 0; /* number of displayed streams */
#define NUM_COLS 12
-static const gchar *titles[NUM_COLS] = {"Src IP addr", "Src port", "Dst IP addr", "Dst port", "Packets", "Packets/s", "Awg Bw", "Max Bw", "Max burst", "Burst Alarms", "Max buffer", "Buff Alarms"};
+static const gchar *titles[NUM_COLS] = {"Src IP addr", "Src port", "Dst IP addr", "Dst port", "Packets", "Packets/s", "Avg Bw", "Max Bw", "Max burst", "Burst Alarms", "Max buffer", "Buff Alarms"};
/****************************************************************************/
/* append a line to clist */
@@ -348,7 +348,7 @@ mcast_params_ok_cb(GtkWidget *ok_bt _U_, gpointer parent_w)
fnumber_text = gtk_entry_get_text(GTK_ENTRY(fnumber_te));
fnumber = strtoul(fnumber_text, &p, 10);
if ( (p == fnumber_text || *p != '\0') || (fnumber <=0) ){
- simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, "The burst alarm treshold you entered isn't valid.");
+ simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, "The burst alarm threshold you entered isn't valid.");
return; }
trigger = fnumber;
diff --git a/gtk/print_mswin.c b/gtk/print_mswin.c
index a18f2f3c0e..1d0189af15 100644
--- a/gtk/print_mswin.c
+++ b/gtk/print_mswin.c
@@ -114,7 +114,7 @@ void print_mswin(char *file_name)
*
* "CreateDC()" creates a device context, and you can
* apparently specify WINSPL16 as the driver name on
- * Windows OT, or ther name of a "print provider", such as
+ * Windows OT, or the name of a "print provider", such as
* "WINSPOOL" on Windows NT, to get a context for a printer.
*
* The device name would be the printer name as shown by the
diff --git a/gtk/rtp_analysis.c b/gtk/rtp_analysis.c
index f285ad9079..e5481dc93d 100644
--- a/gtk/rtp_analysis.c
+++ b/gtk/rtp_analysis.c
@@ -1023,7 +1023,7 @@ static void on_destroy(GtkWidget *win _U_, user_data_t *user_data _U_)
window_destroy(user_data->dlg.graph_window);
#endif
- /* disable the "switch_page" signal in the dlg, otherwise will be called when the windows is destroy and cause an exeption using GTK1*/
+ /* disable the "switch_page" signal in the dlg, otherwise will be called when the windows is destroy and cause an exception using GTK1*/
gtk_signal_disconnect(GTK_OBJECT(user_data->dlg.notebook), user_data->dlg.notebook_signal_id);
g_free(user_data->dlg.col_arrows_fwd);
@@ -2955,7 +2955,7 @@ static void save_voice_as_ok_cb(GtkWidget *ok_bt _U_, gpointer fs _U_)
if(!copy_file(g_dest, channels, format, user_data)) {
/* XXX - report the error type! */
simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK,
- "An error occured while saving voice in a file!");
+ "An error occurred while saving voice in a file!");
return;
}
diff --git a/gtk/rtp_player.c b/gtk/rtp_player.c
index 691ace836c..f259824a4c 100644
--- a/gtk/rtp_player.c
+++ b/gtk/rtp_player.c
@@ -675,9 +675,9 @@ decode_rtp_stream(rtp_stream_info_t *rsi, gpointer ptr _U_)
(mean_delay + 4*variation)*1000);
fflush(stdout);
- /* if the jitter buffer was exceded */
+ /* if the jitter buffer was exceeded */
if ( diff*1000 > jitter_buff ) {
- printf("Packet drop by jitter buffer exceded\n");
+ printf("Packet drop by jitter buffer exceeded\n");
rci->drop_by_jitter_buff++;
status = S_DROP_BY_JITT;
diff --git a/gtk/voip_calls.c b/gtk/voip_calls.c
index 08a7b68964..a1dc9bfb2d 100644
--- a/gtk/voip_calls.c
+++ b/gtk/voip_calls.c
@@ -621,7 +621,7 @@ static void RTP_packet_draw(void *prs _U_)
new_gai->port_src = rtp_listinfo->src_port;
new_gai->port_dst = rtp_listinfo->dest_port;
duration = (rtp_listinfo->stop_rel_sec*1000000 + rtp_listinfo->stop_rel_usec) - (rtp_listinfo->start_rel_sec*1000000 + rtp_listinfo->start_rel_usec);
- new_gai->frame_label = g_strdup_printf("RTP (%s) %s", rtp_listinfo->pt_str, (rtp_listinfo->rtp_event == -1)?"":val_to_str(rtp_listinfo->rtp_event, rtp_event_type_values, "Uknown RTP Event"));
+ new_gai->frame_label = g_strdup_printf("RTP (%s) %s", rtp_listinfo->pt_str, (rtp_listinfo->rtp_event == -1)?"":val_to_str(rtp_listinfo->rtp_event, rtp_event_type_values, "Unknown RTP Event"));
g_free(rtp_listinfo->pt_str);
new_gai->comment = g_strdup_printf("RTP Num packets:%u Duration:%u.%03us ssrc:%u", rtp_listinfo->npackets, duration/1000000,(duration%1000000)/1000, rtp_listinfo->ssrc);
new_gai->conv_num = conv_num;
@@ -722,7 +722,7 @@ T38_packet( void *ptr _U_, packet_info *pinfo, epan_dissect_t *edt _U_, const vo
}
/* if setup_frame_number in the t38 packet is 0, it means it was not set using an SDP or H245 sesion, which means we don't
- * have the associated Voip calls. It probably means the the packet was decoded using the deafult t38 port, or using "Decode as.."
+ * have the associated Voip calls. It probably means the the packet was decoded using the default t38 port, or using "Decode as.."
* in this case we create a "voip" call that only have t38 media (no signaling)
* OR if we have not found the Setup message in the graph.
*/