1. 20 May, 2008 1 commit
  2. 12 Feb, 2008 1 commit
  3. 12 Dec, 2007 1 commit
  4. 11 Dec, 2007 1 commit
  5. 05 Oct, 2007 1 commit
  6. 10 Sep, 2007 1 commit
  7. 28 Apr, 2007 1 commit
  8. 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
  9. 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
  10. 22 Dec, 2006 1 commit
  11. 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
  12. 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
  13. 08 Oct, 2006 1 commit
  14. 10 Sep, 2006 1 commit
  15. 18 Jul, 2006 1 commit
  16. 06 Jul, 2006 1 commit
  17. 27 Apr, 2006 1 commit
  18. 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
  19. 17 Apr, 2006 1 commit
  20. 30 Mar, 2006 1 commit
  21. 23 Mar, 2006 1 commit
  22. 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
  23. 21 Mar, 2006 1 commit
  24. 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
  25. 27 Feb, 2006 2 commits
  26. 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
  27. 03 Jan, 2006 3 commits
  28. 14 Dec, 2005 1 commit
  29. 28 Oct, 2005 1 commit
  30. 13 Sep, 2005 2 commits
  31. 11 Sep, 2005 1 commit
  32. 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
  33. 31 Aug, 2005 1 commit
  34. 01 Aug, 2005 1 commit
  35. 20 Jul, 2005 1 commit
  36. 08 Jul, 2005 1 commit