Date: Fri, 17 Aug 2007 07:40:49 GMT From: dongmei <dongmei@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 125260 for review Message-ID: <200708170740.l7H7enX2095846@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=125260 Change 125260 by dongmei@dongmei2007 on 2007/08/17 07:40:07 correct some error define Affected files ... .. //depot/projects/soc2007/dongmei-auditanalyzer/gtk/simple_dialog.c#2 edit Differences ... ==== //depot/projects/soc2007/dongmei-auditanalyzer/gtk/simple_dialog.c#2 (text+ko) ==== @@ -173,13 +173,13 @@ while(stock_id != NULL) { if (strcmp(stock_id, GTK_STOCK_OK) == 0) { ok = stock_id; - } else if (strcmp(stock_id, WIRESHARK_STOCK_CREATE_STAT) == 0) { + } else if (strcmp(stock_id, AUANALYZER_STOCK_CREATE_STAT) == 0) { create_stat = stock_id; } else if (strcmp(stock_id, GTK_STOCK_APPLY) == 0) { apply = stock_id; } else if (strcmp(stock_id, GTK_STOCK_SAVE) == 0) { save = stock_id; - } else if (strcmp(stock_id, WIRESHARK_STOCK_DONT_SAVE) == 0) { + } else if (strcmp(stock_id, AUANALYZER_STOCK_DONT_SAVE) == 0) { dont_save = stock_id; } else if (strcmp(stock_id, GTK_STOCK_CANCEL) == 0) { cancel = stock_id; @@ -188,9 +188,9 @@ } else if (strcmp(stock_id, GTK_STOCK_CLEAR) == 0) { clear = stock_id; #ifdef HAVE_LIBPCAP - } else if (strcmp(stock_id, WIRESHARK_STOCK_CAPTURE_START) == 0) { + } else if (strcmp(stock_id, AUANALYZER_STOCK_CAPTURE_START) == 0) { cap_start = stock_id; - } else if (strcmp(stock_id, WIRESHARK_STOCK_CAPTURE_STOP) == 0) { + } else if (strcmp(stock_id, AUANALYZER_STOCK_CAPTURE_STOP) == 0) { cap_stop = stock_id; #endif /* HAVE_LIBPCAP */ } else if (strcmp(stock_id, GTK_STOCK_STOP) == 0) { @@ -207,7 +207,7 @@ yes = stock_id; } else if (strcmp(stock_id, GTK_STOCK_NO) == 0) { no = stock_id; - } else if (strcmp(stock_id, WIRESHARK_STOCK_FILTER_OUT_STREAM) == 0) { + } else if (strcmp(stock_id, AUANALYZER_STOCK_FILTER_OUT_STREAM) == 0) { filter_stream = stock_id; } else { /* we don't know that button! */ @@ -591,7 +591,7 @@ bbox = dlg_button_row_new(GTK_STOCK_YES, GTK_STOCK_NO, GTK_STOCK_CANCEL, NULL); break; case(ESD_BTNS_SAVE_DONTSAVE_CANCEL): - bbox = dlg_button_row_new(GTK_STOCK_SAVE, WIRESHARK_STOCK_DONT_SAVE, GTK_STOCK_CANCEL, NULL); + bbox = dlg_button_row_new(GTK_STOCK_SAVE, AUANALYZER_STOCK_DONT_SAVE, GTK_STOCK_CANCEL, NULL); break; case(ESD_BTNS_YES_NO): bbox = dlg_button_row_new(GTK_STOCK_YES, GTK_STOCK_NO, NULL); @@ -616,7 +616,7 @@ SIGNAL_CONNECT(save_bt, "clicked", simple_dialog_cancel_cb, win); } - dont_save_bt = OBJECT_GET_DATA(bbox, WIRESHARK_STOCK_DONT_SAVE); + dont_save_bt = OBJECT_GET_DATA(bbox, AUANALYZER_STOCK_DONT_SAVE); if (dont_save_bt) { OBJECT_SET_DATA(dont_save_bt, CALLBACK_BTN_KEY, GINT_TO_POINTER(ESD_BTN_DONT_SAVE)); SIGNAL_CONNECT(dont_save_bt, "clicked", simple_dialog_cancel_cb, win);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708170740.l7H7enX2095846>