1. 27 Feb, 2012 1 commit
  2. 13 Apr, 2011 1 commit
  3. 26 Oct, 2010 1 commit
  4. 10 Aug, 2010 1 commit
  5. 14 Jul, 2010 1 commit
  6. 10 Jul, 2010 1 commit
  7. 22 Feb, 2009 1 commit
  8. 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
  9. 26 Jan, 2009 1 commit
  10. 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
  11. 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
  12. 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
  13. 14 May, 2006 1 commit
  14. 02 May, 2006 1 commit
  15. 30 Jan, 2006 1 commit
  16. 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
  17. 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
  18. 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
  19. 26 Mar, 2005 1 commit
  20. 22 Mar, 2005 1 commit
  21. 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
  22. 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
  23. 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
  24. 06 Mar, 2004 1 commit
  25. 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
  26. 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
  27. 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
  28. 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
  29. 08 Jul, 2003 2 commits
    • 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
    • Soeren Sandmann's avatar
      remove correction on x when detail is "menuitem". With the new menu look · 7913e63f
      Soeren Sandmann authored
      Tue Jul  8 19:57:14 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkstyle.c (gtk_default_draw_arrow): remove correction on x
      	when detail is "menuitem". With the new menu look is isn't needed
      	anymore.
      
      	* gtk/gtktoolitem.c (gtk_tool_item_toolbar_reconfigured): queue a
      	resize here, so that tool items will get a chance to relayout
      	themselves based on the toolbar configuration.
      
      	change DEFAULT_SPACE_SIZE to 4 instead of 5
      
      	* gtk/gtktoolbar.c
      	Get rid of "!GTK_BIN (item)->child means separator". Separators
      	are widgets in their own right
      
      	change DEFAULT_SPACE_SIZE to 4 instead of 5
      
      	(get_space_size): remove this function
      	(toolbar_item_is_homogeneous): new function
      
      	* gtk/gtkseparatortoolitem.c
      	(gtk_separator_tool_item_size_request): new function.
      
      Tue Jul  8 14:10:35 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtktoggletoolbutton.h: use private data, add new
      	internal function _gtk_toggle_tool_button_get_button()
      
      	* gtk/gtktoolbutton.h: move to private data
      
      	* gtk/gtkradiotoolbutton.c, gtk/gtktoolbutton.c: updates for new
      	private data.
      7913e63f
  30. 29 Jun, 2003 1 commit
    • Soeren Sandmann's avatar
      gtkradiotoolbutton.c gtkradiotoolbutton.h gtktoggletoolbutton.c · fa336d28
      Soeren Sandmann authored
      Mon Jun 30 01:20:19 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtkradiotoolbutton.c
      	* gtkradiotoolbutton.h
      	* gtktoggletoolbutton.c
      	* gtktoggletoolbutton.h
      	* gtktoolbutton.c
      	* gtktoolbutton.h
      	* gtktoolitem.c
      	* gtktoolitem.h
      	* gtktoolbar.c
      	* gtktoolbar.h
      	* gtkseparatortoolitem.c
      	* gtkseparatortoolitem.h
      
      	New toolbar.
      fa336d28