summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrendereraccel.c
Commit message (Collapse)AuthorAgeFilesLines
* gtkcellrendereraccel: gtk_misc_set_alignmentDiego Celix2011-06-101-1/+2
| | | | | | | | Replacing the function gtk_misc_set_alignment () with gtk_widget_set_halign () and gtk_widget_set_valign () in gtk/gtkcellrendereraccel.c https://bugzilla.gnome.org/show_bug.cgi?id=650762
* GtkCellRendererAccelPrivate: Improve struct packingMatthias Clasen2011-04-121-2/+2
|
* Move documentation to inline comments: GtkCellRendererAccelJavier Jardón2011-04-111-0/+15
|
* Make GtkCellRendererAccel use GtkStyleContextCarlos Garnacho2011-01-271-8/+7
|
* Implement the editing-canceled property in GtkCellEditableEventBoxMatthias Clasen2011-01-141-84/+140
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=639455
* Remove gtktypeutils altogetherMatthias Clasen2011-01-041-0/+1
| | | | | | Based on patches by Javier Jardón. https://bugzilla.gnome.org/show_bug.cgi?id=629955
* Drop explicit includes of gdkkeysyms.hMatthias Clasen2011-01-041-2/+0
| | | | | These are no longer needed. At the same time, port gtkimcontextsimpleseqs.h to use the new GDK_KEY_ symbols.
* Move all GdkDevice members to private and add one missing accessorMichael Natterer2010-11-231-1/+1
|
* Make GdkRectangle arguments in GtkCellRenderer use const consistentlyMatthias Clasen2010-10-041-23/+23
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=630900
* Move GtkSizeRequest into GtkWidgetBenjamin Otte2010-09-261-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | It doesn't make sense to keep them separate as GtkSizeRequest requires a GtkWidget and GtkWidget implements GtkSizeRequest, so you can never have one without the other. It also makes the code a lot easier because no casts are required when calling functions. Also, the names would translate to gtk_widget_get_width() and people agreed that this would be a too generic name, so a "preferred" was added to the names. So this patch moves the functions: gtk_size_request_get_request_mode() => gtk_widget_get_request_mode() gtk_size_request_get_width() => gtk_widget_get_preferred_width() gtk_size_request_get_height() => gtk_widget_get_preferred_height() gtk_size_request_get_size() => gtk_widget_get_preferred_size() gtk_size_request_get_width_for_height() => gtk_widget_get_preferred_width_for_height() gtk_size_request_get_height_for_width() => gtk_widget_get_preferred_height_for_width() ... and moves the corresponding vfuncs to the GtkWidgetClass. The patch also renames the implementations of the vfuncs in widgets to include the word "preferrred".
* Use gtk_size_request_get_size() instead deprecated gtk_widget_size_request()Javier Jardón2010-09-151-3/+8
| | | | | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=629598 Signed-off-by: Javier Jardón <jjardon@gnome.org> Signed-off-by: Tristan Van Berkom <tristanvb@openismus.com>
* GDK: Prefix key names with KEY_Colin Walters2010-09-081-4/+4
| | | | | | | | | | | | | 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.
* Use GtkFooPrivate instead GtkFooPrivJavier Jardón2010-08-271-10/+10
|
* gtk/gtkcellrendereraccel.c: use accessor functions to access GtkWidgetJavier Jardón2010-08-221-6/+13
|
* Use accessor functions to access GtkCellRendererTextJavier Jardón2010-07-131-1/+3
|
* gtkcellrendereraccel: Move public members to private structureJavier Jardón2010-07-131-50/+61
|
* gtk/: fully remove gtkalias hacksJavier Jardón2010-07-101-5/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=623845
* Merge the xi2-for-master branchMatthias Clasen2010-05-251-20/+69
|
* Add a missing includeMatthias Clasen2009-09-021-0/+1
| | | | This was reported in bug 593606.
* Bug 526149 - GtkCellRendererAccel editing conflicts with mnemonicsKristian Rietveld2009-08-231-0/+4
| | | | | | | GtkCellRendererAccel also needs to acquire the GTK+ grab in addition to a GDK keyboard grab. With the GDK keyboard grab, KeyPress and KeyRelease events are delivered as usual, although we only want to receive them for our grab widget.
* Display invalid accelerators as "Invalid" in GTK mode.Christian Persch2009-04-201-1/+10
| | | | | | When in GTK_CELL_RENDERER_ACCEL_MODE_GTK, display accelerator key combinations that don't pass gtk_accelerator_valid() as "Invalid". Bug #572799.
* Display localised accelerator keys also in OTHER modeChristian Persch2009-04-111-1/+4
| | | | This fixes bug 572797.
* Use C_() instead of Q_(). String change!Matthias Clasen2008-10-271-3/+2
| | | | | | | | | | | | | | | | 2008-10-26 Matthias Clasen <mclasen@redhat.com> * gtk/gtkaccellabel.c: * gtk/gtkcalendar.c: * gtk/gtkcellrendereraccel.c: * gtk/gtkcellrendererprogress.c: * gtk/gtkimmulticontext.c: * gtk/gtkrecentchoosermenu.c: * gtk/gtkvolumebutton.c: Use C_() instead of Q_(). String change! svn path=/trunk/; revision=21716
* Bug 555724 – gtkcellrendereraccel not initialised correctlyChristian Persch2008-10-131-0/+9
| | | | svn path=/trunk/; revision=21641
* gtk/gtkaboutdialog.c gtk/gtkcellrendereraccel.c gtk/gtkcellrenderercombo.cSven Neumann2008-08-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-11 Sven Neumann <sven@gimp.org> * gtk/gtkaboutdialog.c * gtk/gtkcellrendereraccel.c * gtk/gtkcellrenderercombo.c * gtk/gtkcellrendererspin.c * gtk/gtkcellrenderertext.c * gtk/gtkclipboard.c * gtk/gtkcolorsel.c * gtk/gtkcombo.c * gtk/gtkcombobox.c * gtk/gtkdnd-quartz.c * gtk/gtkdnd.c * gtk/gtkentry.c * gtk/gtkentrycompletion.c * gtk/gtkfilechooserbutton.c * gtk/gtkfilechooserdefault.c * gtk/gtkfilechooserentry.c * gtk/gtkfontsel.c * gtk/gtkinputdialog.c * gtk/gtkmenutoolbutton.c * gtk/gtkpathbar.c * gtk/gtktooltip.c: use canonical signal names in g_signal_connect(). svn path=/trunk/; revision=21060
* implement getter for keycode property. (#476665, patch by ChristianKristian Rietveld2007-09-131-0/+4
| | | | | | | | | | | 2007-09-14 Kristian Rietveld <kris@gtk.org> * gtk/gtkcellrendereraccel.c (gtk_cell_renderer_accel_get_property): implement getter for keycode property. (#476665, patch by Christian Persch). svn path=/trunk/; revision=18817
* use multihead safe ungrab functions instead of gdk_keyboard_ungrab() andMichael Natterer2007-03-071-53/+36
| | | | | | | | | | | | 2007-03-07 Michael Natterer <mitch@imendio.com> * gtk/gtkcellrendereraccel.c: use multihead safe ungrab functions instead of gdk_keyboard_ungrab() and gdk_pointer_ungrab(), remove empty finalize() implementation, some cosmetic cleanup (bug #415645). svn path=/trunk/; revision=17412
* Add new infrastructure for notifications of failed keyboard navigation andMichael Natterer2006-11-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-11-16 Michael Natterer <mitch@imendio.com> Add new infrastructure for notifications of failed keyboard navigation and navigation with restricted set of keys. The patch handles configurable beeping, navigating the GUI with cursor keys only (as in phone environments), and configurable wrap-around. Fixes bugs #322640, #70986, #318827, #334726, #334742 and #309291. * gtk/gtksettings.c: added properties gtk-keynav-cursor-only, gtk-keynav-wrap-around and gtk-error-bell. * gtk/gtkwidget.[ch]: added new signal "keynav-failed" and public API to emit it. Added New function gtk_widget_error_bell() which looks at the gtk-error-bell setting and calls gdk_window_beep() accordingly. * gtk/gtk.symbols: add the new widget symbols. * gtk/gtkcellrendereraccel.c * gtk/gtkimcontextsimple.c * gtk/gtkmenu.c * gtk/gtknotebook.c: use gtk_widget_error_bell() or look at the gtk-error-bell setting instead of calling gdk_display_beep() unconditionally. * gtk/gtkcombobox.c * gtk/gtkentry.c * gtk/gtkiconview.c * gtk/gtklabel.c * gtk/gtkmenushell.c * gtk/gtkspinbutton.c * gtk/gtktextview.c * gtk/gtktreeview.c: call gtk_widget_error_bell() on failed keynav. * gtk/gtkentry.c * gtk/gtklabel.c * gtk/gtkrange.c * gtk/gtktextview.c: consult gtk_widget_keynav_failed() on failed cursor navigation and leave the widget if it returns FALSE. * gtk/gtkmenushell.c * gtk/gtknotebook.c: only wrap around if gtk-keynav-wrap-around is TRUE. * gtk/gtkradiobutton.c: ask gtk_widget_keynav_failed() to decide whether to to wrap-around, and don't select active items on cursor navigation if gtk-keynav-cursor-only is TRUE. Should look at gtk-keynav-wrap-around too, will look into that.
* Apply a cleanup patch by Kjartan Maraas (#341812)Matthias Clasen2006-10-081-3/+1
| | | | | | 2006-10-08 Matthias Clasen <mclasen@redhat.com> * Apply a cleanup patch by Kjartan Maraas (#341812)
* More of the sameMatthias Clasen2006-05-141-1/+1
|
* Renamed GtkCellRendererKeys to GtkCellRendererAccel to be consistent withMichael Natterer2005-09-221-135/+136
| | | | | | | | | | | | | | | | | | 2005-09-22 Michael Natterer <mitch@imendio.com> Renamed GtkCellRendererKeys to GtkCellRendererAccel to be consistent with GTK+ terminology: * gtk/gtkcellrendererkeys.[ch] * tests/testkeys.c: removed... * gtk/gtkcellrendereraccel.[ch] * tests/testaccel.c: ...and added. * gtk/Makefile.am * gtk/gtk.h * gtk/gtk.symbols * tests/Makefile.am: changed accordingly.
* Forgotten filesMatthias Clasen2005-09-111-0/+611