aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/airpcap_dlg.c
AgeCommit message (Collapse)AuthorFilesLines
2013-04-17Remove an unused variable, structure and #define caught by cppcheck.Evan Huus1-13/+0
Also fixes a small memory leak. svn path=/trunk/; revision=48903
2013-04-17Fix the following GTK-CRITICAL error Gtk-CRITICAL **: ↵Alexis La Goutte1-2/+4
gtk_list_store_get_path: assertion `iter->stamp == GTK_LIST_STORE (tree_model)->stamp' failed Problem come from no item in list (and impossible to select the first item...) svn path=/trunk/; revision=48901
2013-03-24Redissect extra packet windows in all cases (that I know of) where weEvan Huus1-0/+2
redissect normal packet list. Fixes https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8482 svn path=/trunk/; revision=48528
2013-03-22Fix "Decryption Key Warning " Dialog broken in revision 47005Alexis La Goutte1-8/+8
svn path=/trunk/; revision=48486
2013-03-22Fix "Advanced Wireless Settings" Dialog broken in revision 47003Alexis La Goutte1-10/+10
svn path=/trunk/; revision=48485
2013-03-22After Revision 46500 ( Make "Edit Interfaces Dialog" modal )Alexis La Goutte1-0/+2
The "Advanced Wireless / Remote Capture Settings" is not on the top of Dialog Make "Advanced Wireless / Remote Capture Settings " Dialog modal too svn path=/trunk/; revision=48482
2013-03-22Make Dialog about "Decryption Key (List / Add / Edit)" ModalAlexis La Goutte1-1/+4
svn path=/trunk/; revision=48481
2013-03-22On Windows (Tested with XP and 7), the Add(New)/Edit Decryption Key Dialog ↵Alexis La Goutte1-0/+2
is not always in top (regarding Decryption Key Management Dialog) svn path=/trunk/; revision=48480
2013-03-21From beroset:Bill Meier1-45/+45
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 attachment #10404 Note: The following parts of the patch had been previously done: asn1/snmp/packet-snmp-template.c epan/dissectors/packet-snmp.c epan/dissectors/packet-x11.c Also; hostlist_table.c: code under '#ifdef HAVE_GEOIP' didn't compile and needed a few additional patches. svn path=/trunk/; revision=48447
2013-03-15Bugfix Decryption Key Management dialog, bug 8446 ↵Michael Mann1-44/+0
(https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8446) Needed to convert use of old IEEE802.11 preference strings to UAT. Since UAT is self-contained within its own file, the entire preference file doesn't need to be rewritten/saved when UAT values are changed. svn path=/trunk/; revision=48308
2013-03-04Display "Select Decryption Mode" in Decryption Key Management (Broken by ↵Alexis La Goutte1-2/+2
revision 47005) svn path=/trunk/; revision=48059
2013-03-04Fix indent (Tabs => Spaces)Alexis La Goutte1-3/+3
svn path=/trunk/; revision=48058
2013-02-21Don't yell at the user quite so much. Remove exclamation points fromGerald Combs1-3/+3
some error messages and rephrase some others. svn path=/trunk/; revision=47787
2013-01-18Rename the "saved_val" preference element to "stashed_val" in order toGerald Combs1-0/+1
more clearly indicate that it's a copy of a preference value rather than something we've saved in the preferences file. Update prefs_pref_to_str() to handle default, stashed, and current prefs. Create ui/preference_utils.[ch] and move some common routines there. Use prefs_pref_type_name() in the GTK+ preferences dialog. Make the "OK" button in the Qt preferences dialog work. We simply write the prefs and redissect on "OK" and do nothing on "Cancel". This is intentionally different from the Apply/OK/Cancel behavior in the GTK+ version. Add a general "emitAppSignal" method to wsApp and use it for packet dissection and preference changes. Suggest that we might want to create a WsString class to make conversion between QStrings, gchar *s, and GStrings easier. svn path=/trunk/; revision=47139
2013-01-09Follow up on 47003 Anders Broman1-130/+37
Use ws_gtk_grid...() instead of gtk_table...(); in more places. svn path=/trunk/; revision=47005
2013-01-09 Use ws_gtk_grid...() instead of gtk_table...();Anders Broman1-15/+15
svn path=/trunk/; revision=47003
2012-12-26Fix a bunch of warnings.Guy Harris1-15/+15
Cast away some implicit 64-bit-to-32-bit conversion errors due to use of sizeof. Cast away some implicit 64-bit-to-32-bit conversion errors due to use of strtol() and strtoul(). Change some data types to avoid those implicit conversion warnings. When assigning a constant to a float, make sure the constant isn't a double, by appending "f" to the constant. Constify a bunch of variables, parameters, and return values to eliminate warnings due to strings being given const qualifiers. Cast away those warnings in some cases where an API we don't control forces us to do so. Enable a bunch of additional warnings by default. Note why at least some of the other warnings aren't enabled. randpkt.c and text2pcap.c are used to build programs, so they don't need to be in EXTRA_DIST. If the user specifies --enable-warnings-as-errors, add -Werror *even if the user specified --enable-extra-gcc-flags; assume they know what they're doing and are willing to have the compile fail due to the extra GCC warnings being treated as errors. svn path=/trunk/; revision=46748
2012-11-07Get rid of an GTK warning about illegal cast.Anders Broman1-4/+2
svn path=/trunk/; revision=45961
2012-11-04Use GtkGrid if GTK version is >= 3.2Anders Broman1-25/+63
svn path=/trunk/; revision=45910
2012-11-04Fix a typoAnders Broman1-1/+1
svn path=/trunk/; revision=45902
2012-11-04Use GtkGrid if GTK version is >= 3.2Anders Broman1-2/+37
svn path=/trunk/; revision=45901
2012-11-04Add the row with the tags firstAnders Broman1-25/+25
svn path=/trunk/; revision=45899
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45016
2012-09-01Remove a bunch of unused variables.Evan Huus1-18/+6
Protect a pointer dereference by moving it so it's guarded by the existing null check. Issues caught by cppcheck. svn path=/trunk/; revision=44733
2012-08-01Get rid of some GTK_CHECK_VERSION instances by using compabillity macros.Anders Broman1-44/+0
svn path=/trunk/; revision=44186
2012-07-09From Evan Huus:Anders Broman1-8/+0
Grab-bag of unused variables. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7452 svn path=/trunk/; revision=43616
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-06-02From Evan Huus Convert a bunch more GTK-2 calls to their cross-version ws_ ↵Anders Broman1-18/+18
equivalent svn path=/trunk/; revision=43009
2012-04-16Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-5/+0
svn path=/trunk/; revision=42090
2012-03-30As pointed out by Alexis: remove a bunch of set-but-unused variables.Jeff Morriss1-76/+3
svn path=/trunk/; revision=41839
2012-03-28Fix compilation.Michael Tüxen1-1/+1
svn path=/trunk/; revision=41815
2012-01-16Move some headers for UI stuff, and the alert_box.c UI-specific file, toGuy Harris1-1/+1
the ui directory. (Perhaps some other files that would be used by all flavors of Wireshark, for any GUI toolkit or for someting such as ncurses, and not for any command-line tool such as TShark, should be moved there as well.) Shuffle some #includes to put the "ui/XXX.h" includes together. svn path=/trunk/; revision=40529
2012-01-15Move gtk to ui/gtk.Jörg Mayer1-0/+2911
This looses the last checkin to gtk, will add this manually back. svn path=/trunk/; revision=40518