Commit Graph

9752 Commits

Author SHA1 Message Date
Owen Taylor
c2669dd5bb Squash strict aliasing warnings.
Tue Nov 16 19:26:30 2004  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display):
        Squash strict aliasing warnings.
2004-11-17 00:32:45 +00:00
Matthias Clasen
d7e3747b49 Fix a copy-and-paste error. (#158459)
2004-11-16  Matthias Clasen  <mclasen@redhat.com>

	* gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix a
	copy-and-paste error.  (#158459)
2004-11-16 17:32:15 +00:00
Davyd Madeley
b23e4c2349 Allow backspace to move up the FileChooser tree to make it consistent with
2004-11-17  Davyd Madeley  <davyd@madeley.id.au>

        * gtk/gtkfilechooserdefault.c: Allow backspace to move up the
        FileChooser tree to make it consistent with Nautilus and others.
2004-11-16 16:52:17 +00:00
Martin Willemoes Hansen
4520b1d6a0 Updated Danish translation.
* da.po: Updated Danish translation.
2004-11-16 16:46:13 +00:00
Matthias Clasen
f01ebf5c79 Don't include config.h in the examples.
2004-11-16  Matthias Clasen  <mclasen@redhat.com>

	* demos/gtk-demo/*.c: Don't include config.h in the examples.
2004-11-16 15:49:17 +00:00
Jonathan Blandford
403edcccd8 forgot this 2004-11-16 06:54:19 +00:00
Matthias Clasen
e23cf6361d Don't use the foreground color for selected cells, Don't use the
2004-11-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcellrenderertext.c (get_layout): Don't use the foreground
	color for selected cells, Don't use the background color
	in unfocused selected cells. Also avoid creating two PangoLayouts
	per render call.  (#154615, #154611, Billy Biggs)
2004-11-16 05:19:21 +00:00
Jonathan Blandford
f0265b018e Update so that toplevel windows accomodate for the titlebar when sizing.
Tue Nov 16 00:08:07 2004  Jonathan Blandford  <jrb@redhat.com>

        * docs/tools/widgets.c: Update so that toplevel windows accomodate
        for the titlebar when sizing.  Also clean up statusbar

        * docs/reference/gtk/images/*png: update
2004-11-16 05:10:18 +00:00
Matthias Clasen
b4c4bc8947 Reduce the clipboard timeout from 300 seconds to 30 seconds. (#155428,
2004-11-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkselection.c: Reduce the clipboard timeout from 300
	seconds to 30 seconds.  (#155428, Billy Biggs)
2004-11-16 04:24:57 +00:00
Matthias Clasen
ecb19f0949 Sort alphabetically.
2004-11-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/visual_index.xml: Sort alphabetically.
2004-11-16 04:08:28 +00:00
Manish Singh
b3121f550a gdk/abicheck.sh don't hardcode lengths for cut, instead split on the third
Mon Nov 15 19:02:07 2004  Manish Singh  <yosh@gimp.org>

        * gdk/abicheck.sh
        * gtk/abicheck.sh: don't hardcode lengths for cut, instead split on
        the third field.
2004-11-16 03:03:49 +00:00
Manish Singh
8a5db20e48 _gdk_pixbuf_lock now returns a gboolean.
Mon Nov 15 18:58:22 2004  Manish Singh  <yosh@gimp.org>

        * gdk-pixbuf-private.h: _gdk_pixbuf_lock now returns a gboolean.

        * abicheck.sh: don't hardcode lengths for cut, instead split on
        the third field.
2004-11-16 03:01:57 +00:00
Matthias Clasen
4f9db59bfd Be extra careful when locking and handle the case that the module may
2004-11-15  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-animation.c:
	* gdk-pixbuf-loader.c:
	* gdk-pixbuf-io.c: Be extra careful when locking and handle
	the case that the module may initialize the thread system.

	* gdk-pixbuf-io.[hc] (_gdk_pixbuf_lock): Return whether the
	lock was actually taken.
2004-11-16 02:51:19 +00:00
Matthias Clasen
d651bb25cd Really free the list. (#158422, Morten Welinder)
2004-11-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkimagemenuitem.c (gtk_image_menu_item_setting_changed):
	* gtk/gtkbutton.c (gtk_button_setting_changed): Really free the
	list.  (#158422, Morten Welinder)
2004-11-16 02:06:20 +00:00
Matthias Clasen
a5869f4c50 Use GPOINTER_TO_UINT()/GUINT_TO_POINTER() for guints. (#158420, Morten
2004-11-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkimagemenuitem.c (gtk_image_menu_item_screen_changed):
	* gtk/gtkbutton.c (gtk_button_screen_changed): Use
	GPOINTER_TO_UINT()/GUINT_TO_POINTER() for guints.  (#158420,
	Morten Welinder)
2004-11-16 02:01:41 +00:00
Manish Singh
aa04eae7b7 Output Makefile for the pixbuf engine directory.
Mon Nov 15 17:17:17 2004  Manish Singh  <yosh@gimp.org>

        * configure.in: Output Makefile for the pixbuf engine directory.

        * gtk/gtk.symbols: Add gtk_button_{get,set}_image.

        * modules/engines/pixbuf/pixbuf-render.c: Replace usage of deprecated
        functions.

        * modules/engines/pixbuf/pixbuf-draw.c: undef GDK_DISABLE_DEPRECATED
        for gdk_draw_string (ick).
2004-11-16 01:20:47 +00:00
Manish Singh
22456af9b0 Shut up CVS 2004-11-16 01:16:19 +00:00
Matthias Clasen
10132d37c9 *** empty log message *** 2004-11-15 20:56:28 +00:00
Matthias Clasen
c21954a3f9 Add some more docs.
2004-11-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkimagemenuitem.c (gtk_image_menu_item_set_image): Add
	some more docs.
2004-11-15 20:07:26 +00:00
Jonathan Blandford
1bf2ff0a7f somehow this got missed mid-commit 2004-11-15 19:55:07 +00:00
Jonathan Blandford
89bc1c42fc Patch from Gavin Romig-Koch <gavin@redhat.com> to no longer reset the
Mon Nov 15 14:25:21 2004  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_cell_set_dirty):
        Patch from Gavin Romig-Koch <gavin@redhat.com> to no longer reset
        the resized_width when marking a column dirty.
2004-11-15 19:37:13 +00:00
Matthias Clasen
db54ca44bb Add pixbuf.
2004-11-15  Matthias Clasen  <mclasen@redhat.com>

	* modules/engines/Makefile.am (SUBDIRS): Add pixbuf.
2004-11-15 19:26:53 +00:00
Matthias Clasen
66cec03401 Remove uses of deprecated symbols.
2004-11-15  Matthias Clasen  <mclasen@redhat.com>

	* pixbuf-render.c:
	* pixbuf-draw.c:
	* pixbuf-rc-style.c: Remove uses of deprecated symbols.
2004-11-15 18:42:12 +00:00
Matthias Clasen
7e7e4cbb6e Remove examples, adjust Makefile.am 2004-11-15 18:25:11 +00:00
Matthias Clasen
5cfa1d1b20 *** empty log message *** 2004-11-15 18:07:22 +00:00
Hendrik Richter
0c97764ec5 Updated German translation. 2004-11-15 16:28:45 +00:00
Hendrik Richter
3f65004311 Updated German translation.
Updated German translation.
2004-11-15 16:26:16 +00:00
Matthias Clasen
5c93ee5d5c *** empty log message *** 2004-11-15 16:22:49 +00:00
Kjartan Maraas
650de3db38 Fix conflicting mnemonics.
2004-11-15  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Fix conflicting mnemonics.
2004-11-15 16:22:30 +00:00
Hendrik Richter
ed217a4a77 Updated German translation.
Updated German translation.
2004-11-15 15:25:00 +00:00
Erwann Chenede -
5cca30a877 fix unselect in multiple selection (#156805)
2004-11-15 Erwann Chenede - <erwann.chenede@sun.com>

      * gtk/gtkfilesel.c: fix unselect in multiple selection (#156805)
2004-11-15 13:48:52 +00:00
Matthias Clasen
a63d57cd49 Include gtkdnd.h (#158243, Kazuki IWAMOTO)
2004-11-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtklabel.c: Include gtkdnd.h  (#158243, Kazuki IWAMOTO)
2004-11-15 13:40:06 +00:00
David Lodge
a45060c343 Updated British translation.
2004-11-14  David Lodge <dave@cirt.net>

        * en_GB.po: Updated British translation.
2004-11-14 20:34:44 +00:00
Alexander Shopov
de5106851f Updated Bulgarian translation by Vladimir Petkov <vpetkov@i-space.org>
2004-11-14  Alexander Shopov  <ash@contact.bg>

	* bg.po: Updated Bulgarian translation by
	Vladimir Petkov <vpetkov@i-space.org>
2004-11-14 15:05:33 +00:00
Žygimantas Beručka
2110b64e8a Updated Lithuanian translation.
2004-11-14  Žygimantas Beručka  <uid0@akl.lt>

	* lt.po: Updated Lithuanian translation.
2004-11-14 13:00:11 +00:00
Matthias Clasen
3644afd14b Allow min == max. (#158225, Vasco Alexandre da Silva Costa)
2004-11-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): Allow
	min == max.  (#158225, Vasco Alexandre da Silva Costa)
2004-11-14 01:25:35 +00:00
Updated ja.po. T.Aihana
40e1fb275b 2004-11-13 Updated ja.po. T.Aihana <aihana@gnome.gr.jp> 2004-11-12 23:14:44 +00:00
Matthias Clasen
59e887534b Add more docs.
2004-11-12  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c (gtk_combo_box_class_init): Add more docs.
2004-11-12 22:57:09 +00:00
Matthias Clasen
7428dc5c67 Updates 2004-11-12 22:35:30 +00:00
Matthias Clasen
4114ad2c02 Fix typo in docs.
2004-11-12  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilefilter.c (gtk_file_filter_filter): Fix typo in
	docs.
2004-11-12 22:18:04 +00:00
Matthias Clasen
cb87aa11c9 Implement DND for selectable labels.
2004-11-12  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtklabel.c (gtk_label_button_press, gtk_label_button_release)
	(gtk_label_drag_data_get): Implement DND for selectable labels.
2004-11-12 21:52:04 +00:00
Matthias Clasen
9e847e411f Don't use _gdk_pixbuf_load_module_unlocked() in the !USE_GMODULE case.
2004-11-12  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-io.c (gdk_pixbuf_io_init): Don't use
	_gdk_pixbuf_load_module_unlocked() in the !USE_GMODULE case.
2004-11-12 20:43:08 +00:00
Matthias Clasen
74a5fd15d7 Adjust to the current entry popup menu.
2004-11-12  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtklabel.c (gtk_label_do_popup): Adjust to the current
	entry popup menu.
2004-11-12 20:20:29 +00:00
Matthias Clasen
3b9a31df07 Make GDK+ compile with X11R5 (#148032)
2004-11-12  Matthias Clasen  <mclasen@redhat.com>

	Make GDK+ compile with X11R5 (#148032)

	* gdk/x11/xsettings-client.c (xsettings_client_new):
	* gdk/x11/gdkproperty-x11.c (_gdk_x11_precache_atoms): Only
	use XInternAtoms if it is available.

	* gdk/x11/gdkasync.c: Include XIproto.h if necessary.

	* configure.in: Check for XInternAtoms and X headers needed for
	xReply.
2004-11-12 19:48:43 +00:00
Matthias Clasen
888aeacf51 Bump version.
2004-11-12  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Bump version.
2004-11-12 18:15:23 +00:00
Matthias Clasen
49d0db8197 2.5.5 2004-11-12 17:52:08 +00:00
Matthias Clasen
e0c2773f14 *** empty log message *** 2004-11-12 15:26:07 +00:00
Matthias Clasen
846a09413a Updates 2004-11-12 06:33:48 +00:00
Matthias Clasen
a44f424dc5 *** empty log message *** 2004-11-12 05:42:49 +00:00
Matthias Clasen
cb918cdb02 Changes to make gdk-pixbuf threadsafe (#157310, #157306, Colin Walters):
2004-11-12  Matthias Clasen  <mclasen@redhat.com>

	Changes to make gdk-pixbuf threadsafe  (#157310, #157306,
	Colin Walters):

	* gdk-pixbuf-io.h (enum GdkPixbufFormatFlags): Add
	GDK_PIXBUF_FORMAT_THREADSAFE to indicate that an image loader
	is threadsafe.

	* gdk-pixbuf-io.c (get_file_formats, _gdk_pixbuf_load_module):
	Use a lock to make initialization of global data structures
	threadsafe.
	* gdk-pixbuf-private.h:
	* gdk-pixbuf-io.c (_gdk_pixbuf_lock, _gdk_pixbuf_unlock):
	Auxiliary functions which use another lock to protect
	threadunsafe image loaders.

	* gdk-pixbuf-io.c (gdk_pixbuf_real_save):
	(save_to_callback_with_tmp_file):
	(gdk_pixbuf_real_save_to_callback):
	(gdk_pixbuf_new_from_xpm_data):
	(_gdk_pixbuf_generic_image_load):
	* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file):
	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_load_module):
	(gdk_pixbuf_loader_close):
	(gdk_pixbuf_loader_finalize):
	Use _gdk_pixbuf_lock() and _gdk_pixbuf_unlock().

	* io-ani.c, io-bmp.c, io-gif.c, io-ico.c:
	* io-jpeg.c, io-pcx.c, io-png.c, io-pnm.c:
	* io-ras.c, io-tga.c, io-wbmp.c, io-xbm.c:
	* io-xpm.c: Mark as threadsafe.

	* io-tiff.c: Remove pointless locking, mark as
	threadunsafe.
2004-11-12 05:34:31 +00:00