forked from osmocom/wireshark
from Stephen Fisher:
Here is a patch for spelling typos in comments and strings in the gtk/ directories. svn path=/trunk/; revision=19568
This commit is contained in:
parent
b76aaf82da
commit
a1b7a22a8e
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue