1. 14 Jul, 2004 2 commits
  2. 13 Jul, 2004 13 commits
  3. 12 Jul, 2004 11 commits
    • Soeren Sandmann's avatar
      Do an empty begin_paint_region()/end_paint() for windows without · dddab53b
      Soeren Sandmann authored
      Tue Jul 13 00:40:29 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gdk/gdkwindow.c (gdk_window_process_updates_internal): Do an
      	empty begin_paint_region()/end_paint() for windows without
      	EXPOSURE_MASK.
      
      	* gdk/x11/gdkwindow-x11.c (_gdk_x11_window_tmp_unset_bg,
      	_gdk_x11_window_tmp_reset_bg): Remove checks for EXPOSURE_MASK.
      dddab53b
    • Matthias Clasen's avatar
      Use a GtkAboutDialog. · 7cbe432b
      Matthias Clasen authored
      	* demos/gtk-demo/appwindow.c: Use a GtkAboutDialog.
      7cbe432b
    • Federico Mena Quintero's avatar
      Start of the GTK+ glossary. · 8b69a33d
      Federico Mena Quintero authored
      2004-07-12  Federico Mena Quintero  <federico@ximian.com>
      
      	* gtk/glossary.xml: Start of the GTK+ glossary.
      
      	* gtk/Makefile.am (content_files): Added glossary.xml.
      
      	* gtk/gtk-docs.sgml: Likewise.
      8b69a33d
    • Matthias Clasen's avatar
      Docs for GtkAboutDialog. · 24162d33
      Matthias Clasen authored
      24162d33
    • Matthias Clasen's avatar
      New widget: GtkAboutDialog. · 4ed4ccc7
      Matthias Clasen authored
      2004-07-12  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkaboutdialog.h:
      	* gtk/gtkaboutdialog.c: New widget: GtkAboutDialog.
      
      	* gtk/Makefile.am (gtk_public_h_sources, gtk_c_sources):
      	* gtk/gtk.h: Add GtkAboutDialog. (#109435, Paolo Borelli,
      	patch by Matthias Clasen)
      4ed4ccc7
    • Matthias Clasen's avatar
      Apply the gtk-default-menu-item-style to cell view menu items as well. · 37610bc3
      Matthias Clasen authored
      
      		* gtk/gtkrc.c (_gtk_rc_init): Apply the gtk-default-menu-item-style
      	to cell view menu items as well.  (#147405, John Cupitt)
      37610bc3
    • Matthias Clasen's avatar
      Forgotten file. · 4a6f8745
      Matthias Clasen authored
      4a6f8745
    • Matthias Clasen's avatar
      Warning fixes. · d11ab53e
      Matthias Clasen authored
      d11ab53e
    • Matthias Clasen's avatar
      Include the update_counter check in the HAVE_XSYNC condition, since · 027bbe0f
      Matthias Clasen authored
      Mon Jul 12 01:56:26 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gdk/x11/gdkwindow-x11.c (gdk_toplevel_x11_free_contents):
      	Include the update_counter check in the HAVE_XSYNC condition,
      	since update_counter isn't present in the !HAVE_XSYNC case.
      027bbe0f
    • Matthias Clasen's avatar
      Add new stock items. · c276d35f
      Matthias Clasen authored
      Mon Jul 12 00:57:32 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/tmpl/gtkstock.sgml:
      	* gtk/Makefile.am (HTML_IMAGES):
      	* gtk/gtk-sections.txt: Add new stock items.
      c276d35f
    • Matthias Clasen's avatar
      Add a number of new stock items. (#102530, #68015, #109811, Jordi Mallach, · 6c18d56a
      Matthias Clasen authored
      Mon Jul 12 00:52:04 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/stock-icons/Makefile.am:
      	* gtk/stock-icons/stock_about_{16,24}.png:
      	* gtk/stock-icons/stock_connect_{16,24}.png:
      	* gtk/stock-icons/stock_disconnect_{16,24}.png:
      	* gtk/stock-icons/stock_edit_{16,24}.png:
      	* gtk/stock-icons/stock_media_forward_{16,24}.png:
      	* gtk/stock-icons/stock_media_next_{16,24}.png:
      	* gtk/stock-icons/stock_media_pause_{16,24}.png:
      	* gtk/stock-icons/stock_media_play_{16,24}.png:
      	* gtk/stock-icons/stock_media_previous_{16,24}.png:
      	* gtk/stock-icons/stock_media_record_{16,24}.png:
      	* gtk/stock-icons/stock_media_rewind_{16,24}.png:
      	* gtk/stock-icons/stock_media_stop_{16,24}.png:
      	* gtk/gtkstock.h (GTK_STOCK_ABOUT):
      	* gtk/gtkstock.h (GTK_STOCK_CONNECT):
      	* gtk/gtkstock.h (GTK_STOCK_DISCONNECT):
      	* gtk/gtkstock.h (GTK_STOCK_EDIT):
      	* gtk/gtkstock.h (GTK_STOCK_MEDIA_FORWARD):
      	* gtk/gtkstock.h (GTK_STOCK_MEDIA_NEXT):
      	* gtk/gtkstock.h (GTK_STOCK_MEDIA_PAUSE):
      	* gtk/gtkstock.h (GTK_STOCK_MEDIA_PLAY):
      	* gtk/gtkstock.h (GTK_STOCK_MEDIA_PREVIOUS):
      	* gtk/gtkstock.h (GTK_STOCK_MEDIA_RECORD):
      	* gtk/gtkstock.h (GTK_STOCK_MEDIA_REWIND):
      	* gtk/gtkstock.h (GTK_STOCK_MEDIA_STOP):
      	* gtk/gtkiconfactory.c (get_default_icons):
      	* gtk/gtkstock.c (builtin_items): Add a number of new stock
      	items.  (#102530, #68015, #109811, Jordi Mallach, Benjamin Otte,
      	Michael Opdenacker)
      6c18d56a
  4. 11 Jul, 2004 3 commits
    • Soeren Sandmann's avatar
      Bug 143330, support update counter spec. · 1a5e92dd
      Soeren Sandmann authored
      Sun Jul 11 15:24:03 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	Bug 143330, support update counter spec.
      
      	* configure.in: Add check for the Sync extension
      
      	* gdk/gdkwindow.h: gdk_window_enable_synchronized_configure() and
      	gdk_window_configure_finished()
      
      	* gtk/gtkwindow.c (gtk_window_move_resize): Call gdk_window_finish_configure().
      	* gtk/gtkwindow.c (gtk_window_realize): Automatically enable
      	synchronized configures.
      
      	* gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Store current
      	and pending counter values.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_configure_finished): New function.
      	* gdk/x11/gdkwindow-x11.c
      	(gdk_window_enable_synchronized_configure): New function.
      	* gdk/x11/gdkwindow-x11.c (gdk_toplevel_x11_free_contents):
      	Delete update counter.
      	* gdk/x11/gdkwindow-x11.c (set_wm_protocols): Advertise
      	_NET_WM_SYNC_REQUEST when Sync is available
      
      	* gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Handle
      	_NET_WM_SYNC_REQUEST messages
      	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Save counter
      	value for use by gdk_window_configure_finished() when receiving
      	ConfigureNotifies.
      
      	* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add use_sync flag
      	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Check if the XSync
      	extension is available
      	* gdk/x11/gdkdisplay-x11.c: Add _NET_WM_SYNC_REQUEST and
      	_NET_WM_SYNC_REQUEST_COUNTER to list of supported atoms.
      
      	* gdk/linux-fb/gdkwindow-fb.c, gdk/win32/gdkwindow-win32.c: Add
      	stubs for enable_synchronized_configure() and configure_finished()
      1a5e92dd
    • Matthias Clasen's avatar
      Make middle-button pasting work as expected inside the entry. (#116789, · b1a704b6
      Matthias Clasen authored
      Sat Jul 10 23:35:13 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtkentry.c (paste_received): Make middle-button pasting
      	work as expected inside the entry.  (#116789, Scott Bronson)
      b1a704b6
    • Matthias Clasen's avatar
      Update clipboards. (#142805, Mikael Hallendal) · 37b90cc7
      Matthias Clasen authored
      Sat Jul 10 22:13:53 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_select_range): Update
      	clipboards.  (#142805, Mikael Hallendal)
      37b90cc7
  5. 10 Jul, 2004 4 commits
  6. 09 Jul, 2004 7 commits
    • Soeren Sandmann's avatar
      Insert checks for root window. The root window is never mapped. · 1c5a1dda
      Soeren Sandmann authored
      Sat Jul 10 01:55:29 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gdk/x11/gdkwindow-x11.c (_gdk_x11_window_tmp_{re|un}set_bg):
      	Insert checks for root window. The root window is never mapped.
      1c5a1dda
    • Soeren Sandmann's avatar
      Fix a warning Actually unset bg. · d7da887e
      Soeren Sandmann authored
      Sat Jul 10 01:06:05 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gdk/x11/gdkwindow-x11.c (post_unmap): Fix a warning
      	* gdk/x11/gdkwindow-x11.c (show_window_internal): Actually unset
      	bg.
      d7da887e
    • Soeren Sandmann's avatar
      Bug 113310. · 69ab514a
      Soeren Sandmann authored
      Sat Jul 10 00:37:45 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	Bug 113310.
      
      	* gdk/x11/gdkwindow-x11.c (_gdk_x11_window_tmp_{un|re}set_bg):
      	New functions that can do a recursive unset/reset bg.
      
      	* gdk/x11/gdkgeometry-x11.c: Remove
      	gdk_window_tmp_{un|re}set_bg().
      
      	* gdk/x11/gdkwindow-x11.c (pre_unmap, post_unmap): New functions
      	called before and after unmapping a window. They unset the
      	background of all other windows to prevent flicker from the X
      	server repainting the background. post_unmap() also invalidates
      	the parent of the unmapped window to draw it without roundtrips.
      
      	* gdk/x11/gdkwindow-x11.c (show_window_internal): Unset
      	background of newly mapped windows and all desendants to prevent
      	flicker.
      69ab514a
    • Manish Singh's avatar
      have a dummy case GDK_OWNER_CHANGE in switch statements to avoid gcc · b22258e6
      Manish Singh authored
      Fri Jul  9 15:33:55 2004  Manish Singh  <yosh@gimp.org>
      
              * gdk/gdkevents.c: have a dummy case GDK_OWNER_CHANGE in switch
              statements to avoid gcc warnings about not all enum values handled.
      
              * gdk/x11/gdkdisplay-x11.c (gdk_display_open): ignore should live in
              #ifdef HAVE_XFIXES.
      b22258e6
    • Manish Singh's avatar
      function doesn't return a value, so don't use g_return_val_if_fail() · 2633a030
      Manish Singh authored
      Fri Jul  9 15:38:06 2004  Manish Singh  <yosh@gimp.org>
      
              * gdk-pixbuf-io.c (gdk_pixbuf_format_set_disabled): function doesn't
              return a value, so don't use g_return_val_if_fail()
      
              * gdk-pixbuf-scale.c (gdk_pixbuf_rotate_simple): initialize dest in
              the can't happen case, to quiet gcc.
      
              * io-tiff.c (tifflibversion): enclose in #if TIFFLIB_VERSION >=
              20031226.
      2633a030
    • Soeren Sandmann's avatar
      Add an "override_redirect" bit. · 8889f2b4
      Soeren Sandmann authored
      Fri Jul  9 23:26:09 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gdk/x11/gdkwindow-x11.h (struct _GdkWindowImplX11): Add an
      	"override_redirect" bit.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_new): Set it here.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_move, gdk_window_resize,
      	gdk_window_move_resize):
      	Update the local size/position cache
      	immediately for override redirect windows.
      
      	* gdk/x11/gdkwindow-x11.c (show_window_internal): Invalidate
      	newly mapped child and override redirect windows.
      8889f2b4
    • Federico Mena Quintero's avatar
      Fixes #137031: · 42067dfb
      Federico Mena Quintero authored
      2004-07-09  Federico Mena Quintero  <federico@ximian.com>
      
      	Fixes #137031:
      
      	* gtk/gtkfilesystemunix.c (get_fallback_icon): New helper
      	function, fetches a stock icon as a fallback.
      	(gtk_file_system_unix_volume_render_icon): Fall back to a stock
      	icon.
      	(gtk_file_system_unix_render_icon): Fall back to a stock icon.
      	Use helper functions rather than being a mega-function.
      	(get_icon_name_for_directory): Renamed from
      	get_icon_for_directory().
      	(get_icon_type_from_path): New helper function; code pulled out
      	from gtk_file_system_unix_render_icon().
      	(get_special_icon): Likewise.
      	(get_icon_for_mime_type): Likewise.
      42067dfb