1. 16 Dec, 2009 1 commit
    • Colin Walters's avatar
      [introspection] Merge in Gtk-custom.c annotations · 6529c076
      Colin Walters authored
      The Gtk-custom.c file in gir-repository contained a number of
      introspection annotations.  Merge those into the GTK source files.
      
      Some documentation was moved from the tmpl/ files to accomodate
      the addition of annotations.
      6529c076
  2. 08 Nov, 2009 1 commit
  3. 17 Jun, 2009 1 commit
    • Benjamin Otte's avatar
      fix compile warnings · 1a385c50
      Benjamin Otte authored
      Fallout from running make CFLAGS="-Werror"; mostly missing casts and
      constness issues.
      1a385c50
  4. 16 Jun, 2009 1 commit
  5. 08 Jun, 2009 1 commit
    • Matthias Clasen's avatar
      Don't grab the keyboard during DND · c981ddf9
      Matthias Clasen authored
      Instead use passive grabs for the few keys we care about.
      With a corresponding metacity change, this will allow workspace
      switching and focus cycling during DND, which is very useful.
      Fixes bug 390312.
      c981ddf9
  6. 29 Nov, 2008 1 commit
  7. 12 Aug, 2008 1 commit
    • Sven Neumann's avatar
      gtk/gtkaccellabel.c gtk/gtkaction.c gtk/gtkclist.c gtk/gtkcolorbutton.c · b699ac58
      Sven Neumann authored
      2008-08-12  Sven Neumann  <sven@gimp.org>
      
      	* gtk/gtkaccellabel.c
      	* gtk/gtkaction.c
      	* gtk/gtkclist.c
      	* gtk/gtkcolorbutton.c
      	* gtk/gtkctree.c
      	* gtk/gtkdialog.c
      	* gtk/gtkdnd-quartz.c
      	* gtk/gtkdnd.c
      	* gtk/gtkentry.c
      	* gtk/gtkfilechooserdefault.c
      	* gtk/gtkfilesel.c
      	* gtk/gtkgamma.c
      	* gtk/gtkiconview.c
      	* gtk/gtkkeyhash.c
      	* gtk/gtklabel.c
      	* gtk/gtkmenu.c
      	* gtk/gtkmenubar.c
      	* gtk/gtkpaned.c
      	* gtk/gtkrecentchooserdialog.c
      	* gtk/gtkrecentchooserutils.c
      	* gtk/gtkselection.c
      	* gtk/gtksizegroup.c
      	* gtk/gtktextbtree.c
      	* gtk/gtktextbuffer.c
      	* gtk/gtktextview.c
      	* gtk/gtktoolbar.c
      	* gtk/gtktreemodel.c
      	* gtk/gtkuimanager.c
      	* gtk/gtkwindow-decorate.c
      	* gtk/gtkwindow.c: use canonical signal names in some more places
      	that I missed earlier. Also changed this in the documentation and
      	comments.
      
      
      svn path=/trunk/; revision=21094
      b699ac58
  8. 11 Aug, 2008 2 commits
    • Sven Neumann's avatar
      gtk/gtkdnd-quartz.c gtk/gtkdnd.c gtk/gtkentry.c gtk/gtkfilesel.c · 4c33ae06
      Sven Neumann authored
      2008-08-11  Sven Neumann  <sven@gimp.org>
      
      	* gtk/gtkdnd-quartz.c
      	* gtk/gtkdnd.c
      	* gtk/gtkentry.c
      	* gtk/gtkfilesel.c
      	* gtk/gtkimcontextsimple.c
      	* gtk/gtkimmulticontext.c
      	* gtk/gtkoptionmenu.c
      	* gtk/gtkplug.c
      	* gtk/gtkrecentchooserdefault.c
      	* gtk/gtkscrolledwindow.c
      	* gtk/gtksocket-x11.c: use canonical signal names in some more
      	places that I missed earlier.
      
      
      svn path=/trunk/; revision=21069
      4c33ae06
    • Sven Neumann's avatar
      gtk/gtkaboutdialog.c gtk/gtkcellrendereraccel.c gtk/gtkcellrenderercombo.c · 2a959785
      Sven Neumann authored
      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
      2a959785
  9. 01 Jul, 2008 1 commit
  10. 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
  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. 20 May, 2008 1 commit
  13. 12 Feb, 2008 1 commit
  14. 12 Dec, 2007 1 commit
  15. 11 Dec, 2007 1 commit
  16. 05 Oct, 2007 1 commit
  17. 10 Sep, 2007 1 commit
  18. 28 Apr, 2007 1 commit
  19. 18 Jan, 2007 1 commit
    • Michael Natterer's avatar
      gtk/gtkcheckbutton.c gtk/gtkdnd.c gtk/gtkentry.c gtk/gtkmenu.c · 42debff1
      Michael Natterer authored
      2007-01-18  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtkcheckbutton.c
      	* gtk/gtkdnd.c
      	* gtk/gtkentry.c
      	* gtk/gtkmenu.c
      	* gtk/gtktreeview.c
      	* gtk/gtkviewport.c: pass more clip rectangles to gtk_paint_foo()
      	functions. Based on a patch from maemo-gtk (bug #398023).
      
      
      svn path=/trunk/; revision=17183
      42debff1
  20. 28 Dec, 2006 1 commit
    • Carlos Garnacho's avatar
      Make GtkNotebook able to drop detached tabs anywhere. Bug #360225. · d42bbb64
      Carlos Garnacho authored
      2006-12-28  Carlos Garnacho  <carlosg@gnome.org>
      
              Make GtkNotebook able to drop detached tabs anywhere. Bug #360225.
      
              * gtk/gtkwidget.c (gtk_widget_class_init): add "drag-failed" signal.
              * gtk/gtkmarshalers.list: add new marshaler definition.
              * gtk/gtkenums.h: add GtkDragResult enum.
      
              * gtk/gtkdnd.c (gtk_drag_drop_finished): emit "drag-failed" if DND
              operation wasn't successful.
              (_gtk_drag_source_handle_event) (gtk_drag_drop)
              (gtk_drag_selection_get) (gtk_drag_cancel) (gtk_drag_key_cb)
              (gtk_drag_grab_broken_event_cb) (gtk_drag_grab_notify_cb)
              (gtk_drag_button_release_cb) (gtk_drag_abort_timeout): tell
              gtk_drag_drop_finished() the operation result.
      
              * gtk/gtknotebook.c (gtk_notebook_drag_failed): new function.
              (gtk_notebook_drag_data_get): do not call window creation hook here.
              (gtk_notebook_init): do not set "application/x-rootwindow-drop"
              target, instead connect to "drag-failed".
              (gtk_notebook_draw_focus): fix potential crasher if cur_page is NULL.
      d42bbb64
  21. 22 Dec, 2006 1 commit
  22. 18 Nov, 2006 1 commit
    • Matthias Clasen's avatar
      Fix problems with drag cancellation. (#376535, Michael Natterer) · 1312c002
      Matthias Clasen authored
      2006-11-17  Matthias Clasen  <mclasen@redhat.com>
      
      	Fix problems with drag cancellation. (#376535, Michael Natterer)
      
      	* gtk/gtkdnd.c (gtk_drag_source_info_destroy): Disconnect signal
      	handlers before emitting drag-end.
      	(gtk_drag_end): Disconnect signal handlers before removing
      	the grab.
      1312c002
  23. 06 Nov, 2006 1 commit
    • Alexander Larsson's avatar
      Cancel drag when the grab is shadowed. (#122688) · 853f5e5f
      Alexander Larsson authored
      2006-11-06  Alexander Larsson  <alexl@redhat.com>
      
      	* gtk/gtkdnd.c: (gtk_drag_begin_internal),
      	(gtk_drag_source_info_destroy), (gtk_drag_end),
      	(gtk_drag_grab_notify_cb):
      	Cancel drag when the grab is shadowed. (#122688)
      853f5e5f
  24. 08 Oct, 2006 1 commit
  25. 10 Sep, 2006 1 commit
  26. 18 Jul, 2006 1 commit
  27. 06 Jul, 2006 1 commit
  28. 27 Apr, 2006 1 commit
  29. 25 Apr, 2006 1 commit
    • Søren Sandmann's avatar
      Create 'composited' label. · b9d1a034
      Søren Sandmann authored
      Tue Apr 25 10:25:28 2006  Søren Sandmann  <sandmann@redhat.com>
      
      	* tests/testgtk.c (create_alpha_window): Create 'composited' label.
      
      	* tests/testgtk.c (on_composited_changed): New function, change
      	the label to say whether the screen is composited or not.
      
      	* gtk/gtkwindow.c (gtk_window_on_composited_changed): When
      	composited status change, invalidate the window and propagate the signal;.
      
      	* gtk/gtkwindow.c (gtk_window_map): Set the appropriate type hint
      	if reset_type_hint is TRUE.
      
      	* gtk/gtkwindow.c (gtk_window_set_type_hint): If hint is one of
      	the old hints, store a shadow copy in the public window->type_hint
      	bitfield, otherwise set this field to normal. Set the private
      	field to the type hint.
      
      	* gtk/gtkwindow.c (gtk_window_init): Initialize priv->type_hint.
      
      	* gtk/gtkwindow.c (struct _GtkWindowPrivate): New field
      	"reset_type_hint" indicating whether the type hint needs to be
      	reset. New field type_hint containing a GdkWindowTypeHint.
      
      	* gtk/gtkwidget.c (propagate_composited_changed): New function to
      	propagate changes in composited status.
      	(gtk_widget_class_init): Add composited_changed signal.
      
      	* gtk/gtkwidget.h (struct _GtkWidgetClass): New signal composited-changed.
      
      	* gtk/gtkwidget.c (gtk_widget_is_composited): New function.
      
      	* gtk/gtktooltips.c (gtk_tooltips_draw_tips): Set transient for.
      
      	* gtk/gtktooltips.c (gtk_tooltips_force_window): Set the type hint
      
      	* gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Compute whether
      	the item belongs to a menubar. Set the type_hint appropriately
      	depending on the outcome.
      
      	* gtk/gtkmenu.c (gtk_menu_position): Set the default type hint here.
      
      	* gtk/gtkmenu.c (gtk_menu_attach_to_widget): connect to hierarchy
      	changed on the attach widget.
      
      	* gtk/gtkmenu.c (attach_widget_hierarchy_changed): New function to
      	set the transient_for property for menus.
      
      	* gtk/gtkdnd.c (set_icon_stock_pixbuf): Set the appropriate type hint.
      
      	* gtk/gtkcombo.c (gtk_combo_popup_list): Make the popup window
      	transient for the toplevel.
      
      	* gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Set
      	transient-for, for the popup window.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_get_type_hint): Support for
      	new window types.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_set_type_hint): Add support
      	for new window types.
      
      	* gdk/x11/gdkscreen-x11.c (_gdk_x11_screen_process_owner_change):
      	New function called whenever the compositing manager comes and goes.
      
      	* gdk/x11/gdkscreen-x11.c (gdk_screen_is_composited): New function.
      
      	* gdk/x11/gdkscreen-x11.c
      	(_gdk_x11_screen_request_cm_notification, make_cm_atom,
      	check_is_composited): New functions
      
      	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Call
      	_gdk_x11_screen_process_owner_change when an
      	XFixesSelectionNotifyEvent is received.
      
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Call
      	_gdk_x11_screen_request_cm_notification() on all screens.
      
      	* gdk/quartz/gdkscreen-quartz.c (gdk_screen_is_composited): Dummy
      	implementation.
      
      	* gdk/gdkscreen.c (gdk_screen_class_init): New signal,
      	'composited-changed'.
      
      	* gdk/gdkwindow.h: Add new EWMH window types.
      
      	* gdk/win32/gdkscreen-win32.c (gdk_screen_is_composited)
      b9d1a034
  30. 17 Apr, 2006 1 commit
  31. 30 Mar, 2006 1 commit
  32. 23 Mar, 2006 1 commit
  33. 22 Mar, 2006 1 commit
    • Matthias Clasen's avatar
      Improved DND support for GtkNotebook (#332991, Carlos Garnacho) · 411d798e
      Matthias Clasen authored
      2006-03-22  Matthias Clasen  <mclasen@redhat.com>
      
      	Improved DND support for GtkNotebook  (#332991, Carlos Garnacho)
      
      	* gtk/gtk.symbols:
      	* gtk/gtkdnd.h:
      	* gtk/gtkdnd.c: Add a track_motion flag on GtkDragDest
      	with getter and setter, for cases where the drag destination
      	is interested in drag motion events independent of targets.
      
      	* gtk/gtksettings.c (gtk_settings_class_init): Add a setting
      	for the timeout used when expanding during DND.
      
      	* gtk/gtknotebook.c: Use the track_motion flag to switch
      	notebook tabs when hovering over tabs during DND.
      411d798e
  34. 21 Mar, 2006 1 commit
  35. 07 Mar, 2006 1 commit
    • Federico Mena Quintero's avatar
      Cancel drags when the grabs get broken. Fixes bug #333056: · 712dc6b8
      Federico Mena Quintero authored
      2006-03-07  Federico Mena Quintero  <federico@novell.com>
      
      	Cancel drags when the grabs get broken.  Fixes bug #333056:
      
      	* gtk/gtkdnd.c (gtk_drag_selection_received): The time argument is
      	a guint, not guint32.
      	(gtk_drag_source_event_cb): Return gboolean, not gint.
      	(gtk_drag_anim_timeout): Likewise.
      	(gtk_drag_motion_cb): Likewise.
      	(gtk_drag_key_cb): Likewise.
      	(gtk_drag_button_release_cb): Likewise.
      	(gtk_drag_abort_timeout): Likewise.
      	(gtk_drag_begin_internal): Connect to "grab-broken-event" on the
      	ipc_widget.
      	(gtk_drag_source_info_destroy): Disconnect from the
      	"grab-broken-event" callback.
      	(gtk_drag_end): Likewise.
      	(gtk_drag_grab_broken_event_cb): New callback.  We cancel the drag
      	if the grab was broken and not regrabbed by the DnD code.
      
      2006-03-07  Federico Mena Quintero  <federico@novell.com>
      
      	* gtk/gtkfilechooserdefault.c (shortcuts_button_press_event_cb):
      	Hack to let the treeview's button-press-event handler run before
      	ours.  This lets the selection be updated before we pop up a
      	context menu.
      712dc6b8
  36. 27 Feb, 2006 2 commits
  37. 17 Feb, 2006 1 commit
    • Matthias Clasen's avatar
      DND keynav support: · 94cb364c
      Matthias Clasen authored
      2006-02-17  Matthias Clasen  <mclasen@redhat.com>
      
              DND keynav support:
      
              * gtk/gtkdnd.c (gtk_drag_update_idle): Protect against
              info->last_event being NULL.
              (gtk_drag_key_cb): Handle arrow keys to move the drag icon
              and space or enter to drop.
      94cb364c
  38. 03 Jan, 2006 1 commit