summaryrefslogtreecommitdiff
path: root/gtk/gtkaccelgroup.c
Commit message (Collapse)AuthorAgeFilesLines
* docs: fix a number of typos and obsolete referencesCosimo Cecchi2012-07-021-0/+2
|
* Remove gtk_accel_group_query from the docsMatthias Clasen2012-05-261-1/+1
| | | | | It is marked as "internal" in the headers, and the struct it returns is not documented either.
* gtk: Prefer group-0 keycodesBastien Nocera2012-03-131-3/+13
| | | | | | | | | | | | As we don't give out information about the group or level when giving back keycodes, we should prioritise group-0, level-0, followed by level-0 only, and then any keycodes. This fixes "q" being pressed when the Wacom tablet code in gnome-settings-daemon is supposed to generate an "a" ("uk" keymap in group-0, "fr" in group-1). https://bugzilla.gnome.org/show_bug.cgi?id=671065
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* Fix up includesMatthias Clasen2011-12-191-1/+1
|
* gtk: Parse keypad numbers correctlyBastien Nocera2011-11-161-0/+8
| | | | | | | | | Try to find keycodes for keysyms at level-0 in the keymap, but don't fail to parse if we can find those in level-1. This fixes the parsing of numerical keys on the keypad, which require a shift level through Num-Lock. https://bugzilla.gnome.org/show_bug.cgi?id=606727
* gtk: Fix parsing of accelerators with keycodesBastien Nocera2011-11-101-3/+1
| | | | | | | GDK_KEY_VoidSymbol is not the same as keycode 0. This fixes keycodes such as "0xb3" being parsed as "VoidSymbol" keysyms. https://bugzilla.gnome.org/show_bug.cgi?id=663761
* gtk: Add accel with keycode parsing functionsBastien Nocera2011-11-041-15/+230
| | | | | | | | | Which handle accelerators with keycodes as well as keyvals, so we can use it in applications that use GtkCellRendererAccel's "Other" mode of operations (namely gnome-control-center and gnome-settings-daemon). https://bugzilla.gnome.org/show_bug.cgi?id=662755
* gtk: move _gtk_modules_has_mixed_deps() to gtkmodlesprivate.hMichael Natterer2011-10-231-1/+0
| | | | and remove gtkmainprivate.h completely.
* gtk: remove the private GTK_DEFAULT_ACCEL_MOD_MASK defineMichael Natterer2011-10-071-5/+5
| | | | | | | | | and finish the port to using the new modifier abstraction API. This commit has some evilness, it uses the default display for the lack of a widget context, and the change to gtkstock.c is very ugly, but I can't think of anything better given GtkStockItem needs an accel mask instead of a proper accel string.
* gtk: allow to specify accelerators in a platform-independent wayMichael Natterer2011-09-261-1/+36
| | | | | | Introduce <Primary> in accelerator strings, which resolves to GDK_CONTROL_MASK on X11/Win23, and to GDK_META_MASK on quartz. Also serialize CONTROL/META as <Primary> depending on the platform.
* Documentation fixesMatthias Clasen2011-09-251-13/+21
| | | | | Mostly making sure that return values and varargs don't loose their docs.
* gtkaccelgroup.c: Do not use GET_PRIV macroJavier Jardón2011-06-021-5/+6
|
* Fix annotations for gtk_accelerator_parseMatthias Clasen2011-03-121-2/+4
| | | | Part of bug 644353, patch by Ulrik Sverdrup.
* Formatting fixesMatthias Clasen2011-03-121-390/+396
|
* Remove latest bits of GtkItemFactoryJavier Jardón2011-02-041-4/+3
|
* [GI] Add missing (transfer) annotationsPavel Holejsovsky2011-01-201-3/+4
|
* [GI] Add missing (scope) annotationsPavel Holejsovsky2011-01-201-1/+2
|
* [GI] Cosmetic cleanups of annotations and doc commentsPavel Holejsovsky2011-01-181-2/+5
| | | | | | This change does not introduce any functionality change, mostly cosmtic cleanups, like re-linebreak when introduced annotations messed up indentation or whitespace errors fixes.
* More documentation fixes2.99.0Matthias Clasen2011-01-061-6/+6
|
* Move docs for gtkmain inlineMatthias Clasen2011-01-041-3/+3
| | | | | | | | At the same time, introduce a gtkmainprivate.h header and various other cleanups. Based on a patch by Tadej Borovšak. https://bugzilla.gnome.org/show_bug.cgi?id=617471
* Drop explicit includes of gdkkeysyms.hMatthias Clasen2011-01-041-2/+1
| | | | | These are no longer needed. At the same time, port gtkimcontextsimpleseqs.h to use the new GDK_KEY_ symbols.
* Added out annotations for gtk_accelerator_parseJesse van den Kieboom2010-12-211-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=637606
* Make gtk_accelerator_get_default_mod_mask() return a GdkModifierTypeAlberto Garcia2010-10-151-1/+1
| | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=313350
* GDK: Prefix key names with KEY_Colin Walters2010-09-081-13/+13
| | | | | | | | | | | | | The keysyms create a lot of potential namespace conflicts for C, and are especially problematic for introspection, where we take constants into the namespace, so GDK_Display conflicts with GdkDisplay. For C application compatiblity, add gdkkeysyms-compat.h which uses the old names. Just one user in GTK+ continues to use gdkkeysyms-compat.h, which is the gtkimcontextsimple.c, since porting that requires porting more custom Perl code.
* gtk/: fully remove gtkalias hacksJavier Jardón2010-07-101-4/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* Move GtkAccelGroup private structure to shared header fileJavier Jardón2010-05-031-9/+1
| | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=602174
* Add and use internal accessor for accelerables in GtkAccelGroupChristian Dywan2010-05-031-0/+8
|
* Move GSEAL'd members of GtkAccelGroup into private structCody Russell2010-05-031-49/+65
|
* [docs] improve docs for gtk_accelerator_parse().Stefan Kost2010-04-161-0/+3
| | | | | Link to gdk_keyval_from_name() and give example for non obvious accelerator strings.
* [annotations] Add allow-noneJohan Dahlin2010-02-191-4/+4
| | | | | | | | This commit was created using a script that searched for all docstrings containing a parameter and the string 'or %NULL'. Gdk backends and demos excluded as they are not part of a public API https://bugzilla.gnome.org/show_bug.cgi?id=610474
* [introspection] Merge in Gtk-custom.c annotationsColin Walters2009-12-161-2/+3
| | | | | | | | The Gtk-custom.c file in gir-repository contained a number of introspection annotations. Merge those into the GTK source files. Some documentation was moved from the tmpl/ files to accomodate the addition of annotations.
* Allow removing all closures with gtk_accel_group_disconnectChristian Dywan2009-10-271-2/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=599403
* Move documentation from templates to inline comments: GtkAccelGroupJavier Jardón2009-10-151-0/+25
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=597865
* Fix a memory leak in GtkAccelGroupMatthias Clasen2009-04-071-0/+3
| | | | Unref closures in accel group finalization (#577824).
* Documentation fixesMatthias Clasen2008-12-281-2/+0
| | | | | | | | | | | | | | | | 2008-12-28 Matthias Clasen <mclasen@redhat.com> * gtk/gtkhsv.c: * gtk/gtkwidget.c: * gtk/gtkaccelgroup.c: Documentation fixes * gtk/gtkstatusicon.c: * gtk/gtkentry.c: * gtk/gtkeditable.[hc]: Make parameter names match to make gtk-doc happy. svn path=/trunk/; revision=21953
* gtk/gtkaccelgroup.c gtk/gtkactiongroup.c gtk/gtkcalendar.cSven Neumann2008-08-111-11/+11
| | | | | | | | | | | | | | | | | | 2008-08-11 Sven Neumann <sven@gimp.org> * gtk/gtkaccelgroup.c * gtk/gtkactiongroup.c * gtk/gtkcalendar.c * gtk/gtkcelleditable.c * gtk/gtkclipboard-quartz.c * gtk/gtkclipboard.c * gtk/gtkcolorbutton.c * gtk/gtkcolorsel.c * gtk/gtkcontainer.c * gtk/gtkcurve.c: use canonical signal names. svn path=/trunk/; revision=21068
* Doc fixesMatthias Clasen2008-07-211-4/+6
| | | | svn path=/trunk/; revision=20887
* Fix default valueMatthias Clasen2008-07-041-2/+2
| | | | svn path=/trunk/; revision=20767
* 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
* use g_param_spec_flags(), not enum() when registering the "modifier-mask"Michael Natterer2008-06-221-6/+6
| | | | | | | | | | 2008-06-22 Michael Natterer <mitch@imendio.com> * gtk/gtkaccelgroup.c: use g_param_spec_flags(), not enum() when registering the "modifier-mask" property. svn path=/trunk/; revision=20670
* 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
* Fix warnings from calling g_object_notify() on a GtkAccelGroup withoutMartyn James Russell2008-06-201-2/+2
| | | | | | | | * gtk/gtkaccelgroup.c: Fix warnings from calling g_object_notify() on a GtkAccelGroup without casting to a GObject. svn path=/trunk/; revision=20652
* Don't call g_object_notify() with properties that don't exist. Also, makeMartyn James Russell2008-06-201-6/+8
| | | | | | | | * gtk/gtkaccelgroup.c: Don't call g_object_notify() with properties that don't exist. Also, make sure we notify for the "is-locked" property. svn path=/trunk/; revision=20650
* Add missing Since: gtk-doc markup for newly added GSEAL API. Change allJohan Dahlin2008-06-201-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | 2008-06-20 Johan Dahlin <jdahlin@async.com.br> * gtk/gtkaccelgroup.c: * gtk/gtkcolorseldialog.c: * gtk/gtkcontainer.c: * gtk/gtkdialog.c: * gtk/gtkentry.c (gtk_entry_class_init): * gtk/gtkfontsel.c: * gtk/gtkhandlebox.c: * gtk/gtklayout.c: * gtk/gtkmenu.c (gtk_menu_class_init): * gtk/gtkmenuitem.c (gtk_menu_item_class_init): * gtk/gtkplug.c (gtk_plug_class_init): * gtk/gtkselection.c: * gtk/gtksocket.c: * gtk/gtktreeselection.c: * gtk/gtkwidget.c (gtk_widget_class_init): * gtk/gtkwindow.c: Add missing Since: gtk-doc markup for newly added GSEAL API. Change all Since: GSEAL-branch to Since: 2.14. svn path=/trunk/; revision=20639
* fix some formatting and whitespace in the code merged from the GSEALMichael Natterer2008-06-201-17/+20
| | | | | | | | | | 2008-06-20 Michael Natterer <mitch@imendio.com> * gtk/gtkaccelgroup.[ch]: fix some formatting and whitespace in the code merged from the GSEAL branch. svn path=/trunk/; revision=20638
* Seal GtkAccelGroup - fixed some issues with the initial attempt thanks to ↵Tim Janik2008-06-201-75/+31
| | | | | | comments from Tim svn path=/trunk/; revision=20535
* Sealed GtkAccelGroup and addedTim Janik2008-06-201-3/+135
| | | | | | | | * gtk/gtkaccelgroup.[ch]: Added GObject properties for lock_count, modifier_mask, acceleratables, n_accels and priv_accels. Added seal macro for public struct members which should be private. svn path=/trunk/; revision=20482
* Add some docsMatthias Clasen2008-06-131-2/+18
| | | | svn path=/trunk/; revision=20381