1. 05 Nov, 2015 1 commit
  2. 09 Jun, 2014 1 commit
  3. 19 Feb, 2014 1 commit
  4. 07 Feb, 2014 2 commits
  5. 20 Jul, 2013 1 commit
    • Matthias Clasen's avatar
      Move wholly deprecated classes to gtk/deprecated/ · 0aa57d26
      Matthias Clasen authored
      We've recently a number of classes wholly. For these cases,
      move the headers and sources to gtk/deprecated/ and adjust
      Makefiles and includes accordingly.
      
      Affected classes:
      GtkAction
      GtkActionGroup
      GtkActivatable
      GtkIconFactory
      GtkImageMenuItem
      GtkRadioAction
      GtkRecentAction
      GtkStock
      GtkToggleAction
      GtkUIManager
      0aa57d26
  6. 09 Jul, 2013 1 commit
  7. 30 Jun, 2013 1 commit
  8. 27 Jun, 2013 1 commit
  9. 25 Jun, 2013 1 commit
  10. 27 Feb, 2012 1 commit
  11. 13 Apr, 2011 1 commit
  12. 26 Oct, 2010 1 commit
  13. 10 Aug, 2010 1 commit
  14. 14 Jul, 2010 1 commit
  15. 10 Jul, 2010 1 commit
  16. 22 Feb, 2009 1 commit
  17. 07 Feb, 2009 1 commit
    • Matthias Clasen's avatar
      Make the new GtkAction code work with PolicyKit-gnome's use of actions. · 70b08f1e
      Matthias Clasen authored
              * gtk/gtkaction.c (gtk_action_[un]block_activate_from): Block
              the action.
      
              * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activatable_reset):
              * gtk/gtktogglebutton. (gtk_toggle_button_activatable_reset):
              * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_activatable_reset):
              Work with non-toggle actions without complaining.
      
              * gtk/gtktoolbutton.c (gtk_tool_button_activatable_update): Updating
              the icon-name should not remove the label.
      
              * gtk/gtkimagemenuitem.c (activatable_update_icon_name): Also
              update the image when the icon name is set to NULL.
      
      
      svn path=/trunk/; revision=22290
      70b08f1e
  18. 26 Jan, 2009 1 commit
  19. 23 Jan, 2009 1 commit
    • Matthias Clasen's avatar
      i Bug 560228 – Add "action-controller" property to GtkWidgetClass · bb72b647
      Matthias Clasen authored
              Rework the way actions and proxies interact, to make the
              interaction less ad hoc, more extensible, and better suited
              for support in GUI builders like glade.
      
              To be used as a proxy, a widget must now implement the
              GtkActivatable interface, and GtkActivatable implementations
              are responsible for syncing their appearance with the action
              and for activating the action.
      
              All the widgets that are commonly used as proxies implement
              GtkActivatable now.
      
              Patch by Tristan van Berkom.
      
              * gtk/gtkactivatable.[hc]: The GtkActivatable interface.
      
              * gtk/gtkbutton.c:
              * gtk/gtktogglebutton.c:
              * gtk/gtktoolitem.c:
              * gtk/gtktoolbutton.c:
              * gtk/gtktoggletoolbutton.c:
              * gtk/gtkmenuitem.c:
              * gtk/gtkcheckmenuitem.c:
              * gtk/gtkimagemenuitem.c:
              * gtk/gtkradiomenuitem.c:
              * gtk/gtkrecentchooserprivate.h:
              * gtk/gtkrecentchooser.c:
              * gtk/gtkrecentchooserdefault.c:
              * gtk/gtkrecentchoosermenu.c: Implement GtkActivatable.
              * gtk/gtkaction.[hc]: Move appearance synchronization to
              GtkActivatable implementations.
      
              * gtk/gtkradioaction.c:
              * gtk/gtkrecentaction.c:
              * gtk/gtktoggleaction.c:
              * gtk/gtkactiongroup.c: Adapt.
      
              * gtk/gtk.h: Include gtkactivatable.h
              * gtk/gtk.symbols: Add new functions
      
      
      svn path=/trunk/; revision=22195
      bb72b647
  20. 22 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Include "config.h" instead of <config.h> Command used: find -name · d97cdbdf
      Johan Dahlin authored
      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
      d97cdbdf
  21. 06 Feb, 2008 1 commit
    • Michael Natterer's avatar
      gtk/gtkcontainer.c gtk/gtkexpander.c gtk/gtkframe.c gtk/gtklabel.c · e7355f82
      Michael Natterer authored
      2008-02-06  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkcontainer.c
      	* gtk/gtkexpander.c
      	* gtk/gtkframe.c
      	* gtk/gtklabel.c
      	* gtk/gtkmain.c
      	* gtk/gtkmenu.c
      	* gtk/gtkmenuitem.c
      	* gtk/gtkmenushell.c
      	* gtk/gtknotebook.c
      	* gtk/gtkseparatortoolitem.c
      	* gtk/gtksocket.c
      	* gtk/gtktextlayout.c
      	* gtk/gtktoggletoolbutton.c
      	* gtk/gtktoolbutton.c
      	* gtk/gtktoolitem.c
      	* gtk/gtktree.c
      	* gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
      	"GTK_IS_FOO (foo)".
      
      
      svn path=/trunk/; revision=19481
      e7355f82
  22. 14 May, 2006 1 commit
  23. 02 May, 2006 1 commit
  24. 30 Jan, 2006 1 commit
  25. 01 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Intern some more strings. · 94eec042
      Matthias Clasen authored
      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().
      94eec042
  26. 31 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Intern type names in code generated by glib-mkenums, too. · c09cc893
      Matthias Clasen authored
      2005-08-31  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/Makefile.am:
      	* gtk/Makefile.am: Intern type names in code generated by
      	glib-mkenums, too.
      
      	* gtk/*.c:
      	* gdk/x11/*.c:
      	* gdk/*.c: Intern type names before registering the type to avoid
      	unnecessary copies.
      c09cc893
  27. 04 Apr, 2005 2 commits
    • Johan Dahlin's avatar
      Remove symbols accidentally added. Add boolean property popup_set_width · 3a51a0bc
      Johan Dahlin authored
      2005-04-04  Johan Dahlin  <johan@gnome.org>
      
              * gtk/gtk.symbols: Remove symbols accidentally added.
              * gtk/gtkentryprivate.h: Add boolean property popup_set_width
              * gtk/gtktoggletoolbutton.c: (gtk_toggle_tool_button_class_init):
              Use object_class instead of gobject_class
      3a51a0bc
    • Matthias Clasen's avatar
      Add docs. · b64bc34c
      Matthias Clasen authored
      2005-04-04  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkradiomenuitem.c (gtk_radio_menu_item_class_init):
      	* gtk/gtkruler.c (gtk_ruler_class_init): Add docs.
      
      	* gtk/gtktoggletoolbutton.c: Add an active property.
      b64bc34c
  28. 26 Mar, 2005 1 commit
  29. 22 Mar, 2005 1 commit
  30. 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
  31. 19 Nov, 2004 1 commit
    • Manish Singh's avatar
      gdk/linux-fb/gdkgc-fb.c gdk/win32/gdkgc-win32.c · 60b30ff5
      Manish Singh authored
      Fri Nov 19 14:54:09 2004  Manish Singh  <yosh@gimp.org>
      
              * gdk/linux-fb/gdkgc-fb.c
              * gdk/win32/gdkgc-win32.c
              * gdk/win32/gdkwindow-win32.c
              * gtk/gtkaboutdialog.c
              * gtk/gtkaction.c
              * gtk/gtkactiongroup.c
              * gtk/gtkcellrendererprogress.c
              * gtk/gtkcellview.c
              * gtk/gtkcolorbutton.c
              * gtk/gtkcombobox.c
              * gtk/gtkcomboboxentry.c
              * gtk/gtkentrycompletion.c
              * gtk/gtkfilechooserbutton.c
              * gtk/gtkmenutoolbutton.c
              * gtk/gtkrc.c
              * gtk/gtksettings.c
              * gtk/gtkstyle.c
              * gtk/gtktoggletoolbutton.c
              * gtk/gtktoolbutton.c
              * gtk/gtktoolitem.c
              * gtk/gtktreemodelfilter.c
              * gtk/gtktreeselection.c
              * gtk/gtktreeviewcolumn.c
              * gtk/gtkuimanager.c: get rid of unnecessary casts.
      
              * gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_set_property):
              cast away the const for g_value_set_enum. This is after the g_warning,
              so this is a hack to begin with.
      
              * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_set_property):
              add a cast to GTK_FILE_CHOOSER for impl here.
      60b30ff5
  32. 09 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 3612aee5
      Matthias Clasen authored
      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
      3612aee5
  33. 06 Mar, 2004 1 commit
  34. 29 Dec, 2003 1 commit
    • Anders Carlsson's avatar
      Update my e-mail address. · 90646daf
      Anders Carlsson authored
      2003-12-29  Anders Carlsson  <andersca@gnome.org>
      
      	* gtk/gtkradiotoolbutton.c:
      	* gtk/gtkradiotoolbutton.h:
      	* gtk/gtkseparatortoolitem.c:
      	* gtk/gtkseparatortoolitem.h:
      	* gtk/gtktoggletoolbutton.c:
      	* gtk/gtktoggletoolbutton.h:
      	* gtk/gtktoolbar.c:
      	* gtk/gtktoolbar.h:
      	* gtk/gtktoolbutton.c:
      	* gtk/gtktoolbutton.h:
      	* gtk/gtktoolitem.c:
      	* gtk/gtktoolitem.h:
      	Update my e-mail address.
      90646daf
  35. 30 Sep, 2003 1 commit
    • Matthias Clasen's avatar
      Doc formatting tweaks. · dbdc43be
      Matthias Clasen authored
      2003-10-01  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkmain.c: Doc formatting tweaks.
      
      	* gtk/gtktoolitem.c (gtk_tool_item_set_is_important): Fix a typo.
      
      	* gtk/gtkcheckmenuitem.h (gtk_check_menu_item_set_draw_as_radio):
      	Use the same parameter names as in .c file, to pacify gtk-doc.
      
      	* gtk/gtktoggletoolbutton.[hc]:
      	* gtk/gtktoolbutton.[hc]:
      	* gtk/gtktoolitem.[hc]:
      	* gtk/gtktoolbar.[hc]:
      	* gtk/gtkcolorbutton.[hc]:
      	* gtk/gtkfontbutton.[hc]:
      	* gtk/gtkalignment.[hc]: Define GET_PRIVATE macros in the
      	source, not in the header.
      
      	* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_[sg]et_draw_as_radio):
      	Document these as 2.4 API additions.
      
      	* gtk/tmpl/gtkaction.sgml: Fix cross reference to GtkMenuMerge.
      
      	* gtk/gtk-sections.txt: Additions.
      
      	* gtk/tmpl/gtkitemfactory.sgml: Add hint to use #GtkUIManager instead.
      dbdc43be
  36. 29 Aug, 2003 1 commit
    • Soeren Sandmann's avatar
      Only treat buttons as homogeneous when they are narrower than 13 time the · 545b40a1
      Soeren Sandmann authored
      Fri Aug 29 20:32:07 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtktoolbar.c: Only treat buttons as homogeneous when they
      	are narrower than 13 time the estimated character width of the
      	font. (#107781, David Bordoley)
      
      	* gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_init): Check
      	here if the GtkToggleButton is active. This may be the case if it
      	is a radio button.
      
      	* gtk/gtktoolbar.c: Clarify documentation wrt. GtkSignalFunc
      	vs. void (*) (GtkWidget, gpointer). (#107495, Mariano
      	Suarez-Alvarez).
      
      	* gtk/gtkcheckmenuitem.[ch]: new "draw_as_radio"
      	property. (#111207, David Bordoley).
      
      	* gtk/gtktoggletoolbutton.c
      	(gtk_toggle_tool_button_create_menu_proxy): use new
      	"draw_as_radio" property on the menu item when the item is a radio
      	tool button
      
      	* gtk/gtktoolbutton.c (gtk_tool_button_create_menu_proxy): Fixes
      	to only pay attention to the "use_underline" property when the
      	button label comes from the "label" property.
      545b40a1
  37. 04 Aug, 2003 1 commit
    • Soeren Sandmann's avatar
      add new "is_important" property · 6f6d3a22
      Soeren Sandmann authored
      Fri Aug  1 15:26:46 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtktoolbar.c, gtk/toolitem.c: add new "is_important"
      	property
      
      	* gtk/gtkradiotoolbutton.c
      	(gtk_radio_tool_button_new_from_widget): Don't take a stock id
      
      	* gtk/gtkradiotoolbutton.c
      	(gtk_radio_tool_button_new_with_stock_from_widget): make this
      	function take a stock_id.
      
      	* gtk/toolbar: documentation
      6f6d3a22
  38. 08 Jul, 2003 1 commit
    • Soeren Sandmann's avatar
      remove strange #define fix cut'n'paste error use instance private data use · d523e1a2
      Soeren Sandmann authored
      Tue Jul  8 21:35:22 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtktoggletoolbutton.h: remove strange #define
      	* gtk/gtktoolbutton.h: fix cut'n'paste error
      	* gtk/gtktoolbutton.c (gtk_tool_button_init): use instance
      	private data
      	* gtk/gtktoolitem.c (gtk_tool_item_class_init): use instance
      	private data instead of g_new0()
      	* gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_init): use
      	instance private data
      d523e1a2