Compare commits

..

475 Commits

Author SHA1 Message Date
Matthias Clasen
4cfbe54931 2.8.14 2006-03-08 17:33:40 +00:00
Tim Janik
2212d721b5 constrain text area to positive values (#316712).
Wed Mar  8 15:17:21 2006  Tim Janik  <timj@imendio.com>

        * gtk/gtkentry.c (gtk_entry_adjust_scroll): constrain text area to
        positive values (#316712).
2006-03-08 14:19:31 +00:00
Matthias Clasen
c8f86649be Updates 2006-03-08 13:58:23 +00:00
Kristian Rietveld
cbb2c62aa2 fixup adjustments and top_row if the current dy + page_size exceeds the
2006-01-14  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreeview.c (gtk_tree_view_size_allocate),
        (validate_visible_area): fixup adjustments and top_row if the
        current dy + page_size exceeds the new tree view height. (Fixes
        #316689, reported by Chris Lord).
2006-03-08 13:41:14 +00:00
Tim Janik
41f5998388 announce change and glib-2.10.1 requirement.
Wed Mar  8 14:22:59 2006  Tim Janik  <timj@imendio.com>

        * NEWS: announce change and glib-2.10.1 requirement.

        * gtk/gtkobject.c: fixed up messing with non-GtkObject floating flags.
        this requires glib-2.10.1.
2006-03-08 13:25:34 +00:00
Kjartan Maraas
c05a5d19ae Updated Norwegian nynorsk translation.
2006-03-08  Kjartan Maraas <kmaraas@gnome.org>

	* nn.po: Updated Norwegian nynorsk translation.
2006-03-08 10:53:19 +00:00
Francisco Javier F. Serrador
96a38819b6 Updated Spanish translation.
2006-03-07  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2006-03-07 22:37:13 +00:00
Matthias Clasen
5fea1b2e79 Take cursor width into account when calculating the area to be
2006-03-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (text_window_invalidate_cursors): Take
	cursor width into account when calculating the area to
	be invalidated.  (#333377, #323401 Steve Frécinaux)
2006-03-07 02:06:33 +00:00
Matthias Clasen
440289403e Set error when returning FALSE. (#333268, Paolo Maggi, Christian Persch)
2006-03-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmain.c (post_parse_hook): Set error when returning
	FALSE.  (#333268, Paolo Maggi, Christian Persch)
2006-03-06 17:42:35 +00:00
Matthias Clasen
1f7e64a9d1 Check that the pixmap has the right depth. (#333363, Ed Catmur)
2006-03-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkpixmap.c (gtk_pixmap_set): Check that the pixmap
	has the right depth.  (#333363, Ed Catmur)
2006-03-06 17:18:51 +00:00
Matthias Clasen
60b6183908 Remove superfluous extern errno declaration. (#333605, Tommi Komulainen)
2006-03-06  Matthias Clasen  <mclasen@redhat.com>

	* xdgmimemagic.c: Remove superfluous extern errno
	declaration.  (#333605, Tommi Komulainen)
2006-03-06 14:28:19 +00:00
Matthias Clasen
c1439a35ee Apply some arbitrary lower limit for the guessed wrap width. (#332466,
2006-03-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (adjust_wrap_width): Apply some
	arbitrary lower limit for the guessed wrap width. (#332466,
	Donald Straney)
2006-03-06 04:57:05 +00:00
Matthias Clasen
3546b837ee Fix handling of image-only buttons. (#332985, Kalle Vahlmann, #333555)
2006-03-05  Matthias Clasen  <mclasen@redhat.com>

	Fix handling of image-only buttons.  (#332985, Kalle
	Vahlmann, #333555)

	* gtk/gtkbutton.c (gtk_button_construct_child): Don't
	return early if there an image to show.
	(show_image): Always return TRUE if there is no text.
2006-03-06 03:53:27 +00:00
Matthias Clasen
ebf1379974 Adjust the handling of min values for the x and y axes of extended input
2006-03-04  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkinput-x11 (gdk_input_translate_coordinates):
	Adjust the handling of min values for the x and y axes of
	extended input devices  (#324562, #142536, Denis Auroux and
	Robert Ögren)
2006-03-04 05:25:45 +00:00
Matthias Clasen
13776733d0 Position the focus rectangle correctly in RTL mode. (#333291, Benjamin
2006-03-04  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkexpander.c (gtk_expander_paint_focus): Position
	the focus rectangle correctly in RTL mode.  (#333291,
	Benjamin Berg)
2006-03-04 05:19:46 +00:00
Arangel Angov
2ae7a28833 Updated Macedonian Translation <arangela@cvs.gnome.org> 2006-03-03 18:52:03 +00:00
Matthias Clasen
3922b56686 Fix incremental loading of 8-bit pcx files. (#148518, Magnus Bergmann)
2006-03-03  Matthias Clasen  <mclasen@redhat.com>

	* io-pcx.c (pcx_load_palette_8): Fix incremental loading
	of 8-bit pcx files.  (#148518, Magnus Bergmann)
2006-03-03 05:44:10 +00:00
Dom Lachowicz
b6a091a076 Fix combobox theming regression noted in bug 321301 Ditto
* modules/engines/ms-windows/msw_style.c: Fix combobox theming
	regression noted in bug 321301
	* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Ditto
2006-03-03 03:34:22 +00:00
Matthias Clasen
b6daf107e8 Make scroll_to_path work for newly inserted items, by delaying the scroll
2006-03-02  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_layout)
	(gtk_icon_view_row_inserted, gtk_icon_view_scroll_to_path):
	Make scroll_to_path work for newly inserted items, by delaying
	the scroll until layout is done.  (#332923, Cory Dodt)
2006-03-02 19:55:05 +00:00
Matthias Clasen
3cb0f95c2f Use GTK_WIDGET_IS_SENSITIVE, not GTK_WIDGET_SENSITIVE. (#333133, Christian
2006-03-02  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcolorbutton.c (render): Use GTK_WIDGET_IS_SENSITIVE,
	not GTK_WIDGET_SENSITIVE.  (#333133, Christian Persch)
2006-03-02 15:47:07 +00:00
Rhys Jones
76ae618c20 Corrected Welsh translation.
2006-03-02  Rhys Jones  <rhys@sucs.org>

	* cy.po: Corrected Welsh translation.
2006-03-02 09:12:58 +00:00
Hendrik Richter
08a8bf5ac6 Updated German translation.
2006-03-01  Hendrik Richter  <hendrikr@gnome.org>

	* de.po: Updated German translation.
2006-03-01 17:27:50 +00:00
Matthias Clasen
de83361f3d Comment out some unused code, and fix the reference point of composited
2006-02-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_get_cursor): Comment out some unused
	code, and fix the reference point of composited drag cursors.
	(#320132, Christian Neumair)
2006-02-27 06:45:50 +00:00
Artur Flinta
9835f9f247 Updated Polish translation by GNOME PL Team.
2006-02-25  Artur Flinta  <aflinta@cvs.gnome.org>

	* pl.po: Updated Polish translation by GNOME PL Team.
2006-02-25 11:57:32 +00:00
Matthias Clasen
5a5332cb17 Bump version 2006-02-25 04:55:45 +00:00
Matthias Clasen
804989eb14 2.8.13 2006-02-25 04:44:43 +00:00
Matthias Clasen
074333942b Bump version 2006-02-25 02:09:17 +00:00
Inaki Larranaga
0e7f4d589c Updated Basque translation.
2006-02-23  Inaki Larranaga  <dooteo@euskalgnu.org>

	* eu.po:  Updated Basque translation.
2006-02-23 10:49:10 +00:00
Clytie Siddall
0ffe14c6f1 ka.po: Added Georgian translation. 2006-02-23 06:40:39 +00:00
Matthias Clasen
64c823eea4 Fix the build 2006-02-22 19:46:15 +00:00
Matthias Clasen
f603303de0 Minor optimizations. (#332059, Arnaud Charlet)
2006-02-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextbtree.c:
	* gtk/gtktextiter.c: Minor optimizations.  (#332059, Arnaud Charlet)
2006-02-22 17:53:43 +00:00
Matthias Clasen
c2259c7d17 Emit notify::active here, when changing the value of this property.
2006-02-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkradiobutton.c (gtk_radio_button_clicked): Emit notify::active
	here, when changing the value of this property.  (#331651)
2006-02-22 17:31:40 +00:00
Matthias Clasen
cba2d34927 Make the tab popup menu keynavigatable 2006-02-22 16:33:25 +00:00
Matthias Clasen
f9a9726691 Change Close buttons to GTK_RESPONSE_CANCEL so Escape works. (#331940,
2006-02-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaboutdialog.c: Change Close buttons to GTK_RESPONSE_CANCEL
	so Escape works. (#331940, Daniel Drake)
2006-02-22 16:26:46 +00:00
Inaki Larranaga
17a389280a Updated Basque translation.
2006-02-21  Inaki Larranaga  <dooteo@euskalgnu.org>

	* eu.po: Updated Basque translation.
2006-02-21 13:15:10 +00:00
Matthias Clasen
418d1f8fe8 Properly update internal state when child visibility changes. (#331785,
2006-02-20  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtknotebook.c: Properly update internal state
        when child visibility changes.  (#331785, Sebastien Bacher)
2006-02-20 23:13:43 +00:00
Matthias Clasen
b7657627a2 Obtain the background color from the gc when it is needed. (#331820)
2006-02-20  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkgc.c (_gdk_gc_update_context): Obtain the
	background color from the gc when it is needed.  (#331820)

2006-02-19  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkgc.c (_gdk_gc_update_context): Add a gc_changed
	argument, and avoid setting the clip region if the gc
	has not changed.

	* gdk/gdkgc.c: Update all callers.

	* gdk/gdkpango.c (get_cairo_context): Avoid updating the
	context if nothing changed.
2006-02-20 18:00:36 +00:00
Kostas Papadimas
ec838304c6 Updated Greek translation 2006-02-20 11:09:10 +00:00
Tor Lillqvist
c8d48a9df4 New function. Factor out code from gdk_window_shape_combine_mask().
2006-02-20  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkwindow-win32.c (do_shape_combine_region): New
	function. Factor out code from gdk_window_shape_combine_mask().
	(gdk_window_shape_combine_region): Actually do something. Convert
	region to a HRGN and call do_shape_combine_region().
2006-02-20 10:22:34 +00:00
Benoît Dejean
312b36609a Updated French translation.
* fr.po: Updated French translation.
2006-02-18 12:50:43 +00:00
Matthias Clasen
bdccc3fd1b Robustness fix 2006-02-17 15:36:03 +00:00
Federico Mena Quintero
4d31b716d5 Merged from HEAD:
2006-02-16  Federico Mena Quintero  <federico@novell.com>

	Merged from HEAD:

	* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_map): Call
	::initial_focus() on the child before calling ::map() on our
	parent class.  This will prevent the shortcuts treeview from
	highlighting its first row as a result of getting assigned focus
	by gtk_dialog_map().
2006-02-16 18:35:47 +00:00
Maxim Dziumanenko
d9b1d820db Updated Ukrainian translation.
2006-02-16  Maxim Dziumanenko <mvd@mylinux.ua>

	* Updated Ukrainian translation.
2006-02-16 14:39:49 +00:00
Matthias Clasen
8af4ae1969 Remove redundant check. Pointed out by Bodo-Merle Sandor.
2006-02-14  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_send_expose): Remove redundant
	check.  Pointed out by Bodo-Merle Sandor.
2006-02-14 14:34:08 +00:00
Matthias Clasen
2a3810c3c5 Add this to match realize. This fixes moving color buttons between
2006-02-14  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcolorbutton.c (gtk_color_button_unrealize): Add this
	to match realize. This fixes moving color buttons between
	screens.  (#331097, Oana Serb)
2006-02-14 13:47:39 +00:00
Miloslav Trmac
7657870ba2 Updated Czech translation.
2006-02-13  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.
2006-02-13 05:05:31 +00:00
Matthias Clasen
b4e6e8fe52 Give working examples in the docs. (#330944, John Spray)
2006-02-12  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkicontheme.c (gtk_icon_theme_list_icons): Give working
	examples in the docs.  (#330944, John Spray)
2006-02-13 02:33:31 +00:00
Matthias Clasen
8734bf8bc1 Fix row_spacing/column_spacing confusion. (#330732, Donald Straney)
2006-02-10  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkiconview.c (gtk_icon_view_get_item_at_coords): Fix
        row_spacing/column_spacing confusion.  (#330732, Donald Straney)
2006-02-11 23:28:13 +00:00
Matthias Clasen
019a24adbe Corrections 2006-02-11 18:32:01 +00:00
Matthias Clasen
9a9dd1b5eb Bump version, add forgotten NEWS 2006-02-11 18:06:45 +00:00
Matthias Clasen
98689ebb90 2.8.12 2006-02-11 17:43:23 +00:00
Matthias Clasen
b7fe6a8932 Add some docs 2006-02-10 19:44:31 +00:00
Matthias Clasen
f0187a9fe8 Add a section about atomicity of insertions. (#329831, Milosz Derezynski)
2006-02-10  Matthias Clasen  <mclasen@redhat.com>

        * gtk/tmpl/gtkliststore.sgml: Add a section about
        atomicity of insertions. (#329831, Milosz Derezynski)
2006-02-10 19:35:10 +00:00
Matthias Clasen
81ef262dff Guard against NULL. (#330177, Raphael Slinckx)
2006-02-10  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentrycompletion.c (gtk_entry_completion_match_selected):
	Guard against NULL.  (#330177, Raphael Slinckx)
2006-02-10 19:21:58 +00:00
Matthias Clasen
82fd3665ff Always check for NULL when using callbacks. (#330563, Benjamin Otte)
2006-02-10  Matthias Clasen  <mclasen@redhat.com>

        * io-jpeg.c:
        * io-png.c:
        * io-pnm.c:
        * io-tiff.c:
        * io-xbm.c:
        * io-xpm.c: Always check for NULL when using callbacks.
        (#330563, Benjamin Otte)
2006-02-10 19:01:02 +00:00
Matthias Clasen
567eb53e2c Improve combobox docs 2006-02-10 18:57:31 +00:00
Ross Burton
846082d7e9 Merged from HEAD:
2006-02-09  Ross Burton  <ross@burtonini.com>

	Merged from HEAD:

	* gtk/gtkfontbutton.c:
	Work out the font size in floating point, and display the font
	size with %g instead of %d (#317590)
2006-02-09 17:55:21 +00:00
Ross Burton
e13264939d Doc fixes 2006-02-09 15:51:21 +00:00
Tor Lillqvist
8dee85c78f If we don't know where we went, and have generated a leave event, set
2006-02-09  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkevents-win32.c (gdk_event_translate)
	<WM_MOUSELEAVE>: If we don't know where we went, and have
	generated a leave event, set current_window to the root
	window. This assures we will generate proper enter and leave
	events for popup windows. (#325521)
2006-02-09 05:47:53 +00:00
John Ehresman
22f85debbe gdk/win32/gdkevents-win32.c (gdk_event_translate) <WM_MOUSEACTIVATE> Call
2006-02-08  John Ehresman  <jpe@wingware.com>

	* gdk/win32/gdkevents-win32.c (gdk_event_translate)
	<WM_MOUSEACTIVATE>
	* gdk/win32/gdkwindow-win32.c (show_window_internal)
	(gdk_window_raise): Call SetWindowPos() instead of
	SetForegroundWindow() or BringWindowToTop() if the window
	shouldn't accept focus. (#327375)
2006-02-09 03:19:19 +00:00
John Ehresman
75d186d622 Let gdk_window_set_decorations() take precedence over anything derived
2006-02-08  John Ehresman  <jpe@wingware.com>

	* gdk/win32/gdkwindow-win32.c: Let gdk_window_set_decorations()
	take precedence over anything derived from hints. Restructure
	related code and logic, add some new helper functions. (#327217)
2006-02-09 02:42:53 +00:00
Matthias Clasen
957c5f0271 Don't put relevant callss in g_assert(). (#329876, Kristian Rietveld)
2006-02-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserbutton.c: Don't put relevant callss
	in g_assert().  (#329876, Kristian Rietveld)
2006-02-08 19:32:38 +00:00
Žygimantas Beručka
f8cf7a3da8 Updated Lithuanian translation.
2006-02-08  Žygimantas Beručka  <zygis@gnome.org>

        * lt.po: Updated Lithuanian translation.
2006-02-08 19:23:59 +00:00
Tor Lillqvist
70c468374f Consistenly use assign_object() when assigning GdkWindow pointers so that
2006-02-08  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkevents-win32.c (gdk_pointer_grab)
	(gdk_display_pointer_ungrab, gdk_keyboard_grab)
	(gdk_display_keyboard_ungrab): Consistenly use assign_object()
	when assigning GdkWindow pointers so that the ref counting doesn't
	get off whack.

	(gdk_event_translate) <WM_MOUSEMOVE>: When the pointer is grabbed
	with owner_events FALSE, generate enter and leave events only for
	the grab window. (#321054)
2006-02-08 17:26:59 +00:00
Matthias Clasen
86bf974f5e Copy the display_key as well. (#330389, Markku Vire)
2006-02-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilesystem.c (gtk_file_info_copy): Copy the display_key
	as well.  (#330389, Markku Vire)
2006-02-08 15:17:44 +00:00
Tor Lillqvist
db673f0601 Drop the timestamp from the zipfile names.
2006-02-08  Tor Lillqvist  <tml@novell.com>

	* gtk-zip.sh.in: Drop the timestamp from the zipfile names.
2006-02-07 22:57:06 +00:00
Dom Lachowicz
6fbe064c50 Bug #330022 Wrong pixel values are computed when color = 0xFF and alpha =
* gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Bug #330022
	Wrong pixel values are computed when color = 0xFF and alpha = 0xFF
2006-02-05 20:38:17 +00:00
Federico Mena Quintero
ab34c90bc8 Merged from HEAD:
2006-02-03  Federico Mena Quintero  <federico@ximian.com>

	Merged from HEAD:

	Work around https://bugs.freedesktop.org/show_bug.cgi?id=4320,
	which used to be our own
	http://bugzilla.gnome.org/show_bug.cgi?id=314616.  If one uses a
	pixmap for a pattern in Cairo, and sets the pattern to
	CAIRO_EXTEND_REPEAT; and if the destination surface is also a
	pixmap, Cairo does a slow copy instead of using XCopyArea().  So,
	we use the same code that we used in GTK+ 2.6 (pre-cairo), by
	filling the double-buffer pixmap with a tiled GC and
	XFillRectangle().

	* gdk/gdkwindow.c (BackingRectMethod): New structure with a
	cairo_t and a GdkGC field.  Depending on which of these fields
	gets filled in, we'll use Cairo or GDK to clear the double-buffer
	pixmap when painting a window.
	(setup_backing_rect_method): Fill a BackingRectMethod as
	appropriate, depending on the window's configuration and our
	knowledge of whether Cairo is fast or slow when doing repeating
	patterns.
	(gdk_window_clear_backing_rect): Call
	setup_backing_rect_method().  Depending on what it returns, use
	Cairo to clear the double-buffer pixmap, or plain GDK.
2006-02-03 21:20:06 +00:00
Rhys Jones
ae109b239e Updated Welsh translation.
2006-02-03  Rhys Jones  <rhys@sucs.org>

	* cy.po: Updated Welsh translation.
2006-02-03 19:48:40 +00:00
Matthias Clasen
80b7f28196 Fix label padding 2006-02-03 05:39:08 +00:00
Matthias Clasen
3f9ea3ca8d Make drops on the root window work again. (#145243, Andrew S. Dixon)
2006-02-02  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display):
	Make drops on the root window work again.  (#145243, Andrew S. Dixon)
2006-02-02 20:55:17 +00:00
Leonid Kanter
6eda42cf2c Updated Russian translation 2006-02-02 16:36:07 +00:00
Vincent van Adrighem
32beb41ee3 Translation updated by Tino Meinen.
2006-02-02  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated by Tino Meinen.
2006-02-02 01:17:01 +00:00
Slobodan D. Sredojevic
ed50efa126 Updated Serbian translation
2006-02-01  Slobodan D. Sredojevic  <slobo@akrep.be>

        * sr.po, sr@Latn.po: Updated Serbian translation
2006-02-01 00:20:58 +00:00
Matthias Clasen
77b3ba3efe Touch README and INSTALL here to pacify automake. (#329124, Kjartan
2006-01-31  Matthias Clasen  <mclasen@redhat.com>

	* autogen.sh: Touch README and INSTALL here to pacify
	automake.  (#329124, Kjartan Maraas, Tim Janik)
2006-01-31 17:36:50 +00:00
Leonid Kanter
95287bcaba Updated Russian translation 2006-01-31 15:47:39 +00:00
Matthias Clasen
544eea3561 Make sure the tree view is realized, since we grab the focus to it.
2006-01-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
	Make sure the tree view is realized, since we grab the
	focus to it.  (#329144, Wouter Bolsterlee)
2006-01-30 18:26:08 +00:00
Matthias Clasen
3d05b7c76b Use the setter for active. (#329208, Guillaume Cottenceau)
2006-01-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_set_property):
	Use the setter for active.  (#329208, Guillaume Cottenceau)
2006-01-30 15:28:52 +00:00
Laurent Dhima
6349d10ea2 Updated Albanian translation.
2006-01-30  Laurent Dhima  <laurenti@alblinux.net>

	* sq.po: Updated Albanian translation.
2006-01-30 10:22:47 +00:00
Dom Lachowicz
d0d686eec3 Re-sync with gtk-wimp Ditto
* modules/engines/ms-windows/msw-style.c: Re-sync with gtk-wimp
	* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Ditto
2006-01-29 03:27:14 +00:00
Duarte Loreto
6c2be9244b Updated Portuguese translation.
2006-01-28  Duarte Loreto <happyguy_pt@hotmail.com>

	* pt.po: Updated Portuguese translation.
2006-01-28 12:39:20 +00:00
Nguyen Thai Ngoc Duy
6298981815 Removed redundant colons 2006-01-28 12:10:41 +00:00
Nguyen Thai Ngoc Duy
57259b1a82 Updated Vietnamese translation 2006-01-28 06:58:02 +00:00
Behdad Esfahbod
a3482bfc4c Fix misalignment of RTL text in ellipsized GtkLabel: use layout width if
2006-01-27  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtklabel.c (get_layout_location): Fix misalignment of RTL
        text in ellipsized GtkLabel: use layout width if set, otherwise
        fallback to logical extents width. (#322042, merged from HEAD)
2006-01-27 18:58:42 +00:00
Changwoo Ryu
7ee9b7cec7 Updated Korean translation.
2006-01-28  Changwoo Ryu  <cwryu@debian.org>

	* ko.po: Updated Korean translation.
2006-01-27 18:17:12 +00:00
Matthias Clasen
31c60854a8 Bump version 2006-01-27 17:47:04 +00:00
Matthias Clasen
304cec307a 2.8.11 2006-01-27 17:37:11 +00:00
Federico Mena Quintero
566e1f38b1 Merged from HEAD:
2006-01-27  Federico Mena Quintero  <federico@ximian.com>

	Merged from HEAD:

	Fixes bug #328820:

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_class_init): Make GDK_KP_Divide pop up
	the location dialog populated to "/".
	(tree_view_keybinding_cb): Likewise.
	(trap_activate_cb): Likewise.
2006-01-27 17:25:12 +00:00
Matthias Clasen
85b61ac092 2.8.11 2006-01-27 17:15:23 +00:00
Evandro Fernandes Giovanini
17b077c6c3 Updated Brazilian Portuguese translation.
2006-01-27  Evandro Fernandes Giovanini <evandrofg@ig.com.br>

        * pt_BR.po: Updated Brazilian Portuguese translation.
2006-01-27 08:46:03 +00:00
Matthias Clasen
49bd646225 Be more careful when blocking signals.
2006-01-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentrycompletion.c:
	* gtk/gtkentry.c: Be more careful when blocking signals.
2006-01-25 18:30:58 +00:00
Alexander Shopov
31a41ccf27 Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>
2006-01-22  Alexander Shopov  <ash@contact.bg>

	* bg.po: Updated Bulgarian translation by
	Alexander Shopov <ash@contact.bg>
2006-01-22 18:42:44 +00:00
Gabor Kelemen
c7f548984c Hungarian translation updated.
2006-01-22  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Hungarian translation updated.
2006-01-22 18:29:05 +00:00
Francisco Javier F. Serrador
e7be150752 Updated Spanish translation.
2006-01-21  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2006-01-21 20:01:49 +00:00
Josep Puigdemont i Casamajó
9bdf99b219 Updated Catalan translation. 2006-01-21 17:14:33 +00:00
Funda Wang
acc3f3afdb Updated gtk+-properties translation. 2006-01-21 14:34:01 +00:00
Matthias Clasen
0f762f13c0 Don't crash if layout is NULL. (#327934, Christian Kirbach)
2006-01-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_set_virtual_cursor_pos): Don't
	crash if layout is NULL.  (#327934, Christian Kirbach)
2006-01-21 04:01:32 +00:00
Dan Winship
a1cb4e7d81 On "unix", pop up the "Open Location" window on "~" as well as "/".
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_class_init,
	tree_view_keybinding_cb, trap_activate_cb): On "unix", pop up the
	"Open Location" window on "~" as well as "/". #153213
	(location_entry_create): Fix this so autocompletion still works
	correctly in that case.
(ok'ed by federico)
2006-01-20 19:11:31 +00:00
Matthias Clasen
d8711720a3 Explicitly link against Xrender. (#327538, Christophe Belle)
2006-01-19  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Explicitly link against Xrender.
	(#327538, Christophe Belle)
2006-01-20 04:58:37 +00:00
Matthias Clasen
fed4bafdbd Fix attribution 2006-01-20 04:40:18 +00:00
Matthias Clasen
c9473ebd35 Use an unused high bit in the XID to mark fonts in the global xid hash
2006-01-19  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkprivate-x11.h (XID_FONT_BIT):
	* gdk/x11/gdkfont-x11.c:
	* gdk/x11/gdkxid.c: Use an unused high bit in the
	XID to mark fonts in the global xid hash table.

	* gdk/x11/gdkcursor-x11.c (update_cursor): Skip fonts
	when iterating over the xid hash table, since calling
	GDK_IS_WINDOW () on an GdkFont can cause a segfault.
	(#327751, Ryan Lortie)
2006-01-20 04:39:43 +00:00
Ankitkumar Rameshchandra Patel
d8a5439f4d Updated Gujarati Translations 2006-01-19 07:14:52 +00:00
Matthias Clasen
7a83f3cf44 Remove ang from ALL_LINGUAS 2006-01-18 14:32:12 +00:00
Erdal Ronahi
d8123eed06 Added initial Kurdish translations. 2006-01-17 22:53:51 +00:00
Ignacio Casal Quinteiro
3d5a0db24b *** empty log message *** 2006-01-17 20:31:00 +00:00
Matthias Clasen
c123513ba8 If the src positions for gradients are nonsensical, don't render anything,
2006-01-17  Matthias Clasen  <mclasen@redhat.com>

	* pixbuf-render.c: If the src positions for gradients
	are nonsensical, don't render anything, rather than
	read out of bounds.
2006-01-17 20:04:12 +00:00
Takeshi AIHANA
85af879562 Updated Japanese translation for HEAD.
2006-01-17  Takeshi AIHANA <takeshi.aihana@gmail.com>

	* ja.po: Updated Japanese translation for HEAD.
2006-01-17 15:15:58 +00:00
Kwok-Koon Cheung
c5d32ae04c New Chinese (Hong Kong) translation
* zh_HK.po: New Chinese (Hong Kong) translation
2006-01-17 00:07:44 +00:00
Abel Cheung
2e3c08765a Added "ang" "zh_HK" to ALL_LINGUAS.
2006-01-16  Abel Cheung  <maddog@linuxhall.org>

	* configure.in: Added "ang" "zh_HK" to ALL_LINGUAS.
2006-01-17 00:01:34 +00:00
Kwok-Koon Cheung
42b0e4460d New Chinese (Hong Kong) translation Updated Chinese (Taiwan) translation
* zh_HK.po: New Chinese (Hong Kong) translation
	* zh_TW.po: Updated Chinese (Taiwan) translation
2006-01-16 23:48:44 +00:00
Ilkka Tuohela
2b0a6009af Updated Finnish translation 2006-01-16 18:07:34 +00:00
Matthias Clasen
cadbf07d53 Silence the compiler.
2006-01-16  Matthias Clasen  <mclasen@redhat.com>

	* pixbuf-draw.c (draw_gap_image): Silence the
	compiler.
2006-01-16 13:19:34 +00:00
Amanpreet Singh Alam
e14a4cd0c1 update for changes in file for Punjabi Language 2006-01-16 00:48:34 +00:00
Vincent van Adrighem
43be0bb532 Translation updated by Tino Meinen.
2006-01-15  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated by Tino Meinen.
2006-01-15 17:06:51 +00:00
Matthias Clasen
7b428f0215 Fix a crash with combo boxes in RESIZE_IMMEDIATE containers. (#326806,
2006-01-14  Matthias Clasen  <mclasen@redhat.com>

	Fix a crash with combo boxes in RESIZE_IMMEDIATE
	containers.  (#326806, Sebastian Bacher)

	* gtk/gtkcombobox.c (gtk_combo_box_size_allocate)
	(gtk_combo_box_size_request): Don't call
	gtk_combo_box_check_appearance() from here, as that
	can lead to recursion.
	(gtk_combo_box_init): Instead, call it here.
2006-01-15 04:09:50 +00:00
Christian Rose
ed07d77d56 Updated Swedish translation.
2006-01-14  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.
2006-01-14 11:33:17 +00:00
Matthias Clasen
0cb610fbee Make this work on more platforms.
2006-01-13  Matthias Clasen  <mclasen@redhat.com>

	* */abicheck.sh: Make this work on more platforms.
2006-01-14 04:46:50 +00:00
Clytie Siddall
d66efae8e0 vi.po: Updated Vietnamese translation. 2006-01-14 04:10:16 +00:00
Francisco Javier F. Serrador
fdf0afc1c2 Updated Spanish translation.
2006-01-14  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2006-01-14 00:59:59 +00:00
Kjartan Maraas
1bae6cdf3d Updated Norwegian bokmål translation. Same.
2006-01-13  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Updated Norwegian bokmål translation.
	* no.po: Same.
2006-01-13 10:13:44 +00:00
Matthias Clasen
07887a259d Reset the virtual cursor position. (#326003, Evert Verhellen)
2006-01-12  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_commit_text)
	(gtk_text_view_delete_from_cursor, gtk_text_view_backspace):
	Reset the virtual cursor position.  (#326003, Evert Verhellen)
2006-01-12 21:15:30 +00:00
Federico Mena Quintero
a05c0e2985 Merged from HEAD:
2006-01-12  Federico Mena Quintero  <federico@ximian.com>

	Merged from HEAD:

	* gdk-pixbuf-util.c (gdk_pixbuf_saturate_and_pixelate): Clarify
	the docs ("darkened/brightened" is not "saturation").
2006-01-12 20:20:18 +00:00
Matthias Clasen
6f2ece32ae Bump version 2006-01-11 21:49:07 +00:00
Matthias Clasen
8f34c4566a 2.8.10 2006-01-11 21:45:49 +00:00
Matthias Clasen
1694f20422 2.8.10 2006-01-11 20:45:49 +00:00
Matthias Clasen
610e9628e0 Forgotten log 2006-01-11 18:17:51 +00:00
Adam Weinberger
9bddf4d83b Updated Canadian English translation.
2006-01-11  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2006-01-11 17:35:32 +00:00
Matthias Clasen
90c910e244 Add some notify batching, always emit notify after setting the new value.
2006-01-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtklabel.c: Add some notify batching, always
	emit notify after setting the new value.
2006-01-11 16:14:10 +00:00
Matthias Clasen
7aeb1bb515 Clean up properly if the grab fails. (finish_drag): Don't leak a reference
2006-01-11  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkwindow-x11.c (create_moveresize_window): Clean
	up properly if the grab fails.
	(finish_drag): Don't leak a reference to moveresize_window
	here.
2006-01-11 14:56:11 +00:00
Matthias Clasen
98179253db Allow falling back to another icon theme before hicolor. (#325546, Rodney
2006-01-11  Matthias Clasen  <mclasen@redhat.com>

	Allow falling back to another icon theme before
	hicolor.   (#325546, Rodney Dawes)

	* gtk/gtksettings.c: Add a gtk-fallback-icon-theme setting.

	* gdk/x11/gdkevents-x11.c: Map it to the XSetting Net/FallbackIconTheme.

	* gtk/gtkicontheme.c: Consult the fallback icon theme before
	looking in hicolor.
2006-01-11 06:30:38 +00:00
Matthias Clasen
1583ef9c21 Queue a draw when losing the focus. (#326064, Andrew Conkling)
2006-01-10  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcalendar.c (gtk_calendar_focus_out): Queue a draw
	when losing the focus.  (#326064, Andrew Conkling)
2006-01-11 03:49:28 +00:00
Matthias Clasen
445bee04e3 Remove duplicate include. (#326429, Benoît Carpentier)
2006-01-10  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk.h: Remove duplicate include.  (#326429,
	Benoît Carpentier)
2006-01-10 19:51:54 +00:00
Matthias Clasen
4a784ff2f9 Make GtkEntryCompletion complete on pastes at the end. (#165714, Christian
2006-01-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c (paste_received): Make GtkEntryCompletion
	complete on pastes at the end.  (#165714, Christian Neumair)
2006-01-10 04:11:40 +00:00
Matthias Clasen
cc346bfdb4 Prevent the first row being focused on map. (#137351, Niklas Knutsson)
2006-01-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentrycompletion.c (_gtk_entry_completion_popup):
	Prevent the first row being focused on map.  (#137351,
	Niklas Knutsson)
2006-01-09 19:24:32 +00:00
Matthias Clasen
a3e8e32299 Don't translate empty strings. (#326200, Christian Stimming)
2006-01-08  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkactiongroup.c (dgettext_swapped): Don't translate
        empty strings.  (#326200, Christian Stimming)
2006-01-08 23:26:34 +00:00
Changwoo Ryu
9ddec60c3a Updated Korean translation.
2006-01-08  Changwoo Ryu  <cwryu@debian.org>

	* ko.po: Updated Korean translation.
2006-01-08 13:28:38 +00:00
Matthias Clasen
42edcf8a77 Fix label alignment when width-chars is set. (#326098, Benjamin Otte)
2006-01-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtklabel.c (get_layout_location): Fix label alignment
	when width-chars is set.  (#326098, Benjamin Otte)
2006-01-08 06:45:57 +00:00
Matthias Clasen
a9be5ddf14 Add missing property change notification.
2006-01-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkactiongroup.c (gtk_action_group_set_sensitive)
	(gtk_action_group_set_visible): Add missing property change
	notification.
2006-01-07 04:23:33 +00:00
Matthias Clasen
826ee8cf39 Just use the directory name for the home dir. (#325817, Federico Mena
2006-01-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserbutton.c (model_add_special): Just use the
	directory name for the home dir.  (#325817, Federico Mena Quintero)
2006-01-06 21:54:46 +00:00
Matthias Clasen
1a51d66459 Initialize editable to TRUE. (gtk_text_tag_class_init): The default value
2006-01-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktexttag.c (gtk_text_attributes_new): Initialize editable
	to TRUE.
	(gtk_text_tag_class_init): The default value for the direction
	property is GTK_TEXT_DIR_NONE. Add notes about the initial values
	of the font and language properties.
2006-01-06 17:55:01 +00:00
Matthias Clasen
01cc3a42ca Make clicked an action signal. (#325782, Martyn Russell)
2006-01-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktoolbutton.c (gtk_tool_button_class_init): Make clicked
	an action signal.  (#325782, Martyn Russell)
2006-01-06 15:17:20 +00:00
Matthias Clasen
a0ae4d95fd Disconnect from the old adjustments signals. (#325869, Jorn Baayen)
2006-01-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkviewport.c (viewport_set_adjustment): Disconnect from
	the old adjustments signals.  (#325869, Jorn Baayen)
2006-01-06 14:05:17 +00:00
Josep Puigdemont i Casamajó
de25ca5ebc Updated Catalan translation. 2006-01-06 12:50:27 +00:00
Matthias Clasen
11a1ada618 Updates 2006-01-06 06:25:53 +00:00
Rajesh Ranjan
91c83ea4f0 updated hindi 2006-01-06 06:07:11 +00:00
Rajesh Ranjan
fdbf1f36a5 updated hindi 2006-01-06 05:19:31 +00:00
Johan Dahlin
41b718b24d Set minimum for activity-step property to 0 instead of -G_MAXUINT.
* gtk/gtkprogressbar.c: Set minimum for activity-step property to 0
    instead of -G_MAXUINT.
2006-01-05 20:07:38 +00:00
Matthias Clasen
01c32828f0 Don't return a list of NULLs. (#325723, Steve Chaplin)
2006-01-04  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkuimanager.c (gtk_ui_manager_get_toplevels): Don't return
	a list of NULLs.  (#325723, Steve Chaplin)
2006-01-04 15:35:08 +00:00
Matthias Clasen
aa79f10539 Make it build 2006-01-04 12:44:56 +00:00
Tor Lillqvist
5acd528ee6 Include also the gtk20-properties message catalogs.
2006-01-04  Tor Lillqvist  <tml@novell.com>

	* gtk-zip.sh.in: Include also the gtk20-properties message catalogs.
2006-01-04 01:42:38 +00:00
Francisco Javier F. Serrador
e1e6c7ddf1 Updated Spanish translation.
2006-01-03  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2006-01-03 22:04:48 +00:00
Matthias Clasen
7a33528133 Call gtk_drag_update for non-motion events. (#325443, Peter Harvey)
2006-01-03  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_begin_internal): Call gtk_drag_update
	for non-motion events.  (#325443, Peter Harvey)

2
2006-01-03 13:51:44 +00:00
Matthias Clasen
5a3c267b79 When deleting words, delete preceding whitespace as well. (#325358, Akkana
2006-01-02  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c (gtk_entry_delete_from_cursor): When deleting
	words, delete preceding whitespace as well.  (#325358, Akkana Peck)
2006-01-03 03:58:19 +00:00
Tor Lillqvist
dad73781b7 Make identical to the X11 implementation. (#322264, John Ehresman)
2006-01-02  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkwindow-win32.c
	(gdk_window_impl_win32_get_visible_region): Make identical to the
	X11 implementation. (#322264, John Ehresman)
2006-01-02 09:29:42 +00:00
Tor Lillqvist
3750d5da6b Get the invalidated region from ScrollWindowEx() instead of an incorrect
2006-01-02  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkgeometry-win32.c (gdk_window_scroll): Get the
	invalidated region from ScrollWindowEx() instead of an incorrect
	attempt to calculate it ourselves. Fix by John Ehresman. (#323666)

	* gdkevents-win32.c: Make _gdk_win32_hrgn_to_region() non-static.

	* gdkprivate-win32.h: Declare it.
2006-01-02 00:32:12 +00:00
Clytie Siddall
280769a542 vi.po: Updated Vietnamese translation. 2006-01-01 04:39:21 +00:00
Matthias Clasen
bd3c206d76 Add deprecation note to gtk_exit() (#325199, Ævar Arnfjörð Bjarmason)
2005-12-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkmain.sgml: Add deprecation note to
	gtk_exit()  (#325199, Ævar Arnfjörð Bjarmason)
2005-12-30 05:01:14 +00:00
Gustavo Noronha Silva
147d53a883 translation update by Claudio André <claudio.andre@correios.net.br> 2005-12-29 21:52:05 +00:00
Clytie Siddall
05abc38a5c vi.po: Updated Vietnamese translation. 2005-12-29 07:34:46 +00:00
Nikos Charonitakis
38a4720d7a Updated Greek translation 2005-12-28 23:55:43 +00:00
Federico Mena Quintero
29f78aaaa2 Merged from HEAD:
2005-12-27  Federico Mena Quintero  <federico@ximian.com>

	Merged from HEAD:

	* gtk/gtkfilefilter.c (gtk_file_filter_filter): In the case for
	FILTER_RULE_PIXBUF_FORMATS, check that filter_info->mime_type is
	not NULL.  Fixes bug #317687.
2005-12-27 18:34:28 +00:00
Matthias Clasen
cd7dee798b Clarify docs. (#324996)
2005-12-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkimcontext.c (gtk_im_context_filter_keypress): Clarify
	docs.  (#324996)
2005-12-27 00:13:15 +00:00
Tim Janik
80732f59bf derive GtkObject from GUnowned if possible. gtk_object_class_init():
Thu Dec 22 17:30:59 2005  Tim Janik  <timj@gtk.org>

        * gtk/gtkobject.c: derive GtkObject from GUnowned if possible.
        gtk_object_class_init(): install a floating flag handler with
        libgobject, so for GtkObjects the flag is stored as GTK_FLOATING
        in the ->flags member.

        * configure.in: depend on GLib-2.8.5.
2005-12-22 16:46:51 +00:00
Matthias Clasen
ea7f2b23d0 Adjust the wrap-width also if an explicit item width is set. (#322475,
2005-12-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (adjust_wrap_width): Adjust the
	wrap-width also if an explicit item width is set.
	(#322475, Alex Graveley)
2005-12-21 18:15:52 +00:00
Nikos Charonitakis
4bdac8d5fb Updated Greek translation 2005-12-21 15:33:12 +00:00
Matthias Clasen
5176fa307f Reset pressed_button to -1 after handling a double click, so that motion
2005-12-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_button_press): Reset
	pressed_button to -1 after handling a double click, so that
	motion events occurring between here and the release event
	don't trigger DND.  (#324588, Dave Andreoli)
2005-12-20 18:20:04 +00:00
Francisco Javier F. Serrador
b0b106dbe0 Updated Spanish translation.
2005-12-18  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2005-12-18 21:58:46 +00:00
Christophe Merlet
0979f16b36 Updated French translation. 2005-12-14 22:09:17 +00:00
Matthias Clasen
0de720551c Skip unrealized children when doing focus sorting. (#323995, Dan Winship)
2005-12-14  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcontainer.c (_gtk_container_focus_sort): Skip unrealized
	children when doing focus sorting.  (#323995, Dan Winship)
2005-12-14 19:42:47 +00:00
Rodney Dawes
8c877d6688 Default to "drive-harddisk" and then fall back to gnome-dev-harddisk
2005-12-14  Rodney Dawes  <dobey@novell.com>

	* gtk/gtkfilesystemunix.c (gtk_file_system_unix_volume_render_icon):
	Default to "drive-harddisk" and then fall back to gnome-dev-harddisk
	(get_icon_for_mime_type): Look up the mime type icons according to the
	Icon Naming Specification and then fall back to the gnome-mime- prefix
	for the mime type icons

	Fixes #323655
2005-12-14 19:32:04 +00:00
Matthias Clasen
2d5b575ea0 Warn if the icon cannot be loaded. (#323504, Kjartan Maraas)
2005-12-14  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_set_icon_name): Warn if the icon
	cannot be loaded.  (#323504, Kjartan Maraas)
2005-12-14 19:12:37 +00:00
Matthias Clasen
5cfa6eece0 Add docs for the row-activated signal. (#324044, Davyd Madeley)
2005-12-14  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_class_init): Add docs
	for the row-activated signal.  (#324044, Davyd Madeley)
2005-12-14 18:14:45 +00:00
Michael Natterer
077d0fe81f Move stuff to correct ChangeLog. 2005-12-14 16:39:07 +00:00
Michael Natterer
d564a49fc2 Merged from HEAD:
2005-12-14  Michael Natterer  <mitch@imendio.com>

	Merged from HEAD:

	* gdk-pixbuf/io-jpeg.c: applied patch from maemo-gtk which avoids
	the allocation of an intermediate buffer for non-progressive
	jpegs. Fixed bug #305894.

	* tests/test-images/valid_jpeg_progressive_test: new test image so
	we can test both loading code paths in io-jpeg.c
2005-12-14 14:58:59 +00:00
Sunil Mohan Adapa
da3d56fc1a Updated Telugu translations done by Prajasakti Localisation Team <localisation@prajasakti.com>. 2005-12-14 07:37:30 +00:00
Matthias Clasen
928a0da8d2 Speed this function up, using the fact that visibility is constant across
2005-12-12  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextiter.c (gtk_text_iter_set_visible_line_index):
	Speed this function up, using the fact that visibility is
	constant across segments. (#321548, Paolo Borelli)
2005-12-12 19:35:35 +00:00
Matthias Clasen
4e40304798 Only broadcast _GTK_LOAD_ICONTHEMES if we detect a real theme change, not
2005-12-12  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkicontheme.c (ensure_valid_themes): Only broadcast
	_GTK_LOAD_ICONTHEMES if we detect a real theme change, not
	upon initial theme load.  (#323876, Peter Lund)
2005-12-12 17:41:54 +00:00
Matthias Clasen
2da547c535 Don't fall thru to the wrong window types. (#323843)
2005-12-12  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_get_border_window_size): Don't
	fall thru to the wrong window types.  (#323843)
2005-12-12 17:04:55 +00:00
Christophe Merlet
7881702108 Updated French Translation. 2005-12-11 21:37:43 +00:00
Alessio Frusciante
31fe7a4f10 Updated Italian translation. 2005-12-11 18:52:37 +00:00
Matthias Clasen
5a6c501d30 Bump version 2005-12-09 23:47:14 +00:00
Matthias Clasen
5b8d9bfc84 2.8.9 2005-12-09 23:35:05 +00:00
Žygimantas Beručka
fc5a193edf Updated Lithuanian translation.
2005-12-09  Žygimantas Beručka  <zygis@gnome.org>

        * lt.po: Updated Lithuanian translation.
2005-12-09 16:43:35 +00:00
Matthias Clasen
ee9f3aed90 Updates 2005-12-09 16:37:30 +00:00
Matthias Clasen
e0e19dd998 Don't leak list[0]. (#323629, Markku Vire)
2005-12-09  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkselection.c (gtk_selection_data_get_uris): Don't
        leak list[0].  (#323629, Markku Vire)
2005-12-09 16:24:48 +00:00
Matthias Clasen
9eb8b2af91 Unref the buffer when freeing the RequestData. (#323577)
2005-12-09  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktextbuffer.c (paste_from_buffer): Unref the buffer
        when freeing the RequestData.  (#323577)
2005-12-09 16:08:09 +00:00
Matthias Clasen
e0ee2c256f Updates 2005-12-08 05:23:39 +00:00
Matthias Clasen
c3624ad401 Don't leak text.
2005-12-07  Matthias Clasen  <mclasen@redhat.com>

	* demos/gtk-demo/iconview_edit.c (set_cell_color): Don't
	leak text.
2005-12-07 20:05:11 +00:00
Matthias Clasen
dca0fb1fa2 Fix a variable name clash. (#323475, Ross Burton)
2005-12-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktoolbutton.c (clone_image_menu_size): Fix a
	variable name clash.  (#323475, Ross Burton)
2005-12-07 18:02:19 +00:00
Matthias Clasen
d70a7476cd Use the correct window when synthesizing the key event. (#323077, Sadrul
2005-12-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_key_press): Use the correct
	window when synthesizing the key event.  (#323077,
	Sadrul Habib Chowdhury)

	(gtk_tree_view_search_key_press_event): Also listen for
	GDK_ISO_Left_Tab.  (#323077, Sadrul Habib Chowdhury)
2005-12-07 17:11:53 +00:00
Ross Burton
f1e45e5fc2 If the toolbar mode is ICONS and there is no icon set then show the label, and vice versa (#322019) 2005-12-07 17:07:42 +00:00
Matthias Clasen
05c3415a5b Only scroll if we have focus. (#316310, Paolo Borelli)
2005-12-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_preedit_changed_handler):
	Only scroll if we have focus.  (#316310, Paolo Borelli)
2005-12-07 15:28:18 +00:00
Matthias Clasen
0aebad6b4b Fix a C99ism, spotted by Crispin Flowerday.
2005-12-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilesystemunix.c (cb_fill_in_mime_type): Fix a
	C99ism, spotted by Crispin Flowerday.
2005-12-07 14:02:18 +00:00
Behdad Esfahbod
37fd53219d Turn metrics hinting on (part of #307196)
2005-12-06  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtksettings.c (settings_update_font_options): Turn metrics
        hinting on (part of #307196)
2005-12-07 02:49:15 +00:00
Matthias Clasen
869351ad8a Fix refcounting issues with new_event and its window.
2005-12-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_key_press): Fix refcounting
	issues with new_event and its window.
2005-12-06 18:02:18 +00:00
Matthias Clasen
0ba88e0fb0 Accept NULL as a detach func. (#323386, Jorn Baayen)
2005-12-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmenu.c (gtk_menu_attach_to_widget): Accept NULL
	as a detach func.  (#323386, Jorn Baayen)
2005-12-06 17:27:42 +00:00
Matthias Clasen
61b892d23e Avoid conflict with win32 headers in the libdate routines. (#323045,
2005-12-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcalendar.c: Avoid conflict with win32 headers in
	the libdate routines.  (#323045, Kazuki Iwamoto)
2005-12-06 17:06:57 +00:00
Matthias Clasen
3584677939 Don't ignore errors from g_option_context_parse().
2005-12-06  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdk.c (gdk_parse_args):
	* gtk/gtkmain.c (gtk_parse_args): Don't ignore errors
	from g_option_context_parse().
2005-12-06 16:14:31 +00:00
Matthias Clasen
b7b750b05b Make it compile against GLib 2.9:
2005-12-06  Matthias Clasen  <mclasen@redhat.com>

	Make it compile against GLib 2.9:

	* gtk/gtkclist.h:
	* gtk/gtkstatusbar.h: Replace uses of GMemChunk* in public
	headers by gpointer.

	* gtk/gtkclist.c:
	* gtk/gtkctree.c:
	* gtk/gtkstatusbar.c: Add GMemChunk* casts as necessary.
2005-12-06 14:25:35 +00:00
Federico Mena Quintero
e6a5410fb5 Merged from HEAD:
2005-12-05  Federico Mena Quintero  <federico@ximian.com>

	Merged from HEAD:

	* gtk/gtkfilechooserdefault.c (trap_activate_cb): "event->state &
	modifiers", not "event->state && modifiers".  Patch by Sadrul
	Habib Chowdhury <imadil@gmail.com>.  Fixes bug #323073.
2005-12-06 03:11:51 +00:00
Matthias Clasen
241fd6dda6 Free new_event after sending it to the search entry. (#323209, Crispin
2005-12-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_key_press): Free new_event
	after sending it to the search entry.  (#323209, Crispin Flowerday)
2005-12-05 20:16:03 +00:00
Takeshi AIHANA
34e5c8510c Fixed translation of "Widget" and "Index" reported by kano@na.rim.or.jp.
2005-12-04  Takeshi AIHANA <aihana@gnome.gr.jp>

	* ja.po: Fixed translation of "Widget" and "Index" reported by kano@na.rim.or.jp.
2005-12-03 17:03:43 +00:00
Matthias Clasen
3fac9f99fc Don't leak a pixbuf. (#323024, Paolo Borelli)
2005-12-02  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktoolbutton.c (clone_image_menu_size): Don't leak
        a pixbuf.  (#323024, Paolo Borelli)
2005-12-02 20:54:20 +00:00
Matthias Clasen
7b799ca14d Don't crash if mime_type is NULL. (#322998, Sadrul Habib Chowdhury)
2005-12-02  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilesystemunix.c (get_icon_for_mime_type): Don't crash
	if mime_type is NULL.  (#322998, Sadrul Habib Chowdhury)
2005-12-02 19:59:20 +00:00
Matthias Clasen
fb3555ebd6 Adapt to xdg API changes 2005-12-02 03:33:42 +00:00
Matthias Clasen
be436ea53f Merge upstream changes to handle duplicate glob patterns.
2005-12-01  Matthias Clasen  <mclasen@redhat.com>

        * Merge upstream changes to handle duplicate glob
        patterns.
2005-12-01 19:32:04 +00:00
Matthias Clasen
afd5ed8095 Properly handle model changes in GtkTreeSelection: (#322569, Milosz
2005-11-29  Matthias Clasen  <mclasen@redhat.com>

	Properly handle model changes in GtkTreeSelection: (#322569,
	Milosz Derezynski)

	* gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach):
	Get a reference to the model, and stop the iteration if the model
	of the treeview is changed on the way.

	* gtk/gtktreeprivate.h:
	* gtk/gtktreeselection.c (_gtk_tree_selection_emit_changed): New
	private function to emit the GtkTreeSelection::changed signal.

	* gtk/gtktreeview.c (gtk_tree_view_set_model): Call
	_gtk_tree_selection_emit_changed() when the model changes.
2005-11-29 19:32:40 +00:00
Federico Mena Quintero
13ed5fef8d Merged from HEAD:
2005-11-28  Federico Mena Quintero  <federico@ximian.com>

	Merged from HEAD:

	Fixes the critical warnings from bug #317999, thus fixing the bug
	completely:

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_get_paths): In SELECT_FOLDER mode,
	use _gtk_file_chooser_get_current_folder_path() instead of fetching the
	impl->current_folder directly.  The latter may be null if we are
	in RELOAD_NONE state.
2005-11-29 01:16:37 +00:00
Federico Mena Quintero
0d4a99ded5 Merged from HEAD:
2005-11-28  Federico Mena Quintero  <federico@ximian.com>

	Merged from HEAD:

	Fix bug #321560, based on a patch by Bogdan Nicula (bogdanni@hotmail.com):

	* gtk/gtkfilechooserdefault.c (up_folder_handler): Don't add the
	current_folder to the pending select paths here; the path bar will
	give it to us now.
	(path_bar_clicked): Add the child_path to the pending select paths
	here.
	(show_and_select_paths): Don't filter out folders.
	(show_and_select_paths): Don't take separate arguments for
	only_one_path and multiple paths.

	* tests/autotestfilechooser.c (test_folder_switch_and_filters):
	New test about preserving the filters when we change folders.
2005-11-28 22:30:48 +00:00
Matthias Clasen
02cadc9196 2.8.8 2005-11-28 18:00:27 +00:00
Matthias Clasen
e608c86f0e Insert an LRM, to prevent -20 to come out as 20- in RTL locales. (#322571,
2005-11-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkscale.c (_gtk_scale_format_value): Insert an LRM, to prevent
	-20 to come out as 20- in RTL locales.  (#322571, Tze'ela Hebron)
2005-11-28 15:58:26 +00:00
Matthias Clasen
bca63a5d33 Buttons use the label property for stock ids. (#322565, Milosz Derezynski)
2005-11-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaction.c (gtk_action_sync_button_stock_id)
	(connect_proxy): Buttons use the label property for stock ids.  (#322565,
	Milosz Derezynski)
2005-11-28 15:40:08 +00:00
Matthias Clasen
7207dfbc0b Correctly handle the cell list and indices into it. (#321856)
2005-11-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (update_text_cell, update_pixbuf_cell): Correctly
	handle the cell list and indices into it.  (#321856)
2005-11-28 15:29:02 +00:00
Matthias Clasen
de18baa285 Set timer_tag to 0 when the timeout is done. (#322291, Jean-Yves Lefort)
2005-11-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktooltips.c (gtk_tooltips_timeout): Set timer_tag to 0 when
	the timeout is done.  (#322291, Jean-Yves Lefort)
2005-11-28 14:15:54 +00:00
Matthias Clasen
431a722cb4 Make F2 work for renaming bookmarks. (#320822, Jaap A. Haitsma, patch by
2005-11-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (shortcuts_key_press_event_cb): Make
	F2 work for renaming bookmarks.  (#320822, Jaap A. Haitsma, patch
	by Paolo Borelli)
2005-11-28 14:01:08 +00:00
Tor Lillqvist
f335d53a02 Look up FlashWindowEx() at run-time from user32.dll. If not found, fall
2005-11-28  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkwindow-win32.c (gdk_window_set_urgency_hint): Look
	up FlashWindowEx() at run-time from user32.dll. If not found, fall
	back to FlashWindow(). Makes it work on NT4, too. (#318077) Make
	sure it compiles with older MSVC compilers, too.
2005-11-28 08:31:36 +00:00
Tor Lillqvist
d302080656 Use GetLocaleInfo() on Windows to get the localized weekday and month
2005-11-28  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkcalendar.c (gtk_calendar_init): Use GetLocaleInfo() on
	Windows to get the localized weekday and month names. strftime()
	in the Microsoft C library returns strings in the default codepage
	for the locale of the process, not the system codepage. Thus
	g_locale_to_utf8() isn't useable on the return value from
	strftime(). (#322603)
2005-11-28 01:42:45 +00:00
Matthias Clasen
baa523023c Fix an example. (#322493, Elie De Brauwer)
2005-11-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmessagedialog.c (gtk_message_dialog_new_with_markup):
	Fix an example.  (#322493, Elie De Brauwer)
2005-11-27 20:52:35 +00:00
Matthias Clasen
0c0fdf8b28 Fix two memory handling problems in GtkTreeView: (#322350, Søren
2005-11-27  Matthias Clasen  <mclasen@redhat.com>

	Fix two memory handling problems in GtkTreeView: (#322350,
	Søren Sandmann)

	* gtk/gtktreeview.c (gtk_tree_view_destroy)
	(gtk_tree_view_set_model): Remove all references to nodes in
	the old model.
	(gtk_tree_view_real_collapse_row): Unmark expanded_collapsed_node
	before removing the children.
2005-11-27 20:37:49 +00:00
Matthias Clasen
5aeb56f131 Don't leak a PangoLayout here. (#322505, Paolo Borelli)
2005-11-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcolorbutton.c (gtk_color_button_init): Don't leak a
	PangoLayout here.  (#322505, Paolo Borelli)
2005-11-27 20:21:04 +00:00
Tor Lillqvist
b8d74ef097 Don't lie, in fact the changes did not make the #322516 sample program work
as expected, sigh.
2005-11-27 02:32:31 +00:00
Tor Lillqvist
f30b10304b Mention Win32... 2005-11-27 02:13:56 +00:00
Tor Lillqvist
a37fe60d98 Once again rework window decoration code. Should fix #322516 and not break
2005-11-27  Tor Lillqvist  <tml@novell.com>

	Once again rework window decoration code. Should fix #322516 and
	not break #104514. The dialogs in gtk-demo now have the same
	decorations and behaviour as on X11.

	* gdk/win32/gdkwindow-win32.h (struct _GdkWindowImplWin32): Keep
	the type hint tucked away here.

	* gdk/win32/gdkwindow-win32.c (set_or_clear_style_bits): Revert to
	the correct semantics. Each call to gdk_window_set_decorations()
	which calls this function is supposed to affect all decorations.

	(decorate_based_on_hints): New function, looks at both geometry
	hints and type hint and sets window decorations based on
	that. Consolidate code from gdk_window_set_geometry_hints() and
	gdk_window_set_type_hint() here.

	(gdk_window_set_geometry_hints, gdk_window_set_type_hint): Call
	decorate_based_on_hints().
2005-11-27 02:07:55 +00:00
Tor Lillqvist
b4ad37ae12 Revert to the correct semantics. (#322516)
2005-11-27  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkwindow-win32.c (set_or_clear_style_bits): Revert to
	the correct semantics. (#322516)
	(gdk_window_set_geometry_hints): Adjust call correspondingly.
2005-11-27 00:12:10 +00:00
Dom Lachowicz
4722decd6e Merge with gtk-wimp's CVS. Includes improved menu icon spacing, [+]/[-]
2005-11-25  Dom Lachowicz <cinamod@hotmail.com>

	* modules/engines/ms-windows/*.[ch]: Merge with gtk-wimp's CVS.
	Includes improved menu icon spacing, [+]/[-] expander drawing,
	status-bar gippie drawing, and notebook tab drawing.
2005-11-25 23:48:42 +00:00
Michael Natterer
6eda5e1af1 Merged from HEAD:
2005-11-24  Michael Natterer  <mitch@imendio.com>

	Merged from HEAD:

	* gtk/gtktoolbar.h (struct _GtkToolbar): changed two private guint
	that used to hold signal handler IDs to two guint of padding.

	* gtk/gtktoolbar.c (struct _GtkToolbarPrivate): added them as
	gulong here.

	(gtk_toolbar_screen_changed): changed accordingly.
2005-11-24 16:55:48 +00:00
Matthias Clasen
902c39b5f0 Include gtkimcontextsimple.h (#322235, Kazuki IWAMOTO)
2005-11-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c: Include gtkimcontextsimple.h  (#322235,
	Kazuki IWAMOTO)
2005-11-23 14:29:33 +00:00
Michael Natterer
8e09a1bb42 Merged from HEAD:
2005-11-23  Michael Natterer  <mitch@imendio.com>

	Merged from HEAD:

	* gtk/gtkrc.c (gtk_rc_reset_widgets): don't leak all toplevel
	windows on other screens (correctly remove all temporary
	references).
2005-11-23 14:24:51 +00:00
Gabor Kelemen
774619c619 Hungarian translation updated.
2005-11-22  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Hungarian translation updated.
2005-11-21 23:29:53 +00:00
Pablo Saratxaga
6808084c98 updated Walloon file; changed my email address 2005-11-21 22:23:07 +00:00
Ales Nyakhaychyk
0f99673e3c Updated Belarusian Translation 2005-11-21 15:58:32 +00:00
Matthias Clasen
fda53249fb Fix for bug #321542, Benedikt Meurer:
2005-11-21  Matthias Clasen  <mclasen@redhat.com>

	Fix for bug #321542, Benedikt Meurer:

	* gtk/gtkcombobox.c (gtk_combo_box_set_active_internal):
	Emit notify::active.
2005-11-21 14:37:40 +00:00
Ales Nyakhaychyk
2ee022a9b8 Updated Belarusian Translation 2005-11-21 08:24:46 +00:00
Theppitak Karoonboonyanan
1d12b20ec0 Adjusted wording.
2005-11-20  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	* th.po: Adjusted wording.
2005-11-20 08:44:37 +00:00
Theppitak Karoonboonyanan
5f53d6068b Fixed typo.
2005-11-19  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	* th.po: Fixed typo.
2005-11-19 05:35:48 +00:00
Matthias Clasen
e5f4c9cb68 Fix crashes in connection with pathbar scrolling (#321560, Bogdan Nicula)
2005-11-18  Matthias Clasen  <mclasen@redhat.com>

	Fix crashes in connection with pathbar scrolling (#321560,
	Bogdan Nicula)

	* gtk/gtkpathbar.c (gtk_path_bar_update_slider_buttons):
	Stop scrolling when desensitising slider buttons.
	(gtk_path_bar_scroll_timeout, gtk_path_bar_slider_button_press):
	And use it here.

	* gtk/gtkpathbar.h (struct _GtkPathBar): Add a separate
	scrolling_down flag.
2005-11-19 03:35:29 +00:00
Matthias Clasen
f692b06467 Fix a C99ism. (#321777, Jens Granseuer)
2005-11-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkpathbar.c (button_clicked_cb): Fix a C99ism.
	(#321777, Jens Granseuer)
2005-11-18 19:55:24 +00:00
Matthias Clasen
b2d939f980 Disconnect the sync callback for the visibility property. (#321761, Philip
2005-11-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaction.c (disconnect_proxy): Disconnect the
	sync callback for the visibility property.  (#321761,
	Philip Langdale)
2005-11-18 19:46:53 +00:00
Matthias Clasen
12064bf08a Turn off input methods in invisible entries, since they are confusing.
2005-11-18  Matthias Clasen  <mclasen@redhat.com>

	Turn off input methods in invisible entries, since
	they are confusing.  (#317002, James Su)

	* gtk/gtkentry.c (gtk_entry_set_visibility): Toggle input
	methods if visibility changes.
	(popup_targets_received): Don't show the input method
	menu if the entry is invisible.
2005-11-18 19:30:41 +00:00
Ales Nyakhaychyk
b46e6f72c2 Updated Belarusian translation.
Updated Belarusian translation.
2005-11-18 11:56:00 +00:00
Matthias Clasen
e2c897c6b2 const correctness fixes
found by Arjan van de Ven and gcc.
2005-11-17 14:31:48 +00:00
Ales Nyakhaychyk
34e15cf5e4 Updated Belarusian Translation 2005-11-17 11:04:06 +00:00
Marcel Telka
e74d5138da Updated Slovak translation.
2005-11-16  Marcel Telka  <marcel@telka.sk>

	* sk.po: Updated Slovak translation.
2005-11-16 06:11:53 +00:00
Matthias Clasen
f03ee0eae7 Bump version 2005-11-15 18:05:53 +00:00
Matthias Clasen
21b6ed0024 2.8.7 2005-11-15 18:00:32 +00:00
Matthias Clasen
f0470f324f Updates
2005-11-15  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates

	* gtk/gtktreestore.c (gtk_tree_store_move): Fix a memory
	leak.  (#321032, Peter Zelezny)
2005-11-15 15:37:44 +00:00
Kjartan Maraas
a513619a93 Updated Norwegian bokmål translation. Same.
2005-11-15  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Updated Norwegian bokmål translation.
	* no.po: Same.
2005-11-15 11:27:30 +00:00
Matthias Clasen
a7c6f4b12f Plug a leak 2005-11-15 04:57:18 +00:00
Matthias Clasen
cb6fc02331 Avoid a crash 2005-11-14 18:46:29 +00:00
Matthias Clasen
b12b6a1c0c Documentation improvements. (#321338)
2005-11-13  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkcolor.c (gdk_color_parse): Documentation
	improvements.  (#321338)
2005-11-14 04:35:06 +00:00
Matthias Clasen
35f2ae1b04 Make limit an inclusive boundary. (#321299)
2005-11-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextiter.c (gtk_text_iter_forward_search): Make
	limit an inclusive boundary.  (#321299)
2005-11-14 04:24:02 +00:00
Matthias Clasen
caf17bae51 Updates
2005-11-13  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates
2005-11-14 03:17:59 +00:00
Matthias Clasen
4e83fe3789 Fix the build 2005-11-12 19:46:06 +00:00
Dom Lachowicz
e25fac892f Bug #313627. Make win32 theme's handling of toolbars, handleboxes, and
* modules/engines/ms-windows/msw_style.c: Bug #313627. Make win32
	theme's handling of toolbars, handleboxes, and menubars more in-line
	with Microsoft's IE style.
	* modules/engines/ms-windows/*.c: Indentation cleanups
2005-11-12 14:22:04 +00:00
Matthias Clasen
d3558f7ed0 Make builtin icons work in gtk_window_set_icon_name() (#321046, Maxim
2005-11-12  Matthias Clasen  <mclasen@redhat.com>

	Make builtin icons work in gtk_window_set_icon_name()
	(#321046, Maxim Udushlivy)

	* gtk/gtkicontheme.c (gtk_icon_theme_get_icon_sizes):
	Also check builtin icons.
2005-11-12 07:03:17 +00:00
Tor Lillqvist
03928c314d Don't hide dotfiles, no such convention on Win32. Just hide files with the
2005-11-12  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkfilesystemwin32.c (filename_get_info): Don't hide
	dotfiles, no such convention on Win32. Just hide files with the
	hidden attribute. (#314627)
2005-11-12 01:15:22 +00:00
Federico Mena Quintero
0c1868687b Merged from HEAD:
2005-11-11  Federico Mena Quintero  <federico@ximian.com>

	Merged from HEAD:

	* gtk/gtkfilechooserdefault.c (shortcuts_add_volumes): Only get
	the base path of the volume if it is mounted.
2005-11-11 19:50:21 +00:00
Matthias Clasen
dfe3abc6bb Remove another erroneous semicolon.
2005-11-10  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_motion_resize_column): Remove
	another erroneous semicolon.
2005-11-10 17:54:59 +00:00
Matthias Clasen
592d066f47 Remove an erroneous semicolon.
2005-11-10  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkcolor-x11.c (gdkx_colormap_get): Remove an erroneous
	semicolon.
2005-11-10 17:42:09 +00:00
Matthias Clasen
96469e5c58 Don't corrupt odd keymaps (#316638, Kean Johnston)
2005-11-10  Matthias Clasen  <mclasen@redhat.com>

	Don't corrupt odd keymaps (#316638, Kean Johnston)

	* gdk/x11/gdkkeys-x11.c (set_symbol): Auxiliary function to
	handle frobbing keymaps with odd numbers of syms/code.

	* gdk/x11/gdkkeys-x11.c (update_keymaps): Use set_symbol() to
	frob the keymap.
2005-11-10 17:38:34 +00:00
Matthias Clasen
a60f34aa64 Improve navigation to parent folders. (#318444, Andrei Yurkevich)
2005-11-10  Matthias Clasen  <mclasen@redhat.com>

	Improve navigation to parent folders.  (#318444, Andrei Yurkevich)

	* gtk/gtkpathbar.[hc]: Add a child_path argument to
	the path_clicked signal.
	* gtk/gtkfilechooserdefault.c (path_bar_clicked): Select the
	child_path, if it is provided.
	* gtk/marshalers.list (path_bar_clicked): Add the necessary
	glue.
2005-11-10 15:14:16 +00:00
Matthias Clasen
7c559c84bd Implement a getter for headers-clickable. (#163851, Richard Hult)
2005-11-10  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c: Implement a getter for headers-clickable.
	(#163851, Richard Hult)
2005-11-10 14:05:17 +00:00
Tor Lillqvist
6659bc7689 Remove this two-line function which was used only in one place.
2005-11-09  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkwindow-win32.c
	(_gdk_win32_get_adjusted_client_rect): Remove this two-line
	function which was used only in one place.

	(get_outer_rect): Use _gdk_win32_adjust_client_rect().

	(gdk_window_set_geometry_hints): If we have identical minimum and
	maximum size hints, remove the resize and maximize
	decorations/functions. (#104514)

	If we have a maximum size hint, remove the maximize
	decoration/function but ensure the resize decoration/function is
	available. Otherwise ensure both resize and maximize
	decorations/functions are there.

	(set_or_clear_style_bits): Factored out common code from
	gdk_window_set_decorations() and gdk_window_set_functions().

	Hack the window style setting once more: Only touch the window
	style bits corresponding to the GdkWMDecoration or GdkWMFunction
	parameter bitmasks. Hopefully this finally is the correct thing to
	do. We used to clear all other bits than those that were being
	set, or set all other bits than those that were being cleared.

	Take into account that adding or removing decorations leaves the
	window's outer size unchanged, i.e., the client area's size and
	position change. This is apparently not what we want, so change
	also the window's (outer) position and size appropriately so that
	the client area's position and size stay constant.

	gtk-demo's color selector dialog is now non-resizable like on X11
	(I tested with metacity in GNOME). Torn off menus are shrinkable
	vertically but have a maximum size, and are not maximizable or
	minimizable, like on X11.

	(gdk_window_set_decorations, gdk_window_set_functions): Let
	set_or_clear_decorations() do most of the job.

	* gdk/win32/gdkprivate-win32.h: Remove declaration of
	_gdk_win32_get_adjusted_client_rect().
2005-11-09 13:00:45 +00:00
Tor Lillqvist
856280b3a2 Remove unnecessary includes. (gdk_window_set_geometry_hints): Remove code
2005-11-09  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkwindow-win32.c: Remove unnecessary includes.
	(gdk_window_set_geometry_hints): Remove code that has been
	permanently ifdeffed out for two years.
2005-11-09 12:52:00 +00:00
Matthias Clasen
9ea1a43096 Unref tile and stipple when finalizing a gc. (#320789, Nickolay V.
2005-11-08  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkgc.c (gdk_gc_finalize): Unref tile and stipple when
	finalizing a gc.  (#320789, Nickolay V. Shmyrev)
2005-11-08 21:48:48 +00:00
Matthias Clasen
4b2738a1f9 Ignore icons if they would make the request large enough to cause Xlib to
2005-11-08  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkwindow-x11.c (gdk_window_set_icon_list): Ignore
	icons if they would make the request large enough to cause
	Xlib to loose the connection.  (#320909, Claudio Saavedra)
2005-11-08 18:27:41 +00:00
Norayr Chilingaryan
76f0399c32 fixing, fixing, fixing ;) 2005-11-08 14:00:15 +00:00
Norayr Chilingaryan
35da76eb76 fixeing bugs ;) 2005-11-08 13:17:01 +00:00
Matthias Clasen
e2db438a36 Don't looks the bookmark label when reordering. (#320720, Jeremy Cook)
2005-11-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (shortcuts_reorder): Don't
	looks the bookmark label when reordering.  (#320720, Jeremy Cook)
2005-11-07 20:30:17 +00:00
Matthias Clasen
b3a1c4cdb7 Set focus-on-click to FALSE for all buttons. Don't grab focus when a
2005-11-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkpathbar.[hc]: Set focus-on-click to FALSE for all buttons.
	Don't grab focus when a slider button is pressed, instead, use
	a bit in the pathbar struct to determine whether to scroll up
	or down.  (#314486, Carlos Garnacho)
2005-11-07 20:02:18 +00:00
Matthias Clasen
fa490ed236 Forgotten file 2005-11-07 19:54:47 +00:00
Matthias Clasen
828f8f1790 Don't popup the completions if the focus has already been moved somewhere
2005-11-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentrycompletion.c (_gtk_entry_completion_popup):
	Don't popup the completions if the focus has already been
	moved somewhere else.  (#319914, Christian Persch)
2005-11-07 17:27:37 +00:00
Matthias Clasen
9e33d2fdb2 Don't popup the completions if the focus has already been moved somewhere
2005-11-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentrycompletion.c (_gtk_entry_completion_popup):
	Don't popup the completions if the focus has already been
	moved somewhere else.  (#319914, Christian Persch)
2005-11-07 17:27:16 +00:00
Matthias Clasen
9a48d49800 Raise the drag_window after reconfiguring the toolbar. (#320803, Christian
2005-11-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktoolitem.c (_gtk_tool_item_toolbar_reconfigured):
	Raise the drag_window after reconfiguring the
	toolbar.  (#320803, Christian Persch)
2005-11-07 16:39:29 +00:00
Tor Lillqvist
ef3d6268cb Fix also the other place where maskstride is calculated. 2005-11-07 12:06:20 +00:00
Tor Lillqvist
18c9a83f6a Correct the calculation of maskstride. (#320152, Peter Zelezny)
2005-11-07  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkcursor-win32.c (pixbuf_to_hbitmaps_normal):
	Correct the calculation of maskstride. (#320152, Peter Zelezny)
2005-11-07 08:18:34 +00:00
Theppitak Karoonboonyanan
6c34731239 Updated Thai translation.
2005-11-06  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	* th.po: Updated Thai translation.
2005-11-06 14:14:13 +00:00
Tor Lillqvist
a30defcfb7 Use separate header for logically separate entries. 2005-11-06 05:33:16 +00:00
Tor Lillqvist
1cc736c580 Rename the variables for the color bitmap to have "color" in their name,
2005-11-06  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkcursor-win32.c (pixbuf_to_hbitmaps_alpha_winxp):
	Rename the variables for the color bitmap to have "color" in
	their name, for similarity with pixbuf_to_hbitmaps_normal().
	Create an 1-bit mask bitmap (DIB section) using create_color_bitmap(),
	not CreateBitmap(). Initialize the mask bitmap with ones for
	those pixels in the color bitmap where the alpha is zero,
	zeros for other pixels. Although the docs claim otherwise,
	using an unitialized bitmap for the mask together with a color
	bitmap that has alpha did not work if the color bitmap had
	zero alpha everywhere, like the blank icon used in
	gtktrayicon.c.
2005-11-06 05:18:28 +00:00
Tor Lillqvist
a7b56ed43a Check G_WIN32_IS_NT_BASED() first, so we can pretend being on Win9x by
2005-11-06  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkcursor-win32.c
	(_gdk_win32_pixbuf_to_hicon_supports_alpha): Check
	G_WIN32_IS_NT_BASED() first, so we can pretend being on Win9x
	by setting the G_WIN32_PRETEND_WIN9X environment variable.
2005-11-06 05:01:43 +00:00
Tor Lillqvist
0c5a240d95 As there is only one GdkDisplay in the Win32 backend, check that
2005-11-06  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkcursor-win32.c: As there is only one GdkDisplay in
	the Win32 backend, check that GdkDisplay* parameters are equal to
	_gdk_display instead of using the unnecessarily general
	GDK_IS_DISPLAY().
2005-11-06 04:54:59 +00:00
Tor Lillqvist
7bff1ab7f1 Make icon masks work on Win98 (#320152, Peter Zelezny)
2005-11-06  Tor Lillqvist  <tml@novell.com>

	Make icon masks work on Win98 (#320152, Peter Zelezny)

	* gdk/win32/gdkcursor-win32.c (create_color_bitmap): Take also a
	parameter for the depth of the bitmap, so that this function can
	be used to create 1-bit bitmaps, too.
	(pixbuf_to_hbitmaps_normal): Create an 1-bit bitmap for the mask,
	and initialize it properly.
2005-11-06 04:51:10 +00:00
Matthias Clasen
5e70dc2195 Prevent a segfault.
2005-11-04  Matthias Clasen  <mclasen@redhat.com>

        * xdgmime.c (xdg_mime_list_mime_parents): Prevent
        a segfault.
2005-11-04 15:58:25 +00:00
Michael Natterer
d4dd35cc91 Merged from HEAD:
2005-11-04  Michael Natterer  <mitch@imendio.com>

	Merged from HEAD:

	* gtk/gtkrc.c (gtk_rc_reparse_all_for_settings): applied patch
	from maemo-gtk that changes the mtime check for rc files from
	'>' to '!=', otherwise theme changes go unnoticed when turning
	back the clock (Tommi Komulainen).
2005-11-04 12:25:17 +00:00
Miloslav Trmac
a0dd1f6422 Updated Czech translation.
2005-11-02  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.
2005-11-02 22:58:32 +00:00
Tor Lillqvist
d25d08df51 Cosmetics. 2005-11-02 10:37:58 +00:00
Tor Lillqvist
60a234502d gdk/win32/gdkcolor-win32.c gdk/win32/gdkscreen-win32.c Whitespace
2005-11-02  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkcolor-win32.c
	* gdk/win32/gdkscreen-win32.c
	* gdk/win32/gdkwindow-win32.c: Whitespace consistency
	fixes. Remove superfluous test for GdkWindow* parameters being
	non-NULL. Testing GDK_IS_WINDOW() is enough. As there is only one
	GdkScreen and one GdkDisplay in the Win32 backend, use those
	variables instead of the getter functions. For GdkDisplay* and
	GdkScreen* parameters, check that they are equal to the
	corresponding singleton variables instead of the more general
	GDK_IS_DISPLAY() or GDK_IS_SCREEN().
2005-11-02 10:24:19 +00:00
Matthias Clasen
4aebc900bf Remove some g_return_if_fail() from static functions, replace some others
2005-11-02  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c: Remove some g_return_if_fail() from
	static functions, replace some others by g_assert().

	* gtk/gtktextview.c (selection_motion_event_handler)
	(gtk_text_view_start_selection_drag): Keep track of the original
	selection boundaries during a drag selection, in order to correctly
	decide when to extend or shrink the selection.  (#320167,
	reported by Arvind S N, patch by Paolo Borelli)
2005-11-02 06:30:22 +00:00
Matthias Clasen
a57007f3dc Replace manual offset calculations by g_utf8_offset_to_pointer().
2005-11-02  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextbtree.c (_gtk_text_line_char_to_byte_offsets):
	* gtk/gtktextiter.c (gtk_text_iter_backward_chars): Replace
	manual offset calculations by g_utf8_offset_to_pointer().
	(#320360, Paolo Borelli)
2005-11-02 05:11:13 +00:00
Tor Lillqvist
3e2b7e6e73 gdk/win32/gdkprivate-win32.h gdk/win32/gdkglobals-win32.c Add more
2005-11-01  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkprivate-win32.h
	* gdk/win32/gdkglobals-win32.c
	* gdk/win32/gdkmain-win32.c (_gdk_windowing_init): Add more
	pre-interned GdkAtoms and pre-registered clipboard formats. Sort
	their declarations, definitions and assignments into a more
	logical and consistent order.

	* gdk/win32/gdkmain-win32.c (_gdk_win32_cf_to_string): Include the
	CF_ prefix for the predefined clipboard format names. Put quotes
	around registered format names to distinguish them.

	* gdk/win32/gdkproperty-win32.c (gdk_property_change): Return
	immediately with a warning if the property type is STRING, TEXT,
	COMPOUND_TEXT or SAVE_TARGETS, as these are X11-specific that we
	should never pretend to handle on Win32. Handle only UTF8_STRING
	here, other formats with delayed rendering. Use \uc1 instead of
	\uc0 when generating Rich Text Format for easier testability on
	XP, where WordPad misinterprets \uc0 encoded characters. Add more
	GDK_NOTE debugging output for Clipboard operations.

	* gdk/win32/gdkselection-win32.c: Debugging printout improvements.
	(gdk_selection_convert): Don't pretent to handle STRING, just
	UTF8_STRING. Streamline error handling, don't unnecessarily have a
	GError which then isn't used for anything anyway if it gets set.
	(gdk_win32_selection_add_targets): Skip also STRING, TEXT,
	COMPOUND_TEXT and SAVE_TARGETS in addition to UTF8_STRING.
2005-11-01 15:06:27 +00:00
Tor Lillqvist
1e5c150247 Don't look for X_PACKAGES unless building for x11. (#313986, John
2005-11-01  Tor Lillqvist  <tml@novell.com>

	* configure.in: Don't look for X_PACKAGES unless building for
	x11. (#313986, John Ehresman)
2005-11-01 09:20:45 +00:00
Amanpreet Singh Alam
29a894798f update for Punjabi 2005-11-01 02:46:10 +00:00
Matthias Clasen
fe44a57d85 Add the popup window to the toplevels window group. (#319912, Christian
2005-10-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentrycompletion.c (_gtk_entry_completion_popup): Add the popup
	window to the toplevels window group.  (#319912, Christian Persch)
2005-10-28 20:40:02 +00:00
Matthias Clasen
8fbbb83346 Fix the anchor of the default drag cursors. (#319200, Federico Mena Quintero) 2005-10-28 17:08:05 +00:00
Laurent Dhima
16ce403888 Updated Albanian translation.
2005-10-28  Laurent Dhima  <laurenti@alblinux.net>

	* sq.po: Updated Albanian translation.
2005-10-28 15:29:07 +00:00
Matthias Clasen
458838db34 Make it compile 2005-10-28 15:04:30 +00:00
Matthias Clasen
d3600de92b Add the little stars. (#319985, Bastien Nocera)
2005-10-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaboutdialog.c (gtk_about_dialog_init): Add the little
	stars.  (#319985, Bastien Nocera)
2005-10-28 14:09:15 +00:00
Matthias Clasen
4e8c9fd5f8 Return FALSE, so we don't flush repeatedly. (#319151, Alexander Larsson)
2005-10-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_search_entry_flush_timeout): Return
	FALSE, so we don't flush repeatedly.  (#319151, Alexander Larsson)
2005-10-28 13:55:17 +00:00
Ankitkumar Rameshchandra Patel
b57b98d90a Updated Gujarati Translations 2005-10-28 09:30:31 +00:00
Norayr Chilingaryan
93e373f0b4 update of po-properties hy.po files 2005-10-28 06:28:58 +00:00
Dan Damian
38cdac231c Updated Romanian translation by Misu Moldovan. 2005-10-27 19:37:44 +00:00
Vincent van Adrighem
14355e7c80 Translation updated by Tino Meinen.
2005-10-27  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated by Tino Meinen.
2005-10-27 19:08:50 +00:00
Michael Natterer
012d8d6db4 fix typo (G_MODUE_BIND_LAZY -> G_MODULE_BIND_LAZY).
2005-10-27  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkthemes.c (gtk_theme_engine_load): fix typo
	(G_MODUE_BIND_LAZY -> G_MODULE_BIND_LAZY).
2005-10-27 13:35:12 +00:00
Michael Natterer
1df7de983e Merged from HEAD:
2005-10-26  Michael Natterer  <mitch@imendio.com>

	Merged from HEAD:

	Fix bug #319974:

	* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
	make sure that setting any of pixbuf/stock-id/icon-name resets the
	others because they are mutually exclusive, and that unsetting any
	of them only resets the pixbuf and nothing else. Also added
	some missing g_object_notify().

	(gtk_cell_renderer_pixbuf_get_property): simplified calls to
	g_value_set_object().

	(gtk_cell_renderer_pixbuf_create_stock_pixbuf)
	(gtk_cell_renderer_pixbuf_create_named_icon_pixbuf): added
	g_object_notify ("pixbuf").
2005-10-27 13:20:32 +00:00
Norayr Chilingaryan
141e5c5822 ----------------------------------------------------------------------------
fixing errors
2005-10-27 12:59:42 +00:00
Matthias Clasen
a74a80316c Be more careful about initializing cell_area. (#319382, Tommi Komulainen)
2005-10-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_button_press): Be more
	careful about initializing cell_area.  (#319382, Tommi
	Komulainen)
2005-10-27 04:48:55 +00:00
Matthias Clasen
3c1fc24f61 Don't eat Ctrl-PageUp/PageDown. (#318670, Christian Neumair)
2005-10-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c (gtk_combo_box_key_press): Don't eat
	Ctrl-PageUp/PageDown.  (#318670, Christian Neumair)
2005-10-27 04:40:04 +00:00
Matthias Clasen
72ccf58edd Only set the text if it is not NULL. (#319930, Thomas Klausner)
2005-10-27  Matthias Clasen  <mclasen@redhat.com>

	* demos/gtk-demo/clipboard.c (paste_received): Only set the
	text if it is not NULL.  (#319930, Thomas Klausner)

	* gtk/gtkselection.c (gtk_selection_data_get_pixbuf): Close the
	loader before trying to get the pixbuf.  (#319930, Thomas Klausner)
2005-10-27 04:32:52 +00:00
Matthias Clasen
e127a96aec Use G_MODULE_BIND_LAZY when dlopening modules. (#319557, Laszlo Peter)
2005-10-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilesystem.c (gtk_file_system_module_load):
	* gtk/gtkthemes.c (gtk_theme_engine_load):
	* gtk/gtkimmodule.c (gtk_im_module_load): Use G_MODULE_BIND_LAZY
	when dlopening modules.  (#319557, Laszlo Peter)
2005-10-27 03:19:26 +00:00
Francisco Javier F. Serrador
ea9d754c98 Updated Spanish translation.
2005-10-26  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2005-10-26 21:59:34 +00:00
Matthias Clasen
0e041a4ec8 Only use text segments when determining text direction. (#319065, Tommi
2005-10-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextbtree.c (gtk_text_btree_resolve_bidi): Only use text
	segments when determining text direction.  (#319065, Tommi Komulainen)
2005-10-26 20:47:39 +00:00
Matthias Clasen
08575ff7da Don't crash on duplicate destroy. (#318953, Gustavo Carneiro)
2005-10-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_destroy): Don't crash
	on duplicate destroy.  (#318953, Gustavo Carneiro)
2005-10-26 19:50:43 +00:00
Matthias Clasen
82e6e840eb Broken commit 2005-10-26 19:42:36 +00:00
Matthias Clasen
e71e55d9a4 Point out that destroy-with-parent is a bad idea for the dialog passed to
2005-10-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_new_with_dialog):
	Point out that destroy-with-parent is a bad idea for the dialog
	passed to this function.  (#318943, Christian Persch)

	* gtk/gtkfilechooserbutton.c (open_dialog): Add the dialog to the
	window group, if necessary (#318943, Christian Persch)
2005-10-26 19:32:11 +00:00
Matthias Clasen
0f7f6be8e9 Broken commit 2005-10-26 18:13:22 +00:00
Matthias Clasen
0339de7d61 use $(GLIB_MKENUMS) instead of glib-mkenums. (#318582, Damien Carbery)
2005-10-26  Matthias Clasen  <mclasen@redhat.com>

        * */Makefile.am: use $(GLIB_MKENUMS) instead of
        glib-mkenums.  (#318582, Damien Carbery)
2005-10-26 18:02:28 +00:00
Matthias Clasen
24fec1aa10 Clarify docs 2005-10-26 14:32:10 +00:00
Takeshi AIHANA
b4f7784a84 Also updated Japanese translation.
2005-10-26  Takeshi AIHANA <aihana@gnome.gr.jp>

	* ja.po: Also updated Japanese translation.
2005-10-26 14:16:53 +00:00
Takeshi AIHANA
ea93a69ab0 Fixed typos reported by kano@na.rim.or.jp.
2005-10-26  Takeshi AIHANA <aihana@gnome.gr.jp>

	* ja.po: Fixed typos reported by kano@na.rim.or.jp.
2005-10-26 14:08:29 +00:00
Matthias Clasen
b9200e9fc5 Remove an extra const which doesn't seem to affect the placement of the
2005-10-26  Matthias Clasen  <mclasen@redhat.com>

        * gdk/x11/gdkdnd-x11.c: Remove an extra const which doesn't
        seem to affect the placement of the data in the readonly
        section, and causes problems with some compilers.  (#317844)
2005-10-26 13:49:58 +00:00
Matthias Clasen
6562773a5a Fix some issues with background drawing in RTL. (#318781, Eric Cazeaux)
2005-10-25  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
        Fix some issues with background drawing in RTL.  (#318781,
        Eric Cazeaux)
2005-10-26 04:30:19 +00:00
Priit Laes
f5562e56e0 Translation updated by Ivar Smolin.
2005-10-25  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-10-25 18:42:51 +00:00
Matthias Clasen
5480e6df2f Add some more docs. (#319722, Paolo Borelli)
2005-10-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktexttagtable.c (gtk_text_tag_table_foreach): Add some
	more docs.  (#319722, Paolo Borelli)
2005-10-25 18:27:08 +00:00
Matthias Clasen
e34eab22da Make the initialization of screen_x11->xft_rgba more explicit. (#319627,
2005-10-25  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkxftdefaults.c (init_xft_settings): Make the
	initialization of screen_x11->xft_rgba more explicit.  (#319627,
	Bogdan Nicula)
2005-10-25 18:10:59 +00:00
Funda Wang
1caa77bff2 Updated Simplified Chinese translation 2005-10-25 13:13:41 +00:00
Yair Hershkovitz
f6acde711b Updated Hebrew translation.
2005-10-24  Yair Hershkovitz  <yairhr@gmail.com>

	* he.po: Updated Hebrew translation.
2005-10-25 00:05:30 +00:00
Ignacio Casal Quinteiro
ad8b4aa0a3 *** empty log message *** 2005-10-24 11:22:43 +00:00
Adam Weinberger
1cd1200389 Updated Canadian English translation.
2005-10-23  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-10-23 06:27:40 +00:00
Ilkka Tuohela
52d4111e05 Updated Finnish translation 2005-10-23 06:14:33 +00:00
Michael Natterer
029c0c57fb Merged from HEAD:
2005-10-22  Michael Natterer  <mitch@imendio.com>

	Merged from HEAD:

	* gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): check for the
	widget being realized, in addition to being visible, to avoid
	running into precondition check in gtk_tree_view_get_cell_area().
	(approved by Kris).
2005-10-22 21:11:05 +00:00
Dom Lachowicz
b14bb6fab7 Experimentally, scrollbar steppers can shrink to 8 pixels on Win32.
* modules/engines/ms-windows/msw_style.c (setup_msw_rc_style):
	Experimentally, scrollbar steppers can shrink to 8 pixels on
	Win32. Reflect that in the theme.
	* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Experimentally,
	there is a 1-pixel border between a scrollbar and its child
	in ScrolledWindows on Win32. Reflect that in the theme.
2005-10-22 16:05:10 +00:00
Alexander Shopov
2765a5dc29 Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>
2005-10-21  Alexander Shopov  <ash@contact.bg>

	* bg.po: Updated Bulgarian translation by
	Alexander Shopov <ash@contact.bg>
2005-10-21 08:17:47 +00:00
Matthias Clasen
69f8c2e191 Define GTK_STOCK_[DIS]CONNECT 2005-10-21 04:59:55 +00:00
Matthias Clasen
fdf7779855 Apply a patch from Ross Burton to fix compiler warnings. (#318762)
2005-10-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c: Apply a patch from Ross Burton
	to fix compiler warnings.  (#318762)
2005-10-20 20:14:17 +00:00
Federico Mena Quintero
8336011a85 Merged from HEAD:
2005-10-19  Federico Mena Quintero  <federico@ximian.com>

	Merged from HEAD:

	Fixes bug #317999:

	* tests/autotestfilechooser.c
	(test_button_folder_states_for_action): Test that we have either
	$cwd or the explicitly-set folder.
	(test_reload_sequence): Likewise.

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_get_current_folder): If our reload_state
	is RELOAD_EMPTY, return a GtkFilePath corresponding to $cwd.
2005-10-19 17:02:10 +00:00
Matthias Clasen
5c99c4191d Make magic comparisons work correctly in the cache.
2005-10-18  Matthias Clasen  <mclasen@redhat.com>

        * xdgmimecache.c: Make magic comparisons work correctly
        in the cache.
2005-10-18 20:35:44 +00:00
Arangel Angov
af408222c8 Updated Macedonian translation <arangela@cvs.gnome.org> 2005-10-17 23:55:10 +00:00
Priit Laes
d4cc6b28e3 Translation updated by Ivar Smolin.
2005-10-17  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-10-17 12:37:01 +00:00
Martin Willemoes Hansen
3b055b39f2 Updated Danish translation.
* da.po: Updated Danish translation.
2005-10-17 12:25:50 +00:00
Martin Willemoes Hansen
3c7e718b50 Updated Danish translation.
* da.po: Updated Danish translation.
2005-10-17 10:26:10 +00:00
Arangel Angov
61d98323eb Updated mk translation <arangela@cvs.gnome.org> 2005-10-15 14:03:33 +00:00
Tor Lillqvist
f681b064bf Remove the clipboard viewer code. It didn't really do anything useful, and
2005-10-14  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkdisplay-win32.c: Remove the clipboard viewer code.
	It didn't really do anything useful, and was just confusing and
	incomplete. Comments claimed we don't do delayed rendering, but in
	fact we do, for images. (The delayed rendering code has other
	problems, though, see #168173.) The clipboard viewer code was
	probably even buggy (the WM_CHANGECBCHAIN handled didn't propagate
	the message when necessary). It was just test code, it said so in
	a comment. Add something similar back later if necessary.

	(_win32_on_clipboard_change,
	_gdk_win32_register_clipboard_notification): Remove.

	(gdk_display_supports_selection_notification,
	gdk_display_request_selection_notification): Always just return
	FALSE. We didn't generate any GDK_OWNER_CHANGE events anywhere.
2005-10-14 00:03:42 +00:00
Priit Laes
85b1a31c26 Translation updated by Ivar Smolin.
2005-10-13  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-10-13 20:08:21 +00:00
Tor Lillqvist
1f8e9d3940 Don't treat Alt-Enter specially. It does not have any special meaning and
2005-10-13  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkevents-win32.c (gdk_event_translate): Don't treat
	Alt-Enter specially. It does not have any special meaning and
	should be passed on to the application. (#318378, Tim Evans)
2005-10-13 07:18:59 +00:00
Tor Lillqvist
8bca0c3613 Set visual depth to 24 for 32 bits-per-pixel devices on Win32. This allows
2005-10-13  Tor Lillqvist  <tml@novell.com>

	Set visual depth to 24 for 32 bits-per-pixel devices on
	Win32. This allows gdk_drawable_real_draw_pixbuf() to use the
	optimized composite_0888() function rather than the slower image
	dithering functions to draw pixbufs (#313993, John Ehresman)

	* gdk/win32/gdkimage-win32.c (_gdk_win32_new_image): Use
	_gdk_windowing_get_bits_for_depth() to initialize
	GdkImage::bits_per_pixel.
	(_gdk_windowing_get_bits_for_depth): Return 32 bits for depth 24.

	* gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new): Use
	_gdk_windowing_get_bits_for_depth() to initialize
	BITMAPINFOHEADER::biBitCount.

	* gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Set
	GdkVisual::depth to 24 even if GetDeviceCaps(BITSPIXEL) returns
	32.
2005-10-13 07:02:32 +00:00
Matthias Clasen
38ed5b667b Only call gdk_pixbuf_loader_eat_header_write() when count > 0. (#318589,
2005-10-12  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Only call
	gdk_pixbuf_loader_eat_header_write() when count > 0.  (#318589,
	Bogdan Nicula)
2005-10-12 13:50:13 +00:00
Stefan Kost
cd718e6e36 use PACKAGE_VERSION,bump year (#318654)
* demos/gtk-demo/appwindow.c: (about_cb):
use PACKAGE_VERSION,bump year (#318654)
2005-10-12 13:23:06 +00:00
Matthias Clasen
f1585b7a71 Try to match an off toggle here with the matching on toggle if it
2005-10-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextbtree.c (_gtk_text_btree_delete): Try to match an off
	toggle here with the matching on toggle if it immediately follows.
	This is a common case, and handling it here prevents quadratic blowup
	in cleanup_line() below.  (#317125)

	* gtk/gtktextsegment.h:
	* gtk/gtktextsegment.c (_gtk_char_segment_new_from_two_strings): Pass
	the character counts into this function instead of computing them
	again.
2005-10-11 14:40:45 +00:00
Alessio Frusciante
49cbd0eed8 Updated Italian translation. 2005-10-09 16:15:39 +00:00
Federico Mena Quintero
f6fbddcfe9 Merged from HEAD:
2005-10-07  Federico Mena Quintero  <federico@ximian.com>

	Merged from HEAD:

	Fixes bug #317999:

	* gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder):
	Clarify the documentation on when this can return NULL.
	(gtk_file_chooser_get_current_folder_uri): Likewise.

	* gtk/gtkfilechooserbutton.c (struct
	_GtkFileChooserButtonPrivate): Added a folder_has_been_set flag;
	we use it to keep track of whether a folder has been set.
	(gtk_file_chooser_button_map):  Implement.  If no folder has been
	loaded before, we at least try to load $cwd here.
	(gtk_file_chooser_button_constructor): If the construct-time
	dialog already has a folder set, turn on our folder_has_been_set
	flag.
	(dialog_current_folder_changed_cb): Turn on our
	folder_has_been_set flag.
2005-10-07 20:24:22 +00:00
Matthias Clasen
2c3c209251 Use g_return_val_if_fail(), not g_return_if_fail(). (#318412, Kazuki
2005-10-07   Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktexttag.c (gtk_text_attributes_ref): Use
        g_return_val_if_fail(), not g_return_if_fail().  (#318412,
        Kazuki Iwamoto)
2005-10-07 15:56:36 +00:00
Matthias Clasen
298c435472 Require gmodule-no-export-2.0 instead of gmodule-2.0
2005-10-05  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-xlib-2.0.pc.in (Requires): Require
	gmodule-no-export-2.0 instead of gmodule-2.0
2005-10-05 14:41:45 +00:00
Nguyen Thai Ngoc Duy
730f0f6f3c Updated Vietnamese translation 2005-10-05 13:14:31 +00:00
Federico Mena Quintero
4fc5f91b8b Merged from HEAD:
2005-10-04  Federico Mena Quintero  <federico@ximian.com>

	Merged from HEAD:

	* gtk/gtkpathbar.c (get_dir_name): Don't special-case Home and
	Desktop; just use their real names on the file system for the
	user-visible names.

	* gtk/gtkfilechooserdefault.c
	(shortcuts_append_home): Don't special-case the name of "Home";
	just use the folder name.
2005-10-04 20:12:05 +00:00
Tor Lillqvist
61a352d098 Make it compile without HAVE__NL_TIME_FIRST_WEEKDAY. (#317910, Mathias
2005-10-04  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkcalendar.c (gtk_calendar_init): Make it compile without
	HAVE__NL_TIME_FIRST_WEEKDAY. (#317910, Mathias Hasselmann)
2005-10-04 13:38:18 +00:00
Matthias Clasen
283bfba565 Bump version 2005-10-04 06:31:50 +00:00
Matthias Clasen
45029c6757 2.8.6 2005-10-04 06:20:25 +00:00
Matthias Clasen
3dac77f834 Revert the change from yesterday, since it leads to assertion failures.
2005-10-04  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrc.c (gtk_rc_clear_realized_style): Revert the change
	from yesterday, since it leads to assertion failures.  (#317879,
	Sebastian Bacher)
2005-10-04 04:18:53 +00:00
Matthias Clasen
4f17bf78b3 Apply a patch to remove context from translations. (#317867, Duarte
2005-10-03  Matthias Clasen <mclasen@redhat.com>

	* pt.po: Apply a patch to remove context from
	translations.  (#317867, Duarte Henriques)
2005-10-04 03:37:52 +00:00
Matthias Clasen
d11badd3e7 Call calendar_compute_days() after setting priv->week_start.
2005-10-03  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcalendar.c (gtk_calendar_init): Call
	calendar_compute_days() after setting priv->week_start.
2005-10-04 03:24:16 +00:00
Federico Mena Quintero
55a7c31665 Merged from HEAD:
2005-10-03  Federico Mena Quintero  <federico@ximian.com>

	Merged from HEAD:

	Don't reload the current folder unnecessarily on ::map().

	* gtk/gtkfilechooserprivate.h (ReloadState): New enum to represent
	the reloading state.
	(struct _GtkFileChooserDefault): Added a "reload_state" field.

	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init):
	Initialize impl->reload_state.
	(gtk_file_chooser_default_map): Check the impl->reload_state; load
	a default folder if no folder has been set, or reload the current
	one only if we had been unmapped first.
	(gtk_file_chooser_default_update_current_folder): Set the
	reload_state to RELOAD_HAS_FOLDER.
	(gtk_file_chooser_default_unmap): Implement, and set the
	reload_state to RELOAD_WAS_UNMAPPED.
	(shortcuts_model_create): Don't call shortcuts_add_bookmarks()
	here; they'll get (re)loaded on ::map() anyway.

	* gtk/gtkfilechooserwidget.c
	(gtk_file_chooser_widget_constructor): Don't set a default folder here.

	* tests/autotestfilechooser.c (test_action_widgets): Don't take in
	a dialog; build it ourselves.
	(test_reload): New test to ensure that we don't load the default
	folder more than once, and that we reload it when
	unmapping/remapping.
	(get_impl_from_dialog): New utility function.
	(test_widgets_for_current_action): Use get_impl_from_dialog().
2005-10-03 20:27:52 +00:00
Matthias Clasen
8d0574f9cf Bump version 2005-10-03 19:57:03 +00:00
Matthias Clasen
2216c39e7b 2.8.4 2005-10-03 19:29:59 +00:00
Matthias Clasen
d28b8f4088 Unref the style when removing it from the hash table. (#314696, Benjamin
2005-10-03  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrc.c (gtk_rc_clear_realized_style): Unref the style when
	removing it from the hash table.  (#314696, Benjamin Berg)
2005-10-03 16:37:49 +00:00
Matthias Clasen
fd5394784a Use a 1k buffer for sniffing image formats, instead of 128 or 256 bytes.
2005-10-03  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file):
	* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file):
	* gdk-pixbuf-loader.c: Use a 1k buffer for sniffing image formats,
	instead of 128 or 256 bytes.  (#317225, Sebastien Bacher,
	Dom Lachowicz)
2005-10-03 15:11:49 +00:00
Tor Lillqvist
eed718e4e6 In case BitBlt() fails with ERROR_INVALID_HANDLE, the most probable cause
2005-10-01  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkdrawable-win32.c (blit_from_pixmap): In case
	BitBlt() fails with ERROR_INVALID_HANDLE, the most probable cause
	is that the the desktop isn't visible because the session has been
	switched, the screen is locked, or a terminal server session
	disconnected, so no error message necessary. (#137796)

	It is of course remotely possible that BitBlt() failing with
	ERROR_INVALID_HANDLE might also be caused by some other
	problem. We could strive for perfection and track whether the
	desktop is visible by using WTSRegisterSessionNotification() and
	handling WM_WTSESSION_CHANGE. I think that's overdoing it just for
	this issue, though. If we would track desktop visibility, we
	should then avoid even trying to update the display at all while
	the desktop isn't visible.
2005-09-30 23:51:49 +00:00
Matthias Clasen
db1593b8be Another attempt to correct the calculations for the first week day. We may
2005-09-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcalendar.c (gtk_calendar_init): Another attempt
	to correct the calculations for the first week day. We may
	just have to remove this code if too many locales turn out
	to have broken data.
2005-09-30 17:55:37 +00:00
Matthias Clasen
9f3677418b Don't leak pixbuf in some cases. (#317611, Tommi Komulainen)
2005-09-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkimage.c (gtk_image_expose): Don't leak pixbuf in
	some cases.  (#317611, Tommi Komulainen)
2005-09-30 15:43:08 +00:00
Matthias Clasen
9c4dd6ae2d Prevent overflow when storing size hints in an unsigned short variable.
2005-09-30  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtksocket-x11.c (_gtk_socket_windowing_size_request):
        Prevent overflow when storing size hints in an unsigned
        short variable. Tracked down by Ray Strode and Søren Sandmann.
2005-09-30 14:53:06 +00:00
Matthias Clasen
46136af6dc Check arguments. (#317491, Paolo Borelli)
2005-09-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkbutton.c (gtk_button_set_image): Check arguments.  (#317491,
	Paolo Borelli)
2005-09-29 13:41:07 +00:00
Matthias Clasen
96d8e1a1bf Stop drags when being grab shadowed. (#317332)
2005-09-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkpaned.c (gtk_paned_grab_notify): Stop drags when being
	grab shadowed.  (#317332)
2005-09-29 13:38:09 +00:00
Tor Lillqvist
68e7f35d09 DLLs are always in bin nowadays, no need to test.
2005-09-29  Tor Lillqvist  <tml@novell.com>

	* gtk-zip.sh.in: DLLs are always in bin nowadays, no need to test.
2005-09-29 07:42:40 +00:00
Tor Lillqvist
e85e700956 The locale directory is passed to bindtextdomain() which isn't
2005-09-29  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkmain.c (_gtk_get_localedir): The locale directory is
	passed to bindtextdomain() which isn't UTF-8-aware, so convert to
	system codepage using g_win32_locale_filename_from_utf8().
	(#317457, Kazuki Iwamoto)
2005-09-28 23:41:27 +00:00
Matthias Clasen
115784bb38 Free mult_atoms here. (#317039, Paolo Borelli)
2005-09-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkselection.c (_gtk_selection_request): Free mult_atoms
	here. (#317039, Paolo Borelli)
2005-09-28 20:43:28 +00:00
Matthias Clasen
d097228c65 Return the attributes to make this function work as boxed copy function.
2005-09-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktexttag.h:
	* gtk/gtktexttag.c (gtk_text_attributes_ref): Return the attributes
	to make this function work as boxed copy function.  (#317455,
	Gustavo Carneiro)
2005-09-28 20:31:40 +00:00
Matthias Clasen
e5a2f7918b Don't unref NULL. (#316828, Tor Lillqvist)
2005-09-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkclipboard.c (request_image_received_func): Don't unref
	NULL.  (#316828, Tor Lillqvist)
2005-09-28 20:08:24 +00:00
Tor Lillqvist
75732772a8 Include <config.h>. (#317444, Kazuki Iwamoto)
2005-09-28  Tor Lillqvist  <tml@novell.com>

	* modules/input/imime.c: Include <config.h>. (#317444, Kazuki
	Iwamoto)
2005-09-28 16:00:10 +00:00
Federico Mena Quintero
baace30f74 Merged from HEAD:
2005-09-27  Federico Mena Quintero  <federico@ximian.com>

	Merged from HEAD:

	Do not create the save mode-specific widgets in the open modes, so
	that we don't carry their baggage around.

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_constructor): Don't create the
	save_widgets here.
	(save_widgets_create): Set the impl->save_widgets directly here,
	instead of passing the widgets back to the caller.  Also, pack
	them into the impl's box.
	(update_appearance): Create or destroy the save widgets as
	appropriate.  Set the action of the save_file_name_entry here.
	(shortcuts_add_current_folder): Set the active item in the
	save_folder_combo only if it exists.
	(gtk_file_chooser_default_set_property): Don't set the action of
	the save_file_name_entry here.
	(gtk_file_chooser_default_update_current_folder): Set the base
	folder of the save_file_name_entry only if the entry exists.
	(shortcuts_drag_data_received_cb): Cast the selection_data->data
	to (const char *) since that's what shortcuts_drop_uris() expects.
	(file_list_drag_data_received_cb): Likewise, for
	g_uri_list_extract_uris().
2005-09-27 22:03:45 +00:00
Federico Mena Quintero
ab468d6f14 Merged from HEAD:
2005-09-27  Federico Mena Quintero  <federico@ximian.com>

	Merged from HEAD:

	* gtk/gtkfilechooserdefault.c (update_chooser_entry): If the
	selection is empty, clear the file name entry only if we are in
	CREATE_FOLDER mode.  In SAVE mode, nothing will be selected when
	the user starts typeahead in the treeview, and we don't want to
	clear the file name entry in that case --- the user could be
	typing-ahead to look for a folder name.  Fixes bug #308332, patch
	by Jürg Billeter.
2005-09-27 21:31:44 +00:00
Matthias Clasen
25715c3e29 Bump version 2005-09-27 15:55:56 +00:00
Matthias Clasen
88de2b3ec7 2.8.4 2005-09-27 14:35:33 +00:00
Tor Lillqvist
ca488d49a1 Set the shaped flag here, too. (#316871)
2005-09-26  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkwindow-win32.c (gdk_window_shape_combine_mask): Set
	the shaped flag here, too. (#316871)
	(gdk_window_shape_combine_region): Currently unimplemented, so
	don't do anything to the shaped flag here.
2005-09-26 20:54:29 +00:00
Matthias Clasen
a7f47a40cf Fix #316871, reported by Dan Winship:
2005-09-26  Matthias Clasen  <mclasen@redhat.com>

	Fix #316871, reported by Dan Winship:

	* gdk/gdkwindow.h (struct _GdkWindowObject): Add a shaped flag.

	* gdk/x11/gdkwindow-x11.c (gdk_window_shape_combine_mask)
	(gdk_window_shape_combine_region): Set it here.

	* gdk/gdkwindow.c (gdk_window_invalidate_maybe_recurse): Don't
	remove the child area for shaped windows.
2005-09-26 20:28:35 +00:00
Alessio Frusciante
e735139d68 Updated Italian translation. 2005-09-26 19:50:59 +00:00
Christian Rose
b3aa6a8cac Updated Swedish translation.
2005-09-25  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.
2005-09-24 22:47:57 +00:00
Priit Laes
8fb41e93d3 Translation updated by Ivar Smolin.
2005-09-24  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-09-24 20:42:48 +00:00
Matthias Clasen
1b7d3176f5 Don't leak expander pixbufs. (#316946, Tommi Komulainen)
2005-09-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_finalize):
	Don't leak expander pixbufs.  (#316946, Tommi Komulainen)
2005-09-23 16:36:30 +00:00
Matthias Clasen
596dbc3ce8 Fix the documentation for the grab-broken-event signal, noticed by Damon
2005-09-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_class_init): Fix the documentation
	for the grab-broken-event signal, noticed by Damon Chaplin.
2005-09-22 14:48:10 +00:00
Tor Lillqvist
cd90db1183 Don't need to call g_free() on a value known to be NULL.
2005-09-21  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkselection-win32.c
	(_gdk_win32_selection_convert_to_dib): Don't need to call
	g_free() on a value known to be NULL.
2005-09-20 23:04:57 +00:00
Tor Lillqvist
897cf3b056 Free return value from gdk_atom_name().
2005-09-21  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkselection-win32.c (gdk_selection_convert,
	gdk_text_property_to_text_list_for_display,
	gdk_text_property_to_utf8_list_for_display,
	gdk_win32_selection_add_targets,
	_gdk_win32_selection_convert_to_dib): Free return value from
	gdk_atom_name().
	(gdk_text_property_to_text_list_for_display): Drop GError variable
	that isn't actually used after being set.
2005-09-20 22:58:58 +00:00
Tor Lillqvist
099eec9a9f Do return the correct owner for CLIPBOARD (i.e., the owner of the Windows
2005-09-20  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkselection-win32.c
	(gdk_selection_owner_get_for_display): Do return the correct owner
	for CLIPBOARD (i.e., the owner of the Windows Clipboard, if it is
	a window GDK knows about). The reason to return NULL seems to have
	gone when in the fix for bug #163702 the artificial
	GDK_SELECTION_CLEAR event generation was removed from
	gdk_selection_send_notify_for_display(). Fixes bug #316552.
2005-09-20 07:51:22 +00:00
Matthias Clasen
834e201312 More typo fixes 2005-09-19 18:57:53 +00:00
Matthias Clasen
3504894d6e Fix a typo in the docs. (#316419, Guillaume Cottenceau)
2005-09-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_scroll_to_path): Fix a typo in the docs.  (#316419,
	Guillaume Cottenceau)
2005-09-19 18:53:40 +00:00
Matthias Clasen
0d74b72f3e Use g_list_nth_data() instead of g_list_nth()->data in multiple places to
2005-09-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c: Use g_list_nth_data() instead of g_list_nth()->data
	in multiple places to avoid segfaults if the index is out of range.
	(#316422, Guillaume Cottenceau)
2005-09-19 18:40:18 +00:00
Tim Janik
8ef635d70f fix bug #316180. gtk_window_map_event(): new function to work around lost
Fri Sep 16 14:00:20 2005  Tim Janik  <timj@imendio.com>

        * gtk/gtkwindow.c: fix bug #316180.
        gtk_window_map_event(): new function to work around lost unmap requests.
2005-09-16 12:00:42 +00:00
Tor Lillqvist
1cfa260e5f Check whether the widget actually is a GtkNotebook before treating it as
2005-09-16  Tor Lillqvist  <tml@novell.com>

	* modules/engines/ms-windows/msw_style.c (draw_extension,
	draw_box_gap): Check whether the widget actually is a GtkNotebook
	before treating it as such. Drop some unneeded local variables,
	use parameter with same information instead. (#316412)
2005-09-15 22:10:20 +00:00
Federico Mena Quintero
9fe8aa7720 List all the default key bindings. Fix the documentation for the
2005-09-15  Federico Mena Quintero  <federico@ximian.com>

	* gtk/tmpl/gtkfilechooser.sgml: List all the default key bindings.
	Fix the documentation for the "location-popup" binding signal; its
	"path" argument was not listed.  Mention a tip to have a crude
	form of bookmarks accessible through key bindings.
2005-09-15 17:16:45 +00:00
Žygimantas Beručka
2a0d8d75d6 Updated Lithuanian translation.
2005-09-15  Žygimantas Beručka  <zygis@gnome.org>

        * lt.po: Updated Lithuanian translation.
2005-09-15 11:59:11 +00:00
Runa Bhattacharjee
77ddd7a36c Added Entry for Bengali (bn) Translation updation:14/09 2005-09-14 14:44:16 +00:00
Runa Bhattacharjee
10e0f1987d Updated Bengali (bn) Translation:14/09 2005-09-14 14:44:00 +00:00
Matthias Clasen
8c4c96adc7 Fix a use-after-free bug. (#316256, Alexander Nedotsukov)
2005-09-14  Matthias Clasen  <mclasen@redhat.com>

	* gtk/updateiconcache.c (foreach_remove_func): Fix
	a use-after-free bug.  (#316256, Alexander Nedotsukov)
2005-09-14 03:13:24 +00:00
Federico Mena Quintero
61011d78f4 Turn off profiling for the stable branch (#undef PROFILE_FILE_CHOOSER).
2005-09-13  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c: Turn off profiling for the stable
	branch (#undef PROFILE_FILE_CHOOSER).
2005-09-13 20:13:48 +00:00
Matthias Clasen
59bfd418f8 Fix typos in the docs. (#316008, #316027, #316121, Guillaume Cottenceau)
2005-09-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_class_init):
	(gtk_icon_view_get_dest_item_at_pos):  Fix typos in the
	docs.  (#316008, #316027, #316121, Guillaume Cottenceau)
2005-09-13 17:53:06 +00:00
Matthias Clasen
76759f3410 Add some docs. (#316001, Guillaume Cottenceau)
2005-09-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Add some docs.
	(#316001, Guillaume Cottenceau)
2005-09-13 17:34:00 +00:00
Matthias Clasen
74da02e12e Fix a copy-and-paste mistake in the docs. (#315993, Guillaume Cottenceau)
2005-09-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_set_icon_name): Fix a copy-and-paste
	mistake in the docs.  (#315993, Guillaume Cottenceau)
2005-09-13 17:19:06 +00:00
Matthias Clasen
e4c92bc39d Add some strings containing multibyte characters.
2005-09-13  Matthias Clasen  <mclasen@redhat.com>

	* tests/testentrycompletion.c (create_simple_completion_model): Add
	some strings containing multibyte characters.

	* gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix):
	Fix prefix insertion for multibyte characters.  (#316095,
	Tommi Komulainen)
2005-09-13 15:11:43 +00:00
Matthias Clasen
bd3c57680e Clarify docs for ::insert-text signal. (#316094, Tommi Komulainen)
2005-09-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkeditable.sgml: Clarify docs
	for ::insert-text signal.  (#316094, Tommi
	Komulainen)
2005-09-13 14:26:04 +00:00
Matthias Clasen
e02da6db6e Silently return NULL if the widget is not realized. (#316023, Guillaume
2005-09-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_create_row_drag_icon):
	* gtk/gtkiconview.c (gtk_icon_view_create_drag_icon): Silently
	return NULL if the widget is not realized.  (#316023,
	Guillaume Cottenceau)
2005-09-13 13:40:45 +00:00
Amanpreet Singh Alam
18f28738c3 update by amanpreetalam@yahoo.com for Punjabi 2005-09-13 07:43:43 +00:00
Rajesh Ranjan
44a2993b28 updated by rajeshkajha@yahoo.com 2005-09-13 07:37:32 +00:00
Nguyen Thai Ngoc Duy
d479089f90 Updated Vietnamese translation 2005-09-11 12:26:40 +00:00
Matthias Clasen
6648dc472c Make drag reordering work properly for columns other than the first.
2005-09-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_event):
	Make drag reordering work properly for columns other than the
	first.  (#315054, Dan Winship)
2005-09-09 21:43:01 +00:00
Matthias Clasen
22ee9e6c58 Handle invalid fontnames better. (#315187, Ed Catmur)
2005-09-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfontbutton.c (gtk_font_button_update_font_info): Handle
	invalid fontnames better.  (#315187, Ed Catmur)
2005-09-09 20:03:32 +00:00
Matthias Clasen
d18a438c0c Handle invalid fontnames better. (#136926, Michael R. Walton)
2005-09-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfontsel.c (gtk_font_selection_set_font_name): Handle
	invalid fontnames better. (#136926, Michael R. Walton)
2005-09-09 19:03:03 +00:00
Matthias Clasen
878c63a65f Use connect_after to connect to the focus_out event. This ensures that the
2005-09-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing):
	Use connect_after to connect to the focus_out event. This
	ensures that the entry has already stopped blinking by the time
	we emit the edited signal.  (#315229, Thomas Leonard)
2005-09-09 18:39:52 +00:00
Matthias Clasen
51c6946dfb Don't set unsigned ints to -1. (#315481, Kjartan Maraas)
2005-09-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwindow.c (gtk_window_parse_geometry): Don't set
	unsigned ints to -1.  (#315481, Kjartan Maraas)
2005-09-09 17:49:16 +00:00
Matthias Clasen
bd327b904e first_weekday is relative to week_1stday, not to Sunday. Gotta love the
2005-09-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcalendar.c (gtk_calendar_init): first_weekday is relative
	to week_1stday, not to Sunday. Gotta love the ISO 14652 guys...
	(#314473, Stanislav Brabec)
2005-09-09 16:30:09 +00:00
Matthias Clasen
922f4b758d Document memory handling. (#314975, Torsten Schoenfeld)
2005-09-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_get_visible_range): Document
	memory handling.  (#314975, Torsten Schoenfeld)
2005-09-09 16:27:19 +00:00
Clytie Siddall
10b0e1f552 vi.po: Updated Vietnamese translation. 2005-09-09 06:49:23 +00:00
Tor Lillqvist
477dc904aa Typo. 2005-09-08 23:48:35 +00:00
Tor Lillqvist
afb3753cee Cache the display name. There is only one GdkDisplay on Win32, and
2005-09-09  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): Cache the
	display name. There is only one GdkDisplay on Win32, and
	constructing the display name isn't entirely trivial, so cacheing
	is probably worth it. For instance GIMP calls this function a lot.
	(gdk_display_open): Call gdk_display_get_name() to prime the
	cached name.
	(gdk_display_get_n_screens, gdk_display_get_screen,
	gdk_display_get_default_screen): Verify parameter correctness like
	the X11 backend does.

	* gdk/win32/gdkscreen-win32.c (gdk_screen_make_display_name):
	Return a freshly allocated string, as the API specifies. Fixes a
	heap corruption problem that caused random errors and crashes in
	GIMP, for instance.
2005-09-08 22:37:57 +00:00
Christophe Merlet
2220844829 Updated French translation. 2005-09-07 22:23:59 +00:00
Christophe Merlet
b308f4bb7f Updated French translation. 2005-09-07 20:59:12 +00:00
Christophe Merlet
dd82bb711d Updated French translation. 2005-09-07 20:53:19 +00:00
Clytie Siddall
8e4ed16d9d vi.po: Updated Vietnamese translation. 2005-09-07 04:27:44 +00:00
Matthias Clasen
7d5a80c6e6 Tell xgettext about all the printf-like functions we use. 2005-09-06 16:13:59 +00:00
Alexander Shopov
3ddd8080e4 Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>
2005-09-06  Alexander Shopov  <ash@contact.bg>

	* bg.po: Updated Bulgarian translation by
	Alexander Shopov <ash@contact.bg>
2005-09-06 13:31:14 +00:00
Inaki Larranaga
18f9b50665 Updated Basque translation.
2005-09-05  Inaki Larranaga  <dooteo@euskalgnu.org>

	* eu.po: Updated Basque translation.
2005-09-06 06:53:49 +00:00
Baris Cicek
b3549a7813 Updated Turkish Translation 2005-09-05 18:55:48 +00:00
Matthias Clasen
73060c73fa Set the label of a button if it has no child. (#315253, John Finlay)
2005-09-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaction.c (connect_proxy): Set the label of a button
	if it has no child.  (#315253, John Finlay)
2005-09-05 18:45:33 +00:00
Matthias Clasen
3500552ac9 Fix some typos. (#315208, Vincent Untz)
2005-09-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkpaned.sgml: Fix some typos.
	(#315208, Vincent Untz)
2005-09-05 18:25:15 +00:00
Baris Cicek
4e0391e73f Updated turkish translation 2005-09-05 17:20:57 +00:00
Raphael Higino
e2573ade4f Updated pt_BR translation 2005-09-04 22:24:10 +00:00
Priit Laes
01635ceb4b Translation updated by Ivar Smolin.
2005-09-04  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-09-04 20:33:32 +00:00
Ignacio Casal Quinteiro
d64ae9b682 *** empty log message *** 2005-09-04 18:05:12 +00:00
Danilo Šegan
b45279ee5b Updated Serbian translation. 2005-09-03 19:00:52 +00:00
Chao-Hsiung Liao
b199e7e7de Updated Traditional Chinese translation.
2005-09-03  Chao-Hsiung Liao  <j_h_liau@yahoo.com.tw>

	* zh_TW.po: Updated Traditional Chinese translation.
2005-09-03 07:06:58 +00:00
Matthias Clasen
38aec4a63e Disconnect idle handlers on destroy to avoid problems when they are called
2005-09-02  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c (gtk_entry_destroy): Disconnect idle handlers
	on destroy to avoid problems when they are called on a destroyed
	widget.  (#315135, John Cupitt)
2005-09-02 19:51:06 +00:00
Matthias Clasen
9dfc161c87 If the window is destroyed, we still need to deliver the destroy event.
2005-09-02  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmain.c (gtk_get_event_widget): If the window is destroyed,
	we still need to deliver the destroy event.  (#314980, Chris Lahey)
2005-09-02 17:31:53 +00:00
Alexander Larsson
1c705dd477 Handle base_path being null in the rest of the cases (#310270)
2005-09-02  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkfilechooserdefault.c: (shortcuts_add_volumes),
	(shortcuts_activate_volume):
	Handle base_path being null in the rest of the cases (#310270)
2005-09-02 13:31:45 +00:00
Jordi Mallach
c9e6506fa0 Added empty file to fix GTK+ build.
2005-09-02  Jordi Mallach  <jordi@sindominio.net>

	* ku.po: Added empty file to fix GTK+ build.
2005-09-02 09:04:28 +00:00
Rajesh Ranjan
be1977f4ea udted by rranjan 2005-09-02 08:18:20 +00:00
Tor Lillqvist
7e6a27464a Keep track of cursor position also in root window coordinates. Prune out
2005-09-02  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkevents-win32.c (gdk_event_translate): Keep track of
	cursor position also in root window coordinates. Prune out
	superfluous WM_MOUSEMOVE events even earlier, based on root window
	coordinates. Windows sends WM_MOUSEMOVE messages after a new
	window has ben mapped below the cursor even if the mouse doesn't
	move. We used to generate GDK_MOTION_NOTIFY in these cases. This
	confused at least gtk_menu_motion_notify(). (#314995)

	* gtk/gtkintl.h: No need to include config.h here. It caused
	warnings about GTK_LOCALEDIR being redefined on Win32 when
	compiling files where gtkintl.h is included after gtkprivate.h
	(which #undefines and re-#defines GTK_LOCALEDIR on Win32).
2005-09-02 01:11:57 +00:00
Rajesh Ranjan
fd065333eb udt by rranjan@redhat.com 2005-09-01 14:43:14 +00:00
Matthias Clasen
3d74f1d64b Fix doc typo. (#314921, Guillaume Cottenceau)
2005-09-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaction.c (gtk_action_get_accel_closure): Fix doc
	typo.  (#314921, Guillaume Cottenceau)
2005-09-01 13:12:03 +00:00
Leonid Kanter
17267663ad Update Russian translation 2005-09-01 10:48:38 +00:00
Baris Cicek
48817f35e3 Added ku to ALL_LINGUAS 2005-08-31 14:22:33 +00:00
Baris Cicek
6823afb03d Added ku.po 2005-08-31 14:19:40 +00:00
Leonid Kanter
3d52e58cdd Updated Russian translation 2005-08-31 10:54:08 +00:00
Kjartan Maraas
f16215fd66 Updated Norwegian bokmål translation. Same
2005-08-31  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Updated Norwegian bokmål translation.
	* no.po: Same
2005-08-31 08:04:49 +00:00
Alexander Shopov
1d1b02b9a4 Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>
2005-08-31  Alexander Shopov  <ash@contact.bg>

	* bg.po: Updated Bulgarian translation by
	Alexander Shopov <ash@contact.bg>
2005-08-31 05:09:10 +00:00
Matthias Clasen
9d6836145a Bump version 2005-08-29 18:38:35 +00:00
Matthias Clasen
3ed761f3ba 2.8.3 2005-08-29 18:29:12 +00:00
Matthias Clasen
20816d91eb Only cancel if the menu was active. (#314298, Christian Persch, analysis
2005-08-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmenu.c (gtk_menu_grab_notify): Only cancel if the menu
	was active.  (#314298, Christian Persch, analysis by Mark McLoughlin)
2005-08-29 14:51:17 +00:00
Matthias Clasen
47daaa2e88 Remove an accidentally leftover duplicate pixbuf creation. (#314700,
2005-08-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconcache.c (_gtk_icon_cache_get_icon): Remove an
	accidentally leftover duplicate pixbuf creation.  (#314700,
	Kjartan Maraas)
2005-08-29 05:05:13 +00:00
Matthias Clasen
bd60a8f839 Don't leak the cursor theme name. (#314693, Kjartan Maraas)
2005-08-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtksettings.c (settings_update_cursor_theme): Don't
	leak the cursor theme name.  (#314693, Kjartan Maraas)
2005-08-29 04:47:20 +00:00
Matthias Clasen
767cd6abd9 Free state.children in all cases. (#313862, Kjartan Maraas)
2005-08-29  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkasync.c (_gdk_x11_get_window_child_info): Free
	state.children in all cases.  (#313862, Kjartan Maraas)
2005-08-29 04:37:11 +00:00
Jordi Mallach
045b188be0 Updated Catalan translation from HEAD. 2005-08-29 00:04:41 +00:00
Evandro Fernandes Giovanini
84db15f503 Updated Brazilian Portuguese translation.
2005-08-28  Evandro Fernandes Giovanini <evandrofg@ig.com.br>

	* pt_BR.po: Updated Brazilian Portuguese translation.
2005-08-28 23:17:18 +00:00
Francisco Javier F. Serrador
2feb926544 Updated Spanish translation
005-08-28  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation
2005-08-28 18:25:13 +00:00
Jordi Mallach
a915d5b34d Updated Catalan translation by Xavier Conde. 2005-08-27 12:11:14 +00:00
Christophe Merlet
017eceaad2 Updated French translation. 2005-08-27 12:09:53 +00:00
Christophe Merlet
15a7fbbb12 Updated French translation. 2005-08-27 12:08:22 +00:00
Matthias Clasen
b9e87239a8 Fix the default value of the ui property.
2005-08-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkuimanager.c (gtk_ui_manager_class_init): Fix the default
	value of the ui property.
2005-08-27 04:29:46 +00:00
Matthias Clasen
a37a5febe8 Don't warn when G_MAXLONG is passed as length.
2005-08-27  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkproperty-x11.c (gdk_property_get): Don't warn
	when G_MAXLONG is passed as length.
2005-08-27 04:23:04 +00:00
Matthias Clasen
50221cc0ea Updates.
2005-08-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtk-update-icon-cache.xml:
	* gtk/gtk-update-icon-cache.1: Updates.
2005-08-26 19:03:25 +00:00
Matthias Clasen
c8c087e2fe Avoid an uninitialized variable warning, pointed out by Colin Walters.
2005-08-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkicontheme.c (theme_lookup_icon): Avoid an uninitialized
	variable warning, pointed out by Colin Walters. (#314585)
2005-08-26 16:32:07 +00:00
Tor Lillqvist
4586870479 Remove some ifdeffed out debugging printouts.
2005-08-26  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkfilesystemwin32.c: Remove some ifdeffed out debugging
	printouts.
	(gtk_file_system_win32_parse): Don't mishandle UNC paths. (#314519)
2005-08-26 13:47:57 +00:00
Matthias Clasen
1dd674cfbb Fix the calculation of week_start. (#314473, JP Rosevaar)
2005-08-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcalendar.c (gtk_calendar_init): Fix the calculation
	of week_start.  (#314473, JP Rosevaar)
2005-08-26 06:27:11 +00:00
Thomas Fitzsimmons
86c3f0ed56 Acquire GDK lock. (#314533, Thomas Fitzsimmons)
2005-08-25  Thomas Fitzsimmons  <fitzsim@redhat.com>

	* gtk/gtkfilesystemmodel.c (idle_finished_loading_cb): Acquire GDK
	lock.  (#314533, Thomas Fitzsimmons)
2005-08-26 03:53:29 +00:00
Matthias Clasen
b33b49d6fb Handle NULL gracefully. (#314523, Ed Catmur)
2005-08-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores): Handle
	NULL gracefully.  (#314523, Ed Catmur)
2005-08-26 03:05:14 +00:00
Owen Taylor
3c0ca31948 Handle theme == NULL.
2005-08-25  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkcursor-x11.c (gdk_x11_display_set_cursor_theme):
        Handle theme == NULL.
2005-08-25 19:22:20 +00:00
Matthias Clasen
70bce53b8e Take widget y offset into account when positioning the popup. (#314470,
2005-08-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmenutoolbutton.c (menu_position_func): Take widget
	y offset into account when positioning the popup.  (#314470,
	Christian Persch)
2005-08-25 18:12:07 +00:00
Owen Taylor
ebc47dba8d Add missing bug number 2005-08-25 18:01:01 +00:00
Owen Taylor
1cfd18662b Use gdk_screen_init as instance_init, not base_init! (Fix from Frederic
2005-08-25  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkscreen.c (gdk_screen_get_type): Use gdk_screen_init
        as instance_init, not base_init! (Fix from Frederic Crozat,
        reported by Joe Marcus Clarke). Trivial cleanup: use -1.
        rather than -1 for a negative flag value.
2005-08-25 17:53:03 +00:00
1108 changed files with 166136 additions and 560502 deletions

View File

@@ -19,7 +19,6 @@ stamp-h.in
gtk+.spec
gtk+-2.0.pc
gtk+-2.0-uninstalled.pc
gtk+-unix-print-2.0.pc
gtk+-linux-fb-2.0.pc
gtk+-nanox-2.0.pc
gtk+-x11-2.0.pc

20
AUTHORS
View File

@@ -1,12 +1,12 @@
Please do not mail any of the authors listed here
asking questions about this version of GTK+.
Original Authors
----------------
Peter Mattis <petm@xcf.berkeley.edu>
Spencer Kimball <spencer@xcf.berkeley.edu>
Josh MacDonald <jmacd@xcf.berkeley.edu>
Please do not mail the original authors asking questions about this
version of GTK+.
The GTK+ Team (in alphabetical order)
-------------------------------------
Shawn T. Amundson <amundson@gtk.org>
@@ -32,7 +32,7 @@ There are many others who have contributed patches; we thank them,
GTK+ is much better because of them.
Over time, GTK+ has incorporated some pieces of software which
Over time, TK+ has incorporated some pieces of software which
started as independent projects. We list the original authors here:
@@ -51,15 +51,3 @@ IME input method
----------------
Takuro Ashie
Kazuki IWAMOTO
Mac OS X backend
----------------
Anders Carlsson
DirectFB backend
----------------
Denis Oliver Kropp
Sven Neumann
Mike Emmel

5049
ChangeLog

File diff suppressed because it is too large Load Diff

View File

@@ -1,514 +0,0 @@
2006-04-30 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilesystem.[ch] (gtk_file_info_render_icon): remove the
caching code,
(gtk_file_info_get_icon_name): new function,
(gtk_file_system_volume_get_icon_name): new function,
(gtk_file_system_volume_render_icon): refactor to use
get_icon_name() and render the icon on the fly.
* gtk/gtkfilesystemunix.c (gtk_file_system_unix_volume_render_icon),
(gtk_file_system_unix_volume_get_icon_name): reflect updates in
file system interface,
(get_fallback_icon): remove, along with icon caching code.
* gtk/gtk.symbols: updated.
2006-04-30 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilesystemmodel.c (got_root_folder_cb), (ref_path_cb),
(get_children_get_folder_cb): don't leak the handle,
(got_root_folder_cb), (get_children_get_folder_cb): emit
row-inserted for the newly added nodes.
2006-04-30 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilechooserdefault.c (file_list_drag_data_select_uris),
(file_list_drag_data_received_get_info_cb),
(file_list_drag_data_received_cb): refactor code for selecting
multiple uris into file_list_drag_data_select_uris().
2006-04-23 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilechooserbutton.c (dnd_select_folder_get_info_cb): don't
leak handle,
(change_icon_theme_get_info_cb), (set_info_get_info_cb),
(model_add_special_get_info_cb), (update_label_get_info_cb): ditto.
* gtk/gtkfilechooserdefault.c (shortcuts_reload_icons_get_info_cb):
don't leak the handle,
(get_file_info_finished), (edited_idle_create_folder_cb),
(file_list_drag_data_received_get_info_cb),
(show_and_select_paths_get_folder_cb),
(update_current_folder_get_info_cb), (add_shortcut_get_info_cb),
(confirmation_confirm_get_info_cb), (action_create_folder_cb),
(save_entry_get_info_cb), (shortcuts_activate_volume_mount_cb),
(shortcuts_activate_get_info_cb), (update_from_entry_get_info_cb):
ditto.
* gtk/gtkfilechooserentry.c (load_directory_get_folder_callback):
don't leak the handle.
* gtk/gtkpathbar.c (set_button_image_get_info_cb),
(gtk_path_bar_get_info_callback): don't leak the handle.
2006-04-23 Kristian Rietveld <kris@imendio.com>
Review.
* gtk/gtkfilechooserdefault.c (shortcuts_reload_icons_get_info_cb):
don't forget to unref data->impl at the end.
2006-04-23 Kristian Rietveld <kris@imendio.com>
Review, continued.
* gtk/gtkfilechooserdialog.c (response_cb): set response_requested
to FALSE after stopping emission of the response signal.
2006-03-16 Kristian Rietveld <kris@imendio.com>
More review work.
* gtk/gtkfilechooserprivate.h: remove idle_finished_loading_source
from GtkFileSystemModel.
* gtk/gtkfilesystemmodel.c (gtk_file_system_model_finalize): remove
idle_finished_loading_source,
(idle_finished_loading_cb), (queue_finished_loading): removed,
(got_root_folder_cb): save a list walk, immediately emit
finished-loading and don't queue it, since we are already in an
idle here, always list_children() so the children the folder already
has are returned,
(_gtk_file_system_model_new): handle the case where NULL is
returned by _get_folder(),
(_gtk_file_system_model_path_do): remove comment, and append the
new handle to the list, don't try to remove,
(get_children_get_folder_cb): save a list walk, remove the dummy
child if the _get_folder() call fails or is cancelled.
2006-03-14 Kristian Rietveld <kris@imendio.com>
More suggestions from Federico.
* gtk/gtkfilesystemunix.c (gtk_file_system_unix_create_folder):
remove check for filename_is_root(), since we never hit that code
and else mkdir will fail anyway,
(gtk_file_system_unix_create_folder): fixup parent folder refresh
code.
2006-03-14 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilesystemunix.c (read_hidden_file), (fill_in_hidden),
(get_is_hidden_for_file): factor out g_file_get_contents() code
in read_hidden_file(). (Federico Mena Quintero).
2006-03-14 Kristian Rietveld <kris@imendio.com>
Icon name code suggestions by Federico Mena Quintero.
* gtk/gtkfilesystemunix.c: add GTK_FILE_INFO_ICON to
STAT_NEEDED_MASK,
(get_fallback_icon_name), (get_fallback_icon),
(get_icon_name_for_directory), (get_special_icon_name): get rid
of strdups,
(get_icon_type_from_path): add a statbuf argument and use the
statbuf when folder_unix is NULL,
(create_file_info): adapt to work with above changes.
2006-03-14 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_info): path
is NULL is an error here (gtk_file_system_get_info() already guards
path = NULL),
(gtk_file_system_unix_get_info): move basename creation to just
before create_file_info(). (Federico Mena Quintero).
2006-03-14 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilesystemunix.c (struct _GtkFileFolderUnix): add
load_folder_id field,
(load_folder): add thread enter/leave construct, set load_folder_id
to zero since we have the idle removed when we return,
(gtk_file_system_unix_get_folder): initialize load_folder_id to 0
and store the source id of the load_folder idle,
(gtk_file_folder_unix_finalize): remove the load_folder idle
if necessary. (Federico Mena Quintero).
2006-03-14 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder): return
NULL if there is no current folder path.
* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_map): we
reload the current folder if there is one, else we continue the
still pending load.
2006-03-14 Kristian Rietveld <kris@imendio.com>
Couple of fixes from Markku Vire.
* gtk/gtkfilesystem.c (gtk_file_info_copy): also strdup icon_name
and display_key.
* gtk/gtkfilesystemunix.c (gtk_file_system_unix_create_folder):
initialize error to NULL,
(gtk_file_folder_unix_list_children): return an empty list for now if
we couldn't read the directory.
2005-12-23 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb),
(gtk_file_chooser_default_update_current_folder): set and unset
busy cursor while checking whether the given path is a folder.
2005-12-23 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilesystem.h: change the GtkFileInfo argument of the
GetInfoCallback to be const.
* gtk/gtkfilechooserbutton.c, gtk/gtkfilechooserdefault.c,
gtk/gtkpathbar.c: changes functions to reflect the above change.
2005-12-23 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilechooserdefault.c, gtk/gtkfilechooserprivate.h: keep track
of handles, cancel all pending operations on dispose.
2005-12-23 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilechooserprivate.h (struct _GtkFileSystemModel): add
pending_handles field,
(struct _FileModelNode): add load_pending flag.
* gtk/gtkfilesystemmodel.c (gtk_file_system_model_dispose): introduce,
cancel all pending operations here,
(got_root_folder_cb), (_gtk_file_system_model_new), (ref_path_cb),
(_gtk_file_system_model_path_do): keep track of all pending
operations, handle cancelled operations.
2005-12-23 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_finalize),
(gtk_file_chooser_button_destroy): move all handle cancellations
and object unrefs to destroy.
* gtk/gtkpathbar.c (gtk_path_bar_finalize), (gtk_path_bar_dispose):
likewise.
* gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_class_init):
add dispose,
(gtk_file_chooser_entry_dispose): cancel handles and unrefs
objects here instead of finalize.
2005-12-23 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilesystem.c (get_cached_icon): check if "name" is an
absolute path, if so load the icon from that file.
* gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): fix
the build.
2005-12-21 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): remove
the FIXME since it doesn't make sense, when we return a cached
folder we won't emit finished-loading either,
(gtk_file_system_unix_create_folder): remove unused variable,
(gtk_file_folder_unix_list_children): remove unused code,
(get_is_hidden_for_file): new function,
(create_file_info): also handle getting is_hidden when called
without a folder unix (from _system_get_info() for example).
2005-12-20 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilechooserdefault.c (check_is_folder): fully removed!
woo!,
(check_save_entry): add is_folder argument,
(gtk_file_chooser_default_get_paths): update check_save_entry() call,
(get_display_name_for_folder): removed,
(confirmation_confirm_get_info_cb): new function which will
handle the confirmation dialog now we have all information for it,
(should_respond_after_confirm_overwrite): replace the call to
get_display_name_for_folder() with an asynchronous solution,
(action_create_folder_cb): request dialog response on successfull
folder creation,
(gtk_file_chooser_default_should_respond): update call to
check_save_entry(); replace the check is folder call for "path"
by just using the is_folder return value from check_save_entry();
replaced the check is folder call for "parent_path" with an
asynchronous setup, remainder of that work is now done in
save_entry_get_info_cb(),
(save_entry_get_info_cb): new function.
* gtk/gtkfilechoosermebed.[ch]: add response-requested signal.
* gtk/gtkfilechooserdialog.c, gtk/gtkfilechooserprivate.h: handle
response_requested signal.
* gtk/gtkfilechooserentry.[ch]
(_gtk_file_chooser_entry_get_is_folder): new function.
2005-12-20 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilechooserdefault.c (ref_path_cb): when called with
!folder, check if node is the node we are looking for (can be
triggered when we call ref_path_cb ourselves after a find_child_node),
(_gtk_file_system_model_path_do): introduce parent_node field;
after finding a child node in a loaded parent node, don't forget
to call ref_path_cb,
(get_children_get_folder_cb): don't forget to set data->node->folder
to the newly acquired folder.
2005-12-20 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilechooserdefault.c (show_and_select_paths_get_folder_cb):
handle case where the folder we get already finished loading.
* gtk/gtkfilesystemmodel.c (ref_path_cb),
(_gtk_file_system_model_path_do): make this work.
2005-12-19 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilechooserdefault.c (shortcuts_update_count): modify
in such a way that it can also negatively update the count on
failures,
(get_file_info_finished): handle failures, update save folder
combo box on success,
(shortcuts_insert_path): change the boolean return value into a
void one, also refilter the model and update the save folder combo
box for the non-asynchronous case,
(shortcuts_append_home), (shortcuts_append_desktop),
(shortcuts_add_volumes), (shortcuts_add_current_folder),
(add_shortcuts_get_info_cb): adapt to shortcuts_insert_path() updates.
2005-12-19 Kristian Rietveld <kris@imendio.com>
* gtk/gtkpathbar.[ch]: add handle fields to ButtonData and
GtkPathBar; do correct handle bookkeeping.
* gtk/gtkfilesystemunix.c (load_folder),
(gtk_file_system_unix_get_folder),
(gtk_file_folder_unix_is_finished_loading): add is_finished_loading
field to GtkFileFolderUnix, which is set to true once we are
really finished with loading (previous assumption that we are
always finshed loading is not true anymore).
* gtk/gtkfilesystemmodel.c (got_root_folder_cb): if the folder is
finished loading, list the children and update the root level.
* gtk/gtkfilechooserdefault.c (update_current_folder_get_info_cb):
handle cancellation.
2005-12-16 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilesystemunix.c: always call the callback, even when
cancelled; ref handles passed to the callback queue functions;
don't set cancelled to TRUE in _cancel_operation(), since operations
in this backend are always completed,
(get_special_icon_name): don't strdup the value of
get_icon_name_for_directory() again.
* gtk/gtkfilechooserbutton.c: adapt to new cancellation policy;
reference all objects which are passed as callback arguments; in the
callback check if the handles match.
* gtk/gtkfilechooserentry.c: likewise.
* gtk/gtkfilechooserdefault.c: likewise. Also changed the shortcut
loading code to be more like the code in GtkFileChooserButton, where
we store all handles in the model and have model_row_free_data
cancel any pending operations,
(shortcuts_model_create): copy the error.
* gtk/gtkfilechooserprivate.h (struct _GtkFileChooserDefault): remove
loading_volumes and loading_bookmarks fields.
* gtk/gtkfilesystem.c (gtk_file_info_free): free icon_name here...
2005-12-13 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilechooserdefault.c (edited_idle_create_folder_cb): fix
thinko.
* gtk/gtkfilesystemunix.c (dispatch_create_folder_callback),
(queue_create_folder_callback): need to copy/free the path,
(gtk_file_system_unix_create_folder): put the "reget folder" hack
back in, though it's working different now.
2005-12-13 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_finalize),
(dnd_select_folder_get_info_cb), (gtk_file_chooser_drag_data_received),
(change_icon_theme_get_info_cb), (change_icon_theme),
(model_add_special_get_info_cb), (model_add_special),
(update_label_get_info_cb), (update_label_and_image): cancel existing
operations, if any; added apprioriate fields to
GtkFileChooserButtonPrivate.
2005-12-13 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_finalize): if
there's a folder loading, cancel the operation,
(load_directory_get_folder_callback): set the loading folder handle
to NULL,
(load_directory_callback): cancel any currently loading folders
before starting a new get folder operation.
2005-12-13 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilechooserdefault.c (shortcuts_insert_path): don't overwrite
data if it's already set (for example by the "is volume" case).
2005-12-13 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilechooserbutton.c (set_info_get_info_cb),
(set_info_for_path_at_iter): store a row reference in the temporary
data structure and not an iter,
(model_add_special), (model_update_current_folder),
(gtk_file_chooser_button_add_shorcut_folder): remove unused pixbuf
variable.
2005-12-13 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilechooserdefault.c (get_file_info_finished),
(shortcuts_insert_path): replace gtk_file_system_render_icon() call
with gtk_file_system_get_file_info(),
(gtk_file_chooser_default_add_shortcut_folder),
(gtk_file_chooser_default_remove_shortcut_folder): handle shortcuts
which are still loading.
* gtk/gtkfilechooserprivate.h: add shortcuts_loading field to
struct _GtkFileChooserDefault.
* gtk/gtkfilechooserbutton.c (set_info_get_info_cb),
(set_info_for_path_at_iter), (model_free_row_data): keep handle
and path together; now supports adding/removing shortcuts
which are still loading.
2005-12-13 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilesystem.c: make the cancelled field an GObject property.
2005-12-13 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilesystem.h: make the GError argument in the callbacks
const.
* gtk/gtkfilechooserbutton.c: update callbacks,
* gtk/gtkfilechooserentry.c: likewise,
* gtk/gtkfilechooserdefault.c: likewise,
* gtk/gtkfilesystemmodel.c: likewise,
* gtk/gtkpathbar.c: likewise.
* gtk/gtkfilechooserdefault.c (edited_idle_create_folder_cb): copy
the error which will be passed to error_creating_folder_dialog(),
(action_create_folder_cb): likewise,
(file_list_drag_data_received_get_info_cb): add forgotten GError
declaration.
2005-12-13 Kristian Rietveld <kris@imendio.com>
* gtk/gtkpathbar.c (get_button_image), (set_button_image),
(set_button_image_get_info_cb),
(gtk_path_bar_update_button_appearance): update to new icon
rendering call.
2005-12-09 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilechooserdefault.c (file_list_drag_data_received),
(gtk_file_chooser_default_add_shortcut_folder),
(shortcuts_activate_get_info_cb): replace synchronous check_is_folder
calls with an async gtk_file_system_get_info() solution.
2005-12-09 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilesystem.c (icon_cache_element_free), (icon_theme_changed),
(get_cached_icon), (gtk_file_info_render_icon): implement pixbuf
caching as found in the file system backends.
2005-12-09 Kristian Rietveld <kris@imendio.com>
* gtk/gtk.symbols: updated.
* gtk/gtkfilesystem.[ch] (struct GtkFileInfo): added icon_name field,
(enum GtkFileInfoType): added GTK_FILE_INFO_ICON,
(gtk_file_info_set_icon_name): new function,
(gtk_file_info_render_icon): new function,
(gtk_file_system_render_icon): removed.
* gtk/gtkfilesystemunix.c (gtk_file_system_unix_render_icon): removed,
(create_file_info): fill icon_name field if required,
(get_*_icon): modified to suit create_file_info() better.
* gtk/gtkfilechooserbutton.c: modified to use
gtk_file_info_render_icon() instead of gtk_file_system_render_icon().
* gtk/gtkfilechooserdefault.c: likewise.
2005-12-06 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilechooserdefault.c (get_file_info_finished),
(update_current_folder_get_info_cb): fix mem leaks.
* gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_info): ditto.
* gtk/gtkpathbar.c (gtk_path_bar_set_path_finish): ditto.
2005-12-06 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilechooserbutton.c (dnd_select_folder_get_info_cb),
(gtk_file_chooser_button_drag_data_received): make asynchronous,
(update_label_and_image): remove unused variable.
* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_update_current_folder): split in two
functions, so we can have the is_folder check back.
* gtk/gtkfilechooserprivate.h: add update_current_folder_handle
field.
2005-12-06 Kristian Rietveld <kris@imendio.com>
* gtk/gtkfilechooserdefault.c (show_and_select_paths): fixed a typo.
2005-12-05 Federico Mena Quintero <federico@ximian.com>
(merge from HEAD)
* gtk/gtkfilechooserdefault.c (trap_activate_cb): "event->state &
modifiers", not "event->state && modifiers". Patch by Sadrul
Habib Chowdhury <imadil@gmail.com>. Fixes bug #323073.
2005-12-06 Kristian Rietveld <kris@imendio.com>
Beginnings of an asynchronous file chooser.
* gtk/gtkfilechooserbutton.c: display name and the is folder property
are now asynchronously set using set_info_for_at_path_iter(), the
is folder property is now also stored in the tree model.
* gtk/gtkfilechooserdefault.c: lots of changes to the shortcuts
model code to make it operate asynchronously, check_is_folder() has
been "disabled" for now, all other synchronous calls were
replaced with asychronous ones.
* gtk/gtkfilechooserentry.c: update call to
gtk_file_system_get_folder().
* gtk/gtkfilechooserprivate.h: added two fields.
* gtk/gtkfilesystem.[ch]: for about 85% changed to the changes
outlined in the proposal discussed on gtk-devel-list.
* gtk/gtkfilesystemmodel.[ch]: updated all asynchronous calls,
_gtk_file_system_model_path_do() basically had to be rewritten
(and I still need to finish that).
* gtk/gtkfilesystemunix.c: changed to be compatible with the new
GtkFileSystem interface.
* gtk/gtkpathbar.c (button_clicked_cb): block/unblock the
button_clicked_cb callback around the call to
gtk_toggle_button_set_active(), avoids button_clicked_cb getting
called twice.
(_gtk_path_bar_set_path): refactored to be asynchronous.

View File

@@ -1,500 +0,0 @@
2006-04-17 Matthias Clasen <mclasen@redhat.com>
* docs/tools/widgets.c (get_all_widgets): Add print dialog
and page setup dialog.
2006-04-11 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkpapersize.c (gtk_paper_size_get_display_name):
Call gettext on the standard paper names.
2006-04-11 Alexander Larsson <alexl@redhat.com>
* gdk/gdk.symbols:
* gdk/win32/gdkevents-win32.c:
* gdk/win32/gdkwin32.h:
Add gdk_win32_set_modal_dialog_libgtk_only that we
need for handling the mainloop in the print dialogs.
* gtk/gtkprintoperation-win32.c:
Pump the gtk+ mainloop when needed in the print dialogs.
This means gtk+ windows will redraw while the print dialogs
are up.
2006-04-10 Alexander Larsson <alexl@redhat.com>
* gtk/gtkprintoperation-win32.c:
Better size handling.
Save win32-specific settings in additions to the generic ones
if the generic one is lossy.
2006-04-10 Alexander Larsson <alexl@redhat.com>
* gtk/gtkprintoperation-win32.c:
Finish implementing run_page_setup_dialog.
* gtk/gtkpagesetup.h:
* gtk/gtkpapersize.h:
* gtk/gtkprint-win32.h:
* gtk/gtkprintcontext.h:
* gtk/gtkprinter-private.h:
* gtk/gtkprintoperation-private.h:
* gtk/gtkprintoperation-unix.c:
* gtk/gtkprintoperation.h:
* gtk/gtkprintsettings.h:
s/EGG/GTK/
2006-04-09 Matthias Clasen <mclasen@redhat.com>
* gtk+-unix-print-2.0.pc.in: Fix a typo (#337698)
2006-04-07 Matthias Clasen <mclasen@redhat.com>
* gtk/paper_names_offsets.c:
* gtk/gen-paper-names.c: Correct the suffix/duplicate optimizations.
2006-04-07 Alexander Larsson <alexl@redhat.com>
* gtk/gtkprintoperation-win32.c:
Initial work on gtk_print_run_page_setup_dialog.
Not reading margins yet.
2006-04-07 Alexander Larsson <alexl@redhat.com>
* gtk/Makefile.am:
Link to winspool
* gtk/gtk.symbols:
* gtk/gtkprintoperation-private.h:
* gtk/gtkprintoperation-unix.c:
* gtk/gtkprintoperation.[ch]:
Add gtk_print_operation_get_status_string() and status
string to _gtk_print_operation_set_status.
Rename GTK_PRINT_STATUS_PROCESSING to GTK_PRINT_STATUS_PRINTING.
* gtk/gtkprintoperation-win32.c:
Poll for status updates
* modules/printbackends/cups/gtkprintbackendcups.c:
Rename GTK_PRINT_STATUS_PROCESSING to GTK_PRINT_STATUS_PRINTING.
* tests/print-editor.c:
Show print status string
2006-04-06 Matthias Clasen <mclasen@redhat.com>
* gtk/paper_names_offsets.c:
* gtk/gtkpapersize.c: Save 4K of .data by converting
the array of paper names to offsets.
* gtk/gen-paper-names.c: Utility used to create
paper_names_offsets.c from paper_names.c.
* gtk/Makefile.am: Necessary glue.
2006-04-06 Alexander Larsson <alexl@redhat.com>
* gtk/gtkprintoperation-win32.c:
Use glib base64 code.
Set up manual_* vars fully.
2006-04-06 Alexander Larsson <alexl@redhat.com>
* gtk/Makefile.am:
Add -lcomdlg32 on win32
* gtk/gtkprint-win32.h:
Move WINVER define to .c files
* gtk/gtk.symbols:
* gtk/gtkprintoperation-win32.c:
Add empty gtk_print_run_page_setup win implementation
Move WINVER define to this file
* modules/Makefile.am:
Only build print backends on unix
2006-04-05 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintunixdialog.c:
* gtk/gtkprintoperation-unix.c: Use GTK_RESPONSE_CANCEL/OK
instead of GTK_RESPONSE_REJECT/ACCEPT, to make Esc close
the dialog, and to not use values which are documented
as reserved for apps.
2006-04-05 Alexander Larsson <alexl@redhat.com>
* modules/printbackends/lpr/gtkprintbackendlpr.c:
Don't hardcode lpr command, expose full commandline.
2006-04-05 Alexander Larsson <alexl@redhat.com>
* gtk/gtkpagesetupunixdialog.c:
* gtk/gtkprintunixdialog.c:
Don't check for printer changes after dialog is dead.
* gtk/gtkprintbackend.c: (gtk_print_backend_load_modules):
Strip whitespace from backend strings
* gtk/gtkprintbackend.h:
Add private printer functions
* gtk/gtkprinter-private.h:
Move GtkPrinterPrivate into gtkprinter.c
* gtk/gtkprinter.[ch]:
Move GtkPrinterPrivate into gtkprinter.c
Add new construct properties.
Add setter functions.
* modules/printbackends/cups/gtkprintbackendcups.c:
* modules/printbackends/cups/gtkprintercups.[ch]:
Update to new APIs.
* modules/printbackends/lpr/Makefile.am:
* modules/printbackends/lpr/gtkprintbackendlpr.c:
* modules/printbackends/lpr/gtkprinterlpr.[ch]
Update to new APIs.
Remove GtkPrinterLPR.
Read/Save command line option in settings
* modules/printbackends/pdf/Makefile.am:
* modules/printbackends/pdf/gtkprintbackendpdf.c:
* modules/printbackends/pdf/gtkprinterpdf.[ch]:
Update to new APIs.
Remove GtkPrinterPDF.
2006-04-04 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintoperation.h: Add missing standard
GObject macros. (#337277, Yevgen Muntyan)
2006-04-04 Alexander Larsson <alexl@redhat.com>
* gtk/gtkprinteroption.[ch]:
Add gtk_printer_option_has_choice.
* gtk/gtkprintunixdialog.c:
* modules/printbackends/cups/gtkprintbackendcups.c:
Add support for "print at time".
2006-04-04 Alexander Larsson <alexl@redhat.com>
* gtk/gtkpapersize.c:
Handle ppd names with ".Transverse" suffix
Don't force width < height
* gtk/gtkprinteroption.c:
Make sure that value is never NULL.
* modules/printbackends/cups/gtkprintbackendcups.c:
Add some HP whitelist names
Remove spew from ignored options.
2006-04-03 Alexander Larsson <alexl@redhat.com>
* gtk/gtkpagesetupunixdialog.c:
Fix warnings
* gtk/gtkprinter-private.h:
* gtk/gtkprinter.[ch]:
Add gtk_printer_is_default.
* gtk/gtkprintunixdialog.c:
Use gtk_printer_is_default.
* modules/printbackends/cups/gtkprintbackendcups.c:
Get default printer info
* modules/printbackends/pdf/gtkprintbackendpdf.c:
Fix warning.
2006-04-03 Alexander Larsson <alexl@redhat.com>
* modules/printbackends/pdf/gtkprintbackendpdf.c:
* modules/printbackends/pdf/gtkprinterpdf.[ch]:
Correctly read/write/use the output filename setting.
2006-04-03 Alexander Larsson <alexl@redhat.com>
* gtk/gtkpagesetupunixdialog.c:
Disable margin from printers if there are no printers.
* gtk/gtkpapersize.c:
Fix build.
2006-04-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk.symbols: protect unix-only symbols by
G_OS_UNIX (#336819, Yevgen Muntyan)
* gtk/gtkpapersize.c: Win32 fixes. (#336806, Yevgen Muntyan)
2006-03-30 Alexander Larsson <alexl@redhat.com>
* gtk/gtk.symbols:
Update
* gtk/gtkprintbackend.[ch]:
Add dnotify to gtk_print_backend_print_stream
* gtk/gtkprinter-private.h:
Declare gtk_print_job_set_status
* gtk/gtkprinter.[ch]:
Remove gtk_printer_prepare_job.
* gtk/gtkprintjob.[ch]:
Now you create print job directly with gtk_print_job_new() and
they'll be prepared automatically.
Add status_changed signal and get_status.
Add gtk_print_job_set_source_file to allow sending a file.
* gtk/gtkprintoperation-private.h:
Add destroy notify for platform_data.
Declare _gtk_print_operation_set_status.
* gtk/gtkprintoperation-unix.c:
Hook up status change handling.
Use the new way to get a print job.
* gtk/gtkprintoperation.[ch]:
Add status_changed signal and get_status/is_finished.
* modules/printbackends/cups/gtkprintbackendcups.c:
* modules/printbackends/lpr/gtkprintbackendlpr.c:
* modules/printbackends/pdf/gtkprintbackendpdf.c:
Update to use new APIs and set status on the job.
Cups polls for the status.
* tests/print-editor.c:
Track the print operations in the status bar.
2006-03-30 Alexander Larsson <alexl@redhat.com>
* gtk/Makefile.am:
* gtk/gtkprintbackend.c:
Default to "pdf,cups" if we found cups, and
"pdf,lpr" otherwise.
2006-03-29 Matthias Clasen <mclasen@redhat.com>
* modules/printbackends/Makefile.am:
* configure.in: Don't build the cups backend
if cups is not there.
2006-03-29 Alexander Larsson <alexl@redhat.com>
* gtk/gtk.symbols:
gtk_printer_prep_job -> gtk_printer_prepare_job
gtk_print_job_prep -> gtk_print_job_prepare
* gtk/gtkprintbackend.h:
* gtk/gtkprinter-private.h:
* gtk/gtkprinter.[ch]:
Add print_job argument to printer_prepare_for_print
gtk_printer_prep_job -> gtk_printer_prepare_job
* gtk/gtkprintjob.[ch]:
Add manual rendering settings to GtkPrintJob.
gtk_print_job_prep -> gtk_print_job_prepare
* gtk/gtkprintoperation-private.h:
* gtk/gtkprintoperation-unix.c:
* gtk/gtkprintoperation.c:
Get more manual_* settings working.
Run mainloop after each printed page.
* gtk/gtkprintunixdialog.c:
Save page ranges.
* modules/printbackends/cups/gtkprintbackendcups.c:
* modules/printbackends/lpr/gtkprintbackendlpr.c:
* modules/printbackends/pdf/gtkprintbackendpdf.c:
Now put the manual_* settings inside the PrintJob in
prepare_for_print.
2006-03-29 Alexander Larsson <alexl@redhat.com>
* gtk/gtkprintunixdialog.c:
Make sure we remember the format-for printer.
Also, use it as the default if set.
2006-03-28 Alexander Larsson <alexl@redhat.com>
* gtk/gtkprintunixdialog.c:
Remove unnecessary padding under list.
2006-03-28 Alexander Larsson <alexl@redhat.com>
* gtk/gtkpagesetupunixdialog.c:
* gtk/gtkprintunixdialog.c:
More HIGy layout.
2006-03-28 Alexander Larsson <alexl@redhat.com>
* gtk/gtkpagesetupunixdialog.c:
HIG conformance of spacing and titles.
* gtk/gtkprintunixdialog.c:
Use standard constructor form print button too.
2006-03-27 Matthias Clasen <mclasen@redhat.com>
* modules/printbackends/*/Makefile.am: Fix
a problem with builddir != srcdir builds.
(#335915, Yevgen Muntyan)
2006-03-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintbackend.c: Simply the syntax
of the setting to "cups,pdf", and get rid
of the GScanner used to parse it.
2006-03-27 Alexander Larsson <alexl@redhat.com>
* gtk/gtkprintunixdialog.c:
Reorder print list so status is at the end.
Ellipsize the status column.
2006-03-27 Alexander Larsson <alexl@redhat.com>
* gtk/gtkpagesetupunixdialog.c:
Handle removed printers and status-changed.
Handle NULL printer location.
2006-03-27 Alexander Larsson <alexl@redhat.com>
* gtk/Makefile.am:
* gtk/stock-icons/24/gtk-orientation-landscape.png:
* gtk/stock-icons/24/gtk-orientation-portrait.png:
* gtk/stock-icons/24/gtk-orientation-reverse-landscape.png:
* gtk/gtkiconfactory.c: (get_default_icons):
* gtk/gtkstock.h:
Add orientation stock icons.
* gtk/gtkpagesetupunixdialog.c:
Use the orientation icons.
2006-03-27 Alexander Larsson <alexl@redhat.com>
* gtk/gtkpagesetupunixdialog.c:
* gtk/gtkprintjob.c:
* gtk/gtkprintoperation-unix.c:
* gtk/gtkprintunixdialog.c:
s/impl/dialog/
Don't prefix static functions with _
2006-03-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintunixdialog.c: Don't use _(""). (#335898,
Christian Persch)
* modules/printbackends/*: Don't use G_DEFINE_TYPE
in modules.
* gtk/gtkprintbackend.c: Remove an unused static function.
2006-03-25 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk.symbols: Add printing symbols
* gtk/gtkpapersize.[hc]:
* gtk/gtkpage*.[hc]:
* gtk/gtkprint*.[hc]: Add aliasing, #include cleanups.
* gtk/gtkprintcontext.h:
* gtk/gtkprintoperation.h:
* gtk/gtkprintsettings.h: Make get_type function const.
* modules/printbackends/pdf/gtkprintbackendpdf.c: Remove
C99ism.
* modules/printbackends/cups/gtkcupsutils.c: Use unsigned
integers for bitfields.
2006-03-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtknotebook.c: Fix docs
* gtk/Makefile.am (EXTRA_DIST): Add the stock icons here.
* gdk/directfb/Makefile.am (EXTRA_DIST): Remove ChangeLog,
to make make dist happier.
2006-03-24 Alexander Larsson <alexl@redhat.com>
* configure.in:
* gtk/gtkprintbackend.c:
* modules/printbackends/Makefile.am:
* modules/printbackends/cups/Makefile.am:
* modules/printbackends/lpr/Makefile.am:
* modules/printbackends/lpr/gtkprintbackendlpr.[ch]:
* modules/printbackends/lpr/gtkprinterlpr.[ch]:
* modules/printbackends/pdf/Makefile.am:
* modules/printbackends/pdf/gtkprintbackendpdf.[ch]:
* modules/printbackends/pdf/gtkprinterpdf.[ch]:
Import pdf and lpr backend
2006-03-24 Alexander Larsson <alexl@redhat.com>
Import print-operation into gtk+
* .cvsignore:
* Makefile.am:
* gtk+-unix-print-2.0.pc.in:
Add gtk+-unix-print-2.0.pc
* configure.in:
Look for cups
Look for various _NL_* extensions
Output new makefiles and .pc.in
* gtk/Makefile.am:
Add new files
* gtk/gtk.h:
Include gtkprintoperation.h
* gtk/gtkenums.h:
Add printing enums
* gtk/gtkmarshalers.list:
Add required new marshallers
* gtk/gtkpagesetup.[ch]:
* gtk/gtkpagesetupunixdialog.[ch]:
* gtk/gtkpagesetupunixdialog.h:
* gtk/gtkpapersize.[ch]:
* gtk/gtkprint-win32.[ch]:
* gtk/gtkprintbackend.[ch]:
* gtk/gtkprintcontext.[ch]:
* gtk/gtkprinter-private.h:
* gtk/gtkprinter.[ch]:
* gtk/gtkprinteroption.[ch]:
* gtk/gtkprinteroptionset.[ch]:
* gtk/gtkprinteroptionwidget.[ch]:
* gtk/gtkprintjob.[ch]:
* gtk/gtkprintoperation-private.h:
* gtk/gtkprintoperation-unix.c:
* gtk/gtkprintoperation-win32.c:
* gtk/gtkprintoperation.[ch]:
* gtk/gtkprintsettings.[ch]:
* gtk/gtkprintunixdialog.[ch]:
* gtk/paper_names.c:
Generic printing support
* modules/Makefile.am:
* modules/printbackends/Makefile.am:
* modules/printbackends/cups/Makefile.am:
* modules/printbackends/cups/gtkcupsutils.[ch]:
* modules/printbackends/cups/gtkprintbackendcups.[ch]:
* modules/printbackends/cups/gtkprintercups.[ch]:
Cups backend
* tests/.cvsignore:
* tests/Makefile.am:
* tests/print-editor.c:
Add printing test app

File diff suppressed because it is too large Load Diff

View File

@@ -18,8 +18,8 @@ GTK+ requires the following packages:
Simple install procedure
========================
% gzip -cd gtk+-2.9.1.tar.gz | tar xvf - # unpack the sources
% cd gtk+-2.9.1 # change to the toplevel directory
% gzip -cd gtk+-2.8.14.tar.gz | tar xvf - # unpack the sources
% cd gtk+-2.8.14 # change to the toplevel directory
% ./configure # run the `configure' script
% make # build GTK
[ Become root if necessary ]

View File

@@ -1,7 +0,0 @@
Email: mclasen@redhat.com
Email: timj@gtk.org
Note that a lot of people are contributing to GTK+, and some parts of it
are technically maintained by other people. The people listed above are
meant as contacts for administrative questions such as cvs accounts. Other
questions are best directed to the mailing list gtk-devel-list@gnome.org.

View File

@@ -17,8 +17,6 @@ EXTRA_DIST = \
ChangeLog.pre-2-4 \
ChangeLog.pre-2-6 \
ChangeLog.pre-2-8 \
ChangeLog.gtk-async-file-chooser \
ChangeLog.gtk-printing \
README.cvs-commits \
README.win32 \
config.h.win32 \
@@ -134,10 +132,9 @@ gdk-$(GDKTARGET)-2.0-uninstalled.pc: gdk-2.0-uninstalled.pc
cp gdk-2.0-uninstalled.pc gdk-$(GDKTARGET)-2.0-uninstalled.pc
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA= gdk-pixbuf-2.0.pc gdk-$(GDKTARGET)-2.0.pc gtk+-$(GDKTARGET)-2.0.pc gtk+-unix-print-2.0.pc
pkgconfig_DATA= gdk-pixbuf-2.0.pc gdk-$(GDKTARGET)-2.0.pc gtk+-$(GDKTARGET)-2.0.pc
DISTCLEANFILES = \
gtk+-unix-print-2.0.pc \
gtk+-$(GDKTARGET)-2.0.pc \
gdk-$(GDKTARGET)-2.0.pc \
gtk+-$(GDKTARGET)-2.0-uninstalled.pc \
@@ -191,4 +188,5 @@ sanity:
snapshot:
$(MAKE) dist distdir=$(PACKAGE)-snap`date +"%Y%m%d"`
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-man --disable-rebuilds
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc

474
NEWS
View File

@@ -1,162 +1,378 @@
Overview of Changes from GTK+ 2.9.0 to 2.9.1
============================================
Overview of Changes from GTK+ 2.8.13 to GTK+ 2.8.14
===================================================
* GtkPrintOperation
- Many user interface improvements in the unix dialogs
- gtk-demo has a printing demo
- Don't unload print backends for now, since that has
deadlock issues
- Asynchronous page rendering is done in an idle
* Fixed invalid memory access in g_object_sink() from GLib-2.10.0 (in
combination with GLib-2.10, at least GLib-2.10.1 is required now).
* GtkImage has an image property
* Bugs fixed:
320132 Drag cursor position not identical with the drag hotspot
[Christian Neumair]
333133 wrong appearance for colour button [Christian Persch]
321301 ms-windows-engine differences from native GUI - combo boxes
[Jernej Simončič, Dom Lachowicz]
333291 Focus line of GtkExpander at the wrong place in RTL mode
[Benjamin Berg]
324562 XInput events are at incorrect xy-coordinates [Denis Auroux]
142536 Wacom pointer offset when using TopY other than 0 [Robert Ögren]
332985 GtkButton doesn't allow image-only buttons via "image"
property [Kalle Vahlmann]
333555 When changing icon of button, icon does not change
332466 Strange row spacing in GtkIconView when item width is set
[Donald Straney]
333363 build_insensitive_pixmap does not check return value
from gdk_pixbuf_get_from_drawable [Ed Catmur]
333268 Crash in gnome-program when running a program with an wrong display
[Paolo Maggi, Christian Persch]
333377 Cursor does not appear everytime when clicking on the widget
[Steve Frécinaux]
323401 blink_cb optimization is not working
316689 GtkTreeView does not resize correctly [Chris Lord]
148518 Fix incremental loading of 8-bit pcx files [Magnus Bergmann]
* GtkTextBuffer has a cursor-position property
* Updated translations (cy,de,es,nn,pl)
* Arrow sizes in scrolled menus and notebooks are themable
* GDK keysyms have be synched with Xorg 7.1
Overview of Changes from GTK+ 2.8.12 to GTK+ 2.8.13
===================================================
* Bugs fixed:
340676 print backend type modules not correctly reregistering
their types
340870 gdk_window_get_toplevels docstring error
323956 Unwanted accelerate key in the action-based toolbar
340527 Tooltips not shown for toolbar buttons created with
uimanager/actions
340516 status icon property getter assertions
341091 a couple of spelling errors in gtk+
335707 notebook DND with event boxes in tab labels
337306 Add a GtkMessageDialog::image property
139628 GtkLayout In GtkScrolledWindow does not receive the
scroll_event
334412 Add cursor-position property for getting notified
about cursor movement
341217 langinfo.h #include'd unconditionally stops build
333632 use GtkMenu::scroll-arrow-height instead of
MENU_SCROLL_ARROW_HEIGHT
325282 Add GtkNotebook::tab-overlap style property
341247 possible crash with tab_label = NULL
321896 Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
341416 Save FileChooserDialog doesn't response
336774 gtk_recent_manager_add_full
340401 critical warnings when using window groups
341661 misplaced g_assert in gtk_text_view_allocate_children
341692 Semicolons after G_DEFINE_TYPE
341665 several misplaced g_assert
341578 reverse page order issues
341332 Unset background in more places
341896 gtktreeview has RTL problems with toggle buttons if using
gtktreestore as a model
341028 crash in new async code
341035 file chooser crash
340722 GtkToolbar::max-child-expand style property
339589 Tooltips on orientation icons in page setup dialog
340951 faq: How do I internationalize a GTK+ program? doesn't
mention glib-I18N
341855 Little typo in the Tree and List Widget Overview
330732 Can't select some items in GtkIconView [Donald Straney]
330944 gtk_icon_theme_list_icons: example contexts don't work
[John Spray]
331097 gnopernicus crashes on changing display screen source
for magnifier [Oana Serb]
331467 evince crashes in gdk_region_union_with_rect [Benjamin Berg]
331820 Small error in _gdk_gc_update_context [Matthias]
331785 gtk.Notebook.get_current_page() returns incorrect page
number when pages hidden [Sebastien Bacher]
331940 GtkAboutDialog not responsive to Escape key [Daniel Drake]
331440 GtkNotebook popup menu not keynavigatable [Paolo Borelli]
331651 GtkRadioButton does not issue notify::active
332059 Make more use of G_DISABLE_ASSERT in TextView code
[Arnaud Charlet]
* Updated translations (de,es,gl,gu,nl)
* Updated translations (eu,ka,uk)
Overview of Changes from GTK+ 2.8.x to 2.9.0
============================================
Overview of Changes from GTK+ 2.8.11 to GTK+ 2.8.12
===================================================
* GtkStatusIcon, a cross-platform "tray icon" API
* The font picker button can now display fractional
font sizes [Ross Burton]
* GtkAssistant, a widget for creating multi-step wizards
* Updates for the windows theme [Dom Lachowicz]
* GtkLinkButton, a widget that displays a clickable hyperlink
* Workaround for cairo hitting a slow path in the
X server [Federico Mena Quintero]
* GtkRecentChooser, widgets to display and select recently used files
* Bugs fixed:
145243 root window drag FROM testdnd not working [Andrew S. Dixon]
321054 Pointer grabs misbehave on Win32 [Tor Lillqvist]
322042 Buggy RTL support in ellipsized labels [Behdad Esfahbod]
325521 enter_notify_event are not received on popup
window in Win32 [Tor Lillqvist]
327217 set_decorations() is overridden by window type
hint [John Ehresman]
327375 accept_focus isn't respected [John Ehresman]
328820 they keypad '/' key should open the "open location"
dialog [Federico Mena Quintero]
329144 critical in gtk_widget_event [Wouter Bolsterlee]
329124 distclean removes README [Kjartan Maraas, Tim Janik]
329208 unsetting the "active" property of GtkToggleToolButton
doesn't work properly [Guillaume Cottenceau]
329876 Crash in gtktreemodelfilter.c when using gtk-demo
with file picker [Kristian Rietveld]
329099 gtk_misc_set_padding fails with labels in RTL
locales [Hooman Mesgary]
330022 Wrong pixel values in rsvg_cairo_render_image [Dom Lachowicz]
330177 gtk_entry_completion_match_selected generates a critical
warning when completion model is empty [Raphael Slinckx]
330389 gtk_file_info_copy corrupts memory [Markku Vire]
330563 image loaders don't check callbacks for NULL [Benjamin Otte]
* GtkPrintOperation, cross-platform printing support
* Documentation improvements [Ross Burton, Murray Cumming,
Mart Raudsepp, Federico Mena Quintero, Milosz Derezynski]
* A framework for rich text copy and paste and DND
* Translation updates (cy,lt,nl,pt,ru,sr,sr@Latn,vi)
* GtkCellRendererAccel, a cell renderer for key combinations
* GtkCellRendererSpin, a cell renderer which edits numeric values
using a spin button
Overview of Changes from GTK+ 2.8.10 to GTK+ 2.8.11
===================================================
* GtkAction works with named icons in addition to stock icons
* Avoid memory overruns in the pixbuf theme engine
with nonsensical gradient specifications. [Matthias]
* GtkNotebook supports DND, allowing to reorder tabs, move tabs
between notebooks and drop tabs on the desktop to open a new window
* Bugs fixed:
326003 Cursor doesn't move as expected [Evert Verhellen]
326806 Segfault from combination of gtk_container_set_resize_mode()
and GtkComboBox [Sebastien Bacher]
327751 segfault in update_cursor on amd64 [Ryan Lovett]
327538 eog crashes at launch under AIX [Christophe Belle]
153213 "~" should bring up the location dialog [Dan Winship]
327934 gtk_text_layout_get_cursor_locations() chokes on
layout=0x0 [Christian Kirbach]
* GtkTreeView:
- Enhanced customizability (e.g. grouping) with the
show-expanders and level-indentation properties
- Allow to embed the search popup
- Better search popup positioning
* Documentation improvements [Federico Mena Quintero]
* GtkFileChooser:
- Communication with backends is now asynchronous to avoid
blocking on filesystem operations. Due to the required interface
changes, the GTK+ ABI version has been bumped to 2.10.0. Third-party
filesystem backends have to be ported to the new interface, other
modules, such as theme engines, input method modules or pixbuf loaders
have to be rebuilt so that they are installed in the right place
for GTK+ to find them.
- The location entry (popped up by C-L) has been integrated in the
main dialog.
* Reworked hex Unicode input now requires Ctrl-Shift-U
* Translation updates (es,pt_BR,zh_HK,zh_TW)
* Animations can now be globally controlled by settings
Overview of Changes from GTK+ 2.8.9 to GTK+ 2.8.10
==================================================
* Derive GtkObject from GInitiallyUnowned instead of
GObject, if possible. Note that this change is known
to break versions of the GTK+ Perl bindings older
than GTK+ Perl 2.13.4. [Tim Janik]
* The gtk-touchscreen-mode setting controls a number of changes
that make GTK+ work better on touchscreens
* Add a setting to allow falling back to another icon
theme before trying hicolor. [Rodney Dawes]
* Password entries can optionally show the last entered character
for a short while, controlled by the password-hint-timeout setting
* Require GLib 2.8.5
* GTK+ can now consult an additional fallback icon theme before
falling back to hicolor
* Updated translations (ca,el,es,fr,hi,it,ko,pt_BR,vi)
* Improved themability:
- GTK+ supports symbolic colors, which can be set system-wide
using a setting, and can be modified and used in rc files
and theme engines
- GTK+ sets window type hints on override-redirect windows to
help compositing managers apply proper bling
- Paths in rc files can now refer to all subclasses of a class
- GtkRange steppers will appear insensitive when the slider
is at the end; applications which need to handle this case
(e.g. to extend the range) can opt out of this.
- GtkRange::activate-slider style property allows themes
to draw sliders differently while they are being dragged
- GtkNotebook::tab-overlap and GtkNotebook::curvature style
properties allow more flexible notebook theming
- The spacing of buttons around children can be themed with
the GtkButton::inner-border style property. Apps can override
this per-widget using the corresponding inner-border property
- GtkMenu has aquired a horizontal-padding style property
- There are style properties for the color of hyperlinks,
GtkWidget::link-color and GtkWidget::visited-link-color
- GtkTreeview row hinting now takes the selection into account
- Scrolling menus can be forced to always display both arrows,
using the GtkMenu::double-arrows style property
- Separators can be themed using the wide-separators, separator-width
and separator-height style properties
- GtkTreeView allows more flexible theming with the row-ending-details
property
- The pixbuf theme engines supports customized drawing of expanders
and resize grips
* Bugs fixed:
137351 GtkEntryCompletion sometimes selects first completion item
[Niklas Knutsson]
165714 GtkEntryCompletion doesn't complete on paste [Christian Neumair]
317687 gnome-panel crash by clicking on settings
321548 speed up gtk_text_iter_set_visible_line_index [Paolo
Borelli]
323843 Garbage in gtk_text_view_get_border_window_size()
323876 Broadcasting _GTK_LOAD_ICONTHEMES is a performance
bug [Peter Lund]
324044 Documentation entry for GtkTreeView::row-activated
[Davyd Madeley]
323504 Gtk-CRITICAL when dragging a launcher from the menu
to the top panel [Kjartan Maraas]
323655 Improved support for Icon Naming Spec in unix filesystem
backend [Rodney Dawes]
323995 hidden widgets distort the left/right/up/down focus
order [Dan Winship]
324588 icon_view auto dnd and the item-activated signal
[Dave Andreoli]
322475 icon view's horizontal layout doesn't respect
item_width [Alex Graveley]
324815 Typo in gtkwindow.c [Ross Burton]
324996 Description about gtk_im_context_filter_keypress on API
reference
323666 gdk_window_scroll doesn't invalidate if another top-level
is above window [John Ehresman]
322264 gdk_drawable_get_visible_region win32 / x11 inconsistency
[John Ehresman]
325358 word erase in text fields considers space as a separate
word [Akkana Peck]
325443 gtk_drag_begin doesn't work unless given a motion event
[Peter Harvey]
325723 gtk_ui_manager_get_toplevels does not return an empty
list [Steve Chaplin]
305894 excessive memory use in gdk_pixbuf_new_from_file_XXX
functions [Denis Vlasenko, Michael Natterer]
325199 The API reference for gtk_exit() states that it's
deprecated but doesn't state the replacement function,
if any [Ævar Arnfjörð Bjarmason]
325869 GtkViewPort not releasing signal handlers on destruction
[Jorn Baayen]
325782 GtkToolButton ::clicked signal should set G_SIGNAL_ACTION
[Martyn Russell]
325817 FileChooserButton uses "Home" instead of directory name
[Federico Mena Quintero]
326098 label alignment is wrong when width-chars is set [Benjamin Otte]
326200 translations in GtkActionGroup erroneously translated
[Christian Stimming]
326429 in gtk.h, twice the same lines [Benoît Carpentier]
326064 Artifacts on some widgets [Andrew Conkling]
* GDK changes:
- OS X backend
- DirectFB backend
- Closing displays works
- gdk_screen_is_composited to check for running compositing manager
- Support for Super, Hyper and Meta modifiers
* gdk-pixbuf changes:
- Supports saving tiff
- Supports loading 16-bit pnm
- Doesn't load entire gif animation to get first frame
Overview of Changes from GTK+ 2.8.8 to GTK+ 2.8.9
=================================================
* Bugs fixed:
321560 File chooser filter behaves weird [Bogdan Nicula,
Federico Mena Quintero]
317999 2.8.4 to 2.8.6: sound-juicer crash, fileselector
assertions [Sebastian Bacher]
322569 On unsetting the Model, GtkTreeView does not clear
it's associated TreeSelection [Milosz Derezynski]
322998 Crash on selecting a file of null mime-type [Sadrul
Habib Chowdhury]
323024 gtktoolbutton leaks a pixbuf [Paolo Borelli]
323209 GdkEvent leaked in gtktreeview.c /
gtk_tree_view_key_press [Crispin Flowerday]
323073 Typo in trap_activate_cb() [Sadrul Habib Chowdhury]
323045 gtkcalendar.c: The identifier is already declared.
[Kazuki Iwamoto]
323386 gtk_menu_attach_to_widget() does not take NULL
detacher [Jorn Baayen]
307196 Unhinted fonts are measured incorrectly and drawing
problems occur as a result [Alex Jones, Behdad Esfahbod]
316310 unwanted scrolling in recent gtk [Paolo Borelli]
322019 Toolbars without icons are invisible in icon-only
mode [Ross Burton]
323077 Search-entry in the TreeView not working properly
[Sadrul Habib Chowdhury]
323475 gtktoolbutton.c:562: warning: 'image' is used
uninitialized in this function [Ross Burton]
323577 reference count of textbuffer increases with each
paste
323629 gtk_selection_data_get_uris leaks memory
[Markku Vire]
* Bug fixes
- Too many to list them here
* Other changes
- Remove GMemChunk from public header files to
support building against GLib 2.10 [Matthias Clasen]
- Report errors in option parsing [Matthias]
- Merge upstream xdgmime changes to handle duplicate
glob patterns [Matthias]
Overview of Changes from GTK+ 2.8.7 to GTK+ 2.8.8
=================================================
* GtkFileChooser
- Make F2 work for renaming bookmarks [Jaap A. Haitsma,
Paolo Borelli]
* GtkEntry
- Turn off input methods in password entries [James Su]
* Win32 changes
- Various visual improvements to the ms-windows
theme [Dom Lachowicz]
- Rework window decoration handling [Tor Lillqvist]
- Fix localized weekday and month names in GtkCalendar [Tor]
- Make urgency hint work on NT4 [Tor]
* Other fixes [Arjan van de Ven, Philip Langdale, Jens
Granseuer, Bogdan Nicula, Benedikt Meurer, Michael
Natterer, Kazuki Iwamoto, Paolo Borelli, Søren Sandmann,
Jean-Yves Lefort, Milosz Derezynski, Tze'ela Hebron]
* Documentation improvements [Elie De Brauwer]
* Updated translations (be,hu,sk,th,wa)
Overview of Changes from GTK+ 2.8.6 to GTK+ 2.8.7
=================================================
* GtkFileChooser
- Don't special-case the names of Home and Desktop
[Federico Mena Quintero]
- Avoid loading more than one directory initially.
[Federico]
- Make the file chooser work better with window
groups [Christian Persch]
- Improve keynav in the pathbar [Carlos Garnacho,
Andrei Yurkevich]
- Don't access unmounted volumes [Federico]
* GtkTextView
- Avoid quadratic blowup when deleting text with
lots of tags [Matthias Clasen]
- Fix drag-selection corner cases [Arvind S N,
Paolo Borelli]
* GtkEntry
- Add the entry completion popup to the window
group [Christian Persch]
* GtkTreeView
- Fix background drawing in RTL locales [Eric Cazeaux]
- Handle Shift-G for going back in typeahead
search [Christian Neumair]
* GtkComboBox
- Leave Ctrl-PageUp/PageDown to applications
[Christian Neumair]
* Fix compilation problems with gtkcalendar.c
[Matthias Hasselmann]
* Add labels for GTK_STOCK_CONNECT and
GTK_STOCK_DISCONNECT items [Richard Hult]
* Resolve symbols in dlopened modules lazily [Laszlo
Peter]
* GDK
- Don't try to set overlarge window icons [Claudio
Saavedra]
- Improve handling of odd keymaps [Kean Johnston]
* Win32 changes
- Speed up compositing [John Ehresman]
- Improve handling of clipboard [Tor Lillqvist]
- Improve visuals of scrollbars, toolbars, handleboxes
and menubars in the ms-windows theme [Dom Lachowicz]
- Make icon masks work on Win98 [Peter Zelezny]
- Hide resize and maximize buttons on non-resizable
windows [Tor]
- Don't hide dotfiles [Tor]
* Bug fixes [Kazuki Iwamoto, Ross Burton, Michael
Natterer, Bogdan Nicula, Damien Carbery, Gustavo
Carneiro, Tommi Komulainen, Thomas Klausner,
Alexander Larsson, Bastien Nocera, Federico
Mena Quintero, John Ehresman, Paolo Borelli,
Antonio Sacchi, Christian Persch, Carlos
Garnacho, Jeremy Cook, Nickolay V. Shmyrev,
Richard Hult, Maxim Udushlivy, Peter Zelezny]
* Documentation improvements [Paolo Borelli,
Christian Neumair, Christian Persch
Overview of Changes from GTK+ 2.8.5 to GTK+ 2.8.6
=================================================
* GtkFileChooser
- Don't reload the current folder unnecessarily on map [Federico
Mena Quintero]
* Revert a change from 2.8.5 that could lead to assertion
failures when finalizing GtkStyles [Matthias Clasen]
* Remove context prefixes from Portugese translations [Duarte
Henriques]
Overview of Changes from GTK+ 2.8.4 to GTK+ 2.8.5
=================================================
* GtkFileChooser
- Don't clear the file name entry too often when
in SAVE mode. [Jürg Billeter]
- Reduce the startup time in OPEN mode [Federico
Mena Quintero]
* Stop drag in GtkPaned when grab shadowed [Matthias Clasen]
* Correct the calculation for the first weekday
in GtkCalendar [Matthias Clasen]
* Use a larger buffer when determining the image
format in gdk-pixbuf [Sebastian Bacher, Dom Lachowicz]
* Win32 bug fixes [Kazuki Iwamoto, Tor Lillqvist]
* Other bug fixes [Tor Lillqvist, Gustavo Carneiro,
Paolo Borelli, Ray Strode, Søren Sandmann, Tommi Komulainen,
Benjamin Berg]
Overview of Changes from GTK+ 2.8.3 to GTK+ 2.8.4
=================================================
* GtkFileChooser
- Turn off the profiling code [Federico Mena Quintero]
* GtkEntryCompletion
- Make completion work with multibyte characters
[Tommi Komulainen]
- Improve positioning of large popups [Tommi Komulainen]
* GtkTreeView
- Make column reordering by DND work better [Dan
Winship]
* GtkCalendar
- Correctly determine the first weekday from
nl_langinfo() [Stanislav Brabec]
* GtkFontSel, GtkFontButton
- Handle invalid font names better [Michael R. Walton,
Ed Catmur]
* Deliver destroy events [Chris Lahey]
* Fix redrawing of widgets in the the presence
of shaped child windows [Dan Winship]
* Win32 changes
- Prune unnecessary mouse events [Tor Lillqvist]
- Fix memory corruption when using display
names [Tor Lillqvist]
* Other bug fixes [Alexander Larsson, John Cupitt,
John Finlay, Kjartan Maraas, Thomas Leonard,
Guillaume Cottenceau, Alexander Nedotsukov, Tim Janik,
Tor Lillqvist, Tommi Komulainen
* Documentation improvements [Guillaume Cottenceau,
Torsten Schoenfeld, Damon Chaplin, Vincent Untz,
Tommi Komulainen, Federico Mena Quintero
* New and updated translations (bg,bn,et,eu,fr,gl,hi,it,
ku,ru,sr,sv,tr,vi)
Overview of Changes from GTK+ 2.8.2 to GTK+ 2.8.3
=================================================
* Fix problems with the handling of initial settings
for font options and cursor themes [Frederic Crozat,
Joe Markus Clarke, Owen Taylor, Kjartan Maraas]
* Add a --ignore-theme-index option to
gtk-update-icon-cache [JP Rosevaar]
* Other bug fixes [Christian Persch, Owen Taylor,
Ed Catmur, Thomas Fitzsimmons, JP Rosevaar, Tor
Lillqvist, Colin Walters, Yong Wang, Matthias,
Kjartan Maraas, Christian Persch, Mark McLoughlin]
* Updated translations (ca,es,fr,pt_BR)
Overview of Changes from GTK+ 2.8.1 to GTK+ 2.8.2
=================================================

43
README
View File

@@ -1,7 +1,7 @@
General Information
===================
This is GTK+ version 2.9.1. GTK+ is a multi-platform toolkit for
This is GTK+ version 2.8.14. GTK+ is a multi-platform toolkit for
creating graphical user interfaces. Offering a complete set of widgets,
GTK+ is suitable for projects ranging from small one-off projects to
complete application suites.
@@ -25,47 +25,6 @@ Installation
See the file 'INSTALL'
Release notes for 2.10
======================
* The hexadecimal Unicode input feature has been reworked. It no longer
blocks the use of the sixteen Ctrl-Shift-<hex digit> key sequences. Now
it only uses Ctrl-Shift-u.
* A memory leak in GtkStyle handling has been fixed. This may expose bugs
in third-party widgets which forget to call gtk_style_attach() in their
realize functions.
* Range widgets like GtkScrollbar now render their arrows insensitive
when the slider is at the end. Applications which react to arrow
clicks even if the slider is at the end may want to use the new
gtk_range_set_[upper/lower]_stepper_sensitivity() functions to
prevent the arrows from being rendered insensitive.
* GtkObject now uses the "floating reference" support in GObject.
GTK_OBJECT_IS_FLOATING() will still work, but direct checking
of the GTK_FLOATING flag will no longer detect the floating
reference. Details about floating references can be found in the docs:
http://developer.gnome.org/doc/API/2.0/gobject/gobject-The-Base-Object-Type.html#floating-ref
* Suffixes like (_F) are now stripped from labels when they are displayed
in toolbars. If this is not wanted, the feature can be suppressed by
inserting a Unicode control character, e.g ZWNJ.
* The pixbuf theme engine can now customize expanders (in GtkTreeView
and GtkExpander) and resize grips, using the new EXPANDER and
RESIZE_GRIP function values.
* Dialogs created by gtk_about_dialog_new no longer hide automatically
when the user clicks close. It is the applications responsibility to
hide or destroy the dialog.
* Several new signals have been added to GtkNotebook. Care has been taken
to choose signal names which do not collide with signals added by well-known
derived classes. The names which can no longer be used for signals in
objects derived from GtkNotebook are page-reordered, page-removed and
page-added.
Release notes
=============

View File

@@ -28,7 +28,7 @@ to ask people commiting to GTK+ to follow a few rules:
2) There must be a ChangeLog for every commit. (If you discover that
you only committed half the files you meant to and need to fix that
up, or something, you don't need a new ChangeLog entry. But in general,
ChangeLog entries are mandatory.) Changes without ChangeLog entries
ChangeLog entries are mandatory.) Changes with out ChangeLog entries
will be reverted.
3) There _must_ be a ChangeLog for every commit.
@@ -38,7 +38,7 @@ Notes:
* If you are going to be changing many files in an experimental fashion,
it probably is a good idea to create a separate branch for your changes.
* The ChangeLog entries should preferably match in date format
* The ChangeLog entries should preferrably match in date format
with the existing entries. You can set how emacs does this
by using customize mode:

View File

@@ -25,47 +25,6 @@ Installation
See the file 'INSTALL'
Release notes for 2.10
======================
* The hexadecimal Unicode input feature has been reworked. It no longer
blocks the use of the sixteen Ctrl-Shift-<hex digit> key sequences. Now
it only uses Ctrl-Shift-u.
* A memory leak in GtkStyle handling has been fixed. This may expose bugs
in third-party widgets which forget to call gtk_style_attach() in their
realize functions.
* Range widgets like GtkScrollbar now render their arrows insensitive
when the slider is at the end. Applications which react to arrow
clicks even if the slider is at the end may want to use the new
gtk_range_set_[upper/lower]_stepper_sensitivity() functions to
prevent the arrows from being rendered insensitive.
* GtkObject now uses the "floating reference" support in GObject.
GTK_OBJECT_IS_FLOATING() will still work, but direct checking
of the GTK_FLOATING flag will no longer detect the floating
reference. Details about floating references can be found in the docs:
http://developer.gnome.org/doc/API/2.0/gobject/gobject-The-Base-Object-Type.html#floating-ref
* Suffixes like (_F) are now stripped from labels when they are displayed
in toolbars. If this is not wanted, the feature can be suppressed by
inserting a Unicode control character, e.g ZWNJ.
* The pixbuf theme engine can now customize expanders (in GtkTreeView
and GtkExpander) and resize grips, using the new EXPANDER and
RESIZE_GRIP function values.
* Dialogs created by gtk_about_dialog_new no longer hide automatically
when the user clicks close. It is the applications responsibility to
hide or destroy the dialog.
* Several new signals have been added to GtkNotebook. Care has been taken
to choose signal names which do not collide with signals added by well-known
derived classes. The names which can no longer be used for signals in
objects derived from GtkNotebook are page-reordered, page-removed and
page-added.
Release notes
=============

View File

@@ -31,15 +31,13 @@
/* #undef HAVE_STPCPY */
/* #undef HAVE_XSHM_H */
/* #undef HAVE_SHAPE_EXT */
/* #undef HAVE_SOLARIS_XINERAMA */
/* #undef HAVE_SYS_SELECT_H */
#ifndef _MSC_VER
#define HAVE_SYS_TIME_H 1
#else /* _MSC_VER */
/* #undef HAVE_SYS_TIME_H */
#endif /* _MSC_VER */
/* #undef HAVE_XFREE_XINERAMA */
/* #undef HAVE_XINERAMA */
#define HAVE_WINSOCK_H 1
#define HAVE_WINTAB 1
/* #undef HAVE_XCONVERTCASE */
/* #undef HAVE_XFT */
@@ -55,6 +53,9 @@
#define USE_MMX 1
#endif
/* Define to use X11R6 additions to XIM */
/* #undef USE_X11R6_XIM */
/* Define to use XKB extension */
/* #undef HAVE_XKB */
@@ -85,184 +86,204 @@
The entries are in sort -df order: alphabetical, case insensitive,
ignoring punctuation (such as underscores). */
/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
systems. This function is required for `alloca.c' support on those systems.
*/
/* #undef CRAY_STACKSEG_END */
/* Define if using `alloca.c'. */
/* #undef C_ALLOCA */
/* always defined to indicate that i18n is enabled */
#define ENABLE_NLS 1
/* Define the location where the catalogs will be installed */
#define GTK_LOCALEDIR "UNUSED"
/* Define if you have `alloca', as a function or macro. */
#define HAVE_ALLOCA 1
/* Define to 1 if you have the `bind_textdomain_codeset' function. */
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
/* Define if you have <alloca.h> and it should be used (not on Ultrix). */
/* #undef HAVE_ALLOCA_H */
/* Define if you have the <argz.h> header file. */
/* #undef HAVE_ARGZ_H */
/* Define if you have the `bind_textdomain_codeset' function. */
/* #undef HAVE_BIND_TEXTDOMAIN_CODESET */
/* Is the wctype implementation broken */
/* #undef HAVE_BROKEN_WCTYPE */
/* Define to 1 if you have the `dcgettext' function. */
/* Define if you have the `dcgettext' function. */
#define HAVE_DCGETTEXT 1
/* Define to 1 if you have the <dlfcn.h> header file. */
/* Define if you have the <dlfcn.h> header file. */
/* #undef HAVE_DLFCN_H */
/* Define to 1 if you have the `flockfile' function. */
/* #undef HAVE_FLOCKFILE */
/* Define if you have the `getcwd' function. */
#define HAVE_GETCWD 1
/* Define to 1 if you have the `getpagesize' function. */
/* Define if you have the `getpagesize' function. */
#ifndef _MSC_VER
#define HAVE_GETPAGESIZE 1
#else /* _MSC_VER */
/* #undef HAVE_GETPAGESIZE */
#endif /* _MSC_VER */
/* Define to 1 if you have the `getresuid' function. */
/* Define if you have the `getresuid' function. */
/* #undef HAVE_GETRESUID */
/* Define if the GNU gettext() function is already present or preinstalled. */
#define HAVE_GETTEXT 1
/* Define to 1 if you have the <inttypes.h> header file. */
#ifndef _MSC_VER
#define HAVE_INTTYPES_H 1
#else /* _MSC_VER */
/* Define if you have the <inttypes.h> header file. */
/* #undef HAVE_INTTYPES_H */
#endif /* _MSC_VER */
/* Define if your <locale.h> file defines LC_MESSAGES. */
/* #undef HAVE_LC_MESSAGES */
/* Define to 1 if you have the <locale.h> header file. */
/* Define if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1
/* Define if you have the <locale.h> header file. */
#define HAVE_LOCALE_H 1
/* Define to 1 if you have the `lstat' function. */
/* Define if you have the `lstat' function. */
/* #undef HAVE_LSTAT */
/* Define to 1 if you have the `mallinfo' function. */
/* #undef HAVE_MALLINFO */
/* Define if you have the <malloc.h> header file. */
#define HAVE_MALLOC_H 1
/* Define to 1 if you have the <memory.h> header file. */
/* Define if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define to 1 if you have the `mkstemp' function. */
/* Define if you have the `mkstemp' function. */
/* #undef HAVE_MKSTEMP */
/* Define to 1 if you have a working `mmap' system call. */
/* Define if you have a working `mmap' system call. */
/* #undef HAVE_MMAP */
/* Define to 1 if you have the <pwd.h> header file. */
/* Define if you have the `munmap' function. */
/* #undef HAVE_MUNMAP */
/* Define if you have the <nl_types.h> header file. */
/* #undef HAVE_NL_TYPES_H */
/* Define if you have the `putenv' function. */
#define HAVE_PUTENV 1
/* Define if you have the <pwd.h> header file. */
/* #undef HAVE_PWD_H */
/* Have the Xrandr extension library */
/* #undef HAVE_RANDR */
/* Define if you have the `setenv' function. */
/* #undef HAVE_SETENV */
/* Define to 1 if you have the <stdint.h> header file. */
/* Define if you have the `setlocale' function. */
#define HAVE_SETLOCALE 1
/* Define if you have the <stdint.h> header file. */
#ifndef _MSC_VER
#define HAVE_STDINT_H 1
#else /* _MSC_VER */
/* #undef HAVE_STDINT_H */
#endif /* _MSC_VER */
/* Define to 1 if you have the <stdlib.h> header file. */
/* Define if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the <strings.h> header file. */
/* Define if you have the `strcasecmp' function. */
#ifndef _MSC_VER
#define HAVE_STRCASECMP 1
#else /* _MSC_VER */
/* #undef HAVE_STRCASECMP */
#endif /* _MSC_VER */
/* Define if you have the `strchr' function. */
#define HAVE_STRCHR 1
/* Define if you have the `strdup' function. */
#define HAVE_STRDUP 1
/* Define if you have the <strings.h> header file. */
/* #undef HAVE_STRINGS_H */
/* Define to 1 if you have the <string.h> header file. */
/* Define if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
/* Define if you have the <sys/param.h> header file. */
/* #undef HAVE_SYS_PARAM_H */
/* Define if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/time.h> header file. */
/* Define if you have the <sys/time.h> header file. */
#ifndef _MSC_VER
#define HAVE_SYS_TIME_H 1
#else /* _MSC_VER */
/* #undef HAVE_SYS_TIME_H */
#endif /* _MSC_VER */
/* Define to 1 if you have the <sys/types.h> header file. */
/* Define if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
/* #undef HAVE_SYS_WAIT_H */
/* Define to 1 if you have the <unistd.h> header file. */
/* Define if you have the <unistd.h> header file. */
#ifndef _MSC_VER
#define HAVE_UNISTD_H 1
#else /* _MSC_VER */
/* #undef HAVE_UNISTD_H */
#endif /* _MSC_VER */
/* Have uxtheme.h include file */
#define HAVE_UXTHEME_H 1
/* Have wchar.h include file */
#define HAVE_WCHAR_H 1
/* Have wctype.h include file */
#define HAVE_WCTYPE_H 1
/* Define if we have X11R6 */
/* #undef HAVE_X11R6 */
/* Define if you have the <winsock.h> header file. */
#define HAVE_WINSOCK_H 1
/* Define to 1 if you have the `XConvertCase' function. */
/* #undef HAVE_XCONVERTCASE */
/* Define if you have the `__argz_count' function. */
/* #undef HAVE___ARGZ_COUNT */
/* Have the Xcursor library */
/* #undef HAVE_XCURSOR */
/* Define if you have the `__argz_next' function. */
/* #undef HAVE___ARGZ_NEXT */
/* Have the XFIXES X extension */
/* #undef HAVE_XFIXES */
/* Define to 1 if you have the `XInternAtoms' function. */
/* #undef HAVE_XINTERNATOMS */
/* Have the SYNC extension library */
/* #undef HAVE_XSYNC */
/* Define if _NL_TIME_FIRST_WEEKDAY is available */
/* #undef HAVE__NL_TIME_FIRST_WEEKDAY */
/* Define if <X11/extensions/XIproto.h> needed for xReply */
/* #undef NEED_XIPROTO_H_FOR_XREPLY */
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B"
/* Define to the full name of this package. */
#define PACKAGE_NAME "gtk+"
/* Define to the full name and version of this package. */
#define PACKAGE_STRING "gtk+ 2.9.0"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "gtk+"
/* Define to the version of this package. */
#define PACKAGE_VERSION "@GTK_MAJOR_VERSION@.@GTK_MINOR_VERSION@.@GTK_MICRO_VERSION@"
/* Define if you have the `__argz_stringify' function. */
/* #undef HAVE___ARGZ_STRINGIFY */
/* Define as the return type of signal handlers (`int' or `void'). */
#define RETSIGTYPE void
/* Define to 1 if you have the ANSI C header files. */
/* If using the C implementation of alloca, define if you know the
direction of stack growth for your system; otherwise it will be
automatically deduced at run-time.
STACK_DIRECTION > 0 => grows toward higher addresses
STACK_DIRECTION < 0 => grows toward lower addresses
STACK_DIRECTION = 0 => direction of growth unknown */
/* #undef STACK_DIRECTION */
/* Define if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Whether to load modules via .la files rather than directly */
/* #undef USE_LA_MODULES */
/* Define to 1 if the X Window System is missing or not being used. */
/* Define if the X Window System is missing or not being used. */
/* #undef X_DISPLAY_MISSING */
/* Number of bits in a file offset, on hosts where this is settable. */
/* #undef _FILE_OFFSET_BITS */
/* Define for large files, on AIX-style hosts. */
/* #undef _LARGE_FILES */
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
/* Define to `int' if <sys/types.h> doesn't define. */
#define gid_t int
/* Define as `__inline' if that's what the C compiler calls it, or to nothing
if it is not supported. */
/* #undef inline */
/* Define to `long' if <sys/types.h> does not define. */
/* #undef off_t */
/* Define to `unsigned' if <sys/types.h> does not define. */
/* #undef size_t */
/* Define to `int' if <sys/types.h> doesn't define. */
#define uid_t int

View File

@@ -11,11 +11,11 @@ AC_PREREQ(2.54)
# set GTK_BINARY_AGE and GTK_INTERFACE_AGE to 0.
m4_define([gtk_major_version], [2])
m4_define([gtk_minor_version], [9])
m4_define([gtk_micro_version], [1])
m4_define([gtk_minor_version], [8])
m4_define([gtk_micro_version], [14])
m4_define([gtk_version],
[gtk_major_version.gtk_minor_version.gtk_micro_version])
m4_define([gtk_interface_age], [0])
m4_define([gtk_interface_age], [14])
m4_define([gtk_binary_age],
[m4_eval(100 * gtk_minor_version + gtk_micro_version)])
# This is the X.Y used in -lgtk-FOO-X.Y
@@ -28,13 +28,13 @@ m4_define([gtk_api_version], [2.0])
# for GTK+.
#
#GTK_BINARY_VERSION=$GTK_MAJOR_VERSION.$GTK_MINOR_VERSION.$LT_CURRENT
m4_define([gtk_binary_version], [2.10.0])
m4_define([gtk_binary_version], [2.4.0])
# required versions of other packages
m4_define([glib_required_version], [2.10.1])
m4_define([pango_required_version], [1.13.0])
m4_define([glib_required_version], [2.8.5])
m4_define([pango_required_version], [1.9.0])
m4_define([atk_required_version], [1.0.1])
m4_define([cairo_required_version], [1.1.6])
m4_define([cairo_required_version], [0.9.2])
AC_INIT([gtk+], [gtk_version],
@@ -224,13 +224,13 @@ else
gdktarget=x11
fi
AC_ARG_WITH(gdktarget, [ --with-gdktarget=[[x11/linux-fb/win32/quartz/directfb]] select non-default GDK target],
AC_ARG_WITH(gdktarget, [ --with-gdktarget=[[x11/linux-fb/win32]] select non-default GDK target],
gdktarget=$with_gdktarget)
AC_SUBST(gdktarget)
case $gdktarget in
x11|linux-fb|win32|quartz|directfb) ;;
*) AC_MSG_ERROR([Invalid target for GDK: use x11, linux-fb, quartz, directfb or win32.]);;
x11|linux-fb|win32) ;;
*) AC_MSG_ERROR([Invalid target for GDK: use x11, linux-fb or win32.]);;
esac
gdktargetlib=libgdk-$gdktarget-$GTK_API_VERSION.la
@@ -370,8 +370,8 @@ AC_ARG_ENABLE(explicit-deps,
AC_MSG_CHECKING([Whether to write dependencies into .pc files])
case $enable_explicit_deps in
auto)
deplibs_check_method=`(./libtool --config; echo eval echo \\$deplibs_check_method) | sh`
if test "x$deplibs_check_method" '!=' xpass_all || test "x$enable_static" = xyes ; then
deplib_check_method=`(./libtool --config; echo eval echo \\$deplib_check_method) | sh`
if test "X$deplib_check_method" = Xnone || test "x$enable_static" = xyes ; then
enable_explicit_deps=yes
else
enable_explicit_deps=no
@@ -416,42 +416,6 @@ if test "$gtk_ok" = "yes"; then
[Define if _NL_TIME_FIRST_WEEKDAY is available])
fi
# _NL_MEASUREMENT_MEASUREMENT is an enum and not a define
AC_MSG_CHECKING([for _NL_MEASUREMENT_MEASUREMENT])
AC_TRY_LINK([#include <langinfo.h>], [
char c;
c = *((unsigned char *) nl_langinfo(_NL_MEASUREMENT_MEASUREMENT));
], gtk_ok=yes, gtk_ok=no)
AC_MSG_RESULT($gtk_ok)
if test "$gtk_ok" = "yes"; then
AC_DEFINE([HAVE__NL_MEASUREMENT_MEASUREMENT], [1],
[Define if _NL_MEASUREMENT_MEASUREMENT is available])
fi
# _NL_PAPER_HEIGHT is an enum and not a define
AC_MSG_CHECKING([for _NL_PAPER_HEIGHT])
AC_TRY_LINK([#include <langinfo.h>], [
char c;
c = *((unsigned char *) nl_langinfo(_NL_PAPER_HEIGHT));
], gtk_ok=yes, gtk_ok=no)
AC_MSG_RESULT($gtk_ok)
if test "$gtk_ok" = "yes"; then
AC_DEFINE([HAVE__NL_PAPER_HEIGHT], [1],
[Define if _NL_PAPER_HEIGHT is available])
fi
# _NL_PAPER_WIDTH is an enum and not a define
AC_MSG_CHECKING([for _NL_PAPER_WIDTH])
AC_TRY_LINK([#include <langinfo.h>], [
char c;
c = *((unsigned char *) nl_langinfo(_NL_PAPER_WIDTH));
], gtk_ok=yes, gtk_ok=no)
AC_MSG_RESULT($gtk_ok)
if test "$gtk_ok" = "yes"; then
AC_DEFINE([HAVE__NL_PAPER_WIDTH], [1],
[Define if _NL_PAPER_WIDTH is available])
fi
# sigsetjmp is a macro on some platforms, so AC_CHECK_FUNCS is not reliable
AC_MSG_CHECKING(for sigsetjmp)
AC_TRY_LINK([#include <setjmp.h>], [
@@ -469,7 +433,7 @@ fi
# sure that both po/ and po-properties/ have .po files that correspond
# to your language. If you only add one to po/, the build will break
# in po-properties/.
ALL_LINGUAS="af am ar az az_IR be bg bn br bs ca cs cy da de el en_CA en_GB es et eu fa fi fr ga gl gu he hi hr hu hy ia id is it ja ka ko ku li lt lv mi mk ml mn mr ms nb ne nl nn nso or pa pl pt pt_BR ro ru rw sk sl sq sr sr@Latn sr@ije sv ta te th tk tr tt uk uz uz@Latn vi wa xh yi zh_CN zh_HK zh_TW"
ALL_LINGUAS="af am ar az az_IR be bg bn br bs ca cs cy da de el en_CA en_GB es et eu fa fi fr ga gl gu he hi hr hu hy ia id is it ja ko ku li lt lv mi mk ml mn mr ms nb ne nl nn no nso pa pl pt pt_BR ro ru rw sk sl sq sr sr@Latn sr@ije sv ta te th tk tr uk uz uz@Latn vi wa xh yi zh_CN zh_HK zh_TW"
AM_GLIB_GNU_GETTEXT
LIBS="$LIBS $INTLLIBS"
AC_OUTPUT_COMMANDS([case "$CONFIG_FILES" in *po-properties/Makefile.in*)
@@ -551,14 +515,6 @@ AM_PATH_GLIB_2_0(glib_required_version, :,
*** GLIB is always available from ftp://ftp.gtk.org/pub/gtk/.]),
gobject gmodule-no-export gthread)
# See if it's safe to turn G_DISABLE_DEPRECATED on.
GLIB_VERSION_MAJOR_MINOR=`$PKG_CONFIG --modversion glib-2.0 | sed "s/\.@<:@^.@:>@*\$//"`
GLIB_REQUIRED_VERSION_MAJOR_MINOR=`echo glib_required_version | sed "s/\.@<:@^.@:>@*\$//"`
if test "x$GLIB_VERSION_MAJOR_MINOR" = "x$GLIB_REQUIRED_VERSION_MAJOR_MINOR"; then
CFLAGS="-DG_DISABLE_DEPRECATED $CFLAGS"
fi
dnl
dnl Check for bind_textdomain_codeset, including -lintl if GLib brings it in.
dnl
@@ -1037,10 +993,10 @@ if test $cross_compiling = yes; then
fi
fi
if test ! -f $srcdir/gtk/gtkbuiltincache.h &&
if test ! -f $srcdir/gtk/stock-icons/gtkstockpixbufs.h &&
test "x$REBUILD_PNGS" = "x#" ; then
AC_MSG_ERROR([
*** gtkbuiltincache.h is not in the tree, and cannot be built
*** gtkstockpixbufs.h is not in the tree, and cannot be built
*** because you don't have libpng, or (when cross-compiling) you
*** don't have a prebuilt gdk-pixbuf-csource on the host system.])
fi
@@ -1093,7 +1049,6 @@ if test "x$gdktarget" = "xx11"; then
have_base_x_pc=true
X_PACKAGES="$X_PACKAGES x11 xext xrender"
x_libs="`pkg-config --libs x11 xext xrender`"
X_CFLAGS="`pkg-config --cflags x11 xext xrender`"
# Strip out any .la files that pkg-config might give us (this happens
# with -uninstalled.pc files)
@@ -1119,7 +1074,7 @@ if test "x$gdktarget" = "xx11"; then
GDK_PIXBUF_XLIB_EXTRA_CFLAGS="$x_cflags"
GDK_PIXBUF_XLIB_EXTRA_LIBS="$X_LIBS -lX11 $X_EXTRA_LIBS"
GTK_DEP_LIBS_FOR_X="$X_LIBS -lXrender -lX11 $X_EXTRA_LIBS"
GTK_DEP_LIBS_FOR_X="$X_LIBS -lX11 -lXrender $X_EXTRA_LIBS"
fi
# Extra libraries found during checks (-lXinerama, etc), not from pkg-config.
@@ -1275,7 +1230,7 @@ if test "x$gdktarget" = "xx11"; then
AC_CHECK_LIB(Xinerama, XineramaQueryExtension,
[AC_CHECK_HEADER(X11/extensions/Xinerama.h,
[GTK_ADD_LIB(x_extra_libs,Xinerama)
have_xfree_xinerama=true], :,
have_xfree_xinerama=true], :
[#include <X11/Xlib.h>])])
fi
@@ -1371,13 +1326,6 @@ else
AM_CONDITIONAL(USE_WIN32, false)
fi
if test "x$gdktarget" = "xquartz"; then
GDK_EXTRA_LIBS="$GDK_EXTRA_LIBS -framework Cocoa"
AM_CONDITIONAL(USE_QUARTZ, true)
else
AM_CONDITIONAL(USE_QUARTZ, false)
fi
GDK_PIXBUF_XLIB_DEP_LIBS="`$PKG_CONFIG --libs $GDK_PIXBUF_PACKAGES $GDK_PIXBUF_XLIB_PACKAGES` $GDK_PIXBUF_XLIB_EXTRA_LIBS $GDK_PIXBUF_EXTRA_LIBS"
GDK_PIXBUF_XLIB_DEP_CFLAGS="`$PKG_CONFIG --cflags gthread-2.0 $GDK_PIXBUF_PACKAGES $GDK_PIXBUF_XLIB_PACKAGES` $GDK_PIXBUF_EXTRA_CFLAGS $GDK_PIXBUF_XLIB_EXTRA_CFLAGS"
@@ -1405,27 +1353,6 @@ else
AM_CONDITIONAL(ENABLE_FB_MANAGER, false)
fi
if test "x$gdktarget" = "xdirectfb"; then
DIRECTFB_REQUIRED_VERSION=0.9.21
AC_MSG_CHECKING(for DirectFB)
if $PKG_CONFIG --atleast-version $DIRECTFB_REQUIRED_VERSION directfb ; then
AC_MSG_RESULT(found)
GDK_EXTRA_CFLAGS="`$PKG_CONFIG --cflags directfb` $GDK_EXTRA_CFLAGS"
GDK_EXTRA_LIBS="`$PKG_CONFIG --libs directfb` $GDK_EXTRA_LIBS"
else
AC_MSG_ERROR([
*** DirectFB $DIRECTFB_REQUIRED_VERSION or newer is required. The latest
*** version of DirectFB is always available from http://www.directfb.org/.
])
fi
AM_CONDITIONAL(USE_DIRECTFB, true)
else
AM_CONDITIONAL(USE_DIRECTFB, false)
fi
# Check for Pango flags
if test "x$gdktarget" = "xwin32"; then
@@ -1535,36 +1462,6 @@ AC_SUBST(GTK_DEP_CFLAGS)
AC_SUBST(GTK_DEBUG_FLAGS)
AC_SUBST(GTK_XIM_FLAGS)
################################################################
# Printing system checks
################################################################
AC_PATH_PROG(CUPS_CONFIG, cups-config, no)
if test "x$CUPS_CONFIG" != "xno"; then
CUPS_CFLAGS=`cups-config --cflags | sed 's/-O[0-9]*//' | sed 's/-m[^\t]*//g'`
CUPS_LIBS=`cups-config --libs`
AC_SUBST(CUPS_CFLAGS)
AC_SUBST(CUPS_LIBS)
fi
AM_CONDITIONAL(HAVE_CUPS, test "x$CUPS_CONFIG" != "xno")
gtk_save_cppflags="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $GTK_DEP_CFLAGS"
AC_CHECK_HEADER(cairo-pdf.h,,AC_MSG_ERROR([
*** Can't find cairo-pdf.h. You must build Cairo with the pdf
*** backend enabled.]))
if test "$os_win32" != "yes"; then
AC_CHECK_HEADER(cairo-ps.h,,AC_MSG_ERROR([
*** Can't find cairo-ps.h. You must build Cairo with the
*** postscript backend enabled.]))
fi
CPPFLAGS="$gtk_save_cppflags"
################################################################
# Strip -export-dynamic from the link lines of various libraries
################################################################
@@ -1673,12 +1570,6 @@ elif test "x$gdktarget" = "xlinux-fb" ; then
gdk_windowing='
#define GDK_WINDOWING_FB
#define GDK_NATIVE_WINDOW_POINTER'
elif test "x$gdktarget" = "xquartz" ; then
gdk_windowing='
#define GDK_WINDOWING_QUARTZ'
elif test "x$gdktarget" = "xdirectfb" ; then
gdk_windowing='
#define GDK_WINDOWING_DIRECTFB'
fi
if test x$gdk_wchar_h = xyes; then
@@ -1704,7 +1595,6 @@ Makefile
gdk-pixbuf-2.0.pc
gdk-2.0.pc
gtk+-2.0.pc
gtk+-unix-print-2.0.pc
gdk-pixbuf-2.0-uninstalled.pc
gdk-2.0-uninstalled.pc
gtk+-2.0-uninstalled.pc
@@ -1736,12 +1626,11 @@ gdk/win32/Makefile
gdk/win32/rc/Makefile
gdk/win32/rc/gdk.rc
gdk/linux-fb/Makefile
gdk/quartz/Makefile
gdk/directfb/Makefile
gtk/Makefile
gtk/makefile.msc
gtk/gtkversion.h
gtk/gtk-win32.rc
gtk/stock-icons/Makefile
gtk/theme-bits/Makefile
gtk/xdgmime/Makefile
modules/Makefile
@@ -1751,10 +1640,6 @@ modules/engines/pixbuf/Makefile
modules/engines/ms-windows/Makefile
modules/engines/ms-windows/Theme/Makefile
modules/engines/ms-windows/Theme/gtk-2.0/Makefile
modules/printbackends/Makefile
modules/printbackends/cups/Makefile
modules/printbackends/lpr/Makefile
modules/printbackends/pdf/Makefile
perf/Makefile
contrib/Makefile
contrib/gdk-pixbuf-xlib/Makefile

View File

@@ -1,10 +1,30 @@
2006-05-16 Matthias Clasen <mclasen@redhat.com>
2006-03-08 Matthias Clasen <mclasen@redhat.com>
* === Released 2.9.1 ====
* === Released 2.8.14 ===
2006-05-04 Matthias Clasen <mclasen@redhat.com>
2006-02-24 Matthias Clasen <mclasen@redhat.com>
* === Released 2.9.0 ===
* === Released 2.8.13 ===
2006-02-11 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.12 ===
2006-01-25 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.11 ===
2006-01-11 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.10 ===
2005-12-09 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.9 ===
2005-11-28 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.8 ===
2005-11-17 Matthias Clasen <mclasen@redhat.com>
@@ -12,11 +32,31 @@
* gdk-pixbuf-xlibrgb.c: const correctness fixes
found by Arjan van de Ven and gcc.
2005-11-15 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.7 ===
2005-10-05 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-xlib-2.0.pc.in (Requires): Require
gmodule-no-export-2.0 instead of gmodule-2.0
2005-10-04 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.6 ===
2005-10-03 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.5 ===
2005-09-27 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.4 ===
2005-08-29 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.3 ===
2005-08-24 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.2 ===

View File

@@ -1,19 +1,15 @@
if PLATFORM_WIN32
no_undefined = -no-undefined
endif
lib_LTLIBRARIES=libgdk_pixbuf_xlib-2.0.la
INCLUDES = \
-I$(top_srcdir) -I$(top_builddir) \
-I$(top_srcdir)/gdk-pixbuf \
-I$(top_srcdir)/contrib \
-DG_DISABLE_DEPRECATED \
-DGDK_PIXBUF_DISABLE_DEPRECATED \
$(GDK_PIXBUF_XLIB_DEP_CFLAGS)
libgdk_pixbuf_xlib_2_0_la_LDFLAGS = \
-export-dynamic \
$(no_undefined) \
-version-info $(LT_VERSION_INFO)
libgdk_pixbuf_xlib_2_0_la_LIBADD = \

View File

@@ -5,6 +5,7 @@ SUBDIRS = gtk-demo
INCLUDES = \
-I$(top_srcdir) \
-I$(top_builddir)/gdk \
-DG_DISABLE_DEPRECATED \
-DGDK_PIXBUF_DISABLE_DEPRECATED \
-DGDK_DISABLE_DEPRECATED \
-DGTK_DISABLE_DEPRECATED \

View File

@@ -6,7 +6,6 @@ democodedir=$(datadir)/gtk-2.0/demo
## demo app, which means alphabetized by demo title, not filename
demos = \
appwindow.c \
assistant.c \
button_box.c \
changedisplay.c \
clipboard.c \
@@ -26,7 +25,6 @@ demos = \
panes.c \
pickers.c \
pixbufs.c \
printing.c \
rotated_text.c \
sizegroup.c \
stock_browser.c \
@@ -38,6 +36,7 @@ INCLUDES = \
-DDEMOCODEDIR="\"$(democodedir)\"" \
-I$(top_srcdir) \
-I$(top_builddir)/gdk \
-DG_DISABLE_DEPRECATED \
-DGDK_PIXBUF_DISABLE_DEPRECATED \
-DGDK_DISABLE_DEPRECATED \
-DGTK_DISABLE_DEPRECATED \

View File

@@ -1,165 +0,0 @@
/* Assistant
*
* Demonstrates a sample multistep assistant. Assistants are used to divide
* an operation into several simpler sequential steps, and to guide the user
* through these steps.
*/
#include <gtk/gtk.h>
#include "demo-common.h"
static GtkWidget *assistant = NULL;
static void
on_assistant_apply (GtkWidget *widget, gpointer data)
{
/* Apply here changes, this is a fictional
example, so we just do nothing here */
}
static void
on_assistant_close_cancel (GtkWidget *widget, gpointer data)
{
GtkWidget **assistant = (GtkWidget **) data;
gtk_widget_destroy (*assistant);
*assistant = NULL;
}
static void
on_assistant_prepare (GtkWidget *widget, GtkWidget *page, gpointer data)
{
gint current_page, n_pages;
gchar *title;
current_page = gtk_assistant_get_current_page (GTK_ASSISTANT (widget));
n_pages = gtk_assistant_get_n_pages (GTK_ASSISTANT (widget));
title = g_strdup_printf ("Sample assistant (%d of %d)", current_page + 1, n_pages);
gtk_window_set_title (GTK_WINDOW (widget), title);
g_free (title);
}
static void
on_entry_changed (GtkWidget *widget, gpointer data)
{
GtkAssistant *assistant = GTK_ASSISTANT (data);
GtkWidget *current_page;
gint page_number;
const gchar *text;
page_number = gtk_assistant_get_current_page (assistant);
current_page = gtk_assistant_get_nth_page (assistant, page_number);
text = gtk_entry_get_text (GTK_ENTRY (widget));
if (text && *text)
gtk_assistant_set_page_complete (assistant, current_page, TRUE);
else
gtk_assistant_set_page_complete (assistant, current_page, FALSE);
}
static void
create_page1 (GtkWidget *assistant)
{
GtkWidget *box, *label, *entry;
GdkPixbuf *pixbuf;
box = gtk_hbox_new (FALSE, 12);
gtk_container_set_border_width (GTK_CONTAINER (box), 12);
label = gtk_label_new ("You must fill out this entry to continue:");
gtk_box_pack_start (GTK_BOX (box), label, FALSE, FALSE, 0);
entry = gtk_entry_new ();
gtk_box_pack_start (GTK_BOX (box), entry, TRUE, TRUE, 0);
g_signal_connect (G_OBJECT (entry), "changed",
G_CALLBACK (on_entry_changed), assistant);
gtk_widget_show_all (box);
gtk_assistant_append_page (GTK_ASSISTANT (assistant), box);
gtk_assistant_set_page_title (GTK_ASSISTANT (assistant), box, "Page 1");
gtk_assistant_set_page_type (GTK_ASSISTANT (assistant), box, GTK_ASSISTANT_PAGE_INTRO);
pixbuf = gtk_widget_render_icon (assistant, GTK_STOCK_DIALOG_INFO, GTK_ICON_SIZE_DIALOG, NULL);
gtk_assistant_set_page_header_image (GTK_ASSISTANT (assistant), box, pixbuf);
g_object_unref (pixbuf);
}
static void
create_page2 (GtkWidget *assistant)
{
GtkWidget *box, *checkbutton;
GdkPixbuf *pixbuf;
box = gtk_vbox_new (12, FALSE);
gtk_container_set_border_width (GTK_CONTAINER (box), 12);
checkbutton = gtk_check_button_new_with_label ("This is optional data, you may continue "
"even if you do not check this");
gtk_box_pack_start (GTK_BOX (box), checkbutton, FALSE, FALSE, 0);
gtk_widget_show_all (box);
gtk_assistant_append_page (GTK_ASSISTANT (assistant), box);
gtk_assistant_set_page_complete (GTK_ASSISTANT (assistant), box, TRUE);
gtk_assistant_set_page_title (GTK_ASSISTANT (assistant), box, "Page 2");
pixbuf = gtk_widget_render_icon (assistant, GTK_STOCK_DIALOG_INFO, GTK_ICON_SIZE_DIALOG, NULL);
gtk_assistant_set_page_header_image (GTK_ASSISTANT (assistant), box, pixbuf);
g_object_unref (pixbuf);
}
static void
create_page3 (GtkWidget *assistant)
{
GtkWidget *label;
GdkPixbuf *pixbuf;
label = gtk_label_new ("This is a confirmation page, press 'Apply' to apply changes");
gtk_widget_show (label);
gtk_assistant_append_page (GTK_ASSISTANT (assistant), label);
gtk_assistant_set_page_type (GTK_ASSISTANT (assistant), label, GTK_ASSISTANT_PAGE_CONFIRM);
gtk_assistant_set_page_complete (GTK_ASSISTANT (assistant), label, TRUE);
gtk_assistant_set_page_title (GTK_ASSISTANT (assistant), label, "Confirmation");
pixbuf = gtk_widget_render_icon (assistant, GTK_STOCK_DIALOG_INFO, GTK_ICON_SIZE_DIALOG, NULL);
gtk_assistant_set_page_header_image (GTK_ASSISTANT (assistant), label, pixbuf);
g_object_unref (pixbuf);
}
GtkWidget*
do_assistant (GtkWidget *do_widget)
{
if (!assistant)
{
assistant = gtk_assistant_new ();
gtk_window_set_default_size (GTK_WINDOW (assistant), -1, 300);
gtk_window_set_screen (GTK_WINDOW (assistant),
gtk_widget_get_screen (do_widget));
create_page1 (assistant);
create_page2 (assistant);
create_page3 (assistant);
g_signal_connect (G_OBJECT (assistant), "cancel",
G_CALLBACK (on_assistant_close_cancel), &assistant);
g_signal_connect (G_OBJECT (assistant), "close",
G_CALLBACK (on_assistant_close_cancel), &assistant);
g_signal_connect (G_OBJECT (assistant), "apply",
G_CALLBACK (on_assistant_apply), NULL);
g_signal_connect (G_OBJECT (assistant), "prepare",
G_CALLBACK (on_assistant_prepare), NULL);
}
if (!GTK_WIDGET_VISIBLE (assistant))
gtk_widget_show (assistant);
else
{
gtk_widget_destroy (assistant);
assistant = NULL;
}
return assistant;
}

View File

@@ -15,9 +15,7 @@ static GtkWidget *frame;
/* Expose callback for the drawing area
*/
static gboolean
expose_event_callback (GtkWidget *widget,
GdkEventExpose *event,
gpointer data)
expose_event_callback (GtkWidget *widget, GdkEventExpose *event, gpointer data)
{
if (widget->window)
{

View File

@@ -63,7 +63,6 @@ set_cell_color (GtkCellLayout *cell_layout,
(color.red >> 8) << 24 |
(color.green >> 8) << 16 |
(color.blue >> 8) << 8;
g_free (text);
pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8, 24, 24);

View File

@@ -1,182 +0,0 @@
/* Printing
*
* GtkPrintOperation offers a simple API to support printing
* in a cross-platform way.
*
*/
#include <math.h>
#include <gtk/gtk.h>
#include "demo-common.h"
/* In points */
#define HEADER_HEIGHT (10*72/25.4)
#define HEADER_GAP (3*72/25.4)
typedef struct
{
gchar *filename;
gdouble font_size;
gint lines_per_page;
gchar **lines;
gint num_lines;
gint num_pages;
} PrintData;
static void
begin_print (GtkPrintOperation *operation,
GtkPrintContext *context,
gpointer user_data)
{
PrintData *data = (PrintData *)user_data;
char *contents;
int i;
double height;
height = gtk_print_context_get_height (context) - HEADER_HEIGHT - HEADER_GAP;
data->lines_per_page = floor (height / data->font_size);
g_file_get_contents (data->filename, &contents, NULL, NULL);
data->lines = g_strsplit (contents, "\n", 0);
g_free (contents);
i = 0;
while (data->lines[i] != NULL)
i++;
data->num_lines = i;
data->num_pages = (data->num_lines - 1) / data->lines_per_page + 1;
gtk_print_operation_set_n_pages (operation, data->num_pages);
}
static void
draw_page (GtkPrintOperation *operation,
GtkPrintContext *context,
gint page_nr,
gpointer user_data)
{
PrintData *data = (PrintData *)user_data;
cairo_t *cr;
PangoLayout *layout;
gdouble width, text_height;
gint line, i, layout_height;
PangoFontDescription *desc;
gchar *page_str;
cr = gtk_print_context_get_cairo (context);
width = gtk_print_context_get_width (context);
cairo_rectangle (cr, 0, 0, width, HEADER_HEIGHT);
cairo_set_source_rgb (cr, 0.8, 0.8, 0.8);
cairo_fill_preserve (cr);
cairo_set_source_rgb (cr, 0, 0, 0);
cairo_set_line_width (cr, 1);
cairo_stroke (cr);
layout = gtk_print_context_create_layout (context);
desc = pango_font_description_from_string ("sans 14");
pango_layout_set_font_description (layout, desc);
pango_font_description_free (desc);
pango_layout_set_text (layout, data->filename, -1);
pango_layout_set_width (layout, width);
pango_layout_set_alignment (layout, PANGO_ALIGN_CENTER);
pango_layout_get_size (layout, NULL, &layout_height);
text_height = (gdouble)layout_height / PANGO_SCALE;
cairo_move_to (cr, width / 2, (HEADER_HEIGHT - text_height) / 2);
pango_cairo_show_layout (cr, layout);
page_str = g_strdup_printf ("%d/%d", page_nr + 1, data->num_pages);
pango_layout_set_text (layout, page_str, -1);
g_free (page_str);
pango_layout_set_alignment (layout, PANGO_ALIGN_RIGHT);
cairo_move_to (cr, width - 2, (HEADER_HEIGHT - text_height) / 2);
pango_cairo_show_layout (cr, layout);
g_object_unref (layout);
layout = gtk_print_context_create_layout (context);
desc = pango_font_description_from_string ("mono");
pango_font_description_set_size (desc, data->font_size * PANGO_SCALE);
pango_layout_set_font_description (layout, desc);
pango_font_description_free (desc);
cairo_move_to (cr, 0, HEADER_HEIGHT + HEADER_GAP);
line = page_nr * data->lines_per_page;
for (i = 0; i < data->lines_per_page && line < data->num_lines; i++)
{
pango_layout_set_text (layout, data->lines[line], -1);
pango_cairo_show_layout (cr, layout);
cairo_rel_move_to (cr, 0, data->font_size);
line++;
}
g_object_unref (layout);
}
static void
end_print (GtkPrintOperation *operation,
GtkPrintContext *context,
gpointer user_data)
{
PrintData *data = (PrintData *)user_data;
g_free (data->filename);
g_strfreev (data->lines);
g_free (data);
}
GtkWidget *
do_printing (GtkWidget *do_widget)
{
GtkPrintOperation *operation;
PrintData *data;
GError *error = NULL;
operation = gtk_print_operation_new ();
data = g_new0 (PrintData, 1);
data->filename = demo_find_file ("printing.c", NULL);
data->font_size = 12.0;
g_signal_connect (G_OBJECT (operation), "begin-print",
G_CALLBACK (begin_print), data);
g_signal_connect (G_OBJECT (operation), "draw-page",
G_CALLBACK (draw_page), data);
g_signal_connect (G_OBJECT (operation), "end-print",
G_CALLBACK (end_print), data);
gtk_print_operation_run (operation, GTK_WINDOW (do_widget), &error);
g_object_unref (operation);
if (error)
{
GtkWidget *dialog;
dialog = gtk_message_dialog_new (GTK_WINDOW (do_widget),
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_CLOSE,
"%s", error->message);
g_error_free (error);
g_signal_connect (dialog, "response",
G_CALLBACK (gtk_widget_destroy), NULL);
gtk_widget_show (dialog);
}
return NULL;
}

View File

@@ -1,392 +0,0 @@
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <gtk/gtk.h>
#include <demos.h>
static GtkTextBuffer *info_buffer;
static GtkTextBuffer *source_buffer;
static gchar *current_file = NULL;
enum {
TITLE_COLUMN,
FILENAME_COLUMN,
FUNC_COLUMN,
ITALIC_COLUMN,
NUM_COLUMNS
};
gboolean
read_line (FILE *stream, GString *str)
{
int n_read = 0;
flockfile (stream);
g_string_truncate (str, 0);
while (1)
{
int c;
c = getc_unlocked (stream);
if (c == EOF)
goto done;
else
n_read++;
switch (c)
{
case '\r':
case '\n':
{
int next_c = getc_unlocked (stream);
if (!(next_c == EOF ||
(c == '\r' && next_c == '\n') ||
(c == '\n' && next_c == '\r')))
ungetc (next_c, stream);
goto done;
}
default:
g_string_append_c (str, c);
}
}
done:
funlockfile (stream);
return n_read > 0;
}
void
load_file (const gchar *filename)
{
FILE *file;
GtkTextIter start, end;
GString *buffer = g_string_new (NULL);
int state = 0;
gboolean in_para = 0;
if (current_file && !strcmp (current_file, filename))
return;
g_free (current_file);
current_file = g_strdup (filename);
gtk_text_buffer_get_bounds (info_buffer, &start, &end);
gtk_text_buffer_delete (info_buffer, &start, &end);
gtk_text_buffer_get_bounds (source_buffer, &start, &end);
gtk_text_buffer_delete (source_buffer, &start, &end);
file = fopen (filename, "r");
if (!file)
{
g_warning ("Cannot open %s: %s\n", filename, g_strerror (errno));
return;
}
gtk_text_buffer_get_iter_at_offset (info_buffer, &start, 0);
while (read_line (file, buffer))
{
gchar *p = buffer->str;
gchar *q;
switch (state)
{
case 0:
/* Reading title */
while (*p == '/' || *p == '*' || isspace (*p))
p++;
q = p + strlen (p);
while (q > p && isspace (*(q - 1)))
q--;
if (q > p)
{
int len_chars = g_utf8_pointer_to_offset (p, q);
end = start;
g_assert (strlen (p) >= q - p);
gtk_text_buffer_insert (info_buffer, &end, p, q - p);
start = end;
gtk_text_iter_backward_chars (&start, len_chars);
gtk_text_buffer_apply_tag_by_name (info_buffer, "title", &start, &end);
start = end;
state++;
}
break;
case 1:
/* Reading body of info section */
while (isspace (*p))
p++;
if (*p == '*' && *(p + 1) == '/')
{
gtk_text_buffer_get_iter_at_offset (source_buffer, &start, 0);
state++;
}
else
{
int len;
while (*p == '*' || isspace (*p))
p++;
len = strlen (p);
while (isspace (*(p + len - 1)))
len--;
if (len > 0)
{
if (in_para)
gtk_text_buffer_insert (info_buffer, &start, " ", 1);
g_assert (strlen (p) >= len);
gtk_text_buffer_insert (info_buffer, &start, p, len);
in_para = 1;
}
else
{
gtk_text_buffer_insert (info_buffer, &start, "\n", 1);
in_para = 0;
}
}
break;
case 2:
/* Skipping blank lines */
while (isspace (*p))
p++;
if (*p)
{
p = buffer->str;
state++;
/* Fall through */
}
else
break;
case 3:
/* Reading program body */
gtk_text_buffer_insert (source_buffer, &start, p, -1);
gtk_text_buffer_insert (info_buffer, &start, "\n", 1);
break;
}
}
gtk_text_buffer_get_bounds (source_buffer, &start, &end);
gtk_text_buffer_apply_tag_by_name (info_buffer, "source", &start, &end);
}
gboolean
button_press_event_cb (GtkTreeView *tree_view,
GdkEventButton *event,
GtkTreeModel *model)
{
if (event->type == GDK_2BUTTON_PRESS)
{
GtkTreePath *path = NULL;
gtk_tree_view_get_path_at_pos (tree_view,
event->window,
event->x,
event->y,
&path,
NULL);
if (path)
{
GtkTreeIter iter;
gboolean italic;
GVoidFunc func;
gtk_tree_model_get_iter (model, &iter, path);
gtk_tree_store_get (GTK_TREE_STORE (model),
&iter,
FUNC_COLUMN, &func,
ITALIC_COLUMN, &italic,
-1);
(func) ();
gtk_tree_store_set (GTK_TREE_STORE (model),
&iter,
ITALIC_COLUMN, !italic,
-1);
gtk_tree_path_free (path);
}
gtk_signal_emit_stop_by_name (GTK_OBJECT (tree_view),
"button_press_event");
return TRUE;
}
return FALSE;
}
static void
selection_cb (GtkTreeSelection *selection,
GtkTreeModel *model)
{
GtkTreeIter iter;
GValue value = {0, };
if (! gtk_tree_selection_get_selected (selection, NULL, &iter))
return;
gtk_tree_model_get_value (model, &iter,
FILENAME_COLUMN,
&value);
load_file (g_value_get_string (&value));
g_value_unset (&value);
}
static GtkWidget *
create_text (GtkTextBuffer **buffer,
gboolean is_source)
{
GtkWidget *scrolled_window;
GtkWidget *text_view;
PangoFontDescription *font_desc;
scrolled_window = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window),
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_window),
GTK_SHADOW_IN);
text_view = gtk_text_view_new ();
gtk_container_add (GTK_CONTAINER (scrolled_window), text_view);
*buffer = gtk_text_buffer_new (NULL);
gtk_text_view_set_buffer (GTK_TEXT_VIEW (text_view), *buffer);
gtk_text_view_set_editable (GTK_TEXT_VIEW (text_view), FALSE);
gtk_text_view_set_cursor_visible (GTK_TEXT_VIEW (text_view), FALSE);
if (is_source)
{
font_desc = pango_font_description_from_string ("Courier 10");
gtk_widget_modify_font (text_view, font_desc);
pango_font_description_free (font_desc);
}
gtk_text_view_set_wrap_mode (GTK_TEXT_VIEW (text_view), !is_source);
return scrolled_window;
}
/* Technically a list, but if we do go to 80 demos, we may want to move to a tree */
static GtkWidget *
create_tree (void)
{
GtkTreeSelection *selection;
GtkCellRenderer *cell;
GtkWidget *tree_view;
GtkTreeViewColumn *column;
GtkTreeStore *model;
GtkTreeIter iter;
gint i;
model = gtk_tree_store_new_with_types (NUM_COLUMNS, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_POINTER, G_TYPE_BOOLEAN);
tree_view = gtk_tree_view_new_with_model (GTK_TREE_MODEL (model));
selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (tree_view));
gtk_tree_selection_set_type (GTK_TREE_SELECTION (selection),
GTK_TREE_SELECTION_SINGLE);
gtk_widget_set_usize (tree_view, 200, -1);
for (i=0; i < G_N_ELEMENTS (testgtk_demos); i++)
{
gtk_tree_store_append (GTK_TREE_STORE (model), &iter, NULL);
gtk_tree_store_set (GTK_TREE_STORE (model),
&iter,
TITLE_COLUMN, testgtk_demos[i].title,
FILENAME_COLUMN, testgtk_demos[i].filename,
FUNC_COLUMN, testgtk_demos[i].func,
ITALIC_COLUMN, FALSE,
-1);
}
cell = gtk_cell_renderer_text_new ();
column = gtk_tree_view_column_new_with_attributes ("Widget",
cell,
"text", TITLE_COLUMN,
"italic", ITALIC_COLUMN,
NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW (tree_view),
GTK_TREE_VIEW_COLUMN (column));
gtk_signal_connect (GTK_OBJECT (selection), "selection_changed", selection_cb, model);
gtk_signal_connect (GTK_OBJECT (tree_view), "button_press_event", GTK_SIGNAL_FUNC (button_press_event_cb), model);
return tree_view;
}
int
main (int argc, char **argv)
{
GtkWidget *window;
GtkWidget *notebook;
GtkWidget *hbox;
GtkWidget *tree;
GtkTextTag *tag;
gtk_init (&argc, &argv);
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_signal_connect (GTK_OBJECT (window), "destroy",
GTK_SIGNAL_FUNC (gtk_main_quit), NULL);
hbox = gtk_hbox_new (FALSE, 0);
gtk_container_add (GTK_CONTAINER (window), hbox);
tree = create_tree ();
gtk_box_pack_start (GTK_BOX (hbox), tree, FALSE, FALSE, 0);
notebook = gtk_notebook_new ();
gtk_box_pack_start (GTK_BOX (hbox), notebook, TRUE, TRUE, 0);
gtk_notebook_append_page (GTK_NOTEBOOK (notebook),
create_text (&info_buffer, FALSE),
gtk_label_new ("Info"));
gtk_notebook_append_page (GTK_NOTEBOOK (notebook),
create_text (&source_buffer, TRUE),
gtk_label_new ("Source"));
tag = gtk_text_buffer_create_tag (info_buffer, "title");
gtk_object_set (GTK_OBJECT (tag),
"font", "Sans 18",
NULL);
tag = gtk_text_buffer_create_tag (info_buffer, "source");
gtk_object_set (GTK_OBJECT (tag),
"font", "Courier 10",
"pixels_above_lines", 0,
"pixels_below_lines", 0,
NULL);
gtk_window_set_default_size (GTK_WINDOW (window), 600, 400);
gtk_widget_show_all (window);
load_file (testgtk_demos[0].filename);
gtk_main ();
return 0;
}

View File

@@ -1,386 +1,63 @@
2006-05-16 Matthias Clasen <mclasen@redhat.com>
2006-03-08 Matthias Clasen <mclasen@redhat.com>
* === Released 2.9.1 ====
* === Released 2.8.14 ===
2006-05-16 Matthias Clasen <mclasen@redhat.com>
2006-02-24 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkstock.sgml:
* gtk/Makefile.am: Add fourth stock orientation.
* === Released 2.8.13 ===
2006-05-15 Matthias Clasen <mclasen@redhat.com>
2006-02-11 Matthias Clasen <mclasen@redhat.com>
* gtk/tree_widget.sgml: Fix up example rendering. (#341855, Guillaume
Desmottes)
2006-05-11 Emmanuele Bassi <ebassi@cvs.gnome.org>
* gtk/tmpl/gtkrecentmanager.sgml: Update the error enum and the
gtk_recent_manager_add and gtk_recent_manager_add_full parameters.
* gtk/migrating-GtkRecentChooser.sgml: Mention
gtk_recent_manager_get_default() and update the code examples.
2006-05-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Add gtk_message_dialog_set_image.
2006-05-08 Matthias Clasen <mclasen@redhat.com>
* gtk/question_index.sgml (reference): Update the internationalization
answer. (#340951, Kristof Versant)
2006-05-04 Matthias Clasen <mclasen@redhat.com>
* === Released 2.9.0 ===
2006-04-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Add gtk_status_icon_position_menu
2006-04-25 Matthias Clasen <mclasen@redhat.com>
* gdk/gdk-sections.txt: Add gdk_screen_is_composited
2006-04-24 Matthias Clasen <mclasen@redhat.com>
* gtk/Makefile.am: fix a typo.
* gtk/tmpl/gtkentry.sgml: Remove a duplicate entry.
* gtk/gtk-sections.txt: Fix a typo.
* gdk-pixbuf/gdk-pixbuf.sgml: No new symbols in 2.10.
* gdk/Makefile.am (IGNORE_HFILES): Add directfb
* gtk/tmpl/gtkpapersize.sgml: Additions.
* gtk/gtk-sections.txt: Add new api.
* gtk/Makefile.am (HTML_IMAGES): Add new stock icons.
* gtk/tmpl/gtkstock.sgml: Document new stock icons
* gtk/gtk-docs.sgml:
* gtk/gtk-sections.txt: Add a rich text section
* gtk/Makefile.am (IGNORE_HFILES): Add some more private headers.
* gtk/tmpl/gtkpreview.sgml:
* gtk/tmpl/gtkrecentmanager.sgml:
* gtk/tmpl/gtkprintoperation.sgml:
* gtk/tmpl/gtkrecentchooser.sgml:
* gtk/tmpl/gtkicontheme.sgml: Additions
* gtk/gtk-sections.txt: Remove GtkRecentChooserDefault
2006-04-22 Emmanuele Bassi <ebassi@cvs.gnome.org>
* gtk/tmpl/gtkrecentchoosermenu.sgml:
* gtk/tmpl/gtkrecentchooserwidget.sgml: Fix unclosed para tags.
2006-04-21 Alexander Larsson <alexl@redhat.com>
* gtk/Makefile.am:
* gtk/gtk-docs.sgml:
* gtk/gtk-sections.txt:
* gtk/gtk.types:
* gtk/images/pagesetupdialog.png:
* gtk/images/printdialog.png:
* gtk/tmpl/gtkpagesetup.sgml:
* gtk/tmpl/gtkpagesetupunixdialog.sgml:
* gtk/tmpl/gtkpapersize.sgml:
* gtk/tmpl/gtkprintcontext.sgml:
* gtk/tmpl/gtkprinter.sgml:
* gtk/tmpl/gtkprintjob.sgml:
* gtk/tmpl/gtkprintoperation.sgml:
* gtk/tmpl/gtkprintsettings.sgml:
* gtk/tmpl/gtkprintunixdialog.sgml:
* gtk/visual_index.xml:
Add docs for the printing support
2006-04-17 Emmanuele Bassi <ebassi@cvs.gnome.org>
* gtk/tmp/gtkicontheme.sgml: Fix the code of the look up example.
2006-04-17 Emmanuele Bassi <ebassi@cvs.gnome.org>
* gtk/tmpl/gtkrecent*.sgml: Add long descriptions.
2006-04-16 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkrecent*.sgml: Add short descriptions
* gtk/migrating-GtkRecentChooser.sgml: Cosmetic fixes to
examples.
2006-04-04 Tor Lillqvist <tml@novell.com>
* gdk/tmpl/threads.sgml: Mention that the Win32 backend should not
be used from multiple threads.
2006-03-31 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Updates
* gtk/Makefile.am (IGNORE_HFILES): Updates
* gtk/images/recentchooserdialog.png: Shrink it.
2006-03-30 Matthias Clasen <mclasen@redhat.com>
* gdk/gdk-sections.txt: Additions
* gtk/Makefile.am (HTML_IMAGES): add
recentchooserdialog.png
* gtk/visual_index.xml: add GtkRecentChooserDialog
* gtk/images/recentchooserdialog.png: New image
* gtk/images/filechooser.png: Updated
2006-03-23 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkrc.sgml: Document <classname> in paths.
2006-03-22 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Additions.
* gtk/tmpl/gtkcellrendererspin.sgml:
* gtk/tmpl/gtkcellrendererprogress.sgml:
* gtk/tmpl/gtkcellrenderercombo.sgml:
* gtk/tmpl/gtkcellrendereraccel.sgml: Updates.
* gtk/gtk-sections.txt: Additions
2006-03-20 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Updates
2006-03-15 Matthias Clasen <mclasen@redhat.com>
* gtk/osx.sgml:
* gtk/directfb.sgml: Add skeleton sections for new ports.
* gtk/gtk-docs.sgml:
* gtk/Makefile.am: Integrate them.
2006-03-10 Michael Natterer <mitch@imendio.com>
* gtk/gtk-sections.txt: add gtk_entry_get,set_inner_border()
2006-03-08 Michael Natterer <mitch@imendio.com>
* gdk/gdk-sections.txt: added gdk_screen_get_active_window()
and gdk_screen_get_window_stack()
2006-02-27 Federico Mena Quintero <federico@novell.com>
* gtk/tmpl/gtkfontsel.sgml: Don't put the docs for
gtk_font_selection_{set,get}_font_name() here; put them in the code
instead.
Don't recommend the deprecated gtk_font_selection_get_font() as
the way to get the font back.
* gtk/tmpl/gtkfontseldlg.sgml: Don't put the docs for
gtk_font_selection_dialog_get_font_name() here; put them in the
code instead.
Don't recommend the deprecated
gtk_font_selection_dialog_get_font() as the way to get the font
back.
2006-02-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt:
* gtk/tmpl/gtknotebook.sgml: Additions
2006-02-19 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Additions.
* gdk/gdk-sections.txt: Additions.
2006-02-12 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkrc.sgml: Updates
* === Released 2.8.12 ===
2006-02-10 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkliststore.sgml: Add a section about
atomicity of insertions. (#329831, Milosz Derezynski)
2006-02-03 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkmenushell.sgml:
* gtk/tmpl/gtkmenu.sgml: Add deprecation notes.
2006-01-31 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Add new functions
2006-01-30 Matthias Clasen <mclasen@redhat.com>
* gtk/visual_index.xml: Add GtkLinkButton
* gtk/images/link-button.png: New image.
* gtk/Makefile.am: Add new files.
2006-01-29 Matthias Clasen <mclasen@redhat.com>
* gtk/visual_index.xml: Add GtkAssistant
* gtk/images/assistant.png: New image.
* gtk/tmpl/gtkassistant.sgml: More docs, by Carlos Garnacho.
* gtk/Makefile.am: Add new files.
2006-01-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Add gtk_link_button_set_uri_hook
* gtk/gtk-docs.sgml:
* gtk/migrating-GtkAssistant.sgml: Add a migration guide
GnomeDruid --> GtkAssistant. (Carlos Garnacho)
2006-01-27 Federico Mena Quintero <federico@ximian.com>
Merged from HEAD:
* gtk/tmpl/gtkfilechooser.sgml: Mention that ~ is also a default
key binding.
2006-01-23 Matthias Clasen <mclasen@redhat.com>
2006-01-25 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt:
* gtk/gtk-docs.sgml:
* gtk/gtk.types: Add GtkLinkButton docs
* === Released 2.8.11 ===
2006-01-18 Matthias Clasen <mclasen@redhat.com>
2006-01-11 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.10 ===
* gtk/gtk-sections.txt:
* gtk/gtk-docs.sgml:
* gtk/gtk.types: Add GtkAssistant docs
2006-01-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Add gtk_radio_action_set_current_value
2006-01-14 Matthias Clasen <mclasen@redhat.com>
* gtk/Makefile.am (HTML_IMAGES):
* gtk/tmpl/gtkstock.sgml: Add rtl variants of indent
and unindent icons.
2006-01-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Add gtk_widget_get_action,
gtk_window_get_group
2005-12-30 Matthias Clasen <mclasen@redhat.com>
* gdk/gdk-sections.txt: Add gdk_cairo_set_source_pixmap
2005-12-29 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkmain.sgml: Add deprecation note to
gtk_exit() (#325199, Ævar Arnfjörð Bjarmason)
2005-12-20 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkcombo.sgml: Small additions
2005-12-19 Matthias Clasen <mclasen@redhat.com>
2005-12-09 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf/tmpl/module_interface.sgml:
* gdk-pixbuf/gdk-pixbuf-sections.txt:
* gdk-pixbuf/tmpl/animation.sgml: Small additions/fixes.
* gdk/tmpl/input.sgml:
* gdk/tmpl/rgb.sgml:
* gdk/tmpl/x_interaction.sgml:
* gdk/tmpl/windows.sgml: Small additions/fixes
* gdk/Makefile.am (IGNORE_HFILES): Add quartz
* gdk/gdk-sections.txt: Add gdk_window_get_type_hint
* gtk/gtk-sections.txt: Add GtkStatusIcon so it gets
an object hierarchy.
* gtk/tmpl/gtkbutton.sgml: Remove inlined documentation
* gtk/tmpl/gtkstatusicon.sgml: Explicitly document GtkStatusIcon
as a non-widget. (#324181, Maciej Katafiasz)
* === Released 2.8.9 ===
2005-11-28 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkobject.sgml: Update docs on floating references
2005-11-23 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.8 ===
* gtk/tmpl/gtkrc.sgml: Document symbolic colors and
color expressions.
2005-11-15 Matthias Clasen <mclasen@redhat.com>
2005-11-23 Michael Natterer <mitch@imendio.com>
* === Released 2.8.7 ===
* gtk/gtk-sections.txt: add gtk_style_lookup_color
2005-10-04 Matthias Clasen <mclasen@redhat.com>
2005-11-21 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.6 ===
* gtk/gtk-sections.txt: Add gtk_combo_box_[sg]et_title
2005-10-03 Matthias Clasen <mclasen@redhat.com>
* gtk/Makefile.am (HTML_IMAGES): Fix some _ vs - confusion.
* === Released 2.8.5 ===
2005-11-14 Matthias Clasen <mclasen@redhat.com>
2005-09-27 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkstock.sgml:
* gtk/Makefile.am (HTML_IMAGES): Update stock documentation
to refer to the new icon names.
2005-11-10 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Add new api.
2005-11-07 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-update-icon-cache.xml:
* gtk/gtk-update-icon-cache.1: Document the --source option.
2005-10-25 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkfilechooser.sgml: Don't use deprecated functions
in examples. (#319524, Vincent Untz)
* gtk/gtk-update-icon-cache.xml: Fix a typo. (#319524, Vincent Untz)
2005-10-06 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Add gtk_text_buffer_get_has_selection().
2005-10-05 Federico Mena Quintero <federico@ximian.com>
* gtk/tmpl/gtkfilechooser.sgml: Document the "quick-bookmark"
binding signal.
2005-10-04 Federico Mena Quintero <federico@ximian.com>
* gtk/tmpl/gtkfilechooser.sgml: Document the "desktop-folder"
binding signal.
2005-09-26 Matthias Clasen <mclasen@redhat.com>
* gdk/tmpl/gcs.sgml: Fix a comment.
2005-09-22 Michael Natterer <mitch@imendio.com>
* gtk/gtk-docs.sgml
* gtk/gtk-sections.txt
* gtk/gtk.types: GtkCellRendererKeys -> GtkCellRendererAccel
Tue Sep 20 17:16:50 2005 Tim Janik <timj@imendio.com>
* gtk/tmpl/gtkrc.sgml: added anchor. complexity doesn't get worse
than O(n^2) with recent glib.
* === Released 2.8.4 ===
2005-09-15 Federico Mena Quintero <federico@ximian.com>
@@ -395,67 +72,20 @@ Tue Sep 20 17:16:50 2005 Tim Janik <timj@imendio.com>
for ::insert-text signal. (#316094, Tommi
Komulainen)
Tue Sep 13 14:16:27 2005 Tim Janik <timj@imendio.com>
* gtk/tmpl/gtkrc.sgml: fixed wording and typos in some places.
added a new section "Optimizing RC Style Matches".
2005-09-11 Matthias Clasen <mclasen@redhat.com>
* gdk/gdk-sections.txt: Add gdk_intern_static_string.
2005-09-09 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-docs.sgml:
* gtk/gtk-sections.txt: Add a section for GtkCellRendererKeys
* gdk/tmpl/event_structs.sgml: Document GdkEventKey.is_modifier.
2005-09-06 Matthias Clasen <mclasen@redhat.com>
* gdk/tmpl/windows.sgml: Document new modifier bits.
2005-09-05 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkpaned.sgml: Fix some typos.
(#315208, Vincent Untz)
2005-08-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Add gtk_window_[sg]et_deletable.
Add gtk_selection_data_targets_include_uri.
Add gtk_targets_include... functions.
2005-08-29 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkstatusicon.sgml: Add a long description.
* gtk/Makefile.am (HTML_IMAGES): Add stock_select_all_24.png
* gtk/gtk-sections.txt:
* gtk/tmpl/gtkstock.sgml: Add GTK_STOCK_SELECT_ALL.
* gtk/gtk.types: Add gtk_status_icon_get_type
* gtk/gtk-docs.sgml: Add GtkStatusIcon
* gtk/gtk-sections.txt: Add GtkStatusIcon
* === Released 2.8.3 ===
2005-08-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-update-icon-cache.xml:
* gtk/gtk-update-icon-cache.1: Updates.
2005-08-26 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf/gdk-pixbuf.sgml:
* gdk/gdk-docs.sgml:
* gtk/gtk-docs.sgml: Add indices for new
symbols in 2.10
* gdk/gdk-sections.txt: Add font options
API.
2005-08-24 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.2 ===

View File

@@ -146,6 +146,7 @@ GDK_PIXBUF_SIMPLE_ANIM_CLASS
GDK_IS_PIXBUF_SIMPLE_ANIM_CLASS
GDK_TYPE_PIXBUF_SIMPLE_ANIM
GDK_PIXBUF_SIMPLE_ANIM
GdkPixbufSimpleAnimClass
<SUBSECTION Private>
gdk_pixbuf_non_anim_new
@@ -155,7 +156,6 @@ gdk_pixbuf_animation_iter_get_type
gdk_pixbuf_simple_anim_get_type
gdk_pixbuf_simple_anim_iter_get_type
GdkPixbufSimpleAnimClass
</SECTION>
<SECTION>

View File

@@ -25,14 +25,13 @@ Animated images.
<!-- ##### STRUCT GdkPixbufAnimation ##### -->
<para>
And opaque struct representing an animation.
</para>
<!-- ##### STRUCT GdkPixbufAnimationIter ##### -->
<para>
And opaque struct representing an iterator which points to a
certain position in an animation.
</para>
@@ -148,7 +147,7 @@ certain position in an animation.
<!-- ##### STRUCT GdkPixbufSimpleAnim ##### -->
<para>
An
</para>

View File

@@ -95,6 +95,9 @@ Creating a pixbuf from image data that is already in memory.
@copy_pixels:
@error:
@Returns:
<!-- # Unused Parameters # -->
@inline_pixbuf:
@length:
<!-- ##### FUNCTION gdk_pixbuf_new_subpixbuf ##### -->

View File

@@ -66,6 +66,8 @@ End:
@preserve_aspect_ratio:
@error:
@Returns:
<!-- # Unused Parameters # -->
@keep_aspect_ratio:
<!-- ##### FUNCTION gdk_pixbuf_get_file_info ##### -->

View File

@@ -354,7 +354,7 @@ Modules supporting animations must derive a type from
virtual functions.
</para>
@parent_class: the parent class
@parent_class:
@is_static_image: returns whether the given animation is just a static image.
@get_static_image: returns a static image representing the given animation.
@get_size: fills @width and @height with the frame size of the animation.
@@ -367,7 +367,7 @@ Modules supporting animations must derive a type from
virtual functions.
</para>
@parent_class: the parent class
@parent_class:
@get_delay_time: returns the time in milliseconds that the current frame
should be shown.
@get_pixbuf: returns the current frame.

View File

@@ -32,9 +32,7 @@ IGNORE_HFILES= \
linux-fb \
nanox \
win32 \
directfb \
x11 \
quartz
x11
# Extra files to add when scanning (relative to $srcdir)
EXTRA_HFILES= \

View File

@@ -104,8 +104,5 @@
<index role="2.8">
<title>Index of new symbols in 2.8</title>
</index>
<index role="2.10">
<title>Index of new symbols in 2.10</title>
</index>
</book>

View File

@@ -152,8 +152,6 @@ gdk_display_supports_selection_notification
gdk_display_request_selection_notification
gdk_display_supports_clipboard_persistence
gdk_display_store_clipboard
gdk_display_supports_shapes
gdk_display_supports_input_shapes
<SUBSECTION Standard>
GDK_DISPLAY_OBJECT
GDK_IS_DISPLAY
@@ -201,7 +199,6 @@ gdk_screen_get_rgb_colormap
gdk_screen_get_rgb_visual
gdk_screen_get_rgba_colormap
gdk_screen_get_rgba_visual
gdk_screen_is_composited
gdk_screen_get_root_window
gdk_screen_get_display
gdk_screen_get_number
@@ -218,12 +215,6 @@ gdk_screen_get_monitor_at_point
gdk_screen_get_monitor_at_window
gdk_screen_broadcast_client_message
gdk_screen_get_setting
gdk_screen_get_font_options
gdk_screen_set_font_options
gdk_screen_get_resolution
gdk_screen_set_resolution
gdk_screen_get_active_window
gdk_screen_get_window_stack
<SUBSECTION Spawning>
gdk_spawn_on_screen
gdk_spawn_on_screen_with_pipes
@@ -699,10 +690,6 @@ gdk_window_shape_combine_mask
gdk_window_shape_combine_region
gdk_window_set_child_shapes
gdk_window_merge_child_shapes
gdk_window_input_shape_combine_mask
gdk_window_input_shape_combine_region
gdk_window_set_child_input_shapes
gdk_window_merge_child_input_shapes
gdk_window_set_static_gravities
gdk_window_set_hints
gdk_window_set_title
@@ -717,7 +704,6 @@ gdk_window_set_geometry_hints
gdk_window_set_icon_list
gdk_window_set_modal_hint
gdk_window_set_type_hint
gdk_window_get_type_hint
gdk_window_set_skip_taskbar_hint
gdk_window_set_skip_pager_hint
gdk_window_set_urgency_hint
@@ -835,7 +821,6 @@ gdk_utf8_to_string_target
gdk_utf8_to_compound_text
gdk_utf8_to_compound_text_for_display
gdk_atom_intern
gdk_atom_intern_static_string
gdk_atom_name
gdk_property_get
gdk_property_change
@@ -885,7 +870,6 @@ GdkPangoRendererPrivate
gdk_cairo_create
gdk_cairo_set_source_color
gdk_cairo_set_source_pixbuf
gdk_cairo_set_source_pixmap
gdk_cairo_rectangle
gdk_cairo_region
</SECTION>
@@ -1255,7 +1239,6 @@ gdkx_visual_get
gdkx_colormap_get
gdk_pixmap_foreign_new
gdk_pixmap_foreign_new_for_display
gdk_pixmap_foreign_new_for_screen
gdk_window_foreign_new
gdk_window_foreign_new_for_display
gdk_xid_table_lookup

View File

@@ -56,17 +56,6 @@ Cairo paths and to use pixbufs as sources for drawing operations.
@pixbuf_y:
<!-- ##### FUNCTION gdk_cairo_set_source_pixmap ##### -->
<para>
</para>
@cr:
@pixmap:
@pixmap_x:
@pixmap_y:
<!-- ##### FUNCTION gdk_cairo_rectangle ##### -->
<para>

View File

@@ -108,8 +108,6 @@ NUL byte, in which case looking at @length is necessary to distinguish
it from the an empty translation.
@hardware_keycode: the raw code of the key that was pressed or released.
@group: the keyboard group.
@is_modifier: a flag that indicates if @hardware_keycode is mapped to a
modifier. Since 2.10
<!-- ##### STRUCT GdkEventButton ##### -->
<para>

View File

@@ -295,6 +295,8 @@ gdk_event_handler_set().
@event:
@winid:
@Returns:
<!-- # Unused Parameters # -->
@xid:
<!-- ##### FUNCTION gdk_event_send_client_message_for_display ##### -->
@@ -306,6 +308,8 @@ gdk_event_handler_set().
@event:
@winid:
@Returns:
<!-- # Unused Parameters # -->
@xid:
<!-- ##### FUNCTION gdk_event_send_clientmessage_toall ##### -->

View File

@@ -170,7 +170,7 @@ useful. For bitmaps, %GDK_AND and %GDK_OR are also useful.
This function is obsolete and should not be used.
</para>
@Deprecated: Use g_object_unref() instead
@Deprecated: Use gdk_object_unref() instead
<!-- # Unused Parameters # -->
@gc: a #GdkGC.

View File

@@ -378,21 +378,3 @@ Applications should never have any reason to use this facility
@n_targets:
<!-- ##### FUNCTION gdk_display_supports_shapes ##### -->
<para>
</para>
@display:
@Returns:
<!-- ##### FUNCTION gdk_display_supports_input_shapes ##### -->
<para>
</para>
@display:
@Returns:

View File

@@ -34,13 +34,6 @@ when GDK gets multihead support.
@Since: 2.2
<!-- ##### SIGNAL GdkScreen::composited-changed ##### -->
<para>
</para>
@gdkscreen: the object which received the signal.
<!-- ##### SIGNAL GdkScreen::size-changed ##### -->
<para>
@@ -48,16 +41,6 @@ when GDK gets multihead support.
@gdkscreen: the object which received the signal.
<!-- ##### ARG GdkScreen:font-options ##### -->
<para>
</para>
<!-- ##### ARG GdkScreen:resolution ##### -->
<para>
</para>
<!-- ##### FUNCTION gdk_screen_get_default ##### -->
<para>
@@ -138,15 +121,6 @@ when GDK gets multihead support.
@Returns:
<!-- ##### FUNCTION gdk_screen_is_composited ##### -->
<para>
</para>
@screen:
@Returns:
<!-- ##### FUNCTION gdk_screen_get_root_window ##### -->
<para>
@@ -254,6 +228,8 @@ when GDK gets multihead support.
@screen:
@monitor_num:
@dest:
<!-- # Unused Parameters # -->
@Returns:
<!-- ##### FUNCTION gdk_screen_get_monitor_at_point ##### -->
@@ -275,6 +251,8 @@ when GDK gets multihead support.
@screen:
@window:
@Returns:
<!-- # Unused Parameters # -->
@anid:
<!-- ##### FUNCTION gdk_screen_broadcast_client_message ##### -->
@@ -297,60 +275,6 @@ when GDK gets multihead support.
@Returns:
<!-- ##### FUNCTION gdk_screen_get_font_options ##### -->
<para>
</para>
@screen:
@Returns:
<!-- ##### FUNCTION gdk_screen_set_font_options ##### -->
<para>
</para>
@screen:
@options:
<!-- ##### FUNCTION gdk_screen_get_resolution ##### -->
<para>
</para>
@screen:
@Returns:
<!-- ##### FUNCTION gdk_screen_set_resolution ##### -->
<para>
</para>
@screen:
@dpi:
<!-- ##### FUNCTION gdk_screen_get_active_window ##### -->
<para>
</para>
@screen:
@Returns:
<!-- ##### FUNCTION gdk_screen_get_window_stack ##### -->
<para>
</para>
@screen:
@Returns:
<!-- ##### FUNCTION gdk_spawn_on_screen ##### -->
<para>

View File

@@ -57,14 +57,35 @@ an input callback will be triggered. The three members
of this enumeration correspond to the @readfds,
@writefds, and @exceptfds arguments to the
<function>select</function> system call.
</para>
@GDK_INPUT_READ: the file descriptor has become available for reading.
<informaltable pgwide="1" frame="none" role="enum">
<tgroup cols="2"><colspec colwidth="2*"/><colspec colwidth="8*"/>
<tbody>
<row>
<entry>GDK_INPUT_READ</entry>
<entry>the file descriptor has become available for reading.
(Or, as is standard in Unix, a socket or pipe was closed
at the other end; this is the case if a subsequent read
on the file descriptor returns a count of zero.)
@GDK_INPUT_WRITE: the file descriptor has become available for writing.
@GDK_INPUT_EXCEPTION: an exception was raised on the file descriptor.
on the file descriptor returns a count of zero.)</entry>
</row>
<row>
<entry>GDK_INPUT_WRITE</entry>
<entry>the file descriptor has become available for writing.</entry>
</row>
<row>
<entry>GDK_INPUT_EXCEPTION</entry>
<entry>an exception was raised on the file descriptor.</entry>
</row>
</tbody></tgroup></informaltable>
</para>
@GDK_INPUT_READ:
@GDK_INPUT_WRITE:
@GDK_INPUT_EXCEPTION:
<!-- ##### USER_FUNCTION GdkInputFunction ##### -->
<para>

View File

@@ -167,6 +167,8 @@ be mapped to a keyval.
@level:
@consumed_modifiers:
@Returns:
<!-- # Unused Parameters # -->
@unused_modifiers:
<!-- ##### FUNCTION gdk_keymap_get_entries_for_keyval ##### -->

View File

@@ -30,7 +30,6 @@ The type #GdkDrawable refers generically to any of
these types.
</para>
@user_data:
<!-- ##### FUNCTION gdk_pixmap_new ##### -->
<para>

View File

@@ -235,15 +235,6 @@ Finds or creates an atom corresponding to a given string.
@Returns: the atom corresponding to @atom_name.
<!-- ##### FUNCTION gdk_atom_intern_static_string ##### -->
<para>
</para>
@atom_name:
@Returns:
<!-- ##### FUNCTION gdk_atom_name ##### -->
<para>
Determines the string corresponding to an atom.

View File

@@ -56,48 +56,54 @@ Defines the position and size of a rectangle.
<!-- ##### FUNCTION gdk_rectangle_intersect ##### -->
<para>
Calculates the intersection of two rectangles.
</para>
@src1:
@src2:
@dest:
@Returns:
@src1: a #GdkRectangle.
@src2: a #GdkRectangle.
@dest: the intersection of @src1 and @src2.
@Returns: %TRUE if the rectangles intersect.
<!-- ##### FUNCTION gdk_rectangle_union ##### -->
<para>
Calculates the union of two rectangles.
The union of rectangles @src1 and @src2 is the smallest rectangle which
includes both @src1 and @src2 within it.
</para>
@src1:
@src2:
@dest:
@src1: a #GdkRectangle.
@src2: a #GdkRectangle.
@dest: the union of @src1 and @src2.
<!-- ##### STRUCT GdkRegion ##### -->
<para>
A GdkRegion represents a set of pixels on the screen.
The only user-visible field of the structure is the user_data member, which
can be used to attach arbitrary data to the #GdkRegion.
</para>
<!-- ##### FUNCTION gdk_region_new ##### -->
<para>
Creates a new empty #GdkRegion.
</para>
@Returns:
@Returns: a new empty #GdkRegion.
<!-- ##### FUNCTION gdk_region_polygon ##### -->
<para>
Creates a new #GdkRegion using the polygon defined by a number of points.
</para>
@points:
@npoints:
@fill_rule:
@Returns:
@points: an array of #GdkPoint structs.
@npoints: the number of elements in the @points array.
@fill_rule: specifies which pixels are included in the region when the polygon
overlaps itself.
@Returns: a new #GdkRegion based on the given polygon.
<!-- ##### ENUM GdkFillRule ##### -->
@@ -131,19 +137,19 @@ included in the region, while areas overlapped an even number of times are not.
<!-- ##### FUNCTION gdk_region_destroy ##### -->
<para>
Destroys a #GdkRegion.
</para>
@region:
@region: a #GdkRegion.
<!-- ##### FUNCTION gdk_region_get_clipbox ##### -->
<para>
Returns the smallest rectangle which includes the entire #GdkRegion.
</para>
@region:
@rectangle:
@region: a #GdkRegion.
@rectangle: returns the smallest rectangle which includes all of @region.
<!-- ##### FUNCTION gdk_region_get_rectangles ##### -->
@@ -158,42 +164,44 @@ included in the region, while areas overlapped an even number of times are not.
<!-- ##### FUNCTION gdk_region_empty ##### -->
<para>
Returns %TRUE if the #GdkRegion is empty.
</para>
@region:
@Returns:
@region: a #GdkRegion.
@Returns: %TRUE if @region is empty.
<!-- ##### FUNCTION gdk_region_equal ##### -->
<para>
Returns %TRUE if the two regions are the same.
</para>
@region1:
@region2:
@Returns:
@region1: a #GdkRegion.
@region2: a #GdkRegion.
@Returns: %TRUE if @region1 and @region2 are equal.
<!-- ##### FUNCTION gdk_region_point_in ##### -->
<para>
Returns %TRUE if a point is in a region.
</para>
@region:
@x:
@y:
@Returns:
@region: a #GdkRegion.
@x: the x coordinate of a point.
@y: the y coordinate of a point.
@Returns: %TRUE if the point is in @region.
<!-- ##### FUNCTION gdk_region_rect_in ##### -->
<para>
Tests whether a rectangle is within a region.
</para>
@region:
@rectangle:
@Returns:
@region: a #GdkRegion.
@rect: a #GdkRectangle.
@Returns: %GDK_OVERLAP_RECTANGLE_IN, %GDK_OVERLAP_RECTANGLE_OUT, or
%GDK_OVERLAP_RECTANGLE_PART, depending on whether the rectangle is inside,
outside, or partly inside the #GdkRegion, respectively.
<!-- ##### ENUM GdkOverlapType ##### -->
@@ -207,22 +215,23 @@ Specifies the possible values returned by gdk_region_rect_in().
<!-- ##### FUNCTION gdk_region_offset ##### -->
<para>
Moves a region the specified distance.
</para>
@region:
@dx:
@dy:
@region: a #GdkRegion.
@dx: the distance to move the region horizontally.
@dy: the distance to move the region vertically.
<!-- ##### FUNCTION gdk_region_shrink ##### -->
<para>
Resizes a region by the specified amount.
Positive values shrink the region. Negative values expand it.
</para>
@region:
@dx:
@dy:
@region: a #GdkRegion.
@dx: the number of pixels to shrink the region horizontally.
@dy: the number of pixels to shrink the region vertically.
<!-- ##### FUNCTION gdk_region_union_with_rect ##### -->
@@ -289,14 +298,15 @@ gdk_region_spans_intersect_foreach().
<!-- ##### FUNCTION gdk_region_spans_intersect_foreach ##### -->
<para>
Calls a function on each span in the intersection of @region and
@spans.
</para>
@region:
@spans:
@n_spans:
@sorted:
@function:
@data:
@region: a #GdkRegion.
@spans: an array of #GdkSpans.
@n_spans: the length of @spans.
@sorted: %TRUE if @spans is sorted wrt. the y coordinate.
@function: function to call on each span in the intersection.
@data: data to pass to @function.

View File

@@ -278,18 +278,40 @@ start of the next.
<!-- ##### ENUM GdkRgbDither ##### -->
<para>
Selects whether or not GdkRGB applies dithering
to the image on display.
to the image on display. There are three values:
</para>
<itemizedlist>
<listitem>
<para>
%GDK_RGB_DITHER_NONE: Never use dithering.
</para>
</listitem>
<listitem>
<para>
%GDK_RGB_DITHER_NORMAL: Use dithering in 8 bits per pixel (and below)
only.
</para>
</listitem>
<listitem>
<para>
%GDK_RGB_DITHER_MAX: Use dithering in 16 bits per pixel and below.
</para>
</listitem>
</itemizedlist>
<para>
Since GdkRGB currently only handles images with 8 bits per component,
dithering on 24 bit per pixel displays is a moot point.
</para>
@GDK_RGB_DITHER_NONE: Never use dithering.
@GDK_RGB_DITHER_NORMAL: Use dithering in 8 bits per pixel (and below)
only.
@GDK_RGB_DITHER_MAX: Use dithering in 16 bits per pixel and below.
@GDK_RGB_DITHER_NONE:
@GDK_RGB_DITHER_NORMAL:
@GDK_RGB_DITHER_MAX:
<!-- ##### FUNCTION gdk_rgb_cmap_new ##### -->
<para>

View File

@@ -22,11 +22,6 @@ which protects all use of GTK+. That is, only one thread can use GTK+
at any given time.
</para>
<para>
Unfortunately the above holds with the X11 backend only. With the
Win32 backend, GDK calls should not be attempted from multiple threads
at all.
</para>
<para>
You must call g_thread_init() and gdk_threads_init() before executing
any other GTK+ or GDK functions in a threaded GTK+ program.
</para>
@@ -295,7 +290,8 @@ Leaves a critical region begun with gdk_threads_enter().
<!-- ##### VARIABLE gdk_threads_mutex ##### -->
<para>
The #GMutex used to implement the critical region for
gdk_threads_enter()/gdk_threads_leave().
gdk_threads_enter()/gdk_threads_leave(). This variable should not be
used directly &mdash; consider it private.
</para>

View File

@@ -30,7 +30,6 @@ The type #GdkDrawable refers generically to any of
these types.
</para>
@user_data:
<!-- ##### ENUM GdkWindowType ##### -->
<para>
@@ -142,7 +141,8 @@ ratio.
</para>
@min_width: minimum width of window (or -1 to use requisition, with #GtkWindow only)
@min_height: minimum height of window (or -1 to use requisition, with #GtkWindow only)
@min_height minimum height of window (or -1 to use requisition, with #GtkWindow only)
@min_height:
@max_width: maximum width of window (or -1 to use requisition, with #GtkWindow only)
@max_height: maximum height of window (or -1 to use requisition, with #GtkWindow only)
@base_width: allowed window widths are @base_width + @width_inc * N where N is any integer (-1 allowed with #GtkWindow)
@@ -212,12 +212,6 @@ window types.
@GDK_WINDOW_TYPE_HINT_DOCK: Used for creating dock or panel windows.
@GDK_WINDOW_TYPE_HINT_DESKTOP: Used for creating the desktop background
window.
@GDK_WINDOW_TYPE_HINT_DROPDOWN_MENU:
@GDK_WINDOW_TYPE_HINT_POPUP_MENU:
@GDK_WINDOW_TYPE_HINT_TOOLTIP:
@GDK_WINDOW_TYPE_HINT_NOTIFICATION:
@GDK_WINDOW_TYPE_HINT_COMBO:
@GDK_WINDOW_TYPE_HINT_DND:
<!-- ##### STRUCT GdkWindowAttr ##### -->
<para>
@@ -903,44 +897,6 @@ backend, <type>MSG</type>s for Win32).
@window:
<!-- ##### FUNCTION gdk_window_input_shape_combine_mask ##### -->
<para>
</para>
@window:
@mask:
@x:
@y:
<!-- ##### FUNCTION gdk_window_input_shape_combine_region ##### -->
<para>
</para>
@window:
@shape_region:
@offset_x:
@offset_y:
<!-- ##### FUNCTION gdk_window_set_child_input_shapes ##### -->
<para>
</para>
@window:
<!-- ##### FUNCTION gdk_window_merge_child_input_shapes ##### -->
<para>
</para>
@window:
<!-- ##### FUNCTION gdk_window_set_static_gravities ##### -->
<para>
@@ -1078,15 +1034,6 @@ Deprecated equivalent to gdk_drawable_set_colormap()
@hint:
<!-- ##### FUNCTION gdk_window_get_type_hint ##### -->
<para>
</para>
@window:
@Returns:
<!-- ##### FUNCTION gdk_window_set_skip_taskbar_hint ##### -->
<para>
@@ -1217,11 +1164,6 @@ Hyper, Alt, Compose, Apple, CapsLock or ShiftLock.
<para>
Like the X Window System, GDK supports 8 modifier keys and 5 mouse buttons.
</para>
<para>
Since 2.10, GDK recognizes which of the Meta, Super or Hyper keys are mapped
to Mod2 - Mod5, and indicates this by setting %GDK_SUPER_MASK, %GDK_HYPER_MASK
or %GDK_META_MASK in the state field of key events.
</para>
@GDK_SHIFT_MASK: the Shift key.
@GDK_LOCK_MASK: a Lock key (depending on the modifier mapping of the
@@ -1243,9 +1185,6 @@ or %GDK_META_MASK in the state field of key events.
@GDK_BUTTON3_MASK: the third mouse button.
@GDK_BUTTON4_MASK: the fourth mouse button.
@GDK_BUTTON5_MASK: the fifth mouse button.
@GDK_SUPER_MASK: the Super modifier. Since 2.10
@GDK_HYPER_MASK: the Hyper modifier. Since 2.10
@GDK_META_MASK: the Meta modifier. Since 2.10
@GDK_RELEASE_MASK: not used in GDK itself. GTK+ uses it to differentiate
between (keyval, modifiers) pairs from key press and release events.
@GDK_MODIFIER_MASK: a mask covering all modifier types.

View File

@@ -280,19 +280,6 @@ Another name for GDK_DRAWABLE_XID().
@Returns:
<!-- ##### FUNCTION gdk_pixmap_foreign_new_for_screen ##### -->
<para>
</para>
@screen:
@anid:
@width:
@height:
@depth:
@Returns:
<!-- ##### FUNCTION gdk_window_foreign_new ##### -->
<para>
@@ -373,7 +360,7 @@ Obtains the #GdkFont for the given Xlib font ID, or %NULL if no #GdkFont has
been created for @xid.
</para>
@xid: an Xlib font ID
@xid:
<!-- ##### MACRO gdk_font_lookup_for_display ##### -->

View File

@@ -48,19 +48,8 @@ IGNORE_HFILES= \
gtkmnemonichash.h \
gtkpathbar.h \
gtkplugprivate.h \
gtkprintbackend.h \
gtkprinteroption.h \
gtkprinteroptionset.h \
gtkprinteroptionwidget.h \
gtkprinter-private.h \
gtkprint-win32.h \
gtkprintutils.h \
gtkprintoperation-private.h \
gtkprivate.h \
gtkrbtree.h \
gtkrecentchooserdefault.h \
gtkrecentchooserutils.h \
gtkrecentchooserprivate.h \
gtksequence.h \
gtksocketprivate.h \
gtktreedatalist.h \
@@ -75,7 +64,6 @@ IGNORE_HFILES= \
gtktexttypes.h \
gtktextutil.h \
gtktoggleactionprivate.h \
gtktrayicon.h \
gtktypebuiltins.h \
gtkxembed.h \
gtkwin32embed.h \
@@ -109,7 +97,6 @@ content_files = \
changes-1.2.sgml \
changes-2.0.sgml \
compiling.sgml \
directfb.sgml \
framebuffer.sgml \
glossary.xml \
migrating-checklist.sgml \
@@ -119,11 +106,7 @@ content_files = \
migrating-GtkIconView.sgml \
migrating-GtkAboutDialog.sgml \
migrating-GtkColorButton.sgml \
migrating-GtkAssistant.sgml \
migrating-GtkRecentChooser.sgml \
migrating-GtkLinkButton.sgml \
objects_grouped.sgml \
osx.sgml \
question_index.sgml \
resources.sgml \
text_widget.sgml \
@@ -143,131 +126,111 @@ expand_content_files = \
migrating-GtkIconView.sgml \
migrating-GtkAboutDialog.sgml \
migrating-GtkColorButton.sgml \
migrating-GtkAssistant.sgml \
migrating-GtkRecentChooser.sgml \
migrating-GtkLinkButton.sgml \
tree_widget.sgml \
text_widget.sgml \
question_index.sgml
# Images to copy into HTML directory
HTML_IMAGES = \
$(top_srcdir)/gtk/stock-icons/24/gtk-about.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-add.png \
$(top_srcdir)/gtk/stock-icons/20/gtk-apply.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-bold.png \
$(top_srcdir)/gtk/stock-icons/20/gtk-cancel.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-cdrom.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-clear.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-close.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-connect.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-convert.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-copy.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-cut.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-delete.png \
$(top_srcdir)/gtk/stock-icons/48/gtk-dialog-authentication.png \
$(top_srcdir)/gtk/stock-icons/48/gtk-dialog-error.png \
$(top_srcdir)/gtk/stock-icons/48/gtk-dialog-info.png \
$(top_srcdir)/gtk/stock-icons/48/gtk-dialog-question.png \
$(top_srcdir)/gtk/stock-icons/48/gtk-dialog-warning.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-directory.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-disconnect.png \
$(top_srcdir)/gtk/stock-icons/32/gtk-dnd.png \
$(top_srcdir)/gtk/stock-icons/32/gtk-dnd-multiple.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-edit.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-execute.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-file.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-find.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-find-and-replace.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-goto-bottom.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-goto-first-ltr.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-goto-first-rtl.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-goto-last-ltr.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-goto-last-rtl.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-goto-top.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-go-back-ltr.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-go-back-rtl.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-go-down.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-go-forward-ltr.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-go-forward-rtl.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-go-up.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-harddisk.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-network.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-help.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-home.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-index.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-indent-ltr.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-indent-rtl.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-unindent-ltr.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-unindent-rtl.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-italic.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-jump-to-ltr.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-jump-to-rtl.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-justify-center.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-justify-fill.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-justify-left.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-justify-right.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-missing-image.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-new.png \
$(top_srcdir)/gtk/stock-icons/20/gtk-no.png \
$(top_srcdir)/gtk/stock-icons/20/gtk-ok.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-open.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-orientation-landscape.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-orientation-portrait.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-orientation-reverse-landscape.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-orientation-reverse-portrait.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-paste.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-preferences.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-print.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-print-preview.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-properties.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-quit.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-redo-ltr.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-redo-rtl.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-refresh.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-remove.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-revert-to-saved-ltr.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-revert-to-saved-rtl.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-floppy.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-save.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-save-as.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-select-all.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-select-color.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-color-picker.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-font.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-sort-ascending.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-sort-descending.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-spell-check.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-stop.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-strikethrough.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-undelete-ltr.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-undelete-rtl.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-underline.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-undo-ltr.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-undo-rtl.png \
$(top_srcdir)/gtk/stock-icons/20/gtk-yes.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-zoom-100.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-zoom-fit.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-zoom-in.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-zoom-out.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-media-forward-ltr.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-media-forward-rtl.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-media-next-ltr.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-media-next-rtl.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-media-pause.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-media-play-ltr.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-media-play-rtl.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-media-previous-ltr.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-media-previous-rtl.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-media-record.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-media-rewind-ltr.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-media-rewind-rtl.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-media-stop.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-fullscreen.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-leave-fullscreen.png \
$(top_srcdir)/gtk/stock-icons/24/gtk-info.png \
$(top_srcdir)/gtk/stock-icons/stock_about_24.png \
$(top_srcdir)/gtk/stock-icons/stock_add_24.png \
$(top_srcdir)/gtk/stock-icons/stock_apply_20.png \
$(top_srcdir)/gtk/stock-icons/stock_text_bold_24.png \
$(top_srcdir)/gtk/stock-icons/stock_cancel_20.png \
$(top_srcdir)/gtk/stock-icons/stock_cdrom_24.png \
$(top_srcdir)/gtk/stock-icons/stock_clear_24.png \
$(top_srcdir)/gtk/stock-icons/stock_close_24.png \
$(top_srcdir)/gtk/stock-icons/stock_connect_24.png \
$(top_srcdir)/gtk/stock-icons/stock_convert_24.png \
$(top_srcdir)/gtk/stock-icons/stock_copy_24.png \
$(top_srcdir)/gtk/stock-icons/stock_cut_24.png \
$(top_srcdir)/gtk/stock-icons/stock_trash_24.png \
$(top_srcdir)/gtk/stock-icons/stock_dialog_authentication_48.png \
$(top_srcdir)/gtk/stock-icons/stock_dialog_error_48.png \
$(top_srcdir)/gtk/stock-icons/stock_dialog_info_48.png \
$(top_srcdir)/gtk/stock-icons/stock_dialog_question_48.png \
$(top_srcdir)/gtk/stock-icons/stock_dialog_warning_48.png \
$(top_srcdir)/gtk/stock-icons/stock_directory_24.png \
$(top_srcdir)/gtk/stock-icons/stock_disconnect_24.png \
$(top_srcdir)/gtk/stock-icons/stock_dnd_32.png \
$(top_srcdir)/gtk/stock-icons/stock_dnd_multiple_32.png \
$(top_srcdir)/gtk/stock-icons/stock_edit_24.png \
$(top_srcdir)/gtk/stock-icons/stock_exec_24.png \
$(top_srcdir)/gtk/stock-icons/stock_file_24.png \
$(top_srcdir)/gtk/stock-icons/stock_search_24.png \
$(top_srcdir)/gtk/stock-icons/stock_search_replace_24.png \
$(top_srcdir)/gtk/stock-icons/stock_bottom_24.png \
$(top_srcdir)/gtk/stock-icons/stock_first_24.png \
$(top_srcdir)/gtk/stock-icons/stock_last_24.png \
$(top_srcdir)/gtk/stock-icons/stock_top_24.png \
$(top_srcdir)/gtk/stock-icons/stock_left_arrow_24.png \
$(top_srcdir)/gtk/stock-icons/stock_down_arrow_24.png \
$(top_srcdir)/gtk/stock-icons/stock_right_arrow_24.png \
$(top_srcdir)/gtk/stock-icons/stock_up_arrow_24.png \
$(top_srcdir)/gtk/stock-icons/stock_harddisk_24.png \
$(top_srcdir)/gtk/stock-icons/stock_network_24.png \
$(top_srcdir)/gtk/stock-icons/stock_help_24.png \
$(top_srcdir)/gtk/stock-icons/stock_home_24.png \
$(top_srcdir)/gtk/stock-icons/stock_index_24.png \
$(top_srcdir)/gtk/stock-icons/stock_text_indent_24.png \
$(top_srcdir)/gtk/stock-icons/stock_text_unindent_24.png \
$(top_srcdir)/gtk/stock-icons/stock_text_italic_24.png \
$(top_srcdir)/gtk/stock-icons/stock_jump_to_24.png \
$(top_srcdir)/gtk/stock-icons/stock_jump_to_rtl_24.png \
$(top_srcdir)/gtk/stock-icons/stock_align_center_24.png \
$(top_srcdir)/gtk/stock-icons/stock_align_justify_24.png \
$(top_srcdir)/gtk/stock-icons/stock_align_left_24.png \
$(top_srcdir)/gtk/stock-icons/stock_align_right_24.png \
$(top_srcdir)/gtk/stock-icons/stock_broken_image_24.png \
$(top_srcdir)/gtk/stock-icons/stock_new_24.png \
$(top_srcdir)/gtk/stock-icons/stock_no_20.png \
$(top_srcdir)/gtk/stock-icons/stock_ok_20.png \
$(top_srcdir)/gtk/stock-icons/stock_open_24.png \
$(top_srcdir)/gtk/stock-icons/stock_paste_24.png \
$(top_srcdir)/gtk/stock-icons/stock_preferences_24.png \
$(top_srcdir)/gtk/stock-icons/stock_print_24.png \
$(top_srcdir)/gtk/stock-icons/stock_print_preview_24.png \
$(top_srcdir)/gtk/stock-icons/stock_properties_24.png \
$(top_srcdir)/gtk/stock-icons/stock_exit_24.png \
$(top_srcdir)/gtk/stock-icons/stock_redo_24.png \
$(top_srcdir)/gtk/stock-icons/stock_redo_rtl_24.png \
$(top_srcdir)/gtk/stock-icons/stock_refresh_24.png \
$(top_srcdir)/gtk/stock-icons/stock_remove_24.png \
$(top_srcdir)/gtk/stock-icons/stock_revert_24.png \
$(top_srcdir)/gtk/stock-icons/stock_revert_rtl_24.png \
$(top_srcdir)/gtk/stock-icons/stock_save_24.png \
$(top_srcdir)/gtk/stock-icons/stock_save_as_24.png \
$(top_srcdir)/gtk/stock-icons/stock_colorselector_24.png \
$(top_srcdir)/gtk/stock-icons/stock_color_picker_25.png \
$(top_srcdir)/gtk/stock-icons/stock_font_24.png \
$(top_srcdir)/gtk/stock-icons/stock_sort_ascending_24.png \
$(top_srcdir)/gtk/stock-icons/stock_sort_descending_24.png \
$(top_srcdir)/gtk/stock-icons/stock_spellcheck_24.png \
$(top_srcdir)/gtk/stock-icons/stock_stop_24.png \
$(top_srcdir)/gtk/stock-icons/stock_text_strikethrough_24.png \
$(top_srcdir)/gtk/stock-icons/stock_undelete_24.png \
$(top_srcdir)/gtk/stock-icons/stock_undelete_rtl_24.png \
$(top_srcdir)/gtk/stock-icons/stock_text_underline_24.png \
$(top_srcdir)/gtk/stock-icons/stock_undo_24.png \
$(top_srcdir)/gtk/stock-icons/stock_undo_rtl_24.png \
$(top_srcdir)/gtk/stock-icons/stock_yes_20.png \
$(top_srcdir)/gtk/stock-icons/stock_zoom_1_24.png \
$(top_srcdir)/gtk/stock-icons/stock_zoom_fit_24.png \
$(top_srcdir)/gtk/stock-icons/stock_zoom_in_24.png \
$(top_srcdir)/gtk/stock-icons/stock_zoom_out_24.png \
$(top_srcdir)/gtk/stock-icons/stock_media_forward_24.png \
$(top_srcdir)/gtk/stock-icons/stock_media_next_24.png \
$(top_srcdir)/gtk/stock-icons/stock_media_pause_24.png \
$(top_srcdir)/gtk/stock-icons/stock_media_play_24.png \
$(top_srcdir)/gtk/stock-icons/stock_media_play_rtl_24.png \
$(top_srcdir)/gtk/stock-icons/stock_media_previous_24.png \
$(top_srcdir)/gtk/stock-icons/stock_media_record_24.png \
$(top_srcdir)/gtk/stock-icons/stock_media_rewind_24.png \
$(top_srcdir)/gtk/stock-icons/stock_media_stop_24.png \
$(top_srcdir)/gtk/stock-icons/stock_fullscreen_24.png \
$(top_srcdir)/gtk/stock-icons/stock_leave_fullscreen_24.png \
$(top_srcdir)/gtk/stock-icons/stock_info_24.png \
$(srcdir)/images/accel-label.png \
$(srcdir)/images/assistant.png \
$(srcdir)/images/button.png \
$(srcdir)/images/check-button.png \
$(srcdir)/images/color-button.png \
@@ -283,18 +246,14 @@ HTML_IMAGES = \
$(srcdir)/images/icon-view.png \
$(srcdir)/images/image.png \
$(srcdir)/images/label.png \
$(srcdir)/images/link-button.png \
$(srcdir)/images/list-and-tree.png \
$(srcdir)/images/menubar.png \
$(srcdir)/images/messagedialog.png \
$(srcdir)/images/multiline-text.png \
$(srcdir)/images/notebook.png \
$(srcdir)/images/panes.png \
$(srcdir)/images/pagesetupdialog.png \
$(srcdir)/images/printdialog.png \
$(srcdir)/images/progressbar.png \
$(srcdir)/images/radio-group.png \
$(srcdir)/images/recentchooserdialog.png \
$(srcdir)/images/scales.png \
$(srcdir)/images/scrolledwindow.png \
$(srcdir)/images/separator.png \

View File

@@ -1,105 +0,0 @@
<refentry id="gtk-directfb">
<refmeta>
<refentrytitle>Using GTK+ on DirectFB</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GTK Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>Using GTK+ on DirectFB</refname>
<refpurpose>
DirectFB-specific aspects of using GTK+
</refpurpose>
</refnamediv>
<refsect1>
<title>Using GTK+ on DirectFB</title>
<para>
The DirectFB port of GTK+ is an implementation of GDK (and therefore GTK+)
on top of the <ulink url="http://www.directfb.org">DirectFB</ulink>
libraries.
</para>
<para>
Like the obsolete linux-fb port of GTK+, it runs on the Linux framebuffer,
but the DirectFB libraries provide additional features like hardware graphics
acceleration, input device handling and abstraction and an integrated windowing
system.
</para>
<refsect2><title>Build requirements</title>
<para>
Beyond the usual GTK+ build requirements, the DirectFB backend (obviously) needs
the DirectFB libraries (at least 0.9.21) and Cairo compiled with DirectFB support.
</para>
</refsect2>
<!--
FIXME: it seems most of the options listed in _gdk_windowing_args
are ignored, and they need to be described by somebody who knows
what they are supposed to do...
<refsect2><title>DirectFB-specific commandline options</title>
<para>
The DirectFB GDB backend can be influenced with some additional
command line arguments.
</para>
<formalpara>
<title><systemitem>dfb-help</systemitem></title>
<para>
Display help for DirectFB-specific commandline options.
</para>
</formalpara>
<formalpara>
<title><systemitem>dfb=<replaceable>value</replaceable></systemitem></title>
<para>
Possible values: sdl, system.
</para>
</formalpara>
<formalpara>
<title><systemitem>disable-aa-fonts=<replaceable>number</replaceable></systemitem></title>
<para>
If <replaceable>number</replaceable> is 1, disable antialising for fonts.
</para>
</formalpara>
<formalpara>
<title><systemitem>argb-font=<replaceable>number</replaceable></systemitem></title>
<para>
If <replaceable>number</replaceable> is 1, enable ARGB fonts.
</para>
</formalpara>
<formalpara>
<title><systemitem>transparent-unfocused=<replaceable>number</replaceable></systemitem></title>
<para>
If <replaceable>number</replaceable> is 1, make unfocused windows transparent.
</para>
</formalpara>
<formalpara>
<title><systemitem>glyph-surface-cache=<replaceable>number</replaceable></systemitem></title>
<para>
Set the size of the glyph surface cache. The default value is 8.
</para>
</formalpara>
<formalpara>
<title><systemitem>enable-color-keyring=<replaceable>number</replaceable></systemitem></title>
<para>
If <replaceable>number</replaceable> is 1, turn on the color keyring.
</para>
</formalpara>
-->
</refsect1>
</refentry>

View File

@@ -9,7 +9,6 @@
<!ENTITY GtkAlignment SYSTEM "xml/gtkalignment.xml">
<!ENTITY GtkArrow SYSTEM "xml/gtkarrow.xml">
<!ENTITY GtkAspectFrame SYSTEM "xml/gtkaspectframe.xml">
<!ENTITY GtkAssistant SYSTEM "xml/gtkassistant.xml">
<!ENTITY GtkButtonBox SYSTEM "xml/gtkbbox.xml">
<!ENTITY GtkBin SYSTEM "xml/gtkbin.xml">
<!ENTITY GtkBox SYSTEM "xml/gtkbox.xml">
@@ -67,7 +66,6 @@
<!ENTITY GtkItemFactory SYSTEM "xml/gtkitemfactory.xml">
<!ENTITY GtkLabel SYSTEM "xml/gtklabel.xml">
<!ENTITY GtkLayout SYSTEM "xml/gtklayout.xml">
<!ENTITY GtkLinkButton SYSTEM "xml/gtklinkbutton.xml">
<!ENTITY GtkList SYSTEM "xml/gtklist.xml">
<!ENTITY GtkListItem SYSTEM "xml/gtklistitem.xml">
<!ENTITY GtkMenu SYSTEM "xml/gtkmenu.xml">
@@ -84,15 +82,6 @@
<!ENTITY GtkPixmap SYSTEM "xml/gtkpixmap.xml">
<!ENTITY GtkPlug SYSTEM "xml/gtkplug.xml">
<!ENTITY GtkPreview SYSTEM "xml/gtkpreview.xml">
<!ENTITY GtkPrintOperation SYSTEM "xml/gtkprintoperation.xml">
<!ENTITY GtkPrintContext SYSTEM "xml/gtkprintcontext.xml">
<!ENTITY GtkPrintSettings SYSTEM "xml/gtkprintsettings.xml">
<!ENTITY GtkPageSetup SYSTEM "xml/gtkpagesetup.xml">
<!ENTITY GtkPaperSize SYSTEM "xml/gtkpapersize.xml">
<!ENTITY GtkPrinter SYSTEM "xml/gtkprinter.xml">
<!ENTITY GtkPrintJob SYSTEM "xml/gtkprintjob.xml">
<!ENTITY GtkPrintUnixDialog SYSTEM "xml/gtkprintunixdialog.xml">
<!ENTITY GtkPageSetupUnixDialog SYSTEM "xml/gtkpagesetupunixdialog.xml">
<!ENTITY GtkProgress SYSTEM "xml/gtkprogress.xml">
<!ENTITY GtkProgressBar SYSTEM "xml/gtkprogressbar.xml">
<!ENTITY GtkRadioAction SYSTEM "xml/gtkradioaction.xml">
@@ -100,12 +89,6 @@
<!ENTITY GtkRadioMenuItem SYSTEM "xml/gtkradiomenuitem.xml">
<!ENTITY GtkRadioToolButton SYSTEM "xml/gtkradiotoolbutton.xml">
<!ENTITY GtkRange SYSTEM "xml/gtkrange.xml">
<!ENTITY GtkRecentChooser SYSTEM "xml/gtkrecentchooser.xml">
<!ENTITY GtkRecentChooserDialog SYSTEM "xml/gtkrecentchooserdialog.xml">
<!ENTITY GtkRecentChooserMenu SYSTEM "xml/gtkrecentchoosermenu.xml">
<!ENTITY GtkRecentChooserWidget SYSTEM "xml/gtkrecentchooserwidget.xml">
<!ENTITY GtkRecentFilter SYSTEM "xml/gtkrecentfilter.xml">
<!ENTITY GtkRecentManager SYSTEM "xml/gtkrecentmanager.xml">
<!ENTITY GtkRuler SYSTEM "xml/gtkruler.xml">
<!ENTITY GtkScale SYSTEM "xml/gtkscale.xml">
<!ENTITY GtkScrollbar SYSTEM "xml/gtkscrollbar.xml">
@@ -117,7 +100,6 @@
<!ENTITY GtkSocket SYSTEM "xml/gtksocket.xml">
<!ENTITY GtkSpinButton SYSTEM "xml/gtkspinbutton.xml">
<!ENTITY GtkStatusbar SYSTEM "xml/gtkstatusbar.xml">
<!ENTITY GtkStatusIcon SYSTEM "xml/gtkstatusicon.xml">
<!ENTITY GtkTable SYSTEM "xml/gtktable.xml">
<!ENTITY GtkTearoffMenuItem SYSTEM "xml/gtktearoffmenuitem.xml">
<!ENTITY GtkText SYSTEM "xml/gtktext.xml">
@@ -149,11 +131,9 @@
<!ENTITY GtkCellEditable SYSTEM "xml/gtkcelleditable.xml">
<!ENTITY GtkCellLayout SYSTEM "xml/gtkcelllayout.xml">
<!ENTITY GtkCellRenderer SYSTEM "xml/gtkcellrenderer.xml">
<!ENTITY GtkCellRendererAccel SYSTEM "xml/gtkcellrendereraccel.xml">
<!ENTITY GtkCellRendererCombo SYSTEM "xml/gtkcellrenderercombo.xml">
<!ENTITY GtkCellRendererPixbuf SYSTEM "xml/gtkcellrendererpixbuf.xml">
<!ENTITY GtkCellRendererProgress SYSTEM "xml/gtkcellrendererprogress.xml">
<!ENTITY GtkCellRendererSpin SYSTEM "xml/gtkcellrendererspin.xml">
<!ENTITY GtkCellRendererText SYSTEM "xml/gtkcellrenderertext.xml">
<!ENTITY GtkCellRendererToggle SYSTEM "xml/gtkcellrenderertoggle.xml">
<!ENTITY GtkCellView SYSTEM "xml/gtkcellview.xml">
@@ -204,22 +184,16 @@
<!ENTITY gtk-Windows SYSTEM "windows.sgml">
<!ENTITY gtk-Framebuffer SYSTEM "framebuffer.sgml">
<!ENTITY gtk-X11 SYSTEM "x11.sgml">
<!ENTITY gtk-OSX SYSTEM "osx.sgml">
<!ENTITY gtk-DirectFB SYSTEM "directfb.sgml">
<!ENTITY gtk-Questions SYSTEM "xml/question_index.sgml">
<!ENTITY gtk-Changes-1-2 SYSTEM "changes-1.2.sgml">
<!ENTITY gtk-Changes-2-0 SYSTEM "changes-2.0.sgml">
<!ENTITY gtk-migrating-checklist SYSTEM "xml/migrating-checklist.sgml">
<!ENTITY gtk-migrating-Cairo SYSTEM "xml/migrating-Cairo.sgml">
<!ENTITY gtk-migrating-GtkFileChooser SYSTEM "xml/migrating-GtkFileChooser.sgml">
<!ENTITY gtk-migrating-GtkAction SYSTEM "xml/migrating-GtkAction.sgml">
<!ENTITY gtk-migrating-GtkComboBox SYSTEM "xml/migrating-GtkComboBox.sgml">
<!ENTITY gtk-migrating-GtkIconView SYSTEM "xml/migrating-GtkIconView.sgml">
<!ENTITY gtk-migrating-GtkAboutDialog SYSTEM "xml/migrating-GtkAboutDialog.sgml">
<!ENTITY gtk-migrating-GtkColorButton SYSTEM "xml/migrating-GtkColorButton.sgml">
<!ENTITY gtk-migrating-GtkAssistant SYSTEM "xml/migrating-GtkAssistant.sgml">
<!ENTITY gtk-migrating-GtkRecentChooser SYSTEM "xml/migrating-GtkRecentChooser.sgml">
<!ENTITY gtk-migrating-GtkLinkButton SYSTEM "xml/migrating-GtkLinkButton.sgml">
<!ENTITY version SYSTEM "version.xml">
<!ENTITY gtk-query-immodules SYSTEM "gtk-query-immodules-2.0.xml">
<!ENTITY gtk-update-icon-cache SYSTEM "gtk-update-icon-cache.xml">
@@ -320,11 +294,9 @@ that is, GUI components such as <link linkend="GtkButton">GtkButton</link> or
&gtk-Building;
&gtk-Compiling;
&gtk-Running;
&gtk-X11;
&gtk-Windows;
&gtk-OSX;
&gtk-DirectFB;
&gtk-Framebuffer;
&gtk-X11;
&gtk-Resources;
&gtk-Questions;
</part>
@@ -373,7 +345,6 @@ that is, GUI components such as <link linkend="GtkButton">GtkButton</link> or
&GtkWindow;
&GtkWindowGroup;
&GtkAboutDialog;
&GtkAssistant;
</chapter>
<chapter id="DisplayWidgets">
@@ -383,7 +354,6 @@ that is, GUI components such as <link linkend="GtkButton">GtkButton</link> or
&GtkLabel;
&GtkProgressBar;
&GtkStatusbar;
&GtkStatusIcon;
</chapter>
<chapter id="ButtonWidgets">
@@ -392,7 +362,6 @@ that is, GUI components such as <link linkend="GtkButton">GtkButton</link> or
&GtkCheckButton;
&GtkRadioButton;
&GtkToggleButton;
&GtkLinkButton;
</chapter>
<chapter id="NumericEntry">
@@ -432,11 +401,9 @@ that is, GUI components such as <link linkend="GtkButton">GtkButton</link> or
&GtkCellLayout;
&GtkCellRenderer;
&GtkCellEditable;
&GtkCellRendererAccel;
&GtkCellRendererCombo;
&GtkCellRendererPixbuf;
&GtkCellRendererProgress;
&GtkCellRendererSpin;
&GtkCellRendererText;
&GtkCellRendererToggle;
&GtkListStore;
@@ -522,19 +489,6 @@ that is, GUI components such as <link linkend="GtkButton">GtkButton</link> or
&GtkScrolledWindow;
</chapter>
<chapter id="Printing">
<title>Printing</title>
&GtkPrintOperation;
&GtkPrintContext;
&GtkPrintSettings;
&GtkPageSetup;
&GtkPaperSize;
&GtkPrinter;
&GtkPrintJob;
&GtkPrintUnixDialog;
&GtkPageSetupUnixDialog;
</chapter>
<chapter id="MiscObjects">
<title>Miscellaneous</title>
&GtkAdjustment;
@@ -584,16 +538,6 @@ that is, GUI components such as <link linkend="GtkButton">GtkButton</link> or
&GtkVRuler;
</chapter>
<chapter id="RecentDocuments">
<title>Recently Used Documents</title>
&GtkRecentManager;
&GtkRecentChooser;
&GtkRecentChooserDialog;
&GtkRecentChooserMenu;
&GtkRecentChooserWidget;
&GtkRecentFilter;
</chapter>
<chapter id="DeprecatedObjects">
<title>Deprecated</title>
&GtkCList;
@@ -636,9 +580,6 @@ that is, GUI components such as <link linkend="GtkButton">GtkButton</link> or
&gtk-migrating-GtkIconView;
&gtk-migrating-GtkAboutDialog;
&gtk-migrating-GtkColorButton;
&gtk-migrating-GtkAssistant;
&gtk-migrating-GtkRecentChooser;
&gtk-migrating-GtkLinkButton;
</part>
<part>
@@ -668,8 +609,5 @@ that is, GUI components such as <link linkend="GtkButton">GtkButton</link> or
<index role="2.8">
<title>Index of new symbols in 2.8</title>
</index>
<index role="2.10">
<title>Index of new symbols in 2.10</title>
</index>
</book>

File diff suppressed because it is too large Load Diff

View File

@@ -2,7 +2,7 @@
.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
.\" Instead of manually editing it, you probably should edit the DocBook XML
.\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
.TH "GTK\-UPDATE\-ICON\-CACH" "1" "11/07/2005" "" ""
.TH "GTK\-UPDATE\-ICON\-CACH" "1" "08/26/2005" "" ""
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
@@ -11,13 +11,13 @@
gtk\-update\-icon\-cache \- Icon theme caching utility
.SH "SYNOPSIS"
.HP 22
\fBgtk\-update\-icon\-cache\fR [\-\-force] [\-\-ignore\-theme\-index] [\-\-index\-only] [\-\-source\ [name]] [\-\-quiet] {iconpath}
\fBgtk\-update\-icon\-cache\fR [\-\-force] [\-\-index\-only] [\-\-ignore\-theme\-index] [\-\-quiet] {iconpath}
.SH "DESCRIPTION"
.PP
\fBgtk\-update\-icon\-cache\fR
creates mmap()able cache files for icon themes.
.PP
It expects to be given the path to a icon theme directory containing an
If expects to be given the path to a icon theme directory containing an
\fIindex.theme\fR, e.g.
\fI/usr/share/icons/hicolor\fR, and writes a
\fIicon\-theme.cache\fR
@@ -39,11 +39,6 @@ refuses to create an icon cache in a directory which does not appear to be the t
\-\-index\-only, \-i
Don't include image data in the cache.
.TP
\-\-source, \-c
Output a C header file declaring a constant
\fIname\fR
with the contents of the icon cache.
.TP
\-\-quiet, \-q
Turn off verbose output.
.SH "BUGS"

View File

@@ -14,9 +14,8 @@
<cmdsynopsis>
<command>gtk-update-icon-cache</command>
<arg choice="opt">--force</arg>
<arg choice="opt">--ignore-theme-index</arg>
<arg choice="opt">--index-only</arg>
<arg choice="opt">--source<arg>name</arg></arg>
<arg choice="opt">--ignore-theme-index</arg>
<arg choice="opt">--quiet</arg>
<arg choice="req">iconpath</arg>
</cmdsynopsis>
@@ -27,7 +26,7 @@
icon themes.
</para>
<para>
It expects to be given the path to a icon theme directory containing an
If expects to be given the path to a icon theme directory containing an
<filename>index.theme</filename>, e.g. <filename>/usr/share/icons/hicolor</filename>,
and writes a <filename>icon-theme.cache</filename> containing cached information
about the icons in the directory tree below the given directory.
@@ -45,8 +44,8 @@ multiple applications, the overall memory consumption is reduced as well.
<varlistentry>
<term>--force</term>
<term>-f</term>
<listitem><para>Overwrite an existing cache file even if it appears to be
uptodate.</para></listitem>
<listitem><para>Overwrite an existing cache file even if it appears to be uptodate.
</para></listitem>
</varlistentry>
<varlistentry>
@@ -66,14 +65,6 @@ multiple applications, the overall memory consumption is reduced as well.
</para></listitem>
</varlistentry>
<varlistentry>
<term>--source</term>
<term>-c</term>
<listitem><para>Output a C header file declaring a constant
<replaceable>name</replaceable> with the contents of the icon
cache.</para></listitem>
</varlistentry>
<varlistentry>
<term>--quiet</term>
<term>-q</term>

View File

@@ -1,8 +1,4 @@
#include <gtk/gtk.h>
#include <gtk/gtkprintunixdialog.h>
#include <gtk/gtkpagesetupunixdialog.h>
#include <gtk/gtkprinter.h>
#include <gtk/gtkprintjob.h>
gtk_about_dialog_get_type
gtk_accel_group_get_type
@@ -15,7 +11,6 @@ gtk_adjustment_get_type
gtk_alignment_get_type
gtk_arrow_get_type
gtk_aspect_frame_get_type
gtk_assistant_get_type
gtk_bin_get_type
gtk_box_get_type
gtk_button_box_get_type
@@ -23,7 +18,6 @@ gtk_button_get_type
gtk_calendar_get_type
gtk_cell_editable_get_type
gtk_cell_layout_get_type
gtk_cell_renderer_accel_get_type
gtk_cell_renderer_combo_get_type
gtk_cell_renderer_get_type
gtk_cell_renderer_pixbuf_get_type
@@ -85,7 +79,6 @@ gtk_item_factory_get_type
gtk_item_get_type
gtk_label_get_type
gtk_layout_get_type
gtk_link_button_get_type
gtk_list_get_type
gtk_list_item_get_type
gtk_list_store_get_type
@@ -100,19 +93,10 @@ gtk_notebook_get_type
gtk_object_get_type
gtk_old_editable_get_type
gtk_option_menu_get_type
gtk_page_setup_get_type
gtk_page_setup_unix_dialog_get_type
gtk_paned_get_type
gtk_paper_size_get_type
gtk_pixmap_get_type
gtk_plug_get_type
gtk_preview_get_type
gtk_printer_get_type
gtk_print_context_get_type
gtk_print_job_get_type
gtk_print_operation_get_type
gtk_print_settings_get_type
gtk_print_unix_dialog_get_type
gtk_progress_bar_get_type
gtk_progress_get_type
gtk_radio_action_get_type
@@ -133,7 +117,6 @@ gtk_size_group_get_type
gtk_socket_get_type
gtk_spin_button_get_type
gtk_statusbar_get_type
gtk_status_icon_get_type
gtk_style_get_type
gtk_table_get_type
gtk_tearoff_menu_item_get_type

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -1,170 +0,0 @@
<chapter id="gtk-migrating-GtkAssistant">
<chapterinfo>
<author>
<firstname>Carlos</firstname>
<surname>Garnacho</surname>
<affiliation>
<address>
<email>carlosg@gnome.org</email>
</address>
</affiliation>
</author>
</chapterinfo>
<title>Migrating from GnomeDruid to GtkAssistant</title>
<para>
Since version 2.10, GTK+ provides the GtkAssistant widget as a replacement
for the <structname>GnomeDruid</structname> widget in the libgnomeui library.
</para>
<para>
Conceptually, both <structname>GtkAssistant</structname> and <structname>GnomeDruid</structname>
do the same task, but there are several areas where the API has been completely
redesigned, so this chapter covers the main changes between both widgets.
</para>
<section id="inserting-pages">
<title>Inserting pages</title>
<para>
<structname>GnomeDruid</structname> was implemented as a container for
<structname>GnomeDruidPage</structname> abstract objects, which are implemented by the
<structname>GnomeDruidPageEdge</structname> and <structname>GnomeDruidPageStandard</structname>
widgets. Instead, <structname>GtkAssistant</structname> allows any widget to be a page, and implements
per-page settings (such as page type or title) as child properties. So instead of:
</para>
<programlisting>
/* Page 1 */
page = gnome_druid_page_edge_new (GNOME_EDGE_START);
gnome_druid_page_edge_set_test (GNOME_DRUID_PAGE_EDGE (page),
"Welcome to the assistant, it will make your life easier");
gtk_widget_show (page);
gnome_druid_append_page (GNOME_DRUID (druid), GNOME_DRUID_PAGE (page));
/* Page 2 */
page = gnome_druid_page_standard_new ();
gtk_container_add (GTK_CONTAINER (GNOME_DRUID_PAGE_STANDARD (page)->vbox,
create_page1 ());
gtk_widget_show_all (page);
gnome_druid_append_page (GNOME_DRUID (druid), GNOME_DRUID_PAGE (page));
/* Page 3 */
page = gnome_druid_page_edge_new (GNOME_EDGE_FINISH);
gnome_druid_page_edge_set_test (GNOME_DRUID_PAGE_EDGE (page),
"Now you are done, your life is easier");
gtk_widget_show (page);
gnome_druid_append_page (GNOME_DRUID (druid), GNOME_DRUID_PAGE (page));
</programlisting>
<para>
You have to write:
</para>
<programlisting>
gtk_assistant_append_page (GTK_ASSISTANT (assistant),
gtk_label_new ("Welcome to the assistant, it will make your life easier"));
gtk_assistant_append_page (GTK_ASSISTANT (assistant),
create_page1 ());
gtk_assistant_append_page (GTK_ASSISTANT (assistant),
gtk_label_new ("Now you are done, your life is easier");
</programlisting>
</section>
<section id="decorating-the-assistant-pages">
<title>Decorating the assistant pages</title>
<para>
To decorate your assistant pages, <structname>GtkAssistant</structname> provides similar functions
to <structname>GnomeDruid</structname>, so you have to transform code like this:
</para>
<programlisting>
gnome_druid_page_edge_set_title (GNOME_DRUID_PAGE_EDGE (page), "Welcome");
gnome_druid_page_edge_set_logo (GNOME_DRUID_PAGE_EDGE (page), logo_pixbuf);
gnome_druid_page_edge_set_watermark (GNOME_DRUID_PAGE_EDGE (page), watermark_pixbuf);
</programlisting>
<para>
Into this:
</para>
<programlisting>
gtk_assistant_set_page_title (GTK_ASSISTANT (assistant), page_widget, "Welcome");
gtk_assistant_set_page_header_image (GTK_ASSISTANT (assistant), page_widget, logo_pixbuf);
gtk_assistant_set_page_side_image (GTK_ASSISTANT (assistant), page_widget, watermark_pixbuf);
</programlisting>
<para>
Where page_widget is the widget used as a page.
</para>
</section>
<section id="setting-the-page-flow">
<title>Setting the page flow</title>
<para>
Here is the area where <structname>GtkAssistant</structname> and <structname>GnomeDruid</structname>
differ the most. While <structname>GnomeDruid</structname> used the "next" and "back" signals from the
<structname>GnomeDruidPage</structname>, <structname>GtkAssistant</structname> uses the following
techniques:
</para>
<itemizedlist>
<listitem>
<para>gtk_assistant_set_forward_page_func (): Allows to define a GtkAssistantPageFunc to let the
assistant know which will be the following page given the current page.</para>
</listitem>
<listitem>
<para>gtk_assistant_set_page_complete (): Lets the assistant know whether the specified page is complete
or not, updating buttons state accordingly.</para>
</listitem>
<listitem>
<para>gtk_assistant_set_page_type (): Lets the assistant know the page role and update the buttons
state accordingly. Pages can have the following roles:</para>
<simplelist>
<member>Intro</member>
<member>Content</member>
<member>Progress</member>
<member>Confirmation</member>
<member>Summary</member>
</simplelist>
</listitem>
</itemizedlist>
<para>
A sample GtkAssistantPageFunc could look like this:
</para>
<programlisting>
static gint
forward_page_function (gint current_page,
gpointer data)
{
switch (current_page)
{
case 0:
return 1;
case 1:
if (check_page1_data ())
return 2;
else
return 3;
case 2:
return 3;
default:
return -1;
}
}
</programlisting>
</section>
</chapter>
<!--
Local variables:
mode: sgml
sgml-parent-document: ("gtk-docs.sgml" "book" "part" "chapter")
End:
-->

View File

@@ -1,72 +0,0 @@
<chapter id="gtk-migrating-GtkLinkButton">
<title>Migrating from GnomeHRef to GtkLinkButton</title>
<para>
Since version 2.10, GTK+ provides the #GtkLinkButton widget as a
replacement for the <structname>GnomeHRef</structname> widget
in the libgnomeui library.
</para>
<para>
Porting an application from <structname>GnomeHRef</structname> to
#GtkLinkButton is very simple. #GtkLinkButton does not have a
default action for "clicked" signal. So instead of simply creating
the widget
<informalexample><programlisting>
GtkWidget *button;
button = gnome_href_new (url, "");
</programlisting></informalexample>
you will have to handle the activation of the #GtkLinkButton, using
the "clicked" signal for instance
<informalexample><programlisting>
static void
link_button_clicked_cb (GtkWidget *widget,
gpointer data)
{
const gchar *link;
link = gtk_link_button_get_uri (GTK_LINK_BUTTON (widget));
open_browser_at_url (link);
}
/* ... */
GtkWidget *button;
button = gtk_link_button_new (url);
g_signal_connect (button, "clicked",
G_CALLBACK (link_button_clicked_cb), NULL);
</programlisting></informalexample>
If you have more than one #GtkLinkButton instead of connecting
a signal to each one, you can use a "hook function" which will be
called whenever a user activates a link button
<informalexample><programlisting>
static void
link_button_hook (GtkLinkButton *button,
const gchar *link,
gpointer user_data)
{
open_browser_at_url (link);
}
/* ... */
GtkWidget *button1 = gtk_link_button_new (uri1);
GtkWidget *button2 = gtk_link_button_new (uri2);
gtk_link_button_set_uri_hook (link_button_hook, NULL, NULL);
</programlisting></informalexample>
</para>
</chapter>
<!--
Local variables:
mode: sgml
sgml-parent-document: ("gtk-docs.sgml" "book" "part" "chapter")
End:
-->

View File

@@ -1,319 +0,0 @@
<chapter id="gtk-migrating-GtkRecentChooser">
<chapterinfo>
<author>
<firstname>Emmanuele</firstname>
<lastname>Bassi</lastname>
<affiliation>
<address>
<email>ebassi@gmail.com</email>
</address>
</affiliation>
</author>
</chapterinfo>
<title>Migrating from EggRecent to GtkRecentChooser</title>
<para>
Since version 2.10, GTK+ provides a way of handling the recently used
documents. It is similar to the code that has lived inside the libegg
library and has been incorporated by many applications. The GTK+ version
aims to completely replace that code, and offers many distinctive features
that improve the registration and visualization of the recently used
documents, such as:
</para>
<para>
<itemizedlist>
<listitem><para>
Better performances while reading and writing the list of recently used
files
</para></listitem>
<listitem><para>
More meta-data available for each recent document, like the
applications that have registered a document inside the list, the last
time and the number of times the same application did register a
document inside the list, an optional user readable name and
description of the document
</para></listitem>
<listitem><para>
Improved the ability to sort and filter the documents, also using
custom sorting and filtering functions
</para></listitem>
<listitem><para>
New widgets for displaying the list, and better integration with
current #GtkFileChooser and #GtkUIManager widgets
</para></listitem>
</itemizedlist>
</para>
<section id="gtkrecent-manager">
<title>Managing the Recently Used Documents</title>
<para>
#GtkRecentManager is used to manage the Recently Used Documents. To
create a new #GtkRecentManager, you simply call gtk_recent_manager_new().
Like the <structname>EggRecentModel</structname> inside EggRecent, the
#GtkRecentManager loads the list of the recent documents and notifies
you of changes inside the list.
</para>
<para>
Usually, instead of creating a new #GtkRecentManager each time you
need it, you'll want to use the gtk_recent_manager_get_default()
function.
</para>
<para>
To add a document to the list, you can use gtk_recent_manager_add_item(),
like:
<informalexample><programlisting>
GtkRecentManager *manager;
manager = gtk_recent_manager_new (<!-- -->);
if (!gtk_recent_manager_add_item (manager, document_uri))
{
/* warn about the error */
}
g_object_unref (manager);
</programlisting></informalexample>
The gtk_recent_manager_add_item() function will try and guess some of the
meta-data associated to a URI. If you know some of meta-data about the
document yourself, set the desired fields of a #GtkRecentData structure
and pass it to the gtk_recent_manager_add_full() function instead:
<informalexample><programlisting>
GtkRecentManager *manager;
GtkRecentData *recent_data;
manager = gtk_recent_manager_new (<!-- -->);
recent_data = g_new0 (GtkRecentData, 1);
/* the user visible name of the document (maybe its title); should
* be preferred when displaying the item into the list
*/
recent_data-&gt;display_name = document_name;
/* the MIME type is mandatory */
recent_data-&gt;mime_type = document_mime_type;
/* the name of the application that is registering the document
* (also mandatory); usually, the same name you used with
* the g_set_application_name (<!-- -->) function.
*/
recent_data-&amp;app_name = APP_NAME;
/* the command to open a file; the %u string will be automagically
* expanded to the document's URI when getting the application's
* command line from the GtkRecentInfo object with
* gtk_recent_info_get_application_info (<!-- -->)
*/
recent_data-&amp;app_exec = g_strjoin (" ", g_get_prgname (<!-- -->), "--open-file", "%u", NULL);
if (!gtk_recent_manager_add_full (manager, document_uri, recent_data))
{
/* warn about the error */
}
g_free (recent_data-&gt;app_exec);
g_free (recent_data);
g_object_unref (manager);
</programlisting></informalexample>
</para>
<para>
Getting the list of items is also similar to
<structname>EggRecentModel</structname>; the GtkRecentInfo data is
allocated at look up time in order not to waste memory keeping it
around, so you must remember to free the data inside the list and then
the list itself when you are done using it:
<informalexample><programlisting>
GtkRecentManager *manager;
GList *recent_items, *l;
manager = gtk_recent_manager_get_default(<!-- -->);
recent_items = gtk_recent_manager_get_items (manager);
for (l = recent_items; l != NULL; l = l-&gt;next)
{
GtkRecentInfo *recent_info = l-&gt;data;
do_something_with_the_item (recent_info);
}
/* free everything and the list */
g_list_foreach (recent_items, (GFunc) gtk_recent_info_unref, NULL);
g_list_free (recent_items);
</programlisting></informalexample>
You can also look up a single item:
<informalexample><programlisting>
GtkRecentInfo *recent_info;
GError *error = NULL;
recent_info = gtk_recent_manager_lookup_item (manager, document_uri, &amp;error);
if (error)
{
display_error (error);
g_error_free (error);
}
else
{
do_something_with_the_item (recent_info);
gtk_recent_info_unref (recent_info);
}
</programlisting></informalexample>
The #GtkRecentInfo is a reference counted boxed type, and it holds all
the meta-data of a recently used document, like its display name, its
description, the list of each application that has registered the
document or the list of groups to which the document belong.
</para>
</section> <!-- gtkrecent-manager -->
<section id="gtkrecent-chooser">
<title>Displaying the Recently Used Documents</title>
<para>
Displaying the Recently Used Documents list is handled by any widget
implementing the #GtkRecentChooser interface. These widgets also handle
the sorting and filtering of the list; they will create their own
#GtkRecentManager objects by default:
<informalexample><programlisting>
GtkWidget *chooser;
gint response;
/* create a new dialog with the recently used documents list shown
* using a GtkTreeView widget
*/
chooser = gtk_recent_chooser_dialog_new ("Recent Documents",
parent_window,
GTK_STOCK_CLOSE, GTK_RESPONSE_CANCEL,
GTK_STOCK_OPEN, GTK_RESPONSE_OK,
NULL);
/* set the sorting order to "most recently used first" */
gtk_recent_chooser_set_sort_type (GTK_RECENT_CHOOSER (chooser), GTK_RECENT_SORT_MRU);
response = gtk_dialog_run (GTK_DIALOG (chooser));
if (response == GTK_RESPONSE_OK)
{
GtkRecentInfo *info;
info = gtk_recent_chooser_get_current_item (GTK_RECENT_CHOOSER (chooser));
do_something_with_the_item (info);
gtk_recent_info_unref (info);
}
gtk_widget_destroy (chooser);
</programlisting></informalexample>
</para>
</section> <!-- gtkrecent-chooser -->
<section id="gtkrecent-advanced">
<title>Advanced usage</title>
<para>
The #GtkRecentChooser widgets might display items sorted and filtered,
either with already supplied or custom sorting and filtering functions.
The biggest difference from the <structname>EggRecentView</structname>
widgets in EggRecent is that the #GtkRecentChooser widgets will use
their own copy of the list and will apply the sorting and filtering
functions only on the copy; this allows the creation of many viewers
with a single controller, like using many #GtkTreeView with a single
#GtkTreeModel instance.
</para>
<para>
Available sorting methods are:
<informalexample><programlisting>
/* no sorting */
gtk_recent_chooser_set_sort_type (GTK_RECENT_CHOOSER (chooser), GTK_RECENT_SORT_NONE);
/* most recently used first */
gtk_recent_chooser_set_sort_type (GTK_RECENT_CHOOSER (chooser), GTK_RECENT_SORT_MRU);
/* most recently used last */
gtk_recent_chooser_set_sort_type (GTK_RECENT_CHOOSER (chooser), GTK_RECENT_SORT_LRU);
</programlisting></informalexample>
You can create your own sorting function, and the use the
GTK_RECENT_SORT_CUSTOM method:
<informalexample><programlisting>
/* custom sorting function, based on the registration count
* (most used first)
*/
static void
sort_by_usage_count (GtkRecentInfo *a,
GtkRecentInfo *b,
gpointer data)
{
gint count_a, count_b;
count_a = count_b = 0;
if (gtk_recent_info_has_application (a, APP_NAME))
gtk_recent_info_get_application_info (a, APP_NAME, NULL, &amp;count_a, NULL);
if (gtk_recent_info_has_application (b, APP_NAME))
gtk_recent_info_get_application_info (b, APP_NAME, NULL, &amp;count_b, NULL);
return count_a &lt; count_b;
}
...
/* set custom sorting and set the custom sorting function */
gtk_recent_chooser_set_sort_type (GTK_RECENT_CHOOSER (chooser),
GTK_RECENT_SORT_CUSTOM);
gtk_recent_chooser_set_sort_func (GTK_RECENT_CHOOSER,
sort_by_usage_count,
NULL, /* sort function data */
NULL /* destroy notify for the data */);
</programlisting></informalexample>
</para>
<para>
Filtering is done using the #GtkRecentFilter object, similar to the
#GtkFileFilter object used by the #GtkFileChooser widgets. The
#GtkRecentFilter object has a set of pre-defined options based on the
meta-data exposed by the #GtkRecentInfo object. It also allows custom
filtering function:
<informalexample><programlisting>
GtkRecentFilter *filter;
filter = gtk_recent_filter_new (<!-- -->);
/* set the user visible name of the filter */
gtk_recent_filter_set_name (filter, "Since Last Month");
/* set the maximum age of a recently used document */
gtk_recent_filter_set_age (filter, 31);
/* the chooser takes the ownership of the object */
gtk_recent_chooser_add_filter (GTK_RECENT_CHOOSER (chooser), filter);
/* set the currently used filter */
gtk_recent_chooser_set_filter (GTK_RECENT_CHOOSER (chooser), filter);
filter = gtk_recent_filter_new (<!-- -->);
gtk_recent_filter_set_name (filter, "Every text file");
gtk_recent_filter_set_mime_type (filter, "text/plain");
gtk_recent_chooser_add_filter (GTK_RECENT_CHOOSER (chooser), filter);
</programlisting></informalexample>
The #GtkRecentChooserWidget and #GtkRecentChooserDialog widgets allow
multiple filters and the selection of an appropriate one; the
#GtkRecentChooserMenu widget allows just a single filter object.
</para>
</section> <!-- gtkrecent-advanced -->
</chapter>
<!--
Local variables:
mode: sgml
sgml-parent-document: ("gtk-docs.sgml" "book" "part" "chapter")
End:
-->

View File

@@ -1,35 +0,0 @@
<refentry id="gtk-osx">
<refmeta>
<refentrytitle>Using GTK+ on Mac OS X</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>GTK Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>Using GTK+ on Mac OS X</refname>
<refpurpose>
OS X-specific aspects of using GTK+
</refpurpose>
</refnamediv>
<refsect1>
<title>Using GTK+ on Mac OS X</title>
<para>
The Mac OS X port of GTK+ is an implementation of GDK (and therefore GTK+)
on top of the Quarz API.
</para>
<para>
Currently, the Mac OS X port does not use any additional commandline options
or environment variables.
</para>
<para>
For up-to-date information about the current status of this port, see the
<ulink url="http://developer.imendio.com/wiki/Gtk_Mac_OS_X">project page</ulink>.
</para>
</refsect1>
</refentry>

View File

@@ -205,15 +205,13 @@ You eventually have to call gettext() on the string to actually fetch the
translation. _() both marks the string for translation and actually translates it.
</para>
<para>
Nowadays, GLib provides the common shorthand macros in the header file
<filename>gi18n.h</filename>, so you don't have to define them yourself, just
include that header.
</para>
<para>
Code using these macros ends up looking like this:
<informalexample>
<programlisting>
#include &lt;gi18n.h&gt;
#include &lt;libintl.h&gt;
#define _(x) gettext (x)
#define N_(x) x
static const char *global_variable = N_("Translate this string");
@@ -240,11 +238,6 @@ of using the default.For dgettext() the _() macro can be defined as:
</programlisting>
</informalexample>
</para>
<para>
Again, GLib comes with the <filename>gi18n-lib.h</filename>, saving you the trouble
of defining the macros by hand. The macros in that header expect the translation
domain to be specified by the %GETTEXT_PACKAGE macro.
</para>
</answer>
</qandaentry>

View File

@@ -336,12 +336,6 @@ Turns off certain object flags. (Private)
@obj: the object to affect.
@flag: the flags to unset.
<!-- ##### MACRO GTK_PRINT_SETTINGS_NUM_COPIES ##### -->
<para>
</para>
<!-- ##### MACRO GTK_STOCK_BUTTON_APPLY ##### -->
<para>
@@ -378,14 +372,6 @@ Turns off certain object flags. (Private)
</para>
<!-- ##### MACRO GTK_STOCK_ORIENTATION_REVERSE_PORTRAIT ##### -->
<para>
The "Reverse Portrait Orientation" item.
<inlinegraphic fileref="gtk-orientation-reverse-portrait.png" format="PNG"></inlinegraphic>
</para>
@Since: 2.10
<!-- ##### MACRO GTK_TIPS_QUERY ##### -->
<para>
@@ -527,12 +513,6 @@ Use to get the value of a GtkArg whose GtkType is GTK_TYPE_C_FOREIGN
@b:
@Returns:
<!-- ##### ARG GtkAboutDialog:link-color ##### -->
<para>
</para>
<!-- ##### STRUCT GtkAccelEntry ##### -->
<para>
This is a private struct used by GTK+ internally, don't worry about it.
@@ -640,20 +620,6 @@ Define a function pointer. Deprecated.
</para>
<!-- ##### SIGNAL GtkComboBox::popup-hide ##### -->
<para>
</para>
@combobox: the object which received the signal.
<!-- ##### SIGNAL GtkComboBox::popup-show ##### -->
<para>
</para>
@combobox: the object which received the signal.
<!-- ##### ARG GtkComboBox:appearance ##### -->
<para>
@@ -959,33 +925,6 @@ a RC file.
@menubar: the object which received the signal.
@arg1:
<!-- ##### SIGNAL GtkNotebook::tab-added ##### -->
<para>
</para>
@notebook: the object which received the signal.
@arg1:
@arg2:
<!-- ##### SIGNAL GtkNotebook::tab-removed ##### -->
<para>
</para>
@notebook: the object which received the signal.
@arg1:
@arg2:
<!-- ##### SIGNAL GtkNotebook::tab-reordered ##### -->
<para>
</para>
@notebook: the object which received the signal.
@arg1:
@arg2:
<!-- ##### ARG GtkObject:object-signal ##### -->
<para>
Setting this with a GtkType of GTK_TYPE_SIGNAL connects
@@ -1140,12 +1079,6 @@ after other user handlers and the default handler.
@user_data:
@seq_id:
<!-- ##### ARG GtkPrintOperation:number-of-pages ##### -->
<para>
</para>
<!-- ##### ENUM GtkPrivateFlags ##### -->
<para>
@@ -2203,13 +2136,6 @@ Claim or disclaim ownership of the PRIMARY X selection.
@claim: if %TRUE, claim the selection, otherwise, disclaim it.
@time: the timestamp for claiming the selection.
<!-- ##### FUNCTION gtk_file_chooser_error_quark ##### -->
<para>
</para>
@Returns:
<!-- ##### FUNCTION gtk_file_chooser_get_folder_mode ##### -->
<para>
@@ -2797,30 +2723,6 @@ Set the the handle size to @size x @size pixels.
@pspec:
@pattern:
<!-- ##### FUNCTION gtk_print_operation_set_nr_of_pages ##### -->
<para>
</para>
@op:
@n_pages:
<!-- ##### FUNCTION gtk_print_settings_get_num_copies ##### -->
<para>
</para>
@settings:
@Returns:
<!-- ##### FUNCTION gtk_print_settings_set_num_copies ##### -->
<para>
</para>
@settings:
@num_copies:
<!-- ##### FUNCTION gtk_rc_init ##### -->
<para>
Internal function.

View File

@@ -114,6 +114,11 @@ only private fields and should not be directly accessed.
</para>
<!-- ##### ARG GtkAboutDialog:link-color ##### -->
<para>
</para>
<!-- ##### FUNCTION gtk_about_dialog_new ##### -->
<para>

View File

@@ -94,6 +94,9 @@ Deprecated equivalent of g_object_unref().
@accel_mods:
@accel_flags:
@closure:
<!-- # Unused Parameters # -->
@accel_path_quark:
@path_quark:
<!-- ##### FUNCTION gtk_accel_group_connect_by_path ##### -->
@@ -138,6 +141,9 @@ Deprecated equivalent of g_object_unref().
@accel_group:
@closure:
@Returns:
<!-- # Unused Parameters # -->
@accel_key:
@accel_mods:
<!-- ##### FUNCTION gtk_accel_group_disconnect_key ##### -->
@@ -210,6 +216,8 @@ Deprecated equivalent of g_object_unref().
@accel_key:
@accel_mods:
@Returns:
<!-- # Unused Parameters # -->
@acceleratable:
<!-- ##### FUNCTION gtk_accel_groups_from_object ##### -->

View File

@@ -114,6 +114,8 @@ Creates a new #GtkAccelLabel.
@accel_label:
@accel_closure:
<!-- # Unused Parameters # -->
@closure:
<!-- ##### FUNCTION gtk_accel_label_get_accel_widget ##### -->

View File

@@ -75,11 +75,6 @@ and should not be accessed directly.
</para>
<!-- ##### ARG GtkAction:icon-name ##### -->
<para>
</para>
<!-- ##### ARG GtkAction:is-important ##### -->
<para>

View File

@@ -200,8 +200,7 @@ gtk_action_group_add_actions() to construct actions.
</para>
@name: The name of the action.
@stock_id: The stock id for the action, or the name of an icon from the icon
theme.
@stock_id: The stock id for the action.
@label: The label for the action. This field should typically be marked for
translation, see gtk_action_group_set_translation_domain().
@accelerator: The accelerator for the action, in the format understood by
@@ -240,8 +239,7 @@ gtk_action_group_add_toggle_actions() to construct toggle actions.
</para>
@name: The name of the action.
@stock_id: The stock id for the action, or the name of an icon from the icon
theme.
@stock_id: The stock id for the action.
@label: The label for the action. This field should typically be marked for
translation, see gtk_action_group_set_translation_domain().
@accelerator: The accelerator for the action, in the format understood by
@@ -281,8 +279,7 @@ gtk_action_group_add_radio_actions() to construct groups of radio actions.
</para>
@name: The name of the action.
@stock_id: The stock id for the action, or the name of an icon from the icon
theme.
@stock_id: The stock id for the action.
@label: The label for the action. This field should typically be marked for
translation, see gtk_action_group_set_translation_domain().
@accelerator: The accelerator for the action, in the format understood by

View File

@@ -1,334 +0,0 @@
<!-- ##### SECTION Title ##### -->
GtkAssistant
<!-- ##### SECTION Short_Description ##### -->
A widget used to guide users through multi-step operations
<!-- ##### SECTION Long_Description ##### -->
<para>
A #GtkAssistant is a widget used to represent a generally complex
operation splitted in several steps, guiding the user through its pages
and controlling the page flow to collect the necessary data.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkAssistant ##### -->
<para>
</para>
<!-- ##### SIGNAL GtkAssistant::apply ##### -->
<para>
</para>
@assistant: the object which received the signal.
<!-- ##### SIGNAL GtkAssistant::cancel ##### -->
<para>
</para>
@assistant: the object which received the signal.
<!-- ##### SIGNAL GtkAssistant::close ##### -->
<para>
</para>
@assistant: the object which received the signal.
<!-- ##### SIGNAL GtkAssistant::prepare ##### -->
<para>
</para>
@assistant: the object which received the signal.
@widget:
<!-- ##### ARG GtkAssistant:complete ##### -->
<para>
</para>
<!-- ##### ARG GtkAssistant:header-image ##### -->
<para>
</para>
<!-- ##### ARG GtkAssistant:page-type ##### -->
<para>
</para>
<!-- ##### ARG GtkAssistant:sidebar-image ##### -->
<para>
</para>
<!-- ##### ARG GtkAssistant:title ##### -->
<para>
</para>
<!-- ##### ARG GtkAssistant:content-padding ##### -->
<para>
</para>
<!-- ##### ARG GtkAssistant:header-padding ##### -->
<para>
</para>
<!-- ##### FUNCTION gtk_assistant_new ##### -->
<para>
</para>
@Returns:
<!-- ##### FUNCTION gtk_assistant_get_current_page ##### -->
<para>
</para>
@assistant:
@Returns:
<!-- ##### FUNCTION gtk_assistant_set_current_page ##### -->
<para>
</para>
@assistant:
@page_num:
<!-- ##### FUNCTION gtk_assistant_get_n_pages ##### -->
<para>
</para>
@assistant:
@Returns:
<!-- ##### FUNCTION gtk_assistant_get_nth_page ##### -->
<para>
</para>
@assistant:
@page_num:
@Returns:
<!-- ##### FUNCTION gtk_assistant_prepend_page ##### -->
<para>
</para>
@assistant:
@page:
@Returns:
<!-- ##### FUNCTION gtk_assistant_append_page ##### -->
<para>
</para>
@assistant:
@page:
@Returns:
<!-- ##### FUNCTION gtk_assistant_insert_page ##### -->
<para>
</para>
@assistant:
@page:
@position:
@Returns:
<!-- ##### USER_FUNCTION GtkAssistantPageFunc ##### -->
<para>
A function used by gtk_assistant_set_forward_page_func() to know which
is the next page given a current one. It's called both for computing the
next page when the user presses the "forward" button and for handling
the behavior of the "last" button.
</para>
@current_page: The page number used to calculate the next page.
@data: user data.
@Returns: The next page number.
<!-- ##### FUNCTION gtk_assistant_set_forward_page_func ##### -->
<para>
</para>
@assistant:
@page_func:
@data:
@destroy:
<!-- ##### ENUM GtkAssistantPageType ##### -->
<para>
An enum for determining the page role inside the #GtkAssistant. It's used to
handle buttons sensitivity and visibility.
</para>
<para>
Note that an assistant needs to end its page flow with a page of type GTK_ASSISTANT_PAGE_CONFIRM
or GTK_ASSISTANT_PAGE_SUMMARY to be correct.
</para>
@GTK_ASSISTANT_PAGE_CONTENT: The page has regular contents.
@GTK_ASSISTANT_PAGE_INTRO: The page contains an introduction to the assistant task.
@GTK_ASSISTANT_PAGE_CONFIRM: The page lets the user confirm or deny the changes.
@GTK_ASSISTANT_PAGE_SUMMARY: The page informs the user of the changes done.
@GTK_ASSISTANT_PAGE_PROGRESS: Used for tasks that take a long time to complete, blocks the assistant until the page is marked as complete.
<!-- ##### FUNCTION gtk_assistant_set_page_type ##### -->
<para>
</para>
@assistant:
@page:
@type:
<!-- ##### FUNCTION gtk_assistant_get_page_type ##### -->
<para>
</para>
@assistant:
@page:
@Returns:
<!-- ##### FUNCTION gtk_assistant_set_page_title ##### -->
<para>
</para>
@assistant:
@page:
@title:
<!-- ##### FUNCTION gtk_assistant_get_page_title ##### -->
<para>
</para>
@assistant:
@page:
@Returns:
<!-- ##### FUNCTION gtk_assistant_set_page_header_image ##### -->
<para>
</para>
@assistant:
@page:
@pixbuf:
<!-- ##### FUNCTION gtk_assistant_get_page_header_image ##### -->
<para>
</para>
@assistant:
@page:
@Returns:
<!-- ##### FUNCTION gtk_assistant_set_page_side_image ##### -->
<para>
</para>
@assistant:
@page:
@pixbuf:
<!-- ##### FUNCTION gtk_assistant_get_page_side_image ##### -->
<para>
</para>
@assistant:
@page:
@Returns:
<!-- ##### FUNCTION gtk_assistant_set_page_complete ##### -->
<para>
</para>
@assistant:
@page:
@complete:
<!-- ##### FUNCTION gtk_assistant_get_page_complete ##### -->
<para>
</para>
@assistant:
@page:
@Returns:
<!-- ##### FUNCTION gtk_assistant_add_action_widget ##### -->
<para>
</para>
@assistant:
@child:
<!-- ##### FUNCTION gtk_assistant_remove_action_widget ##### -->
<para>
</para>
@assistant:
@child:
<!-- ##### FUNCTION gtk_assistant_update_buttons_state ##### -->
<para>
</para>
@assistant:

View File

@@ -39,38 +39,41 @@ This should not be accessed directly. Use the accessor functions below.
<!-- ##### SIGNAL GtkButton::clicked ##### -->
<para>
Emitted when a button clicked on by the mouse and the cursor stays on the
button. If the cursor is not on the button when the mouse button is released,
the signal is not emitted.
</para>
@button:
@button: the object which received the signal.
<!-- ##### SIGNAL GtkButton::enter ##### -->
<para>
Emitted when the mouse cursor enters the region of the button.
</para>
@button:
@button: the object which received the signal.
<!-- ##### SIGNAL GtkButton::leave ##### -->
<para>
Emitted when the mouse cursor leaves the region of the button.
</para>
@button:
@button: the object which received the signal.
<!-- ##### SIGNAL GtkButton::pressed ##### -->
<para>
Emitted when the button is initially pressed.
</para>
@button:
@button: the object which received the signal.
<!-- ##### SIGNAL GtkButton::released ##### -->
<para>
Emitted when a button which is pressed is released, no matter where the
mouse cursor is.
</para>
@button:
@button: the object which received the signal.
<!-- ##### ARG GtkButton:focus-on-click ##### -->
<para>
@@ -137,11 +140,6 @@ This should not be accessed directly. Use the accessor functions below.
</para>
<!-- ##### ARG GtkButton:inner-border ##### -->
<para>
</para>
<!-- ##### FUNCTION gtk_button_new ##### -->
<para>
Creates a new #GtkButton widget. To add a child widget to the button,
@@ -275,6 +273,8 @@ Returns the current relief style of the given #GtkButton.
@button:
@use_stock:
<!-- # Unused Parameters # -->
@value:
<!-- ##### FUNCTION gtk_button_get_use_underline ##### -->
@@ -293,6 +293,8 @@ Returns the current relief style of the given #GtkButton.
@button:
@use_underline:
<!-- # Unused Parameters # -->
@value:
<!-- ##### FUNCTION gtk_button_set_focus_on_click ##### -->

View File

@@ -1,86 +0,0 @@
<!-- ##### SECTION Title ##### -->
GtkCellRendererAccel
<!-- ##### SECTION Short_Description ##### -->
Renders a keyboard accelerator in a cell
<!-- ##### SECTION Long_Description ##### -->
<para>
#GtkCellRendererAccel displays a keyboard accelerator (i.e. a
key combination like &lt;Control&gt;-a). If the cell renderer is editable, the
accelerator can be changed by simply typing the new combination.
</para>
<para>
The #GtkCellRendererAccel cell renderer was added in GTK+ 2.10.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkCellRendererAccel ##### -->
<para>
</para>
<!-- ##### SIGNAL GtkCellRendererAccel::accel-cleared ##### -->
<para>
</para>
@cellrendereraccel: the object which received the signal.
@arg1:
<!-- ##### SIGNAL GtkCellRendererAccel::accel-edited ##### -->
<para>
</para>
@cellrendereraccel: the object which received the signal.
@arg1:
@arg2:
@arg3:
@arg4:
<!-- ##### ARG GtkCellRendererAccel:accel-key ##### -->
<para>
</para>
<!-- ##### ARG GtkCellRendererAccel:accel-mode ##### -->
<para>
</para>
<!-- ##### ARG GtkCellRendererAccel:accel-mods ##### -->
<para>
</para>
<!-- ##### ARG GtkCellRendererAccel:keycode ##### -->
<para>
</para>
<!-- ##### ENUM GtkCellRendererAccelMode ##### -->
<para>
</para>
@GTK_CELL_RENDERER_ACCEL_MODE_GTK:
@GTK_CELL_RENDERER_ACCEL_MODE_OTHER:
<!-- ##### FUNCTION gtk_cell_renderer_accel_new ##### -->
<para>
</para>
@Returns:

View File

@@ -6,24 +6,18 @@ Renders a combobox in a cell
<!-- ##### SECTION Long_Description ##### -->
<para>
#GtkCellRendererCombo renders text in a cell like #GtkCellRendererText from
which it is derived. But while #GtkCellRendererText offers a simple entry to
edit the text, #GtkCellRendererCombo offers a #GtkComboBox or #GtkComboBoxEntry
widget to edit the text. The values to display in the combo box are taken from
the tree model specified in the
<link linkend="GtkCellRendererCombo--model">model</link> property.
#GtkCellRendererCombo renders text in a cell like #GtkCellRendererText from which it
is derived. But while #GtkCellRendererText offers a simple entry to edit the text,
#GtkCellRendererCombo offers a #GtkComboBox or #GtkComboBoxEntry widget to edit
the text. The values to display in the combo box are taken from the tree model
specified in the <link linkend="GtkCellRendererCombo--model">model</link> property.
</para>
<para>
The combo cell renderer takes care of adding a text cell renderer to the combo
box and sets it to display the column specified by its
<link linkend="GtkCellRendererCombo--text-column">text-column</link>
property. Further properties of the comnbo box can be set in a handler for the
editing-started signal.
</para>
<para>
The #GtkCellRendererCombo cell renderer was added in GTK+ 2.6.
The combo cell renderer takes care of adding a text cell renderer to the combo box
and sets it to display the column specified by its
<link linkend="GtkCellRendererCombo--text-column">text-column</link> property. Further
cell renderers can be added in a handler for the editing-started signal.
</para>
<!-- ##### SECTION See_Also ##### -->

View File

@@ -6,12 +6,7 @@ Renders numbers as progress bars
<!-- ##### SECTION Long_Description ##### -->
<para>
#GtkCellRendererProgress renders a numeric value as a progress par in a cell.
Additionally, it can display a text on top of the progress bar.
</para>
<para>
The #GtkCellRendererProgress cell renderer was added in GTK+ 2.6.
</para>
<!-- ##### SECTION See_Also ##### -->

View File

@@ -1,50 +0,0 @@
<!-- ##### SECTION Title ##### -->
GtkCellRendererSpin
<!-- ##### SECTION Short_Description ##### -->
Renders a spin button in a cell
<!-- ##### SECTION Long_Description ##### -->
<para>
#GtkCellRendererSpin renders text in a cell like #GtkCellRendererText from
which it is derived. But while #GtkCellRendererText offers a simple entry to
edit the text, #GtkCellRendererSpin offers a #GtkSpinButton widget. Of course,
that means that the text has to be parseable as a floating point number.
</para>
<para>
The range of the spinbutton is taken from the adjustment property of the
cell renderer, which can be set explicitly or mapped to a column in the
tree model, like all properties of cell renders. #GtkCellRendererSpin
also has properties for the climb rante and the number of digits to
display. Other #GtkSpinButton properties can be set in a handler for the
start-editing signal.
</para>
<para>
The #GtkCellRendererSpin cell renderer was added in GTK+ 2.10.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
#GtkCellRendererText, #GtkSpinButton
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkCellRendererSpin ##### -->
<para>
</para>
@parent:
<!-- ##### FUNCTION gtk_cell_renderer_spin_new ##### -->
<para>
</para>
@Returns:

View File

@@ -40,11 +40,6 @@ the #GtkCellRendererText allows to edit its text using an entry.
@arg1:
@arg2:
<!-- ##### ARG GtkCellRendererText:alignment ##### -->
<para>
</para>
<!-- ##### ARG GtkCellRendererText:attributes ##### -->
<para>

View File

@@ -49,11 +49,6 @@ property. When activated, it emits the toggled signal.
</para>
<!-- ##### ARG GtkCellRendererToggle:indicator-size ##### -->
<para>
</para>
<!-- ##### ARG GtkCellRendererToggle:radio ##### -->
<para>

View File

@@ -130,5 +130,7 @@ and drag and drop.
@cell_view:
@Returns:
<!-- # Unused Parameters # -->
@cellview:

View File

@@ -152,18 +152,6 @@ Storing data on clipboards
@Since: 2.4
<!-- ##### USER_FUNCTION GtkClipboardRichTextReceivedFunc ##### -->
<para>
</para>
@clipboard:
@format:
@text:
@length:
@data:
<!-- ##### USER_FUNCTION GtkClipboardGetFunc ##### -->
<para>
A function that will be called to provide the contents of the selection.
@@ -331,17 +319,6 @@ will not be used again.
@user_data:
<!-- ##### FUNCTION gtk_clipboard_request_rich_text ##### -->
<para>
</para>
@clipboard:
@buffer:
@callback:
@user_data:
<!-- ##### FUNCTION gtk_clipboard_wait_for_contents ##### -->
<para>
@@ -370,18 +347,6 @@ will not be used again.
@Returns:
<!-- ##### FUNCTION gtk_clipboard_wait_for_rich_text ##### -->
<para>
</para>
@clipboard:
@buffer:
@format:
@length:
@Returns:
<!-- ##### FUNCTION gtk_clipboard_wait_is_text_available ##### -->
<para>
@@ -400,16 +365,6 @@ will not be used again.
@Returns:
<!-- ##### FUNCTION gtk_clipboard_wait_is_rich_text_available ##### -->
<para>
</para>
@clipboard:
@buffer:
@Returns:
<!-- ##### FUNCTION gtk_clipboard_wait_for_targets ##### -->
<para>

View File

@@ -6,9 +6,8 @@ A button to launch a color selection dialog
<!-- ##### SECTION Long_Description ##### -->
<para>
The #GtkColorButton is a button which displays the currently selected color
an allows to open a color selection dialog to change the color. It is suitable
widget for selecting a color in a preference dialog.
The #GtkColorButton is a button which displays the currently selected color an allows to open a color
selection dialog to change the color. It is suitable widget for selecting a color in a preference dialog.
</para>
<!-- ##### SECTION See_Also ##### -->
@@ -21,8 +20,7 @@ widget for selecting a color in a preference dialog.
<!-- ##### STRUCT GtkColorButton ##### -->
<para>
The GtkColorButton struct has only private fields and
should not be used directly.
</para>

View File

@@ -95,7 +95,7 @@ an application.)
@entry: the text entry field.
@list: the list shown in the drop-down window.
@Deprecated: 2.4: Use #GtkComboBox instead.
@Deprecated: Use #GtkComboBox instead.
<!-- ##### ARG GtkCombo:allow-empty ##### -->
<para>
@@ -128,7 +128,7 @@ Creates a new #GtkCombo.
</para>
@Returns: a new #GtkCombo.
@Deprecated: 2.4: Use #GtkComboBox instead.
@Deprecated: Use #GtkComboBox instead.
<!-- ##### FUNCTION gtk_combo_set_popdown_strings ##### -->
@@ -139,7 +139,7 @@ Convenience function to set all of the items in the popup list.
@combo: a #GtkCombo.
@strings: a list of strings, or %NULL to clear the popup list
@Deprecated: 2.4: Use #GtkComboBox instead.
@Deprecated: Use #GtkComboBox instead.
<!-- ##### FUNCTION gtk_combo_set_value_in_list ##### -->
@@ -155,7 +155,7 @@ If an empty field is acceptable, the @ok_if_empty parameter should be %TRUE.
@combo: a #GtkCombo.
@val: %TRUE if the value entered must match one of the values in the list.
@ok_if_empty: %TRUE if an empty value is considered valid.
@Deprecated: 2.4: Use #GtkComboBox instead.
@Deprecated: Use #GtkComboBox instead.
<!-- ##### FUNCTION gtk_combo_set_use_arrows ##### -->
@@ -167,7 +167,7 @@ the list. This is on by default.
@combo: a #GtkCombo.
@val: %TRUE if the arrow keys can be used to step through the items in
the list.
@Deprecated: 2.4: Use #GtkComboBox instead.
@Deprecated: Use #GtkComboBox instead.
<!-- ##### FUNCTION gtk_combo_set_use_arrows_always ##### -->
@@ -177,7 +177,7 @@ Obsolete function, does nothing.
@combo: a #GtkCombo.
@val: unused
@Deprecated: 2.4: Use #GtkComboBox instead.
@Deprecated: Use #GtkComboBox instead.
<!-- ##### FUNCTION gtk_combo_set_case_sensitive ##### -->
@@ -193,7 +193,7 @@ worried about differences in case.
@combo: a #GtkCombo.
@val: %TRUE if the text in the list items is case sensitive.
@Deprecated: 2.4: Use #GtkComboBox instead.
@Deprecated: Use #GtkComboBox instead.
<!-- ##### FUNCTION gtk_combo_set_item_string ##### -->
@@ -205,7 +205,7 @@ selected. This is needed if the list item is not a simple label.
@combo: a #GtkCombo.
@item: a #GtkItem.
@item_value: the string to place in the #GtkEntry when @item is selected.
@Deprecated: 2.4: Use #GtkComboBox instead.
@Deprecated: Use #GtkComboBox instead.
<!-- ##### FUNCTION gtk_combo_disable_activate ##### -->
@@ -217,6 +217,6 @@ instead.
</para>
@combo: a #GtkCombo.
@Deprecated: 2.4: Use #GtkComboBox instead.
@Deprecated: Use #GtkComboBox instead.

View File

@@ -85,21 +85,11 @@ gtk_combo_box_get_active_text().
</para>
<!-- ##### ARG GtkComboBox:popup-shown ##### -->
<para>
</para>
<!-- ##### ARG GtkComboBox:row-span-column ##### -->
<para>
</para>
<!-- ##### ARG GtkComboBox:tearoff-title ##### -->
<para>
</para>
<!-- ##### ARG GtkComboBox:wrap-width ##### -->
<para>
@@ -116,6 +106,8 @@ gtk_combo_box_get_active_text().
</para>
@Returns:
<!-- # Unused Parameters # -->
@model:
<!-- ##### FUNCTION gtk_combo_box_new_with_model ##### -->
@@ -197,6 +189,8 @@ gtk_combo_box_get_active_text().
@combo_box:
@index_:
<!-- # Unused Parameters # -->
@index:
<!-- ##### FUNCTION gtk_combo_box_get_active_iter ##### -->
@@ -353,24 +347,6 @@ gtk_combo_box_get_active_text().
@Returns:
<!-- ##### FUNCTION gtk_combo_box_set_title ##### -->
<para>
</para>
@combo_box:
@title:
<!-- ##### FUNCTION gtk_combo_box_get_title ##### -->
<para>
</para>
@combo_box:
@Returns:
<!-- ##### FUNCTION gtk_combo_box_set_focus_on_click ##### -->
<para>

View File

@@ -59,6 +59,9 @@ with gtk_combo_box_entry_new_text().
</para>
@Returns:
<!-- # Unused Parameters # -->
@model:
@text_column:
<!-- ##### FUNCTION gtk_combo_box_entry_new_with_model ##### -->

View File

@@ -364,6 +364,8 @@ Does the same as gtk_container_get_children().
@child:
@first_prop_name:
@Varargs:
<!-- # Unused Parameters # -->
@first_arg_name:
<!-- ##### FUNCTION gtk_container_child_get_property ##### -->
@@ -483,6 +485,8 @@ Does the same as gtk_container_get_children().
@cclass:
@property_name:
@Returns:
<!-- # Unused Parameters # -->
@class:
<!-- ##### FUNCTION gtk_container_class_install_child_property ##### -->
@@ -493,6 +497,8 @@ Does the same as gtk_container_get_children().
@cclass:
@property_id:
@pspec:
<!-- # Unused Parameters # -->
@class:
<!-- ##### FUNCTION gtk_container_class_list_child_properties ##### -->
@@ -503,5 +509,7 @@ Does the same as gtk_container_get_children().
@cclass:
@n_properties:
@Returns:
<!-- # Unused Parameters # -->
@class:

View File

@@ -281,6 +281,8 @@ directly, but into the @vbox and @action_area, as described above.
@dialog:
@child:
@response_id:
<!-- # Unused Parameters # -->
@widget:
<!-- ##### FUNCTION gtk_dialog_get_has_separator ##### -->

View File

@@ -164,24 +164,6 @@ notification of drags.
@widget:
<!-- ##### FUNCTION gtk_drag_dest_set_track_motion ##### -->
<para>
</para>
@widget:
@track_motion:
<!-- ##### FUNCTION gtk_drag_dest_get_track_motion ##### -->
<para>
</para>
@widget:
@Returns:
<!-- ##### FUNCTION gtk_drag_finish ##### -->
<para>
Informs the drag source that the drop is finished, and

View File

@@ -131,11 +131,6 @@ The #GtkEntry-struct struct contains only private data.
</para>
<!-- ##### ARG GtkEntry:inner-border ##### -->
<para>
</para>
<!-- ##### ARG GtkEntry:invisible-char ##### -->
<para>
@@ -161,11 +156,6 @@ The #GtkEntry-struct struct contains only private data.
</para>
<!-- ##### ARG GtkEntry:truncate-multiline ##### -->
<para>
</para>
<!-- ##### ARG GtkEntry:visibility ##### -->
<para>
@@ -181,21 +171,12 @@ The #GtkEntry-struct struct contains only private data.
</para>
<!-- ##### FUNCTION gtk_entry_new ##### -->
<para>
Creates a new #GtkEntry widget.
</para>
<!-- ##### ARG GtkEntry:inner-border ##### -->
<para>
</para>
<!-- ##### FUNCTION gtk_entry_new ##### -->
<para>
</para>
@Returns:
@Returns: a new #GtkEntry.
<!-- ##### FUNCTION gtk_entry_new_with_max_length ##### -->
@@ -342,15 +323,6 @@ use gtk_editable_set_editable() instead.
@Returns:
<!-- ##### FUNCTION gtk_entry_get_inner_border ##### -->
<para>
</para>
@entry:
@Returns:
<!-- ##### FUNCTION gtk_entry_get_width_chars ##### -->
<para>
@@ -378,15 +350,6 @@ use gtk_editable_set_editable() instead.
@setting:
<!-- ##### FUNCTION gtk_entry_set_inner_border ##### -->
<para>
</para>
@entry:
@border:
<!-- ##### FUNCTION gtk_entry_set_width_chars ##### -->
<para>

View File

@@ -145,6 +145,8 @@ to the unmodified key via <literal>gtk_entry_get_text (GTK_ENTRY (gtk_entry_comp
@completion:
@Returns:
<!-- # Unused Parameters # -->
@entry:
<!-- ##### FUNCTION gtk_entry_completion_set_model ##### -->
@@ -218,6 +220,8 @@ to the unmodified key via <literal>gtk_entry_get_text (GTK_ENTRY (gtk_entry_comp
@completion:
@index_:
@text:
<!-- # Unused Parameters # -->
@index:
<!-- ##### FUNCTION gtk_entry_completion_insert_action_markup ##### -->
@@ -228,6 +232,8 @@ to the unmodified key via <literal>gtk_entry_get_text (GTK_ENTRY (gtk_entry_comp
@completion:
@index_:
@markup:
<!-- # Unused Parameters # -->
@index:
<!-- ##### FUNCTION gtk_entry_completion_delete_action ##### -->
@@ -237,6 +243,8 @@ to the unmodified key via <literal>gtk_entry_get_text (GTK_ENTRY (gtk_entry_comp
@completion:
@index_:
<!-- # Unused Parameters # -->
@index:
<!-- ##### FUNCTION gtk_entry_completion_set_text_column ##### -->

View File

@@ -132,7 +132,7 @@ update_preview_cb (GtkFileChooser *file_chooser, gpointer data)
gtk_image_set_from_pixbuf (GTK_IMAGE (preview), pixbuf);
if (pixbuf)
gobject_unref (pixbuf);
gdk_pixbuf_unref (pixbuf);
gtk_file_chooser_set_preview_widget_active (file_chooser, have_preview);
}
@@ -240,14 +240,6 @@ update_preview_cb (GtkFileChooser *file_chooser, gpointer data)
<entry>home-folder</entry>
<entry><keycombo><keycap>Alt</keycap><keycap>Home</keycap></keycombo></entry>
</row>
<row>
<entry>desktop-folder</entry>
<entry><keycombo><keycap>Alt</keycap><keycap>D</keycap></keycombo></entry>
</row>
<row>
<entry>quick-bookmark</entry>
<entry><keycombo><keycap>Alt</keycap><keycap>1</keycap></keycombo> through <keycombo><keycap>Alt</keycap><keycap>0</keycap></keycombo></entry>
</row>
</tbody>
</tgroup>
</informaltable>
@@ -463,94 +455,6 @@ class "GtkFileChooserDefault" binding "misc-shortcut"
</varlistentry>
</variablelist>
</refsect3>
<refsect3 id="GtkFileChooserDefault-desktop-folder">
<title>The &quot;GtkFileChooserDefault::desktop-folder&quot; signal</title>
<programlisting>
void user_function (GtkFileChooserDefault *chooser,
<link linkend="gpointer">gpointer</link> user_data);
</programlisting>
<para>
This is used to make the file chooser show the user's Desktop
folder in the file list. By default this is bound to
<keycombo><keycap>Alt</keycap><keycap>D</keycap></keycombo>.
</para>
<variablelist role="params">
<varlistentry>
<term><parameter>chooser</parameter>&nbsp;:</term>
<listitem>
<simpara>
the object which received the signal.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>user_data</parameter>&nbsp;:</term>
<listitem>
<simpara>
user data set when the signal handler was connected.
</simpara>
</listitem>
</varlistentry>
</variablelist>
</refsect3>
<refsect3 id="GtkFileChooserDefault-quick-bookmark">
<title>The &quot;GtkFileChooserDefault::quick-bookmark&quot; signal</title>
<programlisting>
void user_function (GtkFileChooserDefault *chooser,
gint bookmark_index,
<link linkend="gpointer">gpointer</link> user_data);
</programlisting>
<para>
This is used to make the file chooser switch to the bookmark
specified in the <parameter>bookmark_index</parameter> parameter.
For example, if you have three bookmarks, you can pass 0, 1, 2 to
this signal to switch to each of them, respectively. By default this is bound to
<keycombo><keycap>Alt</keycap><keycap>1</keycap></keycombo>,
<keycombo><keycap>Alt</keycap><keycap>2</keycap></keycombo>,
etc. until
<keycombo><keycap>Alt</keycap><keycap>0</keycap></keycombo>. Note
that in the default binding,
that <keycombo><keycap>Alt</keycap><keycap>1</keycap></keycombo> is
actually defined to switch to the bookmark at index 0, and so on
successively;
<keycombo><keycap>Alt</keycap><keycap>0</keycap></keycombo> is
defined to switch to the bookmark at index 10.
</para>
<variablelist role="params">
<varlistentry>
<term><parameter>chooser</parameter>&nbsp;:</term>
<listitem>
<simpara>
the object which received the signal.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>bookmark_indes</parameter>&nbsp;:</term>
<listitem>
<simpara>
index of the bookmark to switch to; the indices start at 0.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>user_data</parameter>&nbsp;:</term>
<listitem>
<simpara>
user data set when the signal handler was connected.
</simpara>
</listitem>
</varlistentry>
</variablelist>
</refsect3>
</refsect2>
<!-- ##### SECTION See_Also ##### -->
@@ -781,7 +685,14 @@ gtk_widget_destroy (chooser);
@GTK_FILE_CHOOSER_ERROR_NONEXISTENT: Indicates that a file does not exist.
@GTK_FILE_CHOOSER_ERROR_BAD_FILENAME: Indicates a malformed filename.
@GTK_FILE_CHOOSER_ERROR_ALREADY_EXISTS:
<!-- ##### FUNCTION gtk_file_chooser_error_quark ##### -->
<para>
</para>
@Returns:
<!-- ##### FUNCTION gtk_file_chooser_set_action ##### -->
<para>
@@ -808,6 +719,8 @@ gtk_widget_destroy (chooser);
@chooser:
@local_only:
<!-- # Unused Parameters # -->
@files_only:
<!-- ##### FUNCTION gtk_file_chooser_get_local_only ##### -->
@@ -1091,6 +1004,8 @@ gtk_widget_destroy (chooser);
@chooser:
@Returns:
<!-- # Unused Parameters # -->
@file_chooser:
<!-- ##### FUNCTION gtk_file_chooser_get_preview_uri ##### -->
@@ -1100,6 +1015,8 @@ gtk_widget_destroy (chooser);
@chooser:
@Returns:
<!-- # Unused Parameters # -->
@file_chooser:
<!-- ##### FUNCTION gtk_file_chooser_set_extra_widget ##### -->
@@ -1205,6 +1122,8 @@ gtk_widget_destroy (chooser);
@uri:
@error:
@Returns:
<!-- # Unused Parameters # -->
@folder:
<!-- ##### FUNCTION gtk_file_chooser_remove_shortcut_folder_uri ##### -->
@@ -1216,6 +1135,8 @@ gtk_widget_destroy (chooser);
@uri:
@error:
@Returns:
<!-- # Unused Parameters # -->
@folder:
<!-- ##### FUNCTION gtk_file_chooser_list_shortcut_folder_uris ##### -->

View File

@@ -62,11 +62,6 @@ This should not be accessed directly. Use the accessor functions below.
</para>
<!-- ##### ARG GtkFileChooserButton:focus-on-click ##### -->
<para>
</para>
<!-- ##### ARG GtkFileChooserButton:title ##### -->
<para>
@@ -143,21 +138,3 @@ This should not be accessed directly. Use the accessor functions below.
@n_chars:
<!-- ##### FUNCTION gtk_file_chooser_button_get_focus_on_click ##### -->
<para>
</para>
@button:
@Returns:
<!-- ##### FUNCTION gtk_file_chooser_button_set_focus_on_click ##### -->
<para>
</para>
@button:
@focus_on_click:

View File

@@ -20,8 +20,7 @@ dialog to change the font. It is suitable widget for selecting a font in a prefe
<!-- ##### STRUCT GtkFontButton ##### -->
<para>
The GtkFontButton struct has only private members and should not be used
directly.
</para>

View File

@@ -16,7 +16,8 @@ To set the font which is initially selected, use
gtk_font_selection_set_font_name().
</para>
<para>
To get the selected font use gtk_font_selection_get_font_name().
To get the selected font use gtk_font_selection_get_font()
or gtk_font_selection_get_font_name().
</para>
<para>
To change the text which is shown in the preview area, use
@@ -79,19 +80,24 @@ Gets the currently-selected font.
<!-- ##### FUNCTION gtk_font_selection_get_font_name ##### -->
<para>
Gets the currently-selected font name.
</para>
@fontsel:
@Returns:
@fontsel: a #GtkFontSelection.
@Returns: the name of the currently selected font, or %NULL if
no font is selected. You should g_free() the returned font name
after you are done with it.
A newly allocated string with the currently-se
<!-- ##### FUNCTION gtk_font_selection_set_font_name ##### -->
<para>
Sets the currently-selected font.
</para>
@fontsel:
@fontname:
@Returns:
@fontsel: a #GtkFontSelection.
@fontname: a fontname.
@Returns: %TRUE if the font was found.
<!-- ##### FUNCTION gtk_font_selection_get_preview_text ##### -->

View File

@@ -13,7 +13,8 @@ To set the font which is initially selected, use
gtk_font_selection_dialog_set_font_name().
</para>
<para>
To get the selected font use gtk_font_selection_dialog_get_font_name().
To get the selected font use gtk_font_selection_dialog_get_font()
or gtk_font_selection_dialog_get_font_name().
</para>
<para>
To change the text which is shown in the preview area, use
@@ -66,10 +67,11 @@ Gets the currently-selected font.
<!-- ##### FUNCTION gtk_font_selection_dialog_get_font_name ##### -->
<para>
Gets the currently-selected font name.
</para>
@fsd:
@Returns:
@fsd: a #GtkFontSelectionDialog.
@Returns: the currently-selected font name, or %NULL if no font is selected.
<!-- ##### FUNCTION gtk_font_selection_dialog_set_font_name ##### -->

View File

@@ -220,6 +220,8 @@ looking up the icon to use for a given stock ID.
@width:
@height:
@Returns:
<!-- # Unused Parameters # -->
@alias:
<!-- ##### FUNCTION gtk_icon_size_lookup_for_settings ##### -->
@@ -243,6 +245,8 @@ looking up the icon to use for a given stock ID.
@width:
@height:
@Returns:
<!-- # Unused Parameters # -->
@alias:
<!-- ##### FUNCTION gtk_icon_size_register_alias ##### -->

View File

@@ -84,8 +84,8 @@ pixbuf = gtk_icon_theme_load_icon (icon_theme,
&amp;error);
if (!pixbuf)
{
g_warning ("Couldn't load icon: &percnt;s", error-&gt;message);
g_error_free (error);
g_warning ("Couldn't load icon: &percnt;s", error->message);
g_error_free (message);
}
else
{
@@ -140,7 +140,7 @@ gtk_icon_theme_set_custom_theme().
<!-- ##### MACRO GTK_ICON_THEME_ERROR ##### -->
<para>
The #GQuark used for #GtkIconThemeError errors.
</para>

View File

@@ -180,9 +180,11 @@ A function used by gtk_icon_view_selected_foreach() to map all
selected rows. It will be called on every selected row in the view.
</para>
@icon_view: a #GtkIconView
@icon_view:
@path: The #GtkTreePath of a selected row
@data: user data
<!-- # Unused Parameters # -->
@model: The #GtkTreeModel being viewed
<!-- ##### FUNCTION gtk_icon_view_new ##### -->
@@ -561,15 +563,15 @@ selected rows. It will be called on every selected row in the view.
<!-- ##### ENUM GtkIconViewDropPosition ##### -->
<para>
An enum for determining where a dropped item goes.
</para>
@GTK_ICON_VIEW_NO_DROP: no drop possible
@GTK_ICON_VIEW_DROP_INTO: dropped item replaces the item
@GTK_ICON_VIEW_DROP_LEFT: droppped item is inserted to the left
@GTK_ICON_VIEW_DROP_RIGHT: dropped item is inserted to the right
@GTK_ICON_VIEW_DROP_ABOVE: dropped item is inserted above
@GTK_ICON_VIEW_DROP_BELOW: dropped item is inserted below
@GTK_ICON_VIEW_NO_DROP:
@GTK_ICON_VIEW_DROP_INTO:
@GTK_ICON_VIEW_DROP_LEFT:
@GTK_ICON_VIEW_DROP_RIGHT:
@GTK_ICON_VIEW_DROP_ABOVE:
@GTK_ICON_VIEW_DROP_BELOW:
<!-- ##### FUNCTION gtk_icon_view_enable_model_drag_source ##### -->
<para>

View File

@@ -189,8 +189,7 @@ functions), but they will all return %NULL values.
@GTK_IMAGE_STOCK: the widget contains a stock icon name (see <xref linkend="gtk-Stock-Items"/>)
@GTK_IMAGE_ICON_SET: the widget contains a #GtkIconSet
@GTK_IMAGE_ANIMATION: the widget contains a #GdkPixbufAnimation
@GTK_IMAGE_ICON_NAME: the widget contains a named icon.
This image type was added in GTK+ 2.6
@GTK_IMAGE_ICON_NAME:
<!-- ##### FUNCTION gtk_image_get_icon_set ##### -->
<para>
@@ -438,6 +437,7 @@ functions), but they will all return %NULL values.
@Returns: the #GtkImage
<!-- # Unused Parameters # -->
@val:
@mask: a #GdkBitmap that indicates which parts of the image should be transparent.

Some files were not shown because too many files have changed in this diff Show More