summaryrefslogtreecommitdiff
path: root/gtk/gtkaccelmap.c
Commit message (Collapse)AuthorAgeFilesLines
* Clean up private headersMatthias Clasen2014-04-051-0/+1
| | | | | This commit adds a few missing private headers, and cleans up some irregularities in the existing ones
* docs: use Returns: consistentlyWilliam Jon McCann2014-02-191-1/+1
| | | | Instead of Return value:
* Docs: Remove all entities and turn off sgml modeMatthias Clasen2014-02-091-2/+2
| | | | | With all element markup gone, it is time to turn off sgml mode, and get rid of entities as well.
* docs: use apostrophe in *'reWilliam Jon McCann2014-02-071-1/+1
|
* docs: use apostrophe in *'llWilliam Jon McCann2014-02-071-1/+1
|
* docs: use apostrophes in *n'tWilliam Jon McCann2014-02-071-4/+4
|
* docs: use proper apostropheWilliam Jon McCann2014-02-071-1/+1
| | | | https://wiki.gnome.org/Design/OS/Typography
* docs: Use markup for linksWilliam Jon McCann2014-02-071-2/+2
|
* docs: use proper quotesWilliam Jon McCann2014-02-051-7/+7
|
* docs: Use "#" for refsect2 instead of ##William Jon McCann2014-02-041-3/+3
|
* docs: don't use <replaceable>William Jon McCann2014-02-041-1/+1
|
* docs: Convert to markdownMatthias Clasen2014-02-021-46/+38
| | | | Specifically, switch to using markdown syntax for sections.
* Remove superfluous g_file_test()Timothy Arceri2013-10-151-3/+0
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=168530 Signed-off-by: Timothy Arceri <t_arceri@yahoo.com.au>
* Deprecate and ignore gtk-can-change-accelsWilliam Jon McCann2013-06-261-1/+1
| | | | It is disabled by default
* docs: correct various spelling and grammar errorsWill Thompson2013-03-041-1/+1
| | | | | I noticed a few cases of "wether", and while fixing them noticed a few "its" which should be "it's". It all went downhill from there.
* Document removing of acceleratorsHolger Berndt2012-05-181-0/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=676243
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* GtkApplication: change the accel prefix we useRyan Lortie2012-01-231-1/+1
| | | | | | | | | | | GtkApplication adds to the global accel map using the prefix <Actions> which is also used by GtkAction. This causes GtkApplicationWindow to try to parse GtkAction-added accels as if they were its own (which fails). Switch to a different namespace -- <GAction>/. https://bugzilla.gnome.org/show_bug.cgi?id=668367
* Introduce gtkaccelmapprivate.hMatthias Clasen2011-12-191-1/+18
| | | | | | | Move internal accel map API there and update all users. Also, add an internal function to create an accel path for an action and parameter, and use it in gtkapplication.c and gtkmodelmenuitem.c instead of duplicating that code.
* Make accelmap initialization more forgivingMatthias Clasen2011-12-191-3/+2
|
* Documentation fixesMatthias Clasen2011-09-251-4/+6
| | | | | Mostly making sure that return values and varargs don't loose their docs.
* gtkaccelmap: the data gtk_accel_map_foreach needs to be annotated as allow-noneIgnacio Casal Quinteiro2011-07-091-1/+1
|
* [GI] Add missing (scope) annotationsPavel Holejsovsky2011-01-201-3/+4
|
* [GI] Annotate strings holding file paths as (type filename)Pavel Holejsovsky2011-01-181-3/+3
|
* Hide GtkWindowGroup membersMatthias Clasen2010-12-171-1/+1
| | | | | | In the process of removing all sealed members from headers. At the same time, add a gtkwindowprivate.h header and move all internal functions from gtkwindow.h there.
* Update and expand GtkAccelMap API docsTadej Borovšak2010-09-271-9/+63
|
* Move documentation to inline comments: GtkAccelMapJavier Jardón2010-09-271-0/+7
|
* Drop Win32 DLL ABI compatibility cruftTor Lillqvist2010-08-301-28/+0
| | | | No need for that any longer as we are changing DLL name.
* Add annotations for GtkAccelMapIgnacio Casal Quinteiro2010-07-131-4/+4
|
* gtk/: fully remove gtkalias hacksJavier Jardón2010-07-101-5/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* Add and use internal accessor for accelerables in GtkAccelGroupChristian Dywan2010-05-031-1/+1
|
* Use gtk_accel_grouop_get_is_locked() rather than trying to access ↵Cody Russell2010-05-031-1/+1
| | | | group->lock_count.
* gtk/gtk.symbols gtk/makegtkalias.pl gtk/gtkaccelmap.c gtk/gtkfilechooser.cTor Lillqvist2008-08-081-1/+1
| | | | | | | | | | | | | | | | | | | | 2008-08-08 Tor Lillqvist <tml@novell.com> * gtk/gtk.symbols * gtk/makegtkalias.pl * gtk/gtkaccelmap.c * gtk/gtkfilechooser.c * gtk/gtkfilesel.c * gtk/gtkiconfactory.c * gtk/gtkicontheme.c * gtk/gtkimage.c * gtk/gtkrc.c * gtk/gtkuimanager.c * gtk/gtkwindow.c: No need for the DLL ABI backward compatibility functions on Win64. svn path=/trunk/; revision=21040
* Revert name changeCody Russell2008-07-011-1/+1
| | | | svn path=/trunk/; revision=20724
* Practically everything changed.Cody Russell2008-06-301-1/+1
| | | | | | | | | | | | | 2008-06-30 Cody Russell <bratsche@gnome.org> * Practically everything changed. Change all references of GIMP Toolkit (and variations of it) to GTK+ Toolkit, showing no mercy at all to our beloved ancestry. (#540529) svn path=/trunk/; revision=20709
* Include "config.h" instead of <config.h> Command used: find -nameJohan Dahlin2008-06-221-1/+1
| | | | | | | | | | | | 2008-06-21 Johan Dahlin <jdahlin@async.com.br> * *.[ch]: Include "config.h" instead of <config.h> Command used: find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g' Rubberstamped by Mitch and Tim svn path=/trunk/; revision=20669
* Bug 535608 – do not string-copy accel paths in the menu codeChristian Persch2008-06-071-0/+8
| | | | | | | | | Don't store the accel path as a string in gtkmenu/gtkmenuitem. The accel path will be interned anyway, so keeping a string copy around is just a waste of memory. Improve the documentation to mention this. svn path=/trunk/; revision=20331
* Apply a cleanup patch by Kjartan Maraas (#341812)Matthias Clasen2006-10-081-1/+0
| | | | | | 2006-10-08 Matthias Clasen <mclasen@redhat.com> * Apply a cleanup patch by Kjartan Maraas (#341812)
* Improve consistency of signal and property namesMatthias Clasen2006-07-061-1/+1
|
* More of the sameMatthias Clasen2006-05-141-1/+1
|
* Use the slice allocator for many small allocations.Matthias Clasen2006-01-041-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | 2006-01-04 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaccelmap.c: * gtk/gtkactiongroup.c: * gtk/gtkdialog.c: * gtk/gtkfilesystemunix.c: * gtk/gtkgc.c: * gtk/gtkkeyhash.c: * gtk/gtkplug.c: * gtk/gtktextiter.c: * gtk/gtktextlayout.c: * gtk/gtkuimanager.c: * gtk/gtkwidget.c: * gtk/gtkwindow.c: * gtk/gtkxembed.c: Use the slice allocator for many small allocations. * gtk/gtkcolorsel.c: * gtk/gtktreeview.c: Use IPN. * gtk/gtkwidget.c: Remove an unused field from the AccelPath struct.
* Various cleanups. (#315360, Kjartan Maraas)Matthias Clasen2005-09-131-4/+0
| | | | | | 2005-09-13 Matthias Clasen <mclasen@redhat.com> * gtk/*.c: Various cleanups. (#315360, Kjartan Maraas)
* Intern some more strings.Matthias Clasen2005-09-011-1/+2
| | | | | | | | | 2005-09-01 Matthias Clasen <mclasen@redhat.com> * gdk/*.c: Intern some more strings. * gtk/gtkintl.h: * gtk/*.c: Define an I_() macro and use it instead of the bulky g_intern_static_string().
* Make PLT-reduction work with gcc4, and don't include everything inMatthias Clasen2005-03-201-1/+4
| | | | | | | | | | | | | | | | | | 2005-03-20 Matthias Clasen <mclasen@redhat.com> Make PLT-reduction work with gcc4, and don't include everything in gdkalias.h: * gtk/grk.symbols: Group symbols by header and source file. * gtk/makegtkalias.pl: Protect definitions by the same preprocessor symbols used to guard the headers. Move the alias declarations to a separate file which is produced when calling makegtkalias.pl -def * gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate this file. * gtk/*.c: Include gtkalias.h after the other headers, include gtkaliasdef.c at the bottom. * gtk/*.h: Small cleanups.
* gtk/gtkaccelmap.[ch] gtk/gtkfilechooser.[ch] gtk/gtkfilesel.cTor Lillqvist2004-12-121-4/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-12-12 Tor Lillqvist <tml@iki.fi> * gtk/gtkaccelmap.[ch] * gtk/gtkfilechooser.[ch] * gtk/gtkfilesel.c * gtk/gtkfilesystemwin32.c * gtk/gtkiconfactory.[ch] * gtk/gtkicontheme.[ch] * gtk/gtkimage.[ch] * gtk/gtkimmodule.c * gtk/gtkmodules.c * gtk/gtkrc.[ch] * gtk/gtkuimanager.[ch] * gtk/gtkwindow.[ch] * gtk/updateiconcache.c * gtk/gtk.symbols: Use gstdio wrappers. On Windows, convert environment variables referring to pathnames from locale encoding to UTF-8. As in GLib, in order to preserve Windows DLL ABI stability, add binary compatibility versions of functions that take file names as arguments, or return file names. Add a _utf8 suffix to the "real" such functions on Windows. The ABI compatibility versions keep the old name. * gtk/Makefile.am: Strip PRIVATE symbols from the GNU import library. * gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Implement file mapping on Win32. * gtk/updateiconcache.c: Don't crash if invoked without argument. Use binary mode when opening file. * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am: Install gtkrc in correct place, in <datadir>/themes/MS-Windows/gtk-2.0.
* Remove all entries for the same key, not just the first one. (#159498,Matthias Clasen2004-12-081-1/+1
| | | | | | | | 2004-12-08 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaccelmap.c (internal_change_entry): Remove all entries for the same key, not just the first one. (#159498, Christian Persch)
* Add hidden aliases for exported symbols which are used internally in orderMatthias Clasen2004-08-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mon Aug 9 12:48:04 2004 Matthias Clasen <maclas@gmx.de> Add hidden aliases for exported symbols which are used internally in order to get rid of many PLT entries. (#145519, Arjan van de Ven) * gtk/Makefile.am: Add rules to generate gtk.def and from gtk.symbols, and make make check check the abi with abicheck.sh. (gtk_private_h_sources): Add gtkinternals.h (gtk_built_private_headers): Add gtkalias.h (gtk_extra_sources): Add gtk.symbols (EXTRA_DIST): Add makegtkalias.pl and abicheck.sh * gtk/gtk.symbols: New file. Definition of the GTK+ ABI. The file can be processed by cpp to filter out certain subsets of symbols. * gtk/abicheck.sh: New file. Script to check the actually symbols exported from libgtk-x11.2.0.so against the symbols found in gtk.symbols. * gtk/makegtkalias.pl: New file. Perl script to generate the header containing the alias definitions for internally used exported symbols from a list of symbols. * gtk/gtkinternals.h: New file. An uninstalled header listing symbols which must be exported for some reason and do not appear in any other header. * gtk/*.c: Include gtkalias.h
* Accept "<WINDOWTYPE>" as a valid accel path. (#144427, Philip Kendall)Matthias Clasen2004-06-221-1/+1
| | | | | | * gtk/gtkaccelmap.c (_gtk_accel_path_is_valid): Accept "<WINDOWTYPE>" as a valid accel path. (#144427, Philip Kendall)
* Fixes #136082 and #135265, patch by Morten Welinder.Federico Mena Quintero2004-03-061-1/+1
| | | | | | | | | | 2004-03-05 Federico Mena Quintero <federico@ximian.com> Fixes #136082 and #135265, patch by Morten Welinder. * configure.in: Use AC_SYS_LARGEFILE. * */*.c: #include <config.h>
* Add change notification for GtkAccelMap, by on-demand instantiating aMatthias Clasen2004-02-061-3/+98
| | | | | | | | | | | Sat Feb 7 00:06:44 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtkaccelmap.[hc]: Add change notification for GtkAccelMap, by on-demand instantiating a singleton object with a "changed" signal. * gtk/gtkmarshalers.list (VOID:STRING,UINT,FLAGS): Add marshaller for GtkAccelMap::changed.