1. 18 May, 2004 6 commits
    • Matthias Clasen's avatar
      Check for XFIXES extension. · 7b8616bf
      Matthias Clasen authored
      2004-05-18  Matthias Clasen  <mclasen@redhat.com>
      
      	* configure.in: Check for XFIXES extension.
      
      	* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add
      	a gboolean have_xfixes member.
      
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Register
      	XFIXES events and set have_xfixes.
      
      	* gdk/gdkevents.h (GdkEventType): Add GDK_OWNER_CHANGE.
      	(GdkEventOwnerChange): New event struct for owner change events.
      	(GdkOwnerChange): New enum for the reason field of GdkEventOwnerChange.
      
      	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Translate
      	XFixesSelectionNotify events into GdkEventOwnerChange events.
      
      	* gdk/gdkdisplay.h:
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_supports_selection_notification):
      	(gdk_display_request_selection_notification): New api
      	to support selection ownership notification.
      
      	* gtk/gtkclipboard.h:
      	* gtk/gtkclipboard.c (_gtk_clipboard_handle_event): New private
      	api to handle owner change events.
      	(clipboard_peek): Refactored out the body of
      	gtk_clipboard_get_for_display() for use in _gtk_clipboard_handle_event().
      
      	* gtk/gtkmain.c (gtk_main_do_event): Handle GDK_OWNER_CHANGE events
      	by calling _gtk_clipboard_handle_event().
      7b8616bf
    • Matthias Clasen's avatar
      Include glib/gi18n-lib.h and only define the P_() macros ourselves. · 261d5404
      Matthias Clasen authored
      2004-05-18  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkintl.h: Include glib/gi18n-lib.h and only define
      	the P_() macros ourselves.
      261d5404
    • Matthias Clasen's avatar
      Restrict the width of the popup to be no larger than the monitor. · 460dfabb
      Matthias Clasen authored
      2004-05-18  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
      	Restrict the width of the popup to be no larger than the
      	monitor.  (#142678, DmD Ljungmark)
      460dfabb
    • Matthias Clasen's avatar
      f2801c7e
    • Matthias Clasen's avatar
      Go back to the initial fix for the focus-overdrawing problem, which was · 85eb5576
      Matthias Clasen authored
      2004-05-18  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkbutton.c: Go back to the initial fix for the
      	focus-overdrawing problem, which was actually correct
      	according to docs/widget_geometry.txt.
      
      	* gtk/gtkarrow.c (gtk_arrow_class_init): Bump the initial
      	arrow size from 11 to 15 to compensate for that.
      85eb5576
    • Matthias Clasen's avatar
      Document the arguments of the ::move-cursor signal. (#142725) · d9ee96cf
      Matthias Clasen authored
      2004-05-18  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_class_init): Document the
      	arguments of the ::move-cursor signal.  (#142725)
      d9ee96cf
  2. 17 May, 2004 4 commits
    • Matthias Clasen's avatar
      Allocate space for the focus rectangle only if necessary. (#142668, · a4555370
      Matthias Clasen authored
      2004-05-17  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkbutton.c (gtk_button_size_request)
      	(gtk_button_size_allocate, _gtk_button_paint): Allocate
      	space for the focus rectangle only if necessary.  (#142668,
      	Michael Natterer)
      a4555370
    • Matthias Clasen's avatar
      Remove two useless lines. (#142479, Morten Welinder) · 478ea44a
      Matthias Clasen authored
      	* gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove two useless
      	lines.  (#142479, Morten Welinder)
      478ea44a
    • Matthias Clasen's avatar
      Merged from 2.4 · d14f203b
      Matthias Clasen authored
      Sun May 16 22:53:47 2004  Matthias Clasen  <maclas@gmx.de>
      
              Merged from 2.4
      
      	* io-pnm.c (pnm_read_next_value): Don't read integers
      	partially.  (#142584, Kouichirou Hiratsuka)
      d14f203b
    • Matthias Clasen's avatar
      Add a Q_() macro. · d9d8bda5
      Matthias Clasen authored
      Sun May 16 22:27:17 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkintl.h (Q_): Add a Q_() macro.
      
      	* gtk/gtkcellrendererprogress.h: Remove GTK_PROGRESS_CELL_UNKNOWN
      	and GTK_PROGRESS_CELL_FAILED. With the ability the set the label,
      	they are not really needed.
      
      	* gtk/gtkcellrendererprogress.c: Use the xpad and ypad properties
      	instead of hardwired padding, use Q_() for the default label,
      	compute a reasonable minimal size.  (#142571, #142572, #142573,
      	Tommi Komulainen, Christian Persch)
      d9d8bda5
  3. 15 May, 2004 1 commit
    • Tor Lillqvist's avatar
      Put back the ref_count field in the GdkDragContextPrivateWin32 struct (but · b99e54f2
      Tor Lillqvist authored
      2004-05-15  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkdnd-win32.c: Put back the ref_count field in the
      	GdkDragContextPrivateWin32 struct (but inside ifdef OLE2_DND this
      	time). It is used by the OLE2_DND code, which is unfinished and
      	presumably horribly broken, but still, let's not make it not
      	compile on purpose. Silence some gcc warnings in the OLE2_DND
      	code.
      b99e54f2
  4. 14 May, 2004 3 commits
    • Matthias Clasen's avatar
      New function to go from tree window to tree coordinates, kept static for · 6ce035ae
      Matthias Clasen authored
      2004-05-14  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktreeview.c (gtk_tree_view_tree_window_to_tree_coords):
      	New function to go from tree window to tree coordinates, kept
      	static for now until we figure out the multiple coordinate
      	system mess in GtkTreeView API-wise.
      	(gtk_tree_view_scroll_to_cell): Transform the coordinates
      	from tree window to tree coordinates, using the new function.
      	Previously, the x coordinate was wrongly transformed. (#142494)
      6ce035ae
    • Matthias Clasen's avatar
      Minor update. · 7465f3d7
      Matthias Clasen authored
      7465f3d7
    • Matthias Clasen's avatar
      Add a comment about unused bits. · acc6a1aa
      Matthias Clasen authored
      2004-05-14  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/gdktypes.h (GdkModifierType): Add a comment about unused
      	bits.
      
      	* gtk/gtkstock.c (real_add, gtk_stock_lookup): Use an unused
      	modifier bit to mark stock item which need to be freed
      	eventually.  (#140654, Michal Pasternak, Scott Tsai)
      acc6a1aa
  5. 12 May, 2004 3 commits
  6. 11 May, 2004 7 commits
  7. 10 May, 2004 16 commits