1. 22 Feb, 2009 1 commit
  2. 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
  3. 23 Jun, 2008 1 commit
    • Michael Natterer's avatar
      gtk/gtkaction.h gtk/gtkbuildable.h gtk/gtkbuilderprivate.h · 77e99003
      Michael Natterer authored
      2008-06-23  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkaction.h
      	* gtk/gtkbuildable.h
      	* gtk/gtkbuilderprivate.h
      	* gtk/gtkcelllayout.h
      	* gtk/gtkentrycompletion.h
      	* gtk/gtkfilechoosersettings.h
      	* gtk/gtkfilesystem.h
      	* gtk/gtkfilesystemmodel.h
      	* gtk/gtkicontheme.h
      	* gtk/gtklinkbutton.h
      	* gtk/gtkpagesetup.h
      	* gtk/gtkpapersize.h
      	* gtk/gtkprintcontext.h
      	* gtk/gtkprintoperation.h
      	* gtk/gtkprintoperationpreview.h
      	* gtk/gtkprintsettings.h
      	* gtk/gtkrecentchooserprivate.h
      	* gtk/gtkrecentmanager.h
      	* gtk/gtksearchengine.h
      	* gtk/gtktexttag.h
      	* gtk/gtktreeselection.h
      	* gtk/gtktreeviewcolumn.h
      	* gtk/gtkuimanager.h: remove redundant inclusion of <glib.h> and
      	<glib-object.h>. There is no point in relying on them being pulled
      	in by other headers in some places and placing them explicitly in
      	other places, so choose the "as little includes as possible"
      	approach and get rid of them.
      
      
      svn path=/trunk/; revision=20675
      77e99003
  4. 15 Mar, 2007 1 commit
    • Emmanuele Bassi's avatar
      Move filtering of the recent files list into the shared implementation; do · 4191ec6a
      Emmanuele Bassi authored
      2007-03-15  Emmanuele Bassi  <ebassi@gnome.org>
      
      	* gtk/gtkrecentchooserprivate.h:
      	* gtk/gtkrecentchooserutils.c: Move filtering of the recent
      	files list into the shared implementation; do the filtering
      	before the sorting, so that we always clamp on the desired
      	size. (#418219)
      
      	* gtk/gtkrecentchoosermenu.c: Remove the filtering of the
      	list, as it's already been done.
      
      	* gtk/gtkrecentchooserdefault.c: Ditto; also remove the
      	GtkTreeModelFilter: just reload the view if the sorting and
      	filtering properties change.
      
      	* gtk/testrecentchoosermenu.c: Exercise the limit property.
      
      svn path=/trunk/; revision=17516
      4191ec6a
  5. 14 Mar, 2007 1 commit
    • Emmanuele Bassi's avatar
      Various clean ups in the GtkRecent code. (see #338843) · 86ea351b
      Emmanuele Bassi authored
      2007-03-14  Emmanuele Bassi  <ebassi@gnome.org>
      
      	Various clean ups in the GtkRecent code. (see #338843)
      
      	* gtk/gtkrecentchooserdefault.c:
      	* gtk/gtkrecentchoosermenu.c:
      	* gtk/gtkrecentchooserprivate.h:
      	* gtk/gtkrecentchooserutils.c: Move the recent chooser function
      	for getting the sorted and clamped list of recent files from the
      	manager outside the implementations.
      
      	* gtk/gtkrecentchooserdefault.c (chooser_set_sort_type): Repopulate
      	the list when the sorting order changes.
      
      	(gtk_recent_chooser_default_dispose),
      	(gtk_recent_chooser_default_finalize): Move object unref and
      	source removal from finalize to dispose.
      
      	* gtk/gtkrecentchooser.c (gtk_recent_chooser_type_init): Relax the
      	prerequisite for the GtkRecentChooser interface implementations,
      	from GtkObject to GObject.
      
      	(gtk_recent_chooser_class_init): Use GTK_PARAM_* instead of
      	G_PARAM_*
      
      svn path=/trunk/; revision=17514
      86ea351b
  6. 29 Mar, 2006 1 commit
    • Emmanuele Bassi's avatar
      Import GtkRecent* from libegg. · 056f6db5
      Emmanuele Bassi authored
      2006-03-29  Emmanuele Bassi  <ebassi@cvs.gnome.org>
      
      	Import GtkRecent* from libegg.
      
      	* gtk/gtkrecentmanager.[ch]: Add GtkRecentManager, an object
      	for managing a list of recently used resources.
      
      	* gtk/gtkrecentchooser.[ch]:
      	* gtk/gtkrecentchooserdefault.[ch]:
      	* gtk/gtkrecentchooserdialog.[ch]:
      	* gtk/gtkrecentchoosermenu.[ch]:
      	* gtk/gtkrecentchooserprivate.h:
      	* gtk/gtkrecentchooserutils.[ch]:
      	* gtk/gtkrecentchooserwidget.[ch]: Add GtkRecentChooser, a
      	GTypeInterface for widgets implementing viewers for recently
      	used resources.
      
      	* gtk/gtkrecentfilter.[ch]: GtkRecentFilter, a filter object
      	for GtkRecentChooser implementations.
      
      	* gtk/gtk.h:
      	* gtk/gtk.symbols:
      	* gtk/Makefile.am: Build glue for GtkRecent*.
      056f6db5
  7. 30 Apr, 2002 1 commit
    • Owen Taylor's avatar
      Make it work, even if the window is already realized or mapped. · 087fd22c
      Owen Taylor authored
      Tue Apr 30 18:42:25 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwindow.c (gtk_window_set_screen): Make it
              work, even if the window is already realized or
              mapped.
      
              * tests/testgtk.c: Erwann's multihead changes, slightly
              dumbed down. (Removed logic for pulling windows onto
              the current screen, people can click twice on the demo
              to destroy and create again.)
      
              * tests/prop-editor.c: Set the screen on the property
              editor if the edited object is a widget.
      087fd22c
  8. 14 May, 2001 1 commit
    • Owen Taylor's avatar
      Block against redundant changes. · 6d2ce706
      Owen Taylor authored
      Mon May 14 14:56:21 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* tests/prop-editor.c: Block against redundant changes.
      
      	* gtk/gtkpaned.c gtk/gtk[hv]paned.c: Add position, position_set
      	properties.
      6d2ce706
  9. 03 May, 2001 1 commit
  10. 09 Oct, 2000 1 commit
    • Havoc Pennington's avatar
      contrib subdir · 518f32d9
      Havoc Pennington authored
      2000-10-06  Havoc Pennington  <hp@redhat.com>
      
      	* Makefile.am (SRC_SUBDIRS): contrib subdir
      
      	* gdk/gdkpixbuf.h: Move GdkPixbufAlphaMode to gdk-pixbuf library,
      	so it can be used in Xlib version
      
      	* demos/testpixbuf.c (update_timeout): error checking from 1.0
      	tree
      
      	* gtk/gdk-pixbuf-loader.c (gdk_pixbuf_loader_get_pixbuf): Sync
      	change from 1.0 tree that returns first frame of animation
      	if the loaded file is an animation.
      
              * contrib: add new directory to hold stuff that comes with GTK+
      	but isn't really part of GTK+ (for now, gdk-pixbuf-xlib)
      
      	* configure.in: add contrib/*
      
      2000-10-06  Havoc Pennington  <hp@redhat.com>
      
      	* gdk-pixbuf.h: add GdkPixbufAlphaMode
      
      2000-10-06  Havoc Pennington  <hp@redhat.com>
      
              This entry is a summary of the merged-in changes from 1.0.
      	Relevant original ChangeLog entries are spliced in after
      	this entry; the files they refer to are from the 1.0
      	gdk-pixbuf sources.
      
      	* pixops/pixops.c (pixops_composite_nearest): sync a small fix
      	from 1.0
      
      	* io-xpm.c (xpm_seek_string): add fscanf error check from 1.0
      	Add progressive loader from 1.0
      
      	* io-tiff.c (gdk_pixbuf__tiff_image_begin_load): mem leak fixes
      	from 1.0 tree
      
      	* io-pnm.c: new version from 1.0 tree
      
      	* io-jpeg.c (gdk_pixbuf__jpeg_image_load): sync from 1.0, use
      	malloc not g_malloc
      
      	* io-gif.c (lzw_read_byte): sync from 1.0, change a g_error to
      	g_warning
      	(gif_get_next_step): return 0 here, sync from 1.0
      
      	* gdk-pixbuf-util.c: sync email address change for Cody
      	Russell
      
      2000-09-11  Jeffrey Stedfast  <fejj@helixcode.com>
      
      	* gdk-pixbuf/io-pnm.c: Pretty much totally rewrote again because
      	last nights code was still "broken". Should now properly handle
      	all error conditions gracefully.
      
      2000-09-10  Jeffrey Stedfast  <fejj@helixcode.com>
      
      	* gdk-pixbuf/io-pnm.c: Rewrote.
      
      2000-09-09  Federico Mena Quintero  <federico@helixcode.com>
      
      	* gdk-pixbuf/pixops/pixops.c (pixops_composite_nearest): Compute
      	the correct dest offset.
      
      2000-08-25  Federico Mena Quintero  <federico@helixcode.com>
      
      	* gdk-pixbuf/io-xpm.c: #include <unistd.h>
      
      2000-08-05  Larry Ewing  <lewing@helixcode.com>
      
      	* gdk-pixbuf/io-tiff.c: stop leaking context->tempname.
      
      	* gdk-pixbuf/io-xpm.c: same as above.
      
      2000-07-26  Michael Meeks  <michael@helixcode.com>
      
      	* gdk-pixbuf/io-jpeg.c (gdk_pixbuf__jpeg_image_load): make
      	g_malloc a malloc.
      
      2000-07-21  Larry Ewing  <lewing@helixcode.com>
      
      	* gdk-pixbuf/io-xpm.c: add a fake progressive loader so that
      	xpm at least supports the progressive interface like the one in
      	io-tiff.c. This should be reimplemented as an actual progressive
      	loader.
      
      2000-07-19  Jonathan Blandford  <jrb@redhat.com>
      
      	* demo/pixbuf-demo.c (update_timeout): changed scaling level to
      	make it look better.
      	* gdk-pixbuf/testpixbuf.c (update_timeout): Patch from michael
      	meeks to handle errors better.
      518f32d9