1. 11 Nov, 2015 1 commit
  2. 10 Nov, 2015 1 commit
  3. 05 May, 2013 1 commit
  4. 28 Dec, 2012 1 commit
  5. 17 Sep, 2012 1 commit
  6. 27 Feb, 2012 1 commit
  7. 24 Dec, 2010 1 commit
  8. 23 Dec, 2010 1 commit
  9. 19 Oct, 2010 1 commit
  10. 16 Jun, 2010 1 commit
  11. 25 May, 2010 1 commit
  12. 02 May, 2010 1 commit
  13. 04 Apr, 2010 1 commit
    • Matthias Clasen's avatar
      Only show the mnemonic underline when pressing Alt · d68d78de
      Matthias Clasen authored
      ...and show them in menus when navigating the menu with the keyboard.
      This is similar to what other platforms do, and reduces visual clutter.
      There is a setting to control this. Most of the work on this patch was
      done by Thomas Wood. See bug 588554.
      d68d78de
  14. 20 Dec, 2009 1 commit
    • Matthias Clasen's avatar
      Only show the mnemonic underline when pressing Alt · c59f76fd
      Matthias Clasen authored
      ...and show them in menus when navigating the menu with the keyboard.
      This is similar to what other platforms do, and reduces visual clutter.
      There is a setting to control this. Most of the work on this patch was
      done by Thomas Wood. See bug 588554.
      c59f76fd
  15. 30 Oct, 2008 1 commit
  16. 01 Jul, 2008 1 commit
  17. 30 Jun, 2008 1 commit
    • Cody Russell's avatar
      Practically everything changed. · fce9c8b7
      Cody Russell authored
      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
      fce9c8b7
  18. 21 Jun, 2008 1 commit
    • Carlos Garnacho's avatar
      Bug 539466 – GtkMenuShell API/ABI break in trunk. · 56bbbbf5
      Carlos Garnacho authored
      2008-06-21  Carlos Garnacho  <carlos@imendio.com>
      
              Bug 539466 – GtkMenuShell API/ABI break in trunk.
      
              * gtk/gtkmenushell.h: Fix API/ABI break, two guint fields had
              different name and packing width.
      
      svn path=/trunk/; revision=20666
      56bbbbf5
  19. 20 Jun, 2008 2 commits
    • Tim Janik's avatar
      Switch to "guint GSEAL (foo) : width;" when packing fields in guints. · cd19149a
      Tim Janik authored
      * gtk/gtkbox.h:
      * gtk/gtkbutton.h:
      * gtk/gtkcellrenderer.h:
      * gtk/gtkcellrenderertext.h:
      * gtk/gtkcheckmenuitem.h:
      * gtk/gtkcontainer.h:
      * gtk/gtkentry.h:
      * gtk/gtkhandlebox.h:
      * gtk/gtkimcontextsimple.h:
      * gtk/gtklabel.h:
      * gtk/gtkliststore.h:
      * gtk/gtkmenu.h:
      * gtk/gtkmenuitem.h:
      * gtk/gtkmenushell.h:
      * gtk/gtknotebook.h:
      * gtk/gtkpaned.h:
      * gtk/gtkplug.h:
      * gtk/gtkprintjob.h:
      * gtk/gtkprogressbar.h:
      * gtk/gtkrange.h:
      * gtk/gtkscale.h:
      * gtk/gtkscrolledwindow.h:
      * gtk/gtksizegroup.h:
      * gtk/gtksocket.h:
      * gtk/gtkspinbutton.h:
      * gtk/gtkstatusbar.h:
      * gtk/gtktable.h:
      * gtk/gtktearoffmenuitem.h:
      * gtk/gtktextbuffer.h:
      * gtk/gtktextview.h:
      * gtk/gtktogglebutton.h:
      * gtk/gtktoolbar.h:
      * gtk/gtktreestore.h:
      * gtk/gtktreeviewcolumn.h:
      * gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints.
      
      svn path=/trunk/; revision=20621
      cd19149a
    • Tim Janik's avatar
      Seal GtkMenuShell · f1f95ef7
      Tim Janik authored
      svn path=/trunk/; revision=20609
      f1f95ef7
  20. 28 May, 2008 2 commits
    • Michael Natterer's avatar
      whitespace cleanup: remove trailing whitespace and excess newlines and · 2c5f8a5c
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
      	excess newlines and sprinkled some newlines where needed. Zero
      	code or formatting changes included.
      
      
      svn path=/trunk/; revision=20225
      2c5f8a5c
    • Michael Natterer's avatar
      define __GTK_H_INSIDE__ around including all other headers. · eff99c28
      Michael Natterer authored
      2008-05-28  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
      	headers.
      
      	* gtk/gtktypebuiltins.h.template
      	* gtk/gtkversion.h.in
      	* gtk/gtk*.h: add single-include guards that #error out if
      	GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
      	included individually.
      
      	* gtk/gtkprintbackend.h
      	* gtk/gtkprinter-private.h
      	* gtk/gtktextlayout.h
      	* gtk/gtktexttagprivate.h
      	* gtk/gtktexttypes.h
      	* gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
      	headers in these private or semi-private headers.
      
      	* gtk/gtkimmodule.h: also here because it's not in gtk.h.
      
      	* gtk/gtkpagesetupunixdialog.h
      	* gtk/gtkprinter.h
      	* gtk/gtkprintjob.h
      	* gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
      
      	* gtk/gtkclist.h
      	* gtk/gtkcombo.h
      	* gtk/gtkctree.h
      	* gtk/gtkfilesel.h
      	* gtk/gtkitemfactory.h
      	* gtk/gtklist.h
      	* gtk/gtklistitem.h
      	* gtk/gtkoldeditable.h
      	* gtk/gtkoptionmenu.h
      	* gtk/gtkpixmap.h
      	* gtk/gtkpreview.h
      	* gtk/gtksignal.h
      	* gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
      	instead of individual headers in these deprecated headers. They
      	don't get included at all when GTK_DISABLE_DEPRECATED is defined,
      	so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
      	and include them individually, which should continue to work.
      
      	* gtk/gtkclist.c: include "gtkctree.h" because of the change
      	above.
      
      
      svn path=/trunk/; revision=20221
      eff99c28
  21. 15 Jun, 2007 1 commit
  22. 31 Mar, 2005 1 commit
    • Michael Natterer's avatar
      Allow to pop up menus without grabbing the keyboard. Useful for stuff like · 91cb92c0
      Michael Natterer authored
      2005-03-31  Michael Natterer  <mitch@gimp.org>
      
      	Allow to pop up menus without grabbing the keyboard. Useful for
      	stuff like virtual keyboards. Fixes bug #159890
      
      	* gtk/gtk.symbols
      	* gtk/gtkmenushell.[ch]: added boolean property "take-focus"
      	and public API gtk_menu_shell_set/get_take_focus().
      
      	* gtk/gtkmenu.c (gtk_menu_popup)
      	(popup_grab_on_window): don't grab the keyboard if take_focus
      	is FALSE.
      
      	* gtk/gtkmenuitem.c (_gtk_menu_item_popup_submen): propagate the
      	parent menu_shell's take_focus property to the submenu which is
      	about to be popped up.
      91cb92c0
  23. 20 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · cca8dd63
      Matthias Clasen authored
      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.
      cca8dd63
  24. 10 Dec, 2004 1 commit
    • Matthias Clasen's avatar
      Support no-Alt mnemnonics in menu bars (#101309, Owen Taylor) · f3a74ace
      Matthias Clasen authored
      2004-12-10  Matthias Clasen  <mclasen@redhat.com>
      
      	Support no-Alt mnemnonics in menu bars  (#101309, Owen Taylor)
      
      	* gtk/gtkwindow.c: Factor out mnemonic hash code into
      	a separate file.
      
      	* gtk/gtkmnemonichash.[hc]: Factored out mnemonic hash
      	code from gtkwindow.c.
      
      	* gtk/Makefile.am (gtk_c_sources): Add gtkmnemonichash.[hc].
      
      	* gtk/gtkmenushell.c (struct _GtkMenuShellPrivate): Give
      	menu shells their own mnemonic hash.
      
      	* gtk/gtkmenushell.h: Add private api to support mnemonics.
      
      	* gtk/gtklabel.c (gtk_label_setup_mnemonic): Add mnemonic to
      	the menushell mnemonic hash when inside a menu.
      f3a74ace
  25. 15 Mar, 2004 1 commit
    • Owen Taylor's avatar
      #136672, reported by Christian Persch; fixes based on a patch by Soeren · 3895bea4
      Owen Taylor authored
      Sun Mar 14 19:26:48 2004  Owen Taylor  <otaylor@redhat.com>
      
              #136672, reported by Christian Persch; fixes based
              on a patch by Soeren Sandmann.
      
              * gtk/gtkmenu.c: Change the handling of mixed gridded
              and non-gridded menu items; the old method was causing
              major performance problems even with the "avoid relayout
              on destruction" hack put in recently.
      
              Now we first lay out the gridded items and then put the
              non-gridded items into empty rows / after the gridded items.
              Layout is done in a central menu_shell_ensure_layout(). Also
              avoid emitting property notifications when we initially
              insert or attach items.
      
              * gtk/gtkmenushell.[ch] gtk/gtkmenu.c: Stop setting the
              unused menu_shell->menu_flag, and document it as unused
              in the header.
      
              * tests/testactions.c: Add a test of creating/removing
              lots of items.
      
              * test/testgtk.c: Add some more cruft to the menu test.
      3895bea4
  26. 21 Dec, 2003 1 commit
    • Matthias Clasen's avatar
      New function to emit the "cancel" signal on a menu shell. · b21fe174
      Matthias Clasen authored
      Sun Dec 21 01:54:40 2003  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkmenushell.h:
      	* gtk/gtkmenushell.c (gtk_menu_shell_cancel): New function
      	to emit the "cancel" signal on a menu shell.
      
      	* gtk/gtkmenu.c (gtk_menu_key_press):
      	* gtk/gtkoptionmenu.c (gtk_option_menu_remove_menu):
      	* gtk/gtkmenubar.c (_gtk_menu_bar_cycle_focus): Use the
      	new function instead of directly emitting the
      	signal.  (#81803, Owen Taylor)
      b21fe174
  27. 13 Aug, 2003 1 commit
    • Owen Taylor's avatar
      Remove usage of menu_shell->ignore leave which was to deal with stray · a6491199
      Owen Taylor authored
      Wed Aug 13 17:01:49 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmenushell.[ch] (gtk_menu_shell_enter_notify):
              Remove usage of menu_shell->ignore leave which was
              to deal with stray events we no longer get because
              we do grabbing differently. Comment it as unused in
              the header. (#115837, Keith Bissett)
      a6491199
  28. 14 Dec, 2002 1 commit
    • Owen Taylor's avatar
      Add a new binding signal, "move_scroll", and use it to hook up · 08a08cf1
      Owen Taylor authored
      Sat Dec 14 14:19:16 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmenu.c: Add a new binding signal, "move_scroll",
              and use it to hook up Home/End/Page_Up/Page_Down keybindings.
              (#80484, Narayana Pattipati, Marius Andreiana)
      
              * gtk/gtkmenu.c (gtk_menu_scroll_item_visible): Fix some
              bugs in the computation of when an item is visible. (#99545)
      
              * gtk/gtkbindings.[ch] (_gtk_binding_signal_new) gtk/gtkmenushell.c:
              Move here, export privately.
      
              * gtk/gtkmenushell.c (_gtk_menu_shell_select_last): Export
              privately.
      
              * gtk/gtkmenushell.c (gtk_menu_shell_select_item): Don't
              select the item if it is already selected.
      08a08cf1
  29. 20 Oct, 2002 1 commit
    • Soeren Sandmann's avatar
      gtkmenu.c, gtkmenubar.c, gtkmenuitem.c, gtkmenushell.c, gtkmenushell.h, · 4b08e835
      Soeren Sandmann authored
      Sun Oct 20 23:58:03 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtkmenu.c, gtkmenubar.c, gtkmenuitem.c, gtkmenushell.c,
      	gtkmenushell.h, gtkmenushell.h
      
      	- make the delay before submenus appear below menu bars a
      	  GtkSetting
      	- make the delay before submenus pops up a GtkSetting
      	- make the stay up triangle slightly larger
      	- don't pop up the first submenu immediately.
      	- make the default delay for submenus 225 ms, and 0 for menubars.
      	- make the default delay before popping down inside the stay-up
      	  triangle 1000 ms
      
      	Fixes #74950
      4b08e835
  30. 05 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · 8409ada9
      Manish Singh authored
      Fri Oct  4 18:40:50 2002  Manish Singh  <yosh@gimp.org>
      
              * gtkcheckmenuitem.[ch] gtkimagemenuitem.[ch] gtkmenu.[ch]
              gtkmenubar.[ch] gtkmenuitem.[ch] gtkmenushell.[ch]
              gtkradiomenuitem.[ch]: Deprecation cleanup
      8409ada9
  31. 24 Sep, 2002 1 commit
    • Owen Taylor's avatar
      Make icon sizes configurable (#70648, slightly based on a patch from Bill · 15896b96
      Owen Taylor authored
      Tue Sep 24 16:40:14 2002  Owen Taylor  <otaylor@redhat.com>
      
      	Make icon sizes configurable (#70648, slightly based
      	on a patch from Bill Haneman, Brian Cameron)
      
      	* gtk/gtkiconfactory.[ch]: Add
      	gtk_icon_size_lookup_for_settings().
      
      	* gtk/gtksettings.c: Add gtk-icon-sizes XSETTING
      
      	* gtk/gtkiconfactory.c: Make icon sizes per-GtkSettings.
      
      	* gtk/gtkstyle.c: Use gtk_icon_size_lookup_for_settings()
      
      	* gtk/gtkrc.[ch]: Privately export _gtk_rc_reset_styles()
      	to force all the widgets to recompute their appearance.
      15896b96
  32. 06 Jul, 2002 1 commit
    • Owen Taylor's avatar
      Add an extra parameter to _gtk_menu_item_select_first() to allow us to · 367cacdf
      Owen Taylor authored
      Fri Jul  5 20:18:23 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmenushell.[ch] gtk/gtkmenubar.c gtk/gtkmenuitem.c
              gtk/gtkentry.c gtk/gtktextview.c: Add an extra parameter
              to _gtk_menu_item_select_first() to allow us to choose
              whether we want to select the first item predictably
              or to select the first sensitive item. Fixes problem
              with insensitive menu items and keynav. (#85796,
              reported by Bill Haneman and others.)
      367cacdf
  33. 11 Apr, 2002 1 commit
    • Owen Taylor's avatar
      Export private _gtk_menu_shell_activate() to encapsulate cut-and-paste · 03498ba2
      Owen Taylor authored
      Sat Apr  6 06:57:00 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmenushell.[ch] gtk/gtkmenuitem.c: Export
              private _gtk_menu_shell_activate() to encapsulate
              cut-and-paste code.
      
              * gtk/gtkmenubar.c: Select the first item on the menu bar
              for F10 rather than acting as if the user pressed <Alt>F
              to select the file manager.
      03498ba2
  34. 23 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Massive padding addition to class structures. · e5d1ea8c
      Owen Taylor authored
      Sat Feb 23 11:54:12 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/*.h gdk/*.h: Massive padding addition to class structures.
      
              * gtk/gtktextmark.h: Fix a FIXME about G_CONST_RETURN.
      e5d1ea8c
  35. 03 Feb, 2002 1 commit
    • Owen Taylor's avatar
      Non-exported _gtk_menu_select_first() function that selects the first item · ae7521bd
      Owen Taylor authored
      Sat Feb  2 20:16:04 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmenushell.c (_gtk_menu_shell_select_first):
              Non-exported _gtk_menu_select_first() function that
              selects the first item of the menu in a standard
              way. (Skipping tearoffs.)
      
              * gtk/gtkmenushell.c gtk/gtkentry.c gtk/gtktextview.c
              gtkmenuitem.c: Use _gtk_menu_shell_select_first().
      
              * gtk/gtkmenuitem.c (gtk_real_menu_item_select): Remember
              if we are starting the timeout from a keypress so
              we can set menushell->ignore_enter properly.
      
              * gtk/gtknotebook.c (focus_child_in): Return something
              meaningful if there are no children.
      
              * gtk/gtkmenu.c (gtk_menu_key_press): Fix precendence
              problem.
      ae7521bd
  36. 22 Nov, 2000 1 commit
  37. 08 Nov, 2000 1 commit
    • Alexander Larsson's avatar
      Add note about GtkMenuPositionFunc API changes. · 814957b4
      Alexander Larsson authored
      2000-11-08  Alexander Larsson  <alexl@redhat.com>
      
      	* docs/Changes-2.0.txt: Add note about GtkMenuPositionFunc
      	API changes.
      
      	* gtk/gtkmenu.c: Add support for scrolling menus.
      	Remove gtk_menu_append/prepend/insert, these have been moved to
      	gtkcompat.h as #defines.
      
      	* gtk/gtkcompat.h.in:
      	Add compatibility #defines for gtk_menu_append/prepend/insert
      
      	* gtk/gtkmenu.h: Add data needed for scrolling menus.
      	GtkMenuPositionFunc gets an extra argument push_in.
      	gtk_menu_append/prepend/insert removed.
      
      	* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Change menu
      	positioning behaviour to fit to scrolling menus.
      
      	* gtk/gtkmenuitem.c (gtk_menu_item_forall): Don't recurse
      	into menuitem->submeny. That is wrong, and broke torn
      	off submenus of torn off menus, since they were unrealized
      	when the first menu was unrealized.
      
      	* gtk/gtkmenushell.[ch]: Virtualize gtk_menu_shell_insert() and
      	gtk_menu_shell_select_item() since these need to be overridden in
      	GtkMenu.
      
      	* gtk/gtkoptionmenu.c (gtk_opttion_menu_position): Change menu
      	positioning behaviour to fit to scrolling menus.
      	(gtk_option_menu_key_press, gtk_option_menu_button_press): Select
      	the current item so that it is prelighted when the menu pops up.
      	This is a workaround to the fact that the menu doesn't get the
      	initial enter event (due to grabs).
      
      	* gtk/gtkfilesel.c, gtk/gtkinputdialog.c, gtk/testgtk.c:
      	s/gtk_menu_append/gtk_menu_shell_append/
      
      	* gtk/gtknotebook.c:
      	s/gtk_menu_insert/gtk_menu_shell_insert/
      
      	* gtk/testgtk.c (create_menu, create_menus):
      	Create the first menu with 50 items so that menu scrolling
      	can be tested.
      
      
      	Patch from Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtkmenuitem.[ch] (gtk_menu_item_toggle_size_request): new
      	system to handle size requests.  First, we ask what the size of
      	the toggle is.  Then, when allocating the size, we allocate the
      	toggle_size first.  This way we can have multiple menu-item
      	classes w/o needing a seperate class for each.
      
      	* gtk/gtkmenu.c (gtk_menu_size_request): Actually use the new system.
      	* gtk/gtkmenu.c (gtk_menu_size_allocate): Use the new system.
      
      	* gtk/gtkcheckmenuitem.c
      	(gtk_check_menu_item_toggle_size_request): New function to handle
      	the toggle size-request.
      814957b4
  38. 30 Aug, 2000 1 commit