summaryrefslogtreecommitdiff
path: root/ui/gtk/stock_icons.c
AgeCommit message (Collapse)AuthorFilesLines
2016-02-25Add GResource message to configure scriptJoão Valverde1-5/+5
Use more descriptive naming while at it. Change-Id: Ic89562cb9fa2cd5e315992f12ad9e46f2361da0b Reviewed-on: https://code.wireshark.org/review/14057 Petri-Dish: João Valverde <j@v6e.pt> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-11-12[GTK] Replace deprecated gdk_pixbuf_new_from_inline()João Valverde1-3/+56
Use GResource instead, if available. Add autotools and cmake compile time checks for build requirements (GIO >= 2.32 and GDK-Pixbuf >= 2.26). Merge all the various static pixbuf csource header files into a single pixbuf-csource.h header with external linkage through use of the tools/make-pixbuf-csource.pl script. Fix inline pixbuf build target for some image paths (broken for GTK in gb4a4de7). Add missing 'expert_ok.png' file to distribution (GTK only). Minor improvements to style/structure of ui/gtk/Makefile.am. Bug: 10750 Change-Id: I031296b666ee8b92730400dfa6f71f9ee4304863 Reviewed-on: https://code.wireshark.org/review/10992 Petri-Dish: Anders Broman <a.broman58@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2015-10-05Move utf8_entities.h to wsutilJoão Valverde1-1/+1
Change-Id: I6298b3de5f0a1cb988014ff16082eaf8c2a3c3c0 Reviewed-on: https://code.wireshark.org/review/10786 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2015-01-01Remove unneeded includes from ui folderMartin Mathieson1-1/+0
Change-Id: Ifd1eebff9080cd3867e44e4dcb2d2681370ed60a Reviewed-on: https://code.wireshark.org/review/6128 Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
2014-03-26Postpone replacing GTK+ stock icon usageBalint Reczey1-10/+16
This prevents regressions observable on GTK+ 3.10 which caused icons to disappear in some cases. Change-Id: Ic971258807510dc038e30c6c64fb547f0529a3c2 Reviewed-on: https://code.wireshark.org/review/792 Reviewed-by: Balint Reczey <balint@balintreczey.hu>
2014-03-17Try to fix warning: cast discards__attribute__((const)) qualifierAndersBroman1-172/+172
from pointer target type [-Wcast-qual] Change-Id: Idb1d8c9ac6fee135d3c3c7438d46ad6fb396954f Reviewed-on: https://code.wireshark.org/review/715 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-03-11GTK_STOCK_PRINT_ERROR was missing in GTK+ < 2.14, tooBalint Reczey1-0/+2
Change-Id: I1be141c58252b8bb0db2ffff2edbb80f92c69cd6 Reviewed-on: https://code.wireshark.org/review/606 Reviewed-by: Balint Reczey <balint@balintreczey.hu> Tested-by: Balint Reczey <balint@balintreczey.hu>
2014-03-11Don't use some stock icons missing in old (< 2.16) versions in GTK+Balint Reczey1-0/+10
Change-Id: I2716a8a25627de9c3945fbf5117edcb4859aa95f Reviewed-on: https://code.wireshark.org/review/605 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-03-11Migrate GTK icon handling to GTK 3.10 APIBalint Reczey1-165/+410
GtkStockItem usage is deprecated with all the GTK_STOCK_.* stock ids. We keep a stock id based approach but without relying on GTK's GtkStockItem system. We create our own internal stock ids for {icon, label} tuples and keep the original GTK stock id #define-s and values to preserve backward compatibility. Change-Id: Ia0b35a5903f079e92c8026e3df21bbf0be2d06b0 Reviewed-on: https://code.wireshark.org/review/302 Reviewed-by: Gerald Combs <gerald@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2013-06-16Make the B->A graph label show as A<-B to be consistent with the columnMartin Mathieson1-1/+1
heading. svn path=/trunk/; revision=49954
2013-04-26Update the capture start, stop, and restart icons and development badgeGerald Combs1-1/+1
with enhanced versions from Elliott. Switch the interface configuration icon to the "gear" version. This matches the gear in the capture icon. svn path=/trunk/; revision=49059
2013-03-27Add an interface list icon. Some of the new capture icons were 1 pixelGerald Combs1-12/+13
too small, so add corrected ones. Add SVG versions of the new toolbar icons. Use consistent naming for alternate icons. Remove some no-longer-used XPMs. Add a script to compress PNGs using various utilities and run it. Regenerate the pixbuf includes using the smaller PNGs. svn path=/trunk/; revision=48591
2013-03-26Add new capture toolbar icons.Gerald Combs1-11/+7
svn path=/trunk/; revision=48571
2013-03-26More icon updates. Gerald Combs1-4/+4
Use the PNG versions of the new application icons. Remove the XPM versions of the Wireshark application and capture icons. To paraphrase Zoidberg, XPMs are bad and we should feel bad. Remove xpm_to_widget_from_parent (which we weren't using and likely won't use in the future). Replace wiki_24.xpm (which was a GNOME or GTK+ stock icon IIRC) with the 16x16 and 24x24 versions emblem-web.png from GNOME icon theme 2.30.3. This version was used specifically because it's GPLv2 and later versions are GPLv3. Update image/README. svn path=/trunk/; revision=48565
2013-03-21Bill pointed out that gtk_window_get_size() + gtk_window_resize()Gerald Combs1-2/+3
doesn't work well in some cases. Switch to window_get_geometry() + gtk_window_set_default_size(). (We use gtk_widget_get_preferred_size() elsewhere but fetches what appeares the minimum width of the top-level window on my machine instead of the actual width.) Use a macro to define the initial conversation and endpoint dialog heigth and increase its value. Use best-guess dialog metrics and UTF8 entities in a few more spots. Add a comment about alignment not working quite right in Gtk3. svn path=/trunk/; revision=48459
2013-03-21From beroset:Bill Meier1-67/+69
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
2012-12-26Fix a bunch of warnings.Guy Harris1-67/+67
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-12-22The Wireshark file icon makes more sense than a floppy disk[1]. SwitchGerald Combs1-2/+2
back to it and name it "Save" instead of "File". [1] http://www.hanselman.com/blog/TheFloppyDiskMeansSaveAnd14OtherOldPeopleIconsThatDontMakeSenseAnymore.aspx svn path=/trunk/; revision=46696
2012-12-07Use 16x16 icons for small toolbars as well as menus.Gerald Combs1-0/+7
svn path=/trunk/; revision=46435
2012-12-05Create 16x16 and 24x24 versions of the document icon with a contrastingGerald Combs1-4/+42
border. Add them as pixbufs to ui/gtk/toolbar_icons.h and use them to replace the file icon XPM in stock_icons.c. Add modelines. svn path=/trunk/; revision=46413
2012-12-04Replace GTK_STOCK_SAVE with WIRESHARK_STOCK_FILE in a few places,Gerald Combs1-2/+2
including the GTK+ and Qt main toolbars. svn path=/trunk/; revision=46374
2012-11-11Allow TCP graphs to be launched from the conversation table window.Martin Mathieson1-0/+2
svn path=/trunk/; revision=46001
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-2/+0
svn path=/trunk/; revision=45016
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-03When allowing the user to save a capture file before closing it, if it'sGuy Harris1-0/+6
a live capture: have the dialog note that what's being saved are captured packets; have the dialog note that the capture will be stopped if you close/quit; actually stop the capture before saving the file or closing it. This should fix bug 7318 (it appears to do so in my tests). svn path=/trunk/; revision=43045
2012-01-15More .. -> ../.. changes after gtk/ moveJörg Mayer1-43/+43
svn path=/trunk/; revision=40523
2012-01-15Move gtk to ui/gtk.Jörg Mayer1-0/+267
This looses the last checkin to gtk, will add this manually back. svn path=/trunk/; revision=40518