Compare commits

...

599 Commits

Author SHA1 Message Date
YunQiang Su
ce3b36afaf fix an typo in zh_CN translation 2012-08-18 11:27:28 +08:00
Dom Lachowicz
7fe86a42f7 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:49:18 +00:00
Dom Lachowicz
d497dab982 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:56 +00:00
Dom Lachowicz
fdae81b11a sync with HEAD, since most win32 installers still ship gtk+ 2.6.x 2005-10-22 16:03:50 +00:00
Priit Laes
f2529faa1f 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:39:52 +00:00
Jordi Mallach
390640913e Updated Catalan translation for gtk-2-6, just because I can. 2005-08-27 17:30:24 +00:00
Priit Laes
0fbce2d4ce Translation updated by Ivar Smolin.
2005-08-23  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-08-23 20:07:36 +00:00
Matthias Clasen
bd80abab9f Backport from 2.8.
2005-08-22  Matthias Clasen  <mclasen@redhat.com>

	Backport from 2.8.

	* gtk/gtkcombobox.c (gtk_combo_box_list_destroy): Cleanup
	a possible resize idle.  (#311141, Robert Ögren)
2005-08-22 14:28:17 +00:00
Matthias Clasen
1efc5c2743 Bump version 2005-08-18 18:41:11 +00:00
Matthias Clasen
7618575961 2.6.10 2005-08-18 18:38:30 +00:00
Matthias Clasen
47b2b9dd19 Complete the backported fix.
2005-08-17  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmenu.c (gtk_menu_grab_notify): Complete the
	backported fix.
2005-08-17 16:35:54 +00:00
Priit Laes
ed3de17c51 Translation updated by Ivar Smolin.
2005-08-16  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-08-16 09:24:49 +00:00
Matthias Clasen
008608e6cf Backported fixes from 2.8:
2005-08-15  Matthias Clasen  <mclasen@redhat.com>

	Backported fixes from 2.8:

	* gtk/gtkmenu.c (gtk_menu_grab_notify): Take window
	groups into account.  (#309473, Diego Gonzalez)

	* gtk/gtkwindow.[hc]: Add a non-exported function to
	get the grab widget of a window group.
2005-08-15 04:48:03 +00:00
Matthias Clasen
cd62896f35 Backported fix from 2.8:
2005-08-15  Matthias Clasen  <mclasen@redhat.com>

	Backported fix from 2.8:

	* gtk/gtkicontheme.c: When changing the icon theme, defer
	the resetting of rc styles to an idle, so that it does
	not happen e.g during expose handling (which is problematic,
	since some widgets, like the toolbar, are changing the
	hierarchy in response to style changes).  (#300539, reported
	by many people, analyzed by Owen Taylor)
2005-08-15 04:41:42 +00:00
Søren Sandmann Pedersen
a1ba159924 Add bugnumber to changelog 2005-08-05 21:13:22 +00:00
Søren Sandmann
48f6f5b6f0 Set the relief of the arrow button to the value returned by
Fri Aug  5 16:54:19 2005  Søren Sandmann  <sandmann@redhat.com>

	* gtk/gtkmenutoolbutton.c
	(gtk_menu_tool_button_construct_contents): Set the relief of the
	arrow button to the value returned by
	gtk_tool_item_get_relief_style(). Patch from Benjamin Berg.
2005-08-05 21:10:24 +00:00
Pawan Chitrakar
40de8c086b updated nepali translation 2005-08-05 02:39:00 +00:00
Matthias Clasen
51d46de5fd Bump version 2005-08-01 17:28:40 +00:00
Matthias Clasen
07c54a8720 2.6.9 2005-08-01 17:27:12 +00:00
Matthias Clasen
6e3611a924 Call gettext_initialization() here as well. (#311612, Dan Winship)
2005-08-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmain.c (do_post_parse_initialization): Call
	gettext_initialization() here as well.  (#311612, Dan Winship)
2005-08-01 13:50:38 +00:00
Hans Breuer
b1ab405123 updated
2005-07-30  Hans Breuer  <hans@breuer.org>

	* gtk/makefile.msc.in : updated
2005-07-30 18:45:51 +00:00
Francisco Javier F. Serrador
dfe317e5e7 Updated Spanish translation.
2005-07-30  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2005-07-30 11:44:28 +00:00
Ankitkumar Rameshchandra Patel
e8403b3663 Updated Translations 2005-07-29 07:33:30 +00:00
Tor Lillqvist
680aa1b9b4 Rename from blit_inside_window(), as it now does blitting inside a bitmap,
2005-07-29  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkdrawable-win32.c (blit_inside_drawable): Rename
	from blit_inside_window(), as it now does blitting inside a
	bitmap, too. No code change, still just call BitBlt().
	(_gdk_win32_blit): Check for source equalling destination
	first. (#169508, #131977)
	Do away with the superfluous local draw_impl variable, the
	parameter to this function is already a GdkDrawableImplWin32*, no
	need to copy and cast it.
2005-07-28 22:15:34 +00:00
Robert Ögren
1cabe720eb Avoid spurious core pointer events when the tablet pen is lifted.
2005-07-28  Robert Ögren  <gtk@roboros.com>

	Avoid spurious core pointer events when the tablet pen is
	lifted. (#167000)

	* gdk/win32/gdkinput-win32.c (set_ignore_core): New static function,
	handles delayed unsetting of _gdk_input_ignore_core.
	(_gdk_input_other_event): Call set_ignore_core instead of setting
	_gdk_input_ignore_core directly.
2005-07-28 21:50:32 +00:00
Priit Laes
19aa8f6745 Translation updated by Ivar Smolin.
2005-07-27  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-07-27 10:50:52 +00:00
Tor Lillqvist
943632ba1a Handle PS_ALTERNATE, too.
2005-07-27  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkmain-win32.c (_gdk_win32_psstyle_to_string): Handle
	PS_ALTERNATE, too.

	* gdk/win32/gdkmain-win32.c (gdk_screen_get_height_mm): Fix for
	multi-monitor cases. (#311677, Tim Evans)
2005-07-27 06:13:49 +00:00
Matthias Clasen
dbc3e81ac2 Updates 2005-07-23 13:56:46 +00:00
Funda Wang
7eaeb148b9 Updated Simplified Chinese translation 2005-07-23 06:56:58 +00:00
Ignacio Casal Quinteiro
74e13a67b1 *** empty log message *** 2005-07-22 15:25:12 +00:00
Priit Laes
98006336dc Translation updated by Ivar Smolin.
2005-07-22  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-07-22 07:15:35 +00:00
Christian Rose
d055df81c8 Added "hy" to ALL_LINGUAS. Added Armenian translation by Lilit Azizbekyan
2005-07-21  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "hy" to ALL_LINGUAS.
	* po/hy.po, po-properties/hy.po: Added
	Armenian translation by
	Lilit Azizbekyan <lilita@support17> and
	Lilit Sargsyan <magicliliac@yahoo.co.uk>.
2005-07-21 21:47:16 +00:00
Tor Lillqvist
4b75d6ed24 Use wide-char API when available. (#311079, Peter Zelezny)
2005-07-21  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkwindow-win32.c (gdk_window_set_title): Use
	wide-char API when available. (#311079, Peter Zelezny)
2005-07-21 07:23:02 +00:00
Matthias Clasen
24d63ffe74 Don't fail if we can't get a keyboard grab. (#168351)
2005-07-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_begin_internal): Don't fail if we
	can't get a keyboard grab.  (#168351)
2005-07-20 20:03:34 +00:00
Kristian Rietveld
91f2fb2d4d don't iterate past the end of the string, so pango_layout_get_cursor_pos()
2005-07-19  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkentry.c (gtk_entry_move_forward_word): don't iterate
	past the end of the string, so pango_layout_get_cursor_pos() won't
	complain. (#309211, Tommi Komulainen).
2005-07-19 21:06:50 +00:00
Matthias Clasen
410e79f22f Call gettext_initialization before checking gtk_initialized, otherwise
2005-07-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmain.c (gtk_parse_args, gtk_init_with_args): Call
	gettext_initialization before checking gtk_initialized, otherwise
	there are scenarios where it is not called at all. For an
	example, see tests/testfilechooserbutton.c.  (#310323,
	Arkady L. Shane)
2005-07-18 19:21:08 +00:00
Christophe Merlet
8be6d7347b Updated French translation. 2005-07-17 14:09:19 +00:00
Christian Rose
fba7e04606 Updated Swedish translation.
2005-07-16  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.
2005-07-16 10:53:16 +00:00
Laurent Dhima
ab58021f56 Updated Albanian translation.
2005-07-16  Laurent Dhima  <laurenti@alblinux.net>

	* sq.po: Updated Albanian translation.
2005-07-16 08:55:03 +00:00
Hendrik Brandt
d5bb2a8c21 Updated German translation.
2005-07-15  Hendrik Brandt  <heb@gnome-de.org>

        * de.po: Updated German translation.
2005-07-15 16:07:56 +00:00
Laurent Dhima
355e7bd90d Updated Albanian translation.
2005-07-15  Laurent Dhima  <laurenti@alblinux.net>

	* sq.po: Updated Albanian translation.
2005-07-15 13:47:58 +00:00
Tor Lillqvist
58e89ebd95 Implement getting the MIME type of a file. Look it up in the Registry. Bug
2005-07-14  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkfilesystemwin32.c (filename_get_info): Implement getting
	the MIME type of a file. Look it up in the Registry. Bug reported
	by Hans Oesterholt.
2005-07-14 19:05:29 +00:00
Miloslav Trmac
636cff35f5 Updated Czech translation.
2005-07-14  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.
2005-07-14 09:03:18 +00:00
Matthias Clasen
524da41329 Don't keep the caches for unthemed directories in a separate list, instead
2005-07-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkicontheme.c (load_themes): Don't keep the caches
	for unthemed directories in a separate list, instead append
	them at the end of the dir_mtimes list, so that we can check
	them for staleness like the other caches.  (#310221, Mark
	McLoughlin)
2005-07-13 14:11:55 +00:00
Robert gren
5454441a83 Fix handling of Aiptek and Aiptek-like graphical tablets such as Trust on
2005-07-13  Robert gren  <gtk@roboros.com>

	Fix handling of Aiptek and Aiptek-like graphical tablets such as Trust
	on Windows. (#167004, thanks to	"pnohant" for testing)

	Code cleanup: Remove the unused and unmaintained code for using a
	non-system tablet context (USE_SYSCONTEXT ifdef:s), suggested
	by Tor Lillqvist.

	* gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Handle
	tablet drivers that don't support WTI_DDCTXS/WTI_DSCTXS gracefully.
	Sligthly reorganize and simplify the code to support this.
	(_gdk_input_wintab_init_check, _gdk_input_other_event): Remove
	USE_SYSCONTEXT ifdef:s and the code for the case it was not defined.
	(gdk_input_window_find_within): Removed.
2005-07-13 12:44:22 +00:00
Gabor Kelemen
81154a9654 Hungarian translation updated.
2005-07-12  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Hungarian translation updated.
2005-07-12 16:52:39 +00:00
Priit Laes
d831a54991 Translation updated by Ivar Smolin.
2005-07-12  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-07-12 11:17:31 +00:00
Vincent van Adrighem
8a81d34cc5 Translation updated by Tino Meinen.
2005-07-09  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated by Tino Meinen.
2005-07-09 13:26:10 +00:00
Amanpreet Singh Alam
0bd7295689 update by amanpreetalam@yahoo.com 2005-07-08 03:59:53 +00:00
Matthias Clasen
5489f552dc Add -DHPPEX -DSHMLINK to CFLAGS for HP-UX. (#162979, Paul Cornett)
2005-07-07  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Add -DHPPEX -DSHMLINK to CFLAGS for HP-UX.
	(#162979, Paul Cornett)
2005-07-08 03:58:36 +00:00
Matthias Clasen
98874312c0 Add some additional docs on precision here too. (#309238, Steve Chaplin)
2005-07-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkhscale.c (gtk_hscale_new_with_range):
	(gtk_vscale_new_with_range): Add some additional docs on
	precision here too.  (#309238, Steve Chaplin)
2005-07-08 03:22:57 +00:00
Adam Weinberger
06b33ab9e3 Updated Canadian English translation.
2005-07-07  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-07-08 00:03:07 +00:00
Matthias Clasen
31ee48c198 Implement Drag-and-Drop to the file list. (#145121, Sven Neumann)
2005-07-07  Matthias Clasen  <mclasen@redhat.com>

	Implement Drag-and-Drop to the file list.  (#145121, Sven Neumann)

	* gtk/gtkfilechooserdefault.c (file_list_drag_data_received_cb)
	(file_list_drag_drop_cb, file_list_drag_motion_cb): New functions
	to handle drag-and-drop on the file list.
	(create_file_list): Set up drag-and-drop handlers on the file list.
2005-07-07 17:14:09 +00:00
Matthias Clasen
b36a1e8243 Fix #157787, reported by Jonathan Blandford:
2005-07-07  Matthias Clasen  <mclasen@redhat.com>

	Fix #157787, reported by Jonathan Blandford:

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_set_current_folder): Don't leave a
	"trail" behind when set_current_folder is called explicitly.
	(gtk_file_chooser_default_update_current_folder): New function
	that is called to update the current folder in response to
	user actions.

	* gtk/gtkpathbar.c (_gtk_path_bar_set_path): Add a boolean
	keep_trail argument, and don't leave a "trail" behind unless
	it is set.
2005-07-07 12:46:50 +00:00
Priit Laes
9c7db72ab0 Translation updated by Ivar Smolin.
2005-07-07  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-07-07 06:09:50 +00:00
Priit Laes
97e8ace959 Translation updated by Ivar Smolin.
2005-07-06  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-07-06 12:28:03 +00:00
Matthias Clasen
b85f379e37 Add some additional docs on precision. (#309238, Steve Chaplin)
2005-07-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): Add some
	additional docs on precision.  (#309238, Steve Chaplin)
2005-07-06 03:46:20 +00:00
Matthias Clasen
150e3a4adf Fix includes 2005-07-06 00:33:09 +00:00
Matthias Clasen
5fd52d65ee Update the file-button image 2005-07-05 22:56:36 +00:00
Manish Singh
84e1d2c232 remove stray debugging g_prints.
2005-07-03  Manish Singh  <yosh@gimp.org>

        * gtk/gtktreeview.c (gtk_tree_view_vertical_autoscroll): remove
        stray debugging g_prints.
2005-07-03 17:42:06 +00:00
Vincent van Adrighem
7b5a53121c Translation updated by Tino Meinen.
2005-07-02  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated by Tino Meinen.
2005-07-02 15:52:08 +00:00
Matthias Clasen
a3c694b6cd Prevent an infinite loop when G_FILENAME_ENCODING is invalid. (#309280,
2005-07-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilesel.c (cmpl_init_state): Prevent an infinite
	loop when G_FILENAME_ENCODING is invalid.  (#309280, Padraig Brady)
2005-07-01 15:32:55 +00:00
Kwok-Koon Cheung
0cc592f510 Updated traditional Chinese translation from GNOME HK Team
* zh_TW.po: Updated traditional Chinese translation from GNOME HK Team
2005-07-01 11:06:26 +00:00
Matthias Clasen
4c6b69a782 Avoid infinite loop if a mask is zero. (#309222, David Saxton)
2005-06-30  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkvisual-x11.c (gdk_visual_decompose_mask): Avoid
	infinite loop if a mask is zero.  (#309222, David Saxton)
2005-06-30 19:13:18 +00:00
Matthias Clasen
549ded61f2 Clarify the code, gcc 4 complains about predecrement in MAX().
2005-06-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_fetch_child):
	Clarify the code, gcc 4 complains about predecrement in  MAX().
2005-06-30 19:06:12 +00:00
Matthias Clasen
abffbfb994 Don't prematurely unregister callbacks.
2005-06-30  Matthias Clasen  <mclasen@redhat.com>

	* modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
	Don't prematurely unregister callbacks.
2005-06-30 18:45:27 +00:00
Matthias Clasen
67fceb5cf9 Avoid a segfault. (#309054)
2005-06-27  Matthias Clasen  <mclasen@redhat.com>

	* modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
	Avoid a segfault.  (#309054)
2005-06-27 18:34:03 +00:00
Matthias Clasen
31c4472548 Cancel menus when they are grab-shadowed by something thats not a submenu.
2005-06-27  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkmenu.c (gtk_menu_grab_notify): Cancel menus when
        they are grab-shadowed by something thats not a
        submenu.  (#145416, Euan MacGregor)
2005-06-27 17:39:34 +00:00
Matthias Clasen
d426fcb4d0 Unregister XIM callbacks here. (#309054)
2005-06-26  Matthias Clasen  <mclasen@redhat.com>

	* modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
	Unregister XIM callbacks here.  (#309054)
2005-06-27 02:29:29 +00:00
Matthias Clasen
504ee67c2e Make movement by paragraphs up/down symmetric. (#307055, Behnam Esfahbod)
2005-06-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c
	(gtk_text_view_move_cursor_internal): Make movement by
	paragraphs up/down symmetric.  (#307055, Behnam Esfahbod)
2005-06-24 17:40:17 +00:00
Matthias Clasen
8fe7ec4ede Don't jump to the next line if we are at the end of the line.
2005-06-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_scroll_hpages): Don't
	jump to the next line if we are at the end of the line.
2005-06-24 13:50:53 +00:00
Tor Lillqvist
98e53e0e13 Mention also bug #308413. 2005-06-24 13:05:59 +00:00
Tor Lillqvist
f5db01dc23 Improve and simplify line segment rendering on Win32, especially the
2005-06-23  Tor Lillqvist  <tml@novell.com>

	Improve and simplify line segment rendering on Win32, especially
	the implementation of GDK_CAP_NOT_LAST, and dashed lines. Fixes
	bug #306396.

	* gdk/win32/gdkprivate-win32.h (GdkGCWin32): Save the GdkGC's
	line_style, cap_style and join_style as such in the
	GdkGCWin32. Don't need to keep the pen_double_dash flag, we can
	check the line_style.

	* gdk/win32/gdkgc-win32.c (fixup_pen): New internal function. Sets
	up the GDI pen type, style, end cap and join attributes to use
	based on the pen width, GDK line style, end cap style, and join
	style.

	For a narrow (zero-width) GDK pen with the GDK_CAP_NOT_LAST end
	cap style, which typically are used for XOR drawing where it is
	essential that the last pixel is not drawn, use a GDI cosmetic
	pen. Only for a cosmetic pen does GDI not draw the last pixel. I
	deduced this by experimetation, the documentation is rather vague.

	For other GDK pens use a geometric GDI pen. If the width is 0 or 1
	and the GDK end cap style is GDK_CAP_BUTT, and the line style is
	GDK_LINE_SOLID, use PS_ENDCAP_ROUND. This ensures that also
	single-pixel length lines are drawn. (For sngle-pixel width lines
	roundness as such is of course irrelevant.) For dashed lines, use
	PS_ENDCAP_FLAT.

	For wide lines use PS_ENDCAP_FLAT, _ROUND or _SQUARE,
	respectively, for GDK_CAP_BUTT, GDK_CAP_ROUND and GDK_CAP_PROJECTING.

	For one pixel on-off dashed lines, use PS_ALTERNATE, it seems to
	work better than PS_USERSTYLE. For other dashed lines, use
	PS_USERSTYLE and the dashes as set by the user (or the default
	four-pixel on-off style).

	(gdk_win32_gc_values_to_win32values, gdk_win32_gc_set_dashes):
	Call fixup_pen() to do the pen settings after modifying some of
	the GDK GC attributes that affect pens.

	* gdk/win32/gdkdrawable-win32.c (render_line_horizontal,
	render_line_vertical, draw_segments): Check GdkGCWin32::line_style
	instead of the the removed pen_double_dash member. Don't use
	PATCOPY unconditionally in the PatBlt() call, use a raster ope
	code that depends on the GC function in use.

	(draw_rectangle, draw_segments, draw_lines): Be more careful in
	deciding when to do the manual dash rendering.

	(draw_segments): Don't do any manual "last point" drawing at
	all. The above changes takes care of narrow line segments being
	drawn correctly in most cases, at least on NT-based Windows.
2005-06-24 12:42:53 +00:00
Rhys Jones
586cf9ad5c Updated Welsh translation.
2005-06-23  Rhys Jones  <rhys@sucs.org>

	* cy.po: Updated Welsh translation.
2005-06-23 22:29:29 +00:00
Matthias Clasen
b4a5e493dc Fix an error in the cache timeout logic. (#166601, Morten Welinder)
2005-06-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder):
	Fix an error in the cache timeout logic.  (#166601, Morten
	Welinder)
2005-06-23 20:46:58 +00:00
Matthias Clasen
3187d490ad Remove a leftover debugging envvar.
2005-06-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Remove
	a leftover debugging envvar.

2005-06-22  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkdnd-x11.c (xdnd_finished_filter): Set the
	time field in the event.  (#308573, Morten Welinder)
2005-06-23 17:06:52 +00:00
Matthias Clasen
81560a213a Don't trigger warnings if there are extra references to the hbox.
2005-06-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkbutton.c (gtk_button_construct_child): Don't
	trigger warnings if there are extra references to the
	hbox.  (#308677, Dan Winship)
2005-06-23 04:25:37 +00:00
Matthias Clasen
4e4f41ef4f Define ngettext() in the non-NLS case. (#308717, Peter S. Mazinger)
2005-06-22  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-i18n.h: Define ngettext() in the non-NLS
	case.  (#308717, Peter S. Mazinger)
2005-06-23 03:16:48 +00:00
Kwok-Koon Cheung
0c6e1e2969 fix language team reference 2005-06-23 01:27:21 +00:00
Kwok-Koon Cheung
9f9777cbc1 Fix language team reference 2005-06-22 23:51:03 +00:00
Matthias Clasen
44321354b1 Ignore everything after the first space in lines from the .gtk-bookmarks
2005-06-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilesystemunix.c: Ignore everything after the
	first space in lines from the .gtk-bookmarks file.
2005-06-22 15:18:44 +00:00
Matthias Clasen
406be320fe Connect to button-release-event as well, to handle touchscreen scenarios
2005-06-21  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_source_set): Connect to
	button-release-event as well, to handle touchscreen
	scenarios better.  (#171490, Markku Vire)
2005-06-21 05:55:14 +00:00
Matthias Clasen
95ec9d9a30 Handle missing MAP_FAILED. (#308449, Georg Schwarz)
2005-06-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconcache.c: Handle missing MAP_FAILED.  (#308449, Georg
	Schwarz)
2005-06-21 03:44:32 +00:00
Priit Laes
132944143c Translation updated by Ivar Smolin.
2005-06-21  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-06-20 21:01:53 +00:00
Christophe Merlet
46816ed85c Updated French translation. 2005-06-20 20:48:58 +00:00
Chao-Hsiung Liao
79c324aed0 Updated Traditional Chinese translation.
2005-06-20  Chao-Hsiung Liao  <j_h_liau@yahoo.com.tw>

	* zh_TW.po: Updated Traditional Chinese translation.
2005-06-20 13:02:46 +00:00
Changwoo Ryu
dbe1f5a8f6 Updated Korean translation.
2005-06-20  Changwoo Ryu  <cwryu@debian.org>

	* ko.po: Updated Korean translation.
2005-06-19 16:33:32 +00:00
Danilo Šegan
e84f4d6e21 Updated Serbian translation. 2005-06-19 13:26:18 +00:00
Chao-Hsiung Liao
0941295eba Updated Traditional Chinese translation.
2005-06-19  Chao-Hsiung Liao  <j_h_liau@yahoo.com.tw>

	* zh_TW.po: Updated Traditional Chinese translation.
2005-06-19 12:49:07 +00:00
Takeshi AIHANA
8905bf5756 Updated Japanese translation for v2.6.8.
2005-06-19  Takeshi AIHANA <aihana@gnome.gr.jp>
	* ja.po: Updated Japanese translation for v2.6.8.
2005-06-19 07:54:59 +00:00
Tor Lillqvist
c943c3552a Set the actions and suggested_action fields in the GdkDragContext to
2005-06-17  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkdnd-win32.c (gdk_dropfiles_filter): Set the actions
	and suggested_action fields in the GdkDragContext to
	GDK_ACTION_COPY. Otherwise apps that check the suggested_action
	field, like eog, won't accept dropped files.
2005-06-17 19:42:16 +00:00
Matthias Clasen
4131fd4ff8 Resize the popup if necessary. (#308076, Vincent Noel)
2005-06-17  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentrycompletion.c (gtk_entry_completion_complete):
	Resize the popup if necessary.  (#308076, Vincent Noel)
2005-06-17 18:27:57 +00:00
Matthias Clasen
4a37701aa1 Queue a draw on the old and new focus widgets, if their defaultness
2005-06-17  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwindow.c (gtk_window_real_set_focus): Queue a
	draw on the old and new focus widgets, if their defaultness
	changes.  (#305607, Billy Biggs)
2005-06-17 17:39:00 +00:00
Chao-Hsiung Liao
4cb6529968 Updated Traditional Chinese translation.
2005-06-17  Chao-Hsiung Liao  <j_h_liau@yahoo.com.tw>

	* zh_TW.po: Updated Traditional Chinese translation.
2005-06-17 12:08:25 +00:00
Martin Willemoes Hansen
e3317ac7bb Updated Danish translation.
* da.po: Updated Danish translation.
2005-06-17 07:23:42 +00:00
Adam Weinberger
8d89e24613 Updated Canadian English translation.
2005-06-17  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-06-17 06:02:22 +00:00
Hendrik Brandt
1a535b4271 Updated German translation.
2005-06-17  Hendrik Brandt  <heb@gnome-de.org>

        * de.po: Updated German translation.
2005-06-16 22:24:09 +00:00
Tor Lillqvist
5e575c6df3 [Win32] Borrow this function from GLib HEAD. (_gtk_get_localedir): [Win32]
2005-06-16  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkmain.c (g_win32_locale_filename_from_utf8): [Win32]
	Borrow this function from GLib HEAD.
	(_gtk_get_localedir): [Win32] Make sure the run-time locale
	directory is in system codepage, as it is passed to the
	non-UTF8-aware gettext library.
2005-06-16 10:16:46 +00:00
Matthias Clasen
0cbd9ae21f Bump version 2005-06-16 04:58:12 +00:00
Matthias Clasen
280c759165 2.6.8 2005-06-16 04:32:51 +00:00
Theppitak Karoonboonyanan
daf8758fde Updated Thai translation.
2005-06-16  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	* th.po: Updated Thai translation.
2005-06-16 02:11:04 +00:00
Christian Rose
eda5e94345 Updated Swedish translation.
2005-06-15  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.
2005-06-15 20:34:08 +00:00
Hendrik Richter
1d59d2de37 Updated German translation.
2005-06-15  Hendrik Richter  <hendi@gnome-de.org>

	* de.po: Updated German translation.
2005-06-15 10:05:20 +00:00
Funda Wang
0b1975a00b Updated Simplified Chinese translation 2005-06-15 09:18:02 +00:00
Gabor Kelemen
bb2a97986b Hungarian translation updated.
2005-06-15  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Hungarian translation updated.
2005-06-15 08:11:21 +00:00
Matthias Clasen
62d707baef Updates 2005-06-15 04:04:38 +00:00
Federico Mena Quintero
17b706067b Fill in with GtkFileChooser bugs.
2005-06-14  Federico Mena Quintero  <federico@ximian.com>

	* NEWS: Fill in with GtkFileChooser bugs.
2005-06-15 01:10:25 +00:00
Federico Mena Quintero
18c1567023 Fix #302087:
2005-06-14  Federico Mena Quintero  <federico@ximian.com>

	Fix #302087:

	* gtk/gtkfilechooserdefault.c (list_selection_changed): Emit
	"selection-changed" and do the normal housekeeping even if we are
	in SAVE mode and there is nothing selected.  We didn't emit that
	signal if we were in SAVE mode and unselect_all() got called.
	(gtk_file_chooser_default_unselect_all): Call
	pending_select_paths_free() so that we cancel any asynchronous
	selections.
	(gtk_file_chooser_default_set_current_name): Likewise.
2005-06-15 01:01:22 +00:00
Federico Mena Quintero
c8d087ea01 Fixes #307640:
2005-06-14  Federico Mena Quintero  <federico@ximian.com>

	Fixes #307640:

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_should_respond): Oops, I broke SAVE
	mode.  If the parent path is a folder, only create a subfolder if
	we are in CREATE_FOLDER mode; if we are in SAVE mode, just return
	and respond.  Also, pick up the case where the user types
	"dirname/" instead of "dirname".
	(check_save_entry): Make the return type void.  Add some return
	parameters so that we can do more thorough checking.
	(gtk_file_chooser_default_get_paths): If the file part is empty
	and we are in SAVE mode, return an empty selection.
2005-06-14 23:19:56 +00:00
Gabor Kelemen
0f19aeb0e4 Hungarian translation updated.
2005-06-14  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Hungarian translation updated.
2005-06-14 20:42:03 +00:00
Matthias Clasen
53245b3443 Free the data of the row before overwriting it. (#307490, Kjartan Maraas)
2005-06-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserbutton.c (model_update_current_folder):
	Free the data of the row before overwriting it.  (#307490,
	Kjartan Maraas)
2005-06-13 13:53:28 +00:00
Matthias Clasen
c212891b0a Don't leak the format names. (#307190, Morten Welinder)
2005-06-12  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkselection.c (gtk_target_list_add_image_targets):
	Don't leak the format names.  (#307190, Morten Welinder)
2005-06-12 21:03:38 +00:00
Kjartan Maraas
0e7900a0c5 Merge fix for a leak from HEAD. Bug #307281.
2005-06-12  Kjartan Maraas  <kmaraas@gnome.org>

	* gdk/x11/gdkasync.c: (send_event_handler): Merge
	fix for a leak from HEAD. Bug #307281.
2005-06-12 17:25:42 +00:00
Miloslav Trmac
df2fa128a8 Updated Czech translation.
2005-06-12  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.
2005-06-12 16:17:20 +00:00
Christophe Merlet
1a521735d4 Updated French translation. 2005-06-12 15:52:05 +00:00
Francisco Javier F. Serrador
86e696bff4 Updated Spanish translation.
2005-06-11  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2005-06-11 12:01:35 +00:00
Matthias Clasen
50421c7638 Updates
2005-06-10  Matthias Clasen  <mclasen@redhat.com>

	* NEWS: Updates
2005-06-11 03:56:24 +00:00
Åsmund Skjæveland
96eeefd40a Updated Norwegian Nynorsk translation.
2005-06-10  Åsmund Skjæveland  <aasmunds@fys.uio.no>

	* nn.po: Updated Norwegian Nynorsk translation.
2005-06-10 13:06:20 +00:00
Federico Mena Quintero
5faa812eff Fixes #162358:
2005-06-09  Federico Mena Quintero  <federico@ximian.com>

	Fixes #162358:

	* gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't return
	immediately if we are in CREATE_FOLDER mode, so that we can fill
	the entry with the newly-selected folder.
	(gtk_file_chooser_default_set_property): Warn against turning on
	multiple selection for CREATE_FOLDER mode, or about setting that
	action while multiple selection is on.
	(update_chooser_entry): Change the entry's contents as well if we
	are in CREATE_FOLDER mode.  If nothing is selected, clear the
	chooser entry.
	(trap_activate_cb): Don't trap enter/space if modifiers are
	pressed.  This lets one use Ctrl-space to toggle rows in multiple
	selection mode.
	(gtk_file_chooser_default_should_respond): Clean up the if-chain
	mess of special cases by using an array to determine what to do.
	Also, for the save-entry case in CREATE_FOLDER mode, actually fix
	the bug where the file chooser would switch to an existing folder
	rather than confirming with it, and create the folder ourselves.
	(error_creating_folder_over_existing_file_dialog): New function.

	* gtk/gtkfilechooserentry.c (check_completion_callback): Only
	insert the common prefix if we are in an "open" mode.  Use a
	helper function.
	(append_common_prefix): New helper function; code moved over from
	check_completion_callback().
	(find_common_prefix): New helper function.
	(gtk_file_chooser_entry_focus): Append the common prefix if the
	user requests it explicitly.

2005-06-09  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkdnd-x11.c (motif_drop_start, xdnd_drop_filter): Update
	the user time on the window when a drop happens.  (#169364, Alexander
	Hunziker, patch by Elijah Newren)
2005-06-10 05:53:06 +00:00
Federico Mena Quintero
658a94df53 Pass the correct size to realloc(). Fixes
2005-05-28  Federico Mena Quintero  <federico@ximian.com>

	* xdgmime.c (xdg_mime_init_from_directory): Pass the correct size
	to realloc().  Fixes https://bugs.freedesktop.org/show_bug.cgi?id=3506.
2005-06-10 05:23:17 +00:00
Matthias Clasen
5c4b58adfd Don't declare errno, including errno.h is enough. (#304164, Joerg
2005-06-09  Matthias Clasen  <mclasen@redhat.com>

	* xdgmimemagic.c: Don't declare errno, including errno.h
	is enough.  (#304164, Joerg Sonnenberger)
2005-06-09 19:55:01 +00:00
Matthias Clasen
246d68e4a5 Update the user time on the window when a drop happens. (#169364,
2005-06-09  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkdnd-x11.c (motif_drop_start, xdnd_drop_filter): Update
	the user time on the window when a drop happens.  (#169364, Alexander
	Hunziker, patch by Elijah Newren)
2005-06-09 17:15:04 +00:00
Andraz Tori
1fccda06c2 Updated Slovenian translation 2005-06-08 23:44:06 +00:00
Andraz Tori
a839e6e772 Updated Slovenian translation 2005-06-08 23:22:46 +00:00
Matthias Clasen
36c4c40f88 Check for overflow. (#306394, Morten Welinder)
2005-06-08  Matthias Clasen  <mclasen@redhat.com>

	* io-pnm.c (pnm_read_next_value): Check for overflow.
	(#306394, Morten Welinder)
2005-06-08 20:58:25 +00:00
Matthias Clasen
0f440a3d4c Check for negative before appending the index, to avoid double error
2005-06-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreemodel.c (gtk_tree_path_new_from_string): Check for
	negative before appending the index, to avoid double error
	message.  (#306393, Morten Welinder)
2005-06-08 20:26:27 +00:00
Matthias Clasen
f12cb095f8 Don't crash if search_window is NULL. (#304914, Victor Osadci, testcase by
2005-06-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
	Don't crash if search_window is NULL.  (#304914, Victor Osadci,
	testcase by Olaf Vitters)
2005-06-08 20:15:41 +00:00
Priit Laes
ebc2eb15cc Translation updated by Ivar Smolin.
2005-06-08  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-06-08 08:54:08 +00:00
Kjartan Maraas
69bc5b3928 Plug a leak. Closes bug #306754.
2005-06-07  Kjartan Maraas  <kmaraas@gnome.org>

	* gtk/gtkfilechooserbutton.c: (update_label_and_image):
	Plug a leak. Closes bug #306754.
2005-06-07 21:20:41 +00:00
Dom Lachowicz
5a901b17f1 Merge from HEAD:
2005-06-03  Dom Lachowicz <cinamod@hotmail.com>

	Merge from HEAD:

	* modules/engines/ms-windows/msw_style.c: Re-sync with gtk-wimp
	* modules/engines/ms-windows/xp_theme.c: Ditto
	* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Ditto
2005-06-05 10:31:27 +00:00
Tor Lillqvist
14b977a1bb modules/engines/Makefile.am Decide whether to build the ms-windows theme
2005-06-05  Tor Lillqvist  <tml@novell.com>

	* modules/engines/Makefile.am
	* modules/input/Makefile.am: Decide whether to build the
	ms-windows theme engine based on the GDK backend, not based on
	platform. (I.e., if building for Cygwin with the X11 backend, we
	shouldn't build the ms-windows engine, but if building for Cygwin
	but with the Win32 backend, we should.) Ditto for the IME
	(Windows) input module. (#305832)
2005-06-04 22:10:04 +00:00
Tor Lillqvist
fd3a70b9d9 gdk/win32/gdkcursor-win32.c gdk/win32/gdkwindow-win32.c Support
2005-06-04  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkcursor-win32.c
	* gdk/win32/gdkwindow-win32.c
	* gdk/win32/gdkprivate-win32.h: Support full-colour cursors.
	Support cursors with alpha on XP. Use code in common with the
	support for alpha icons that already was present. (#306101, Tim
	Evans)
2005-06-04 21:54:48 +00:00
Tor Lillqvist
73482ea35e Render insensitive icons in a way that more closely matches Windows.
2005-06-04  Tor Lillqvist  <tml@novell.com>

	* modules/engines/ms-windows/msw_style.c: Render insensitive icons
	in a way that more closely matches Windows. (#305986, Tim Evans).

	* modules/engines/ms-windows/Makefile.am (LDADDS): Link with
	gdk-pixbuf.
2005-06-04 20:10:11 +00:00
Andraz Tori
97789187ee Updated Slovenian translation 2005-06-02 19:21:31 +00:00
Matthias Clasen
746b7497fb Add credit 2005-05-26 19:51:59 +00:00
Matthias Clasen
795d91c810 Queue the redisplay after modifying the tag in the btree, otherwise we end
2005-05-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextbtree.c (_gtk_text_btree_tag): Queue the
	redisplay after modifying the tag in the btree, otherwise
	we end up showing the old tags until the next redraw comes
	around.   (#143537, Gary Kramlich)
2005-05-26 19:51:08 +00:00
Matthias Clasen
b27c1cc6ee Make autoscrolling work at the bottom of the screen.
2005-05-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c (gtk_combo_box_list_auto_scroll): Make
	autoscrolling work at the bottom of the screen.
2005-05-26 17:24:11 +00:00
Maciej Katafiasz
2fb0904b13 Point to GtkTextView instead of GtkText. Fixes bug #305535 2005-05-26 16:28:38 +00:00
Tor Lillqvist
67f3c55662 If blitting from the root window, take the multi-monitor offset into
2005-05-26  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkdrawable-win32.c (_gdk_win32_blit): If blitting
	from the root window, take the multi-monitor offset into
	account. (#305511)
2005-05-26 07:54:32 +00:00
Matthias Clasen
eb2fdda4b9 More demos 2005-05-26 03:21:06 +00:00
Matthias Clasen
16bd785137 Set the window icon by name.
2005-05-25  Matthias Clasen  <mclasen@redhat.com>

	* demos/gtk-demo/appwindow.c (do_appwindow): Set the window
	icon by name.
2005-05-25 20:03:46 +00:00
Matthias Clasen
d09bf14bfb Draw the background of rows insensitive when the treeview is insensitive.
2005-05-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_bin_expose): Draw the
	background of rows insensitive when the treeview is insensitive.
	(pointed out by Billy Biggs)
2005-05-25 17:25:28 +00:00
Matthias Clasen
7913beee5d Make sure png comes first, otherwise dnd may use bmp by default, loosing
2005-05-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkselection.c (gtk_target_list_add_image_targets):
	Make sure png comes first, otherwise dnd may use bmp by
	default, loosing transparency.
2005-05-25 14:04:31 +00:00
Michael Natterer
166fd98362 block the text_layout's "changed" handler when changing cursor visibility
2005-05-25  Michael Natterer  <mitch@imendio.com>

	* gtk/gtktextview.c (blink_cb): block the text_layout's "changed"
	handler when changing cursor visibility because it would expose
	the whole paragraph where the cursor is. Instead, expose the
	cursors' areas manually. (#173047).

	(text_window_invalidate_cursors): new function which exposes the
	cursors.

	* gtk/gtkstyle.c (draw_insertion_cursor): added comment that the
	same cursor size calculation is in text_window_invalidate_cursors().
2005-05-25 10:19:29 +00:00
Matthias Clasen
15bb0c574e Also demonstrate GtkCellRendererProgress.
2005-05-25  Matthias Clasen  <mclasen@redhat.com>

	* demos/gtk-demo/editable_cells.c (create_items_model): Also
	demonstrate GtkCellRendererProgress.

	* demos/gtk-demo/Makefile.am (demos):
	* demos/gtk-demo/combobox.c: Add a demo showing combo box
	variations.

	* demos/gtk-demo/Makefile.am (demos):
	* demos/gtk-demo/pickers.c: Add a demo showing all picker widgets.
2005-05-25 06:48:28 +00:00
Christian Rose
07498c0419 Updated Swedish translation.
2005-05-23  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.
2005-05-23 21:55:41 +00:00
Matthias Clasen
378c36b233 Revert an accidental commit 2005-05-23 17:02:04 +00:00
Matthias Clasen
0a7c254a6b Don't grab the focus away from the file list when operating the filter
2005-05-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (filter_create): Don't grab
	the focus away from the file list when operating the filter
	combo with the pointer.  (#304844, Sven Neumann)
2005-05-23 16:47:48 +00:00
Tor Lillqvist
ee9a409883 Map VK_APPS to GDK_Menu. (#172383, Ivan Wong)
2005-05-23  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkkeys-win32.c (handle_special): Map VK_APPS to
	GDK_Menu. (#172383, Ivan Wong)
2005-05-22 22:28:57 +00:00
Tor Lillqvist
3d42723f95 Typo. 2005-05-22 21:30:30 +00:00
Tor Lillqvist
a9c0d11913 If the keysym isn't one of the special cases this function takes care of,
2005-05-23  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkkeys-win32.c (handle_dead): If the keysym isn't one
	of the special cases this function takes care of, use it as
	such. This takes care of for instance the Bengali Virama, see bug
	#165723.
2005-05-22 21:19:41 +00:00
Matthias Clasen
00f98ee9bc Don't rely on C99 types. (#304924, John Ehresman)
2005-05-20  Matthias Clasen  <mclasen@redhat.com>

	* xdgmimecache.c: Don't rely on C99
	types.  (#304924, John Ehresman)
2005-05-20 22:39:45 +00:00
Matthias Clasen
34add93681 Avoid a possible buffer overrun. (#142444, Leonard Michlmayr)
2005-05-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkimcontextsimple.c (check_table): Avoid a possible
	buffer overrun.  (#142444, Leonard Michlmayr)
2005-05-20 21:07:43 +00:00
Matthias Clasen
b9850615fd Add a warning 2005-05-20 14:32:10 +00:00
Matthias Clasen
ffe8c1fb30 Fix an example. (#304808, Ghorban M. Tavakoly)
2005-05-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/migrating-GtkAction.sgml: Fix an example.  (#304808,
	Ghorban M. Tavakoly)
2005-05-20 05:11:36 +00:00
Rhys Jones
e4002179b1 Updated Welsh translation.
2005-05-18  Rhys Jones  <rhys@sucs.org>

	* cy.po: Updated Welsh translation.
2005-05-18 22:12:00 +00:00
Matthias Clasen
98a8c154fb Use the correct function to conver the uri to a path. (#304565, Ismael
2005-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooser.c (gtk_file_chooser_remove_shortcut_folder_uri):
	Use the correct function to conver the uri to a path.  (#304565,
	Ismael Juma)
2005-05-18 21:01:46 +00:00
Matthias Clasen
9673383e17 Handle the Cancel button properly. (#304234, Sven Neumann)
2005-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserbutton.c (dialog_response_cb): Handle the
	Cancel button properly.  (#304234, Sven Neumann)
2005-05-18 20:36:23 +00:00
Matthias Clasen
4578895a99 Try harder to set the event masks of descendent windows. (#169821, Tommi
2005-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_add_events): Try harder to set
	the event masks of descendent windows.  (#169821, Tommi Komulainen)
2005-05-18 16:53:24 +00:00
Matthias Clasen
9e4d706b79 Warn if length overflows. (#161520, Ian Wienand)
2005-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkproperty-x11.c (gdk_property_get): Warn if
	length overflows.  (#161520, Ian Wienand)
2005-05-18 14:48:39 +00:00
Tor Lillqvist
751b1813c9 gdk/win32/gdkevents-win32.c gdk/win32/gdkkeys-win32.c Check the
2005-05-18  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkevents-win32.c
	* gdk/win32/gdkkeys-win32.c
	* gdk/win32/gdkprivate-win32.h: Check the KF_EXTENDED bit in
	lParam of WM_KEY* messages to distinguish between left and right
	Control and Alt keys. Unfortunately, the right Shift key doesnt
	set KF_EXTENDED, so to distinguish between left and right Shift
	keys, check the scan code. (#304584)
2005-05-18 14:47:31 +00:00
Matthias Clasen
4ff96a0658 Fix the default values of draw-value and value-pos to be the values we
2005-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkscale.c (gtk_scale_class_init): Fix the default
	values of draw-value and value-pos to be the values we
	actually use in _init. (#304547, Mikael Hallendal)
2005-05-18 13:20:55 +00:00
Mohammad DAMT
6feda89b9d Updated Indonesian translation.
2005-05-18  Mohammad DAMT <mdamt@gnome.org>

  * id.po: Updated Indonesian translation.
2005-05-17 21:21:57 +00:00
Matthias Clasen
24b59e4230 Don't blink the cursor if the text view is not editable.
2005-05-17  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (cursor_blinks): Don't blink the cursor
	if the text view is not editable.
2005-05-17 06:19:15 +00:00
Matthias Clasen
f4fc3fee86 Keep the popup posted if the button is released over the cellview. This
2005-05-17  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c (gtk_combo_box_list_button_released): Keep
	the popup posted if the button is released over the cellview.
	This matches the behaviour of other combo box implementations.
	(#171378)
2005-05-17 05:43:20 +00:00
Matthias Clasen
ef25506011 Don't bind GDK_Page_Up and GDK_Page_Down twice. (#168333, Hazael Maldonado
2005-05-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkscale.c (gtk_scale_class_init): Don't bind GDK_Page_Up
	and GDK_Page_Down twice.  (#168333, Hazael Maldonado Torres)
2005-05-17 03:50:27 +00:00
Matthias Clasen
7c337b69f2 Don't blink the cursor if the entry is not editable. (#304171,Nikos
2005-05-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c (cursor_blinks): Don't blink the cursor if
	the entry is not editable.  (#304171,Nikos Kouremenos)
2005-05-16 21:13:57 +00:00
Matthias Clasen
edd7c7ee5c Make sure the action of the button and the dialog are in sync, when the
2005-05-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_constructor):
	Make sure the action of the button and the dialog are in sync,
	when the dialog is provided by the app.  (#303987, David A Knight)
2005-05-16 21:07:02 +00:00
Matthias Clasen
5c2b9dfb60 Fix a typo in the docs. (#303940, Masao Mutoh)
2005-05-16  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkpango.c (gdk_pango_renderer_get_default): Fix a typo
	in the docs.  (#303940, Masao Mutoh)
2005-05-16 19:42:54 +00:00
Martin Willemoes Hansen
872f72ba0a Updated Danish translation.
* da.po: Updated Danish translation.
2005-05-16 13:22:40 +00:00
Matthias Clasen
f734ca03e0 Be more careful when casting. (#304089, Philip Langdale)
2005-05-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktoggleaction.c (connect_proxy): Be more careful when
	casting.  (#304089, Philip Langdale)
2005-05-16 05:03:57 +00:00
Matthias Clasen
c56166b733 Only shrink the label if we need to. (#169390, Felix Riemann)
2005-05-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Only shrink
	the label if we need to.  (#169390, Felix Riemann)
2005-05-16 04:55:46 +00:00
Amanpreet Singh Alam
7b37051439 update by amanpreetalam@yahoo.com 2005-05-13 14:55:14 +00:00
Ankitkumar Rameshchandra Patel
ffed854a69 Updated Gujarati Translation 2005-05-13 08:51:42 +00:00
Adi Attar
793eb49d4e Updated Xhosa translation.
2005-05-10  Adi Attar  <aattar@cvs.gnome.org>

	* xh.po: Updated Xhosa translation.
2005-05-10 10:03:49 +00:00
Tor Lillqvist
ff576e3fe7 Check that GDK_IS_SCREEN(screen) (like the X11 backend does), not screen
2005-05-10  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): Check
	that GDK_IS_SCREEN(screen) (like the X11 backend does), not screen
	== gdk_screen_get_default(), as that might return NULL when this
	function is called.
2005-05-10 06:53:18 +00:00
Matthias Clasen
b08353ac29 Flip the padding in RTL mode. (#303572, Maciej Katafiasz)
2005-05-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkalignment.c (gtk_alignment_size_allocate): Flip the
	padding in RTL mode.  (#303572, Maciej Katafiasz)
2005-05-10 03:45:14 +00:00
Matthias Clasen
e55a634a11 Fix a typo (#303473, Masao Mutoh)
2005-05-08  Matthias Clasen  <mclasen@redhat.com>

	* gdk/tmpl/visuals.sgml: Fix a typo (#303473, Masao Mutoh)
2005-05-09 03:54:42 +00:00
Matthias Clasen
6d52e426dc Fix a reference. (#303403, Masao Mutoh)
2005-05-07  Matthias Clasen  <mclasen@redhat.com>

	* gdk/tmpl/pango_interaction.sgml: Fix a reference.
	(#303403, Masao Mutoh)
2005-05-08 03:24:03 +00:00
Matthias Clasen
69570e4695 Fix typos in the docs. (#303389, Masao Mutoh)
2005-05-07  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkscreen-x11.c (gdk_screen_get_width_mm)
	(gdk_screen_get_height_mm): Fix typos in the docs. (#303389,
	Masao Mutoh)
2005-05-08 03:20:47 +00:00
Takeshi AIHANA
829f76a980 Updated Japanese translation.
2005-05-07  Takeshi AIHANA <aihana@gnome.gr.jp>
	* ja.po: Updated Japanese translation.
2005-05-07 13:09:37 +00:00
Federico Mena Quintero
d113df8c0a Don't fill the mime types if this is an AFS directory. (fill_in_names): If
2005-05-06  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilesystemunix.c (fill_in_mime_type): Don't fill the mime
	types if this is an AFS directory.
	(fill_in_names): If we are in an AFS directory, set the MIME type
	blindly to "x-directory/normal".
2005-05-06 20:58:12 +00:00
Matthias Clasen
35f75bd340 Always initialize child-visible to FALSE, otherwise we may end up with the
2005-05-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_insert_page_menu): Always
	initialize child-visible to FALSE, otherwise we may end up
	with the wrong page visible initially.  (#302283, Patrik Fimml)

	* gtk/gtktreeview.c (gtk_tree_view_draw_arrow): Make expanders
	appear insensitive in insensitive treeviews.
2005-05-06 19:37:54 +00:00
Owen Taylor
787d603e12 Fix a bug in focus tracking when we move between has_pointer_focus and
2005-05-04  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkevents-x11.c gdk/x11/gdkwindow-x11.h: Fix a bug
        in focus tracking when we move between has_pointer_focus and
        has_focus_window directly. (#109246, Billy Biggs, Niko Tyni
        and others)

        * gdk/x11/gdkevents-x11.c: Also fix some extremely confusion
        that could happen in the case of no window manager + keyboard grabs,
        by moving to a more consistent model of when we pay attention
        to mode=NotifyGrab/NotifyUngrab events.
2005-05-05 00:09:43 +00:00
Vincent van Adrighem
5e624d9562 Translation updated.
2005-05-04  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated.
2005-05-04 13:05:02 +00:00
Adam Weinberger
c95b3a7ce0 Updated Canadian English translation.
2005-05-04  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-05-04 05:37:08 +00:00
Ankitkumar Rameshchandra Patel
306e4a3add Updated Translation 2005-05-03 05:24:46 +00:00
Federico Mena Quintero
a3080cedb3 Oops, remove mtrace() stuff.
2005-05-02  Federico Mena Quintero  <federico@ximian.com>

	* tests/testfilechooser.c: Oops, remove mtrace() stuff.
2005-05-03 01:51:41 +00:00
Federico Mena Quintero
cbb7d359d0 Fixes #301068:
2005-05-02  Federico Mena Quintero  <federico@ximian.com>

	Fixes #301068:

	* gtk/gtkfilesystemunix.c (struct _GtkFileSystemUnix): Add fields
	to store struct stat for /afs and /net, and boolean fields to say
	whether these are valid.
	(struct _GtkFileFolderUnix): Added a boolean is_network_dir field.
	(gtk_file_system_unix_get_folder): Fill in the is_network_dir
	field of the folder structure.
	(fill_in_names): If the folder is a network directory, create a
	fake struct stat for its entries.
	(fill_in_stats): Don't stat() the children of network directories.

	* gtk/gtkfilechooserdefault.c (list_mtime_data_func): If the mtime
	is 0, use "Unknown" for the cell's displayed text.
2005-05-03 01:49:10 +00:00
Funda Wang
c225434d2b Updated Simplified Chinese translation 2005-05-02 16:59:10 +00:00
Matthias Clasen
91dbfc8cd3 Forgotten Changelog 2005-05-02 13:50:31 +00:00
Michael Natterer
83e944a66e return silently if "gtk_initialized" is TRUE. Re-enables calling GTK's
2005-05-02  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkmain.c (do_post_parse_initialization): return silently if
	"gtk_initialized" is TRUE. Re-enables calling GTK's init functions
	multiple times when using gtk_get_option_group(), just as one can
	call gtk_init() multiple times without doing any harm.
2005-05-02 13:43:42 +00:00
Matthias Clasen
7e1ec1adfd Propagate the event to unanchored children in the text window. (#302494,
2005-05-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_expose_event): Propagate
	the event to unanchored children in the text window.
	(#302494, Stephen Kennedy)
2005-05-02 03:05:10 +00:00
Francisco Javier F. Serrador
c04473933b Updated Spanish translation.
2005-05-01  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2005-05-01 13:24:06 +00:00
Tor Lillqvist
0ae5528968 Take multi-monitor offset into account. (#302525)
2005-04-30  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkdnd-win32.c (gdk_dropfiles_filter): Take
	multi-monitor offset into account. (#302525)
2005-04-30 17:45:55 +00:00
Miloslav Trmac
edb12f77dd Updated Czech translation.
2005-04-30  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.
2005-04-30 14:44:57 +00:00
Matthias Clasen
88c656eba6 Get rid of this function, instead show the bin_window when it is created.
2005-04-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_map): Get rid of this
	function, instead show the bin_window when it is created.
2005-04-29 20:09:12 +00:00
Matthias Clasen
cf5324d980 Don't grab focus to unrealized widgets. (#302240, Philip Langdale)
2005-04-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkradiobutton.c (gtk_radio_button_focus): Don't
	grab focus to unrealized widgets.  (#302240, Philip Langdale)
2005-04-29 19:18:49 +00:00
Matthias Clasen
b1a9184cea Set background upon state changes. (#301651, Billy Biggs)
2005-04-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_state_changed): Set
	background upon state changes.  (#301651, Billy Biggs)
	(gtk_tree_view_get_path_at_pos): Take RTL into account
	when iterating over the columns.  (#302163)
2005-04-29 18:49:26 +00:00
Matthias Clasen
7eff4a6748 Sync to upstream. 2005-04-29 18:23:14 +00:00
Matthias Clasen
a1302347dd Set background upon state changes. (#301651, Billy Biggs)
2005-04-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_state_changed): Set
	background upon state changes.  (#301651, Billy Biggs)
2005-04-29 18:16:53 +00:00
Matthias Clasen
4f26508377 Check for nm.
2005-04-29  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Check for nm.

	* gtk/Makefile.am: Use $(NM), not nm directly. (#301299,
	Nguyen Thai Ngoc Duy)
2005-04-29 17:53:58 +00:00
Matthias Clasen
a8b42cab37 Refer to the correct property. (#301115, Richard Hult)
2005-04-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkuimanager.sgml: Refer to the correct
	property. (#301115, Richard Hult)
2005-04-29 17:20:34 +00:00
Matthias Clasen
a42ac08b20 Use the internal unselect_all function, since we need the unselection to
2005-04-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_move_cursor_start_end): Use
	the internal unselect_all function, since we need the unselection
	to happen even in browse mode.  (#300995, Mathias Hasselmann)
2005-04-29 17:00:16 +00:00
Matthias Clasen
abde5d3744 Use g_object_notify() instead of triggering a ::notify by re-setting the
2005-04-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkuimanager.c (update_node): Use g_object_notify() instead
	of triggering a ::notify by re-setting the property.  (#300982,
	Sven Neumann)
2005-04-29 16:27:51 +00:00
Matthias Clasen
749fc4343d Also scroll horizontally when necessary, and keep the northwest corner of
2005-04-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_scroll_to_item): Also
	scroll horizontally when necessary, and keep the northwest
	corner of the item visible.  (#300913, Mathias Hasselmann)
2005-04-29 16:18:50 +00:00
Matthias Clasen
e360cf164f Add some more tests.
2005-04-29  Matthias Clasen  <mclasen@redhat.com>

	* tests/testiconview.c: Add some more tests.

	* gtk/gtkiconview.c (gtk_icon_view_select_path): Don't crash
	if the path does not point to a row in the model.  (#300909,
	Mathias Hasselmann)
	(gtk_icon_view_rows_reordered): Re-layout here.  (#301009,
	Mathias Hasselmann)
2005-04-29 15:21:03 +00:00
Matthias Clasen
7f40ad39c8 Don't crash if the path does not point to a row in the model. (#300909,
2005-04-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_select_path): Don't crash
	if the path does not point to a row in the model.  (#300909,
	Mathias Hasselmann)
2005-04-29 14:55:15 +00:00
Matthias Clasen
53e7289f8c Add some more attribute tests.
2005-04-29  Matthias Clasen  <mclasen@redhat.com>

	* tests/testtext.c: Add some more attribute tests.
2005-04-29 14:42:41 +00:00
Matthias Clasen
bde003e1cf Correct the documentation of the rise property. String change, but it is
2005-04-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktexttag.c (gtk_text_tag_class_init): Correct the documentation
	of the rise property. String change, but it is more important to
	be correct than to be translated.  (#301740)
2005-04-29 14:22:11 +00:00
Matthias Clasen
0604a90098 Remove debugging output. (#302404, Frederic Crozat)
2005-04-29  Matthias Clasen  <mclasen@redhat.com>

	* io-bmp.c (DecodeColormap): Remove debugging
	output.  (#302404, Frederic Crozat)
2005-04-29 13:03:07 +00:00
Tor Lillqvist
31a5a6db73 Spacing fixup. 2005-04-25 00:44:41 +00:00
Tor Lillqvist
990b0aef89 Get volume name also on Win9x. (#301798, Daniel Atallah)
2005-04-25  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkfilesystemwin32.c
	(gtk_file_system_win32_volume_get_display_name): Get volume name
	also on Win9x. (#301798, Daniel Atallah)
	(canonicalize_filename): Add explicit braces to silence compiler
	warning.
2005-04-25 00:35:09 +00:00
Hans Breuer
0caf6f39df updated
2005-04-24  Hans Breuer  <hans@breuer.org>

	* gtk/stock-icons/makefile.msc : updated
2005-04-24 17:50:26 +00:00
Nickolay V. Shmyrev
0c560cf9e1 Updated Russian translation 2005-04-22 21:10:36 +00:00
Tor Lillqvist
a58d5cf4ec Typo. 2005-04-22 08:09:47 +00:00
Tor Lillqvist
3c039facbf Typo. 2005-04-22 07:36:03 +00:00
Tor Lillqvist
c3007a558b Initailize gettext before use. Calling bindtextdomain() and
2005-04-22  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkmain.c: Initailize gettext before use. Calling
	bindtextdomain() and bind_textdomain_codeset() in
	do_post_parse_initialization() is too late. Put the calls in a new
	function gettext_initialization(), and call that from
	gtk_init_with_args() and gtk_parse_args(). Fixes #170948 for
	GTK+'s part, but the same problem occurs also at least in
	atk. Thanks do Robert Ögren, Daniel Atallah and Kevin Strange.
2005-04-22 07:32:03 +00:00
Ivan, Wong Yat Cheung
2e0deaa6e7 Match character height instead of cell height. Fix #301228.
2005-04-19  Ivan, Wong Yat Cheung  <email@ivanwong.info>

	* gdk/win32/gdkfont-win32.c (gdk_font_load_internal): Match
	character height instead of cell height. Fix #301228.
2005-04-21 10:38:14 +00:00
Federico Mena Quintero
fd104e5ac8 Remove obsolete assertion that the selected row can't be a volume; this is
2005-04-18  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c (remove_selected_bookmarks): Remove
	obsolete assertion that the selected row can't be a volume; this
	is handled by the "removable" column now.  Fixes #301017.
2005-04-18 17:49:15 +00:00
Federico Mena Quintero
64cd25f582 Patch from Christian Neumair <chris@gnome-de.org>; only select the first
2005-04-15  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c (pending_select_paths_process):
	Patch from Christian Neumair <chris@gnome-de.org>; only select the
	first row if we are in OPEN mode.  The only other case we were
	letting pass through was SELECT_FOLDER, but selecting the first
	row when changing folders confuses people when folders are
	actually being selected.  Fixes #171885.
2005-04-15 21:25:59 +00:00
Gareth Owen
d119b8b987 Updated British English translation 2005-04-15 01:42:43 +00:00
Iaki Larraaga
4fa468dc0a Updated Basque translation.
2005-04-13  Iaki Larraaga  <dooteo@euskalgnu.org>

        * eu.po: Updated Basque translation.
2005-04-13 18:40:50 +00:00
Iñaki Larrañaga Murgoitio
5e308b62ee *** empty log message *** 2005-04-13 18:37:50 +00:00
Iaki Larraaga
2bfae51c2b Updated Basque translation.
2005-04-13  Iaki Larraaga  <dooteo@euskalgnu.org>

        * eu.po: Updated Basque translation.
2005-04-13 18:36:48 +00:00
Martin Willemoes Hansen
fc495943a7 Updated Danish translation.
* da.po: Updated Danish translation.
2005-04-13 13:22:04 +00:00
Matthias Clasen
beb45d41c0 Bump version 2005-04-13 04:33:17 +00:00
Matthias Clasen
d9441df224 2.6.7 2005-04-13 03:20:53 +00:00
Matthias Clasen
724ab21b71 Sigh, revert another change 2005-04-12 20:24:28 +00:00
Matthias Clasen
3dd63f1ed0 Revert the changes to display broken images, since there are applications
2005-04-12  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkimage.c (gtk_image_calc_size, gtk_image_expose):
	Revert the changes to display broken images, since there
	are applications which rely on the old behaviour.
2005-04-12 20:03:01 +00:00
Ivan, Wong Yat Cheung
5d4b86ba20 Fix #300218:
2005-04-11  Ivan, Wong Yat Cheung  <email@ivanwong.info>

	Fix #300218:

	* gdk/win32/gdkselection-win32.c (gdk_selection_convert): Fix
	C99ism.

	* gtk/updateiconcache.c: Guard inclusion of unistd.h and
	utime.h.
2005-04-11 18:57:22 +00:00
Josep Puigdemont i Casamajó
18a13a1879 Updated Catalan translation. 2005-04-11 12:40:13 +00:00
Changwoo Ryu
4ce9da6762 Updated Korean translation.
2005-04-11  Changwoo Ryu  <cwryu@debian.org>

	* ko.po: Updated Korean translation.
2005-04-11 12:04:59 +00:00
Takeshi AIHANA
ddcb2048b9 Updated Japanese translation for v2.6.6.
2005-04-11  Takeshi AIHANA <aihana@gnome.gr.jp>
	* ja.po: Updated Japanese translation for v2.6.6.
2005-04-11 11:20:31 +00:00
Alexander Shopov
9435e87f62 Updated Bulgarian translation by Vladimir Petkov <vpetkov@i-space.org>
2005-04-11  Alexander Shopov  <ash@contact.bg>

	* bg.po: Updated Bulgarian translation by
	Vladimir Petkov <vpetkov@i-space.org>
2005-04-11 06:26:12 +00:00
Matthias Clasen
1f46efbdc0 Bump version 2005-04-11 06:18:29 +00:00
Matthias Clasen
64d9d86991 2.6.6 2005-04-11 05:35:10 +00:00
Josep Puigdemont i Casamajó
6da07f175b Fixed wrong date in Changelog file. 2005-04-11 00:45:12 +00:00
Josep Puigdemont i Casamajó
3bc3569279 Updated Catalan translation. 2005-04-11 00:39:02 +00:00
Matthias Clasen
5e53239f97 Some more fixes necessary to make building with gcc 4 work.
2005-04-09  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkinput-xfree.c:
	* gdk/x11/gdkinput-none.c:
	* gdk/gtk.symbols: Some more fixes necessary to
	make building with gcc 4 work.
2005-04-09 23:54:05 +00:00
Matthias Clasen
94af542f77 Add 16x16 versions of the zoom icons and of GTK_STOCK_INDEX. Some of the
2005-04-09  Matthias Clasen  <mclasen@redhat.com>

	Add 16x16 versions of the zoom icons and of
	GTK_STOCK_INDEX. Some of the images were taken from
	the hicolor icon theme, and were originally created
	by Jakub Steiner and Tuomas Kuosmanen. 	(#167515,
	Vincent Noel)

	* gtk/stock-icons/stock_index_16.png:
	* gtk/stock-icons/stock_zoom_1_16.png:
	* gtk/stock-icons/stock_zoom_fit_16.png:
	* gtk/stock-icons/stock_zoom_in_16.png:
	* gtk/stock-icons/stock_zoom_out_16.png: New images.

	* gtk/stock-icons/Makefile.am: Add the new images.

	* gtk/gtkiconfactory.c (get_default_icons): Add the new
	images.
2005-04-09 23:42:19 +00:00
Matthias Clasen
0613b44190 Don't display too many broken images. (#169870, Roman Kagan, patch by Ivan
2005-04-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkimage.c (gtk_image_calc_size, gtk_image_expose):
	Don't display too many broken images.  (#169870, Roman
	Kagan, patch by Ivan Wong)

	* gtk/gtkwidget.c (gtk_widget_unparent): Remove debugging
	output.  (#300013, Tommi Komulainen)

	* io-bmp.c (gdk_pixbuf__bmp_image_save_to_callback):
	Don't overflow the stack.  (Jakub Jelinek, Arjan van de Ven)
2005-04-09 21:53:39 +00:00
Artur Flinta
3f4ffba9e1 Updated Polish translation by GNOME PL Team.
2005-04-09  Artur Flinta  <aflinta@cvs.gnome.org>

	* pl.po: Updated Polish translation by GNOME PL Team.
2005-04-09 17:42:30 +00:00
Matthias Clasen
eeecf06586 Bump version 2005-04-09 06:14:01 +00:00
Matthias Clasen
191974398e 2.6.5 2005-04-09 05:59:14 +00:00
Matthias Clasen
1b842bb9e1 If a stock_id is unknown, display the missing image. (#169870, Steven
2005-04-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkimage.c (gtk_image_expose, gtk_image_calc_size):
	If a stock_id is unknown, display the missing image. (#169870,
	Steven Walter)
2005-04-09 02:51:02 +00:00
Matthias Clasen
0d9888e7c5 Use the same function as in updateiconcache.c. (spotted by Morten
2005-04-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconcache.c (icon_name_hash): Use the same function
	as in updateiconcache.c.  (spotted by Morten Welinder)
2005-04-09 02:14:06 +00:00
Matthias Clasen
43e76221dc Add bug ref. 2005-04-08 22:06:37 +00:00
Matthias Clasen
083e03fee5 Make this work when called from gtk_combo_box_destroy(). (#172999,
2005-04-08  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c (gtk_combo_box_popdown): Make this
	work when called from gtk_combo_box_destroy().  (#172999,
	Christian Persch)
2005-04-08 22:03:53 +00:00
Matthias Clasen
361429159c Use cache->buffer, not cache.
2005-04-08  Matthias Clasen  <mclasen@redhat.com>

	* xdgmimecache.c (cache_magic_matchlet_compare_to_data)
	(cache_magic_matchlet_compare): Use cache->buffer, not
	cache.
2005-04-08 21:02:28 +00:00
Matthias Clasen
e77c3715e0 No debug output, please. 2005-04-08 20:39:04 +00:00
Matthias Clasen
a3cd26291b Fix double-click to autosize treeview columns. This was probably broken
2005-04-08  Matthias Clasen  <mclasen@redhat.com>

	Fix double-click to autosize treeview columns. This was
	probably broken since 2.2 ! (#169675)

	* gtk/gtktreeview.c (gtk_tree_view_button_press): Leave the
	"user-resized" state of the column on a double-click to
	autosize.
	(gtk_tree_view_button_press, gtk_tree_view_motion_resize_column):
	Enter the "user-resized" state of the column only if a drag
	actually changes the column width, not on any click.
2005-04-08 12:53:44 +00:00
Matthias Clasen
f425dd1c83 Document that GtkButtonBox ignores the homogeneous property. (#171412,
2005-04-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkbbox.sgml: Document that GtkButtonBox ignores
	the homogeneous property.  (#171412, Morten Welinder)
2005-04-07 19:40:05 +00:00
Matthias Clasen
c0e5adcf3b Avoid unaligned access. (#172947)
2005-04-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/updateiconcache.c (write_card32, write_card16): Avoid
	unaligned access.  (#172947)
2005-04-07 19:13:09 +00:00
Matthias Clasen
116699db55 Some fixes from Morten Welinder (#172947):
2005-04-07  Matthias Clasen  <mclasen@redhat.com>

	Some fixes from Morten Welinder (#172947):

	* gtk/updateiconcache.c (icon_name_hash): Make this compiler-
	and platform-independent.
	(is_cache_up_to_date): Don't compare mtimes is a stat call failed.
	(build_cache): Error out if a stat fails.
2005-04-07 18:45:09 +00:00
Matthias Clasen
aee316885c Make the docs of GKT_SELECTION_MULTIPLE more accurate by making them more
2005-04-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkenums.sgml: Make the docs of GKT_SELECTION_MULTIPLE
	more accurate by making them more vague.  (#167088,
	Ken Siersma)
2005-04-07 14:41:09 +00:00
Kwok-Koon Cheung
c1b6d93ca4 Updated traditional Chinese translation from GNOME HK Team
* zh_TW.po: Updated traditional Chinese translation from GNOME HK Team
2005-04-07 14:14:08 +00:00
Matthias Clasen
97f2e31019 Add a sentence about toggling. (#159382, Worik Stanton)
2005-04-07  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtkradiobutton.sgml: Add a sentence about
	toggling.  (#159382, Worik Stanton)
2005-04-07 13:03:20 +00:00
Kwok-Koon Cheung
be133686bc Updated traditional Chinese translation from GNOME HK Team
* zh_TW.po: Updated traditional Chinese translation from GNOME HK Team
2005-04-07 12:40:48 +00:00
Matthias Clasen
1f469ff062 Return TRUE if the cache is newer than the directory. (#172852, Jacob
* gtk/updateiconcache.c (is_cache_up_to_date): Return
	TRUE if the cache is newer than the directory.  (#172852,
	Jacob Kroon)
2005-04-07 12:39:51 +00:00
Matthias Clasen
471ea94975 Replace an explicit pkg-config by $PKG_CONFIG. (#168074, Hans-Wolfgang
2005-04-07  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Replace an explicit pkg-config by
	$PKG_CONFIG.  (#168074, Hans-Wolfgang Loidl)
2005-04-07 06:16:07 +00:00
Matthias Clasen
644c33a496 Initialize the colormap to zero. (#171762, David Costanzo)
2005-04-07  Matthias Clasen  <mclasen@redhat.com>

	* io-bmp.c (DecodeColormap): Initialize the colormap to
	zero.  (#171762, David Costanzo)
2005-04-07 05:45:53 +00:00
Matthias Clasen
ba516ae783 Ignore regions which fall completely outside the line. (#165862, Felipe
2005-04-07  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkpango.c (gdk_pango_layout_line_get_clip_region):
	Ignore regions which fall completely outside the line.
	(#165862, Felipe Heidrich)
2005-04-07 05:38:05 +00:00
Matthias Clasen
711600ea49 Another fix 2005-04-07 05:27:46 +00:00
Matthias Clasen
31790d0ed5 More build fixes 2005-04-07 05:09:33 +00:00
Matthias Clasen
a4a4b8dca7 Make it compile 2005-04-07 04:45:31 +00:00
Matthias Clasen
ebc65e70a9 Pass the target list to the underlying dnd implementation, otherwise we
2005-04-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_enable_model_drag_source)
	(gtk_tree_view_enable_model_drag_dest): Pass the target list
	to the underlying dnd implementation, otherwise we miss the
	target info in the drag-data-received signal.  (#164085, Jorn
	Baayen)
2005-04-07 03:54:57 +00:00
Matthias Clasen
accb923fd7 Use canonical property names for g_object_notify() calls. (#171746, Morten
2005-04-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/*.c, gdk/gdkdisplaymanager.c: Use canonical property
	names for g_object_notify() calls.  (#171746, Morten Welinder)
2005-04-07 02:53:14 +00:00
Matthias Clasen
41a7198237 Allow resetting search-column to -1, and document it. (#172891, Lorenzo
2005-04-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_set_search_column): Allow
	resetting search-column to -1, and document it.  (#172891,
	Lorenzo Gil Sanchez)
2005-04-07 02:44:17 +00:00
Matthias Clasen
38d6008229 Avoid a few unnecessary calls to gdk_window_get_pointer(). (#168015, Billy
2005-04-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_motion_resize_column)
	(gtk_tree_view_bin_expose): Avoid a few unnecessary calls
	to gdk_window_get_pointer(). (#168015, Billy Biggs)
2005-04-06 16:46:18 +00:00
Matthias Clasen
23ec028870 Fix the EWMH link, noticed by Kristof Vansant.
2005-04-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwindow.c (gtk_window_set_keep_below): Fix the EWMH link,
	noticed by Kristof Vansant.
2005-04-06 15:08:33 +00:00
Matthias Clasen
83d8d721d6 Make it compile 2005-04-06 13:49:08 +00:00
Matthias Clasen
32828d8888 Remove Makefile.in.in. (#171092, Stefan Kasal)
2005-04-06  Matthias Clasen  <mclasen@redhat.com>

	* po/.cvsignore, po-properties/.cvsignore: Remove
	Makefile.in.in.  (#171092, Stefan Kasal)
2005-04-06 13:09:04 +00:00
Matthias Clasen
aede454ea2 Don't modify scanner->value, copy it first. (#165693, Tommi Komulainen)
2005-04-06  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkrc.c (gtk_rc_parse_style): Don't modify scanner->value,
	copy it first.  (#165693, Tommi Komulainen)
2005-04-06 12:46:41 +00:00
Maxim Dziumanenko
e267227ea9 Updated Ukrainian translation.
2005-04-06  Maxim Dziumanenko <mvd@mylinux.com.ua>

	* Updated Ukrainian translation.
2005-04-06 11:45:30 +00:00
Danilo Šegan
3d5439d209 Updated Serbian translation. 2005-04-06 06:01:58 +00:00
Matthias Clasen
2f73f9b0c5 Implement grab_focus for GtkComboBox and GtkComboBoxEntry. (#171912,
2005-04-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_grab_focus):
	* gtk/gtkcombobox.c (gtk_combo_box_grab_focus): Implement
	grab_focus for GtkComboBox and GtkComboBoxEntry.  (#171912,
	Gustavo Carneiro)
2005-04-06 04:00:55 +00:00
Matthias Clasen
7d83ed0479 Store icon caches along with the mtimes of the toplevel directories. The
* gtk/gtkicontheme.c: Store icon caches along with the
	mtimes of the toplevel directories. The previous
	mechanism of a hashtable-per-theme caused duplicate icon
	caches for the same toplevel directory to be created.
	(#170030)
2005-04-06 03:34:27 +00:00
Matthias Clasen
7eb1d7a0af Protect the license and credits buttons from being affected by
2005-04-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaboutdialog.c (gtk_about_dialog_init): Protect
	the license and credits buttons from being affected by
	gtk_widget_show_all().  (#172724)
2005-04-05 22:34:23 +00:00
Hendrik Richter
19384c9b59 Updated German translation.
2005-04-05  Hendrik Richter  <hendrik@gnome-de.org>

	* de.po: Updated German translation.
2005-04-05 18:30:44 +00:00
Matthias Clasen
baa5fad09d Keep a reference to the item. (#167920, Hazael Maldonado Torres)
2005-04-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmenushell.c (gtk_menu_shell_activate_item): Keep a
	reference to the item.  (#167920, Hazael Maldonado Torres)
2005-04-05 13:51:12 +00:00
Matthias Clasen
71bd8c3b2a Add some more docs on interactive search.
2005-04-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_set_search_column): Add some
	more docs on interactive search.
2005-04-05 12:52:28 +00:00
Matthias Clasen
65f2672fa5 Mention enter and leave events. (#167546, Billy Biggs)
2005-04-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtktooltips.sgml: Mention enter and leave
	events.  (#167546, Billy Biggs)
2005-04-05 12:25:36 +00:00
Matthias Clasen
952753549d Updates 2005-04-05 05:20:53 +00:00
Tor Lillqvist
58124bee3b Remove duplicate line. 2005-04-05 01:46:17 +00:00
Tor Lillqvist
5605b025a9 Handle 16 colour display mode. For some reason, in this mode
2005-04-05  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Handle 16 colour
	display mode. For some reason, in this mode GetDeviceCaps(BITSPIXEL)
	returns 1 (but GetDeviceCaps(NUMCOLORS)	does return 16). (#143415)
2005-04-05 01:42:10 +00:00
Žygimantas Beručka
44704ba35e Updated Lithuanian translation.
2005-04-05  Žygimantas Beručka  <uid0@akl.lt>

        * lt.po: Updated Lithuanian translation.
2005-04-05 00:36:50 +00:00
Tor Lillqvist
328d4c1b62 Don't force 24bpp GdkVisual on 32bpp displays. (#140706)
2005-04-05  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkvisual-win32.c (_gdk_visual_init): Don't force
	24bpp GdkVisual on 32bpp displays. (#140706)
2005-04-05 00:35:42 +00:00
Matthias Clasen
ad92aa1fdc Add bug ref 2005-04-05 00:16:18 +00:00
Jonathan Blandford
b2b5a5e699 change to use gtk_tree_view_real_expand_row() instead of doing this by
Mon Apr  4 19:13:23 2005  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtktreeview.c (gtk_tree_view_expand_all): change to use
        gtk_tree_view_real_expand_row() instead of doing this by hand.
2005-04-04 23:41:32 +00:00
Manish Singh
f811cbc51e cast combo->priv->entry to GTK_ENTRY()
Mon Apr  4 14:33:55 2005  Manish Singh  <yosh@gimp.org>

        * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_get_active_text):
        cast combo->priv->entry to GTK_ENTRY()
2005-04-04 21:36:14 +00:00
Vincent van Adrighem
454f52a08d Translation updated by Tino Meinen.
2005-04-04  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated by Tino Meinen.
2005-04-04 19:58:18 +00:00
Duarte Loreto
97e388da8d Updated Portuguese translation.
2005-04-04  Duarte Loreto <happyguy_pt@hotmail.com>

	* pt.po: Updated Portuguese translation.
2005-04-04 19:27:27 +00:00
Søren Sandmann
2b52c63bd8 Translate x, y into widget coordinates instead of root coordinates. Patch
Mon Apr  4 12:14:35 2005  Søren Sandmann  <sandmann@redhat.com>

	* gtk/gtkmenu.c (gtk_menu_handle_scrolling): Translate x, y into
	widget coordinates instead of root coordinates. Patch from Jorn
	Baayen. (#172236)
2005-04-04 16:18:01 +00:00
Matthias Clasen
c57ce40bc0 Add forgotten files 2005-04-04 13:19:12 +00:00
Funda Wang
a0985bc4bd Updated Simplified Chinese translation 2005-04-04 06:51:11 +00:00
Matthias Clasen
4fa0bab9fe Take padding into account when calculating max_layout_width.
2005-04-04  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_calculate_item_size): Take
	padding into account when calculating max_layout_width.
2005-04-04 05:48:31 +00:00
Matthias Clasen
4df377100a Use gtk_accel_map_change_entry(), so that reusing the same action name
2005-04-04  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel):
	Use gtk_accel_map_change_entry(), so that reusing the same
	action name works.  (#170727, Paolo Borelli)
2005-04-04 04:38:52 +00:00
Tor Lillqvist
a5ebf737b3 New debugging function, to log a clipboard format name symbolically.
2005-04-04  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkmain.c (_gdk_win32_cf_to_string): New debugging
	function, to log a clipboard format name symbolically.
	(_gdk_win32_data_to_string): Also new, to log random data bytes.

	Merge from HEAD:

	* gdk/win32/gdkdisplay-win32.c (_win32_on_clipboard_change): Print
	debugging output only if asked for, not always.

	* gdk/win32/gdkmain-win32.c (_gdk_win32_key_to_string): New
	debugging function. As GetKeyNameText() returns a localized key
	name we need to convert it to UTF-8.

	* gdk/win32/gdkprivate-win32.h
	* gdk/win32/gdkevents-win32.c: : Declare new functions, use them.

	Implement delayed rendering on Win32, specifically for transfering
	images through the clipboard from GTK+ apps to other
	apps (#168173, implementation by Ivan Wong):

	* gdk/win32/gdkevents-win32.c (gdk_event_translate):
	Handle WM_RENDERFORMAT.

	* gdk/win32/gdkprivate-win32.h
	* gdk/win32/gdkglobals-win32.c: Add _format_atom_table,
	_delayed_rendering_data and _image_bmp.

	* gdk/win32/gdkmain-win32.c: Initialize _image_bmp.

	* gdk/win32/gdkproperty-win32.c (gdk_property_change):
	Accept formats other than GDK_TARGET_STRING or _utf8_string, and
	assume they are handled through delayed rendering.

	* gdk/win32/gdkselection-win32.c (gdk_selection_convert):
	Return all available formats (including those registered by GTK+
	apps) on request_targets.
	(gdk_selection_property_get): We should append a zero byte like
	X11 does.
	(gdk_win32_selection_add_targets): New function, for
	gtkselection's use. Win32 requires that the clipboard owner
	registers all valid formats even if the owner wants delayed
	rendering.
	(_gdk_win32_selection_convert_to_dib): New function. Convert
	images to DIB using gdk-pixbuf.

	* gdk/win32/gdkwin32.h: Declare gdk_win32_selection_add_targets().

	* gtk/gtkselection.c (gtk_selection_add_target,
	gtk_selection_add_targets): Call gdk_win32_selection_add_targets()
	to register target formats.

	* gdk/gdk.symbols: Add gdk_win32_selection_add_targets().
2005-04-03 23:40:42 +00:00
Raphael Higino
534b078bd0 Updated pt_BR translation 2005-04-03 22:55:46 +00:00
Alessio Frusciante
2e619741f9 Updated Italian translation. 2005-04-03 21:28:50 +00:00
Hans Breuer
6d300612ea let dash_offset shift the start of the line pattern not the start of the
2005-04-03  Hans Breuer  <hans@breuer.org>

	* gdk/win32/gdkdrawable-win32.c : let dash_offset shift the start of
	the line pattern not the start of the line. Fixes bug #171641.

	* gtk/makefile.msc.in : follow .symbols changes
2005-04-03 20:36:39 +00:00
Hans Breuer
11dbe5a336 follow .symbols changes
2005-04-03  Hans Breuer  <hans@breuer.org>

	* makefile.msc : follow .symbols changes
2005-04-03 20:31:16 +00:00
Gabor Kelemen
e3c1c3ebc7 Hungarian translation updated.
2005-04-03  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Hungarian translation updated.
2005-04-03 14:15:22 +00:00
Matthias Clasen
3cbf65b150 Sync to latest upstream, support mmapped mime.cache:
2005-04-02  Matthias Clasen  <mclasen@redhat.com>

        Sync to latest upstream, support mmapped
        mime.cache:

        * xdgmimecache.[hc]: Implement the xgdmime
        api on top of the mmapped cache.

        * xdgmime.c: Load caches, and use the cache-based
        implementation of the api, if cache files are
        present.
2005-04-03 03:56:50 +00:00
Matthias Clasen
999ac79a9d Move documentation inline, document if add_target functions append or
2005-04-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkselection.c: Move documentation inline, document
	if add_target functions append or prepend.  (#172350,
	Jon-Kare Hellan)
2005-04-01 21:19:16 +00:00
Matthias Clasen
070daa3e8b Make gtk_combo_box_get_active_text do the right thing for GtkComboBoxEntry
2005-04-01  Matthias Clasen  <mclasen@redhat.com>

	Make gtk_combo_box_get_active_text do the right thing for
	GtkComboBoxEntry (#171373, Robert Staudinger)

	* gtk/gtkcombobox.h: Add a get_active_text vfunc.

	* gtk/gtkcombobox.c (gtk_combo_box_real_get_active_text): And
	implement it here.

	* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_get_active_text):
	Implement get_active_text by always returning the content of
	the entry.
2005-04-01 20:57:20 +00:00
Steven Michael Murphy
eb2860ed5b Added new Language, Kinyarwanda (rw), to this package 2005-04-01 03:22:22 +00:00
Francisco Javier F. Serrador
795f188167 Updated Spanish translation.
2005-04-01  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2005-03-31 22:38:58 +00:00
Laurent Dhima
225b6c68ca Updated Albanian translation.
2005-03-31  Laurent Dhima  <laurenti@alblinux.net>

	* sq.po: Updated Albanian translation.
2005-03-31 17:27:04 +00:00
Sven Neumann
edc976e701 gtk/gtkbutton.c fixed gtk-doc comments.
2005-03-31  Sven Neumann  <sven@gimp.org>

	* gtk/gtkbutton.c
	* gtk/gtkiconview.c: fixed gtk-doc comments.
2005-03-31 17:03:22 +00:00
Josep Puigdemont i Casamajó
666cb48b66 Updated Catalan translation. 2005-03-31 09:45:35 +00:00
Christian Rose
fe1c586aac Updated Swedish translation.
2005-03-31  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.
2005-03-31 09:41:59 +00:00
Miloslav Trmac
edb60ee90f Updated Czech translation.
2005-03-31  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.
2005-03-31 09:10:39 +00:00
Ankitkumar Rameshchandra Patel
481affcd1b ankit@redhat.com * Updated Gujarati Translation 2005-03-31 04:42:09 +00:00
Adam Weinberger
2ade88a005 Updated Canadian English translation.
2005-03-30  Adam Weinberger  <adamw@gnome.org>

	* en_CA.po: Updated Canadian English translation.
2005-03-31 04:34:06 +00:00
Federico Mena Quintero
273f24071c Fix #170755:
2005-03-30  Federico Mena Quintero  <federico@ximian.com>

	Fix #170755:

	* gtk/gtktreeview.c (gtk_tree_view_row_changed): Only stop editing
	if the row which changed is the same as the row being edited.
2005-03-30 21:46:01 +00:00
Matthias Clasen
a39beed503 Document BMP saving support.
2005-03-30  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-io.c: Document BMP saving support.

	* io-bmp.c: Support saving as BMP. (168173, Ivan Wong)
2005-03-30 19:42:30 +00:00
Matthias Clasen
86655ab0af Make enable_search control only typeahead, not C-f. (#170435, Sven
2005-03-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
	Make enable_search control only typeahead, not C-f.  (#170435,
	Sven Neumann)
	(gtk_tree_view_start_interactive_search): Pass keybinding == TRUE.

VS: ----------------------------------------------------------------------
2005-03-30 18:23:23 +00:00
Matthias Clasen
86505b733a Don't accept n_targets == -1. (clipboard_unset): unref the old_data, not
2005-03-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkclipboard.c (gtk_clipboard_set_can_store):
	Don't accept n_targets == -1.
	(clipboard_unset): unref the old_data, not the
	user_data which we have just cleared.  (#172038, Sven
	Neumann)
2005-03-30 17:35:42 +00:00
Matthias Clasen
b3cdfe0c19 Don't segfault if somebody tries to popup an unrealized combo box.
2005-03-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c (gtk_combo_box_popup): Don't
	segfault if somebody tries to popup an unrealized
	combo box.  (#172031, Felipe Heidrich)
2005-03-30 17:10:47 +00:00
Tor Lillqvist
84f00317a8 Merge from HEAD:
2005-03-30  Tor Lillqvist  <tml@novell.com>

	Merge from HEAD:

	* gdk/win32/gdkevents-win32.c (gdk_event_translate): On
	WM_MOUSEMOVE, don't check if this process owns the active
	window. This makes cross-application widget embedding work better.
	On WM_MOVE, don't bother checking for window visibility.
2005-03-30 08:38:28 +00:00
Tor Lillqvist
68c63c6b81 Fix event filter handling. If an event filter (global, client message
2005-03-30  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkevents-win32.c (gdk_event_translate): Fix event
	filter handling. If an event filter (global, client message
	filter, of window-specific) returns GDK_FILTER_CONTINUE,
	continue as if nothing happened. If it returns
	GDK_FILTER_REMOVE or GDK_FILTER_TRANSLATE, return TRUE from
	gdk_event_translate() which means that DefWindowProc() will
	not be called.
	(gdk_event_translate): Fix client message handling. Append a
	GDK_CLIENT_EVENT unless there is a filter that matches and returns
	something other than GDK_FILTER_CONTINUE. (#135552)
2005-03-30 08:33:53 +00:00
Tor Lillqvist
f10b6fac17 Typo. 2005-03-30 08:26:14 +00:00
Tor Lillqvist
c93e7115ab The state field should represent the state before the event, like on X11.
2005-03-30  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkevents-win32.c (build_pointer_event_state): The
	state field should represent the state before the event, like on
	X11. (#169753)
2005-03-30 08:01:04 +00:00
Kwok-Koon Cheung
e7e0df5b40 Updated traditional Chinese translation from GNOME HK Team
* zh_TW.po: Updated traditional Chinese translation from GNOME HK Team
2005-03-30 03:48:55 +00:00
Matthias Clasen
fc87b10947 Document the need to refilter if parameters of the visibility function
2005-03-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_visible_func):
	Document the need to refilter if parameters of the visibility function
	change.  (#169516, Olivier Sessink)
2005-03-29 06:02:49 +00:00
Matthias Clasen
294abe80a2 Fix the update areas for incremental loading of compressed tgas. (#171883,
2005-03-29  Matthias Clasen  <mclasen@redhat.com>

	* io-tga.c (parse_rle_data): Fix the update areas for incremental
	loading of compressed tgas.  (#171883, David Costanzo)
2005-03-29 05:19:13 +00:00
Matthias Clasen
06821e8278 Sync to latest upstream 2005-03-28 19:29:21 +00:00
Jeroen Zwartepoorte
155158a187 Make the preview label ellipsize so the dialog layout stays constant.
2005-03-28  Jeroen Zwartepoorte  <jeroen.zwartepoorte@gmail.com>

	* gtk/gtkfilechooserdefault.c: (update_preview_widget_visibility): Make
	the preview label ellipsize so the dialog layout stays constant.
	(#171398)
2005-03-28 17:14:59 +00:00
Alessio Frusciante
5145e72a09 Updated Italian translation. 2005-03-28 17:07:38 +00:00
Matthias Clasen
5c07391273 Don't pop up the context menu of the search entry if it is not visible.
2005-03-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_key_press): Don't pop up
	the context menu of the search entry if it is not visible.
	(#169534, Billy Biggs)
2005-03-28 06:01:32 +00:00
Matthias Clasen
c54b18c2c8 Use the correct update regions for compressed bmps. (#150664, Owen Taylor,
2005-03-27  Matthias Clasen  <mclasen@redhat.com>

	* io-bmp.c (DoCompressed): Use the correct update regions for
	compressed bmps.  (#150664, Owen Taylor, test images provided
	by David Costanzo)
2005-03-28 04:12:32 +00:00
Manish Singh
66adc460b2 reject 0-sized buffers as corrupt header data. Fixes bug #171707.
Sun Mar 27 19:59:52 2005  Manish Singh  <yosh@gimp.org>

        * io-bmp.c (grow_buffer): reject 0-sized buffers as corrupt header
        data. Fixes bug #171707.
2005-03-28 04:02:12 +00:00
Raphael Higino
a9356c684e Updated pt_BR translation 2005-03-27 21:17:43 +00:00
Tor Lillqvist
86c7bd9518 The state should be the pre-event state. (#169753)
* gdk/win32/gdkevents-win32.c (build_pointer_event_state): The
	state should be the pre-event state. (#169753)
2005-03-27 19:23:27 +00:00
Matthias Clasen
24ee0dcce1 Remove a call whose result was unused and leaked. (#170776, Kjartan
2005-03-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserbutton.c (update_combo_box): Remove
	a call whose result was unused and leaked.  (#170776,
	Kjartan Maraas)
2005-03-23 14:07:39 +00:00
Matthias Clasen
53534897cf Some cleanups to the GtkDialog code: (#170746, Morten Welinder) Simplify,
2005-03-23  Matthias Clasen  <mclasen@redhat.com>

	Some cleanups to the GtkDialog code:  (#170746,
	Morten Welinder)
	* gtk/gtkdialog.c (action_widget_activated): Simplify,
	use _gtk_dialog_get_response_for_widget.
	(gtk_dialog_add_action_widget): Use the correct signal
	id for non-buttons.
	(gtk_dialog_set_response_sensitive):
	(gtk_dialog_set_default_response): Use get_response_data.
	(gtk_dialog_run): Don't disconnect the signals if the
	dialog was destroyed while running.
:
2005-03-23 13:59:32 +00:00
Matthias Clasen
b219b86532 Stop scrolling when the widget is unmapped. (#168791, Ryan Lortie)
2005-03-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkpathbar.c (gtk_path_bar_unmap):
	* gtk/gtkspinbutton.c (gtk_spin_button_unmap):
	* gtk/gtknotebook.c (gtk_notebook_unmap):
	* gtk/gtkrange.c (gtk_range_unmap): Stop scrolling when
	the widget is unmapped.  (#168791, Ryan Lortie)
2005-03-22 17:35:08 +00:00
Matthias Clasen
7c2434166a Forgotten commit 2005-03-22 17:32:23 +00:00
Matthias Clasen
c79d740327 Fix a typo 2005-03-21 15:33:26 +00:00
Manish Singh
b32108ebe2 Shut up CVS 2005-03-21 02:42:52 +00:00
Gabor Kelemen
835e3f9873 Hungarian translation updated.
2005-03-21  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Hungarian translation updated.
2005-03-21 00:12:15 +00:00
Gabor Kelemen
6342319632 Hungarian translation updated.
2005-03-21  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Hungarian translation updated.
2005-03-21 00:09:53 +00:00
Tor Lillqvist
66f840aea7 Use grep | head -n 1 instead of grep -m 1 which doesn't work with slightly
2005-03-21  Tor Lillqvist  <tml@novell.com>

	* gtk/Makefile.am: Use grep | head -n 1 instead of grep -m 1 which
	doesn't work with slightly older versions of GNU grep in
	install-libtool-import-lib rule. List the Win32 libs in LIBADD,
	not LDFLAGS. Add -lgdi32.
2005-03-20 23:00:31 +00:00
Tor Lillqvist
8998e3c237 Silence gcc warnings (unused variables, unhandled enum value in switch).
2005-03-21  Tor Lillqvist  <tml@novell.com>

	* modules/engines/ms-windows/*.c: Silence gcc warnings (unused
	variables, unhandled enum value in switch). Use g_object_unref()
	instead of deprecated gdk_gc_unref() and gdk_drawable_unref().

	* modules/engines/ms-windows/xp_theme.c (xp_theme_map_gtk_state):
	Add missing "case" keyword.

	* modules/engines/ms-windows/Makefile.am: Link with -lgdi32
	explicitly.

	* gdk/win32/gdkim-win32.c: Remove bogus empty doc comment. Remove
	unused variables. Add some casts to silence gcc.
2005-03-20 22:40:58 +00:00
Gabor Kelemen
b248a86acf Hungarian translation updated.
2005-03-20  Gabor Kelemen  <kelemeng@gnome.hu>

	* hu.po: Hungarian translation updated.
2005-03-20 17:42:13 +00:00
Matthias Clasen
709057bdd8 Make PLT-reduction work with gcc4, and don't include everything in
2005-03-20  Matthias Clasen  <mclasen@redhat.com>

	Make PLT-reduction work with gcc4, and don't include
	everything in gdkalias.h:

	* gtk/grk.symbols: Group symbols by header and source file.
	* gtk/makegtkalias.pl: Protect definitions by the same
	preprocessor symbols used to guard the headers. Move
	the alias declarations to a separate file which is
	produced when calling makegtkalias.pl -def
	* gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate
	this file.
	* gtk/*.c: Include gtkalias.h after the other headers,
	include gtkaliasdef.c at the bottom.
	* gtk/*.h: Small cleanups.
2005-03-20 06:25:30 +00:00
Hans Breuer
a04f0a27e2 handle gdk*alias.def
2005-03-18  Hans Breuer  <hans@breuer.org>

	* gdk/makefile.msc gdk-pixbuf/makefile.msc : handle gdk*alias.def

	* gdk/makefile.msc.in : add gtkmnemonichash.obj

	* test/testgtk.c(set_parent_signal) : use g_message instead of
	g_print to keep the 'testgtk --bench=all' output clean
2005-03-18 18:02:43 +00:00
Matthias Clasen
ed8a413b76 Fix formatting in example in the docs. (#170611, Jianfei Wang)
2005-03-17  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtklabel.c (gtk_label_set_markup): Fix formatting
	in example in the docs.  (#170611, Jianfei Wang)
2005-03-17 19:31:49 +00:00
Matthias Clasen
66158a5de1 Clamp adjustment values on resize. (#170567, Tomislav Jonjic)
2005-03-17  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_size_allocate): Clamp
	adjustment values on resize.  (#170567, Tomislav Jonjic)
2005-03-17 18:38:40 +00:00
Matthias Clasen
d1cc8f3d03 Make inline completion insert the prefix at the right spot. (#170146, Doug
2005-03-17  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix):
	Make inline completion insert the prefix at the
	right spot.  (#170146, Doug Quale)
2005-03-17 18:06:57 +00:00
Matthias Clasen
1fb8ca36b4 Typo fix in the docs.
2005-03-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkprogressbar.c (gtk_progress_bar_get_ellipsize):
	Typo fix in the docs.

	* gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_set_arrow_tooltip):
	Typo fix in the docs.

	* gtk/gtkiconview.c (gtk_icon_view_get_columns)
	(gtk_icon_view_set_columns, gtk_icon_view_set_item_width)
	(gtk_icon_view_get_item_width, gtk_icon_view_set_spacing)
	(gtk_icon_view_get_spacing, gtk_icon_view_set_row_spacing)
	(gtk_icon_view_set_column_spacing, gtk_icon_view_get_row_spacing)
	(gtk_icon_view_get_column_spacing, gtk_icon_view_set_margin)
	(gtk_icon_view_get_margin): Add docs.

	* gtk/gtkcellview.c (gtk_cell_view_get_displayed_row):
	Add docs.
2005-03-17 03:21:21 +00:00
Manish Singh
4246901a7b Shut up CVS 2005-03-16 04:38:20 +00:00
Manish Singh
8ef8a0e253 #include gdkaliasdef.c here too.
Tue Mar 15 20:34:33 2005  Manish Singh  <yosh@gimp.org>

        * gdk/x11/gdkinput-xfree.c: #include gdkaliasdef.c here too.
2005-03-16 04:37:42 +00:00
Matthias Clasen
8656d59cbc Make PLT-reduction work with gcc4, and don't include everything in
2005-03-15  Matthias Clasen  <mclasen@redhat.com>

	Make PLT-reduction work with gcc4, and don't include
	everything in gdkalias.h:

	* gdk/gdk.symbols: Group symbols by header and source file.
	* gdk/makegdkalias.pl: Protect definitions by the same
	preprocessor symbols used to guard the headers. Move
	the alias declarations to a separate file which is
	produced when calling makegdkalias.pl -def
	* gdk/Makefile.am (gdkaliasdef.c): Add a rule to generate this
	file.
	* gdk/*.c, gdk/x11/*.c: Include gdkalias.h after the other
	headers, include gdkaliasdef.c at the bottom.
2005-03-16 03:25:09 +00:00
Matthias Clasen
4ea52b4510 Remove conflict markers 2005-03-15 14:58:52 +00:00
Matthias Clasen
e5bf7ac0b3 Document that inline completion requires text-column to be set.
2005-03-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentrycompletion.c (gtk_entry_completion_class_init):
	Document that inline completion requires text-column to be set.
	(gtk_entry_completion_compute_prefix): Return NULL if text-column
	is not set.

	* gtk/gtkentry.c (check_completion_callback): Call
	gtk_entry_completion_complete() before inserting the prefix,
	otherwise the prefix may depend on (random) state of the
	filter model.
2005-03-15 14:58:21 +00:00
Francisco Javier F. Serrador
b112d26032 Updated Spanish translation.
2005-03-14  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2005-03-14 21:30:25 +00:00
Matthias Clasen
7d6b810afb Make PLT-reduction work with gcc4, and don't include everything in
2005-03-14  Matthias Clasen  <mclasen@redhat.com>

	Make PLT-reduction work with gcc4, and don't include
	everything in gdk-pixbuf-alias.h:

	* gdk-pixbuf.symbols: Group symbols by header and source file.
	* /makegdkpixbufalias.pl: Protect definitions by the same
	preprocessor symbols used to guard the headers. Move
	the alias declarations to a separate file which is
	produced when calling makegdkpixbufalias.pl -def
	* Makefile.am (gdk-pixbuf-aliasdef.c): Add a rule to generate
	this file.
	* *.c: Include gdk-pixbuf-alias.h after the other headers,
	include gdk-pixbuf-aliasdef.c at the bottom.
2005-03-14 19:20:39 +00:00
David Lodge
c19d586301 Updated British translation.
2005-03-13  David Lodge <dave@cirt.net>

	* en_GB.po: Updated British translation.
2005-03-13 14:28:25 +00:00
Ivan, Wong Yat Cheung
2f05fc7b03 A further fix for big window support. Now also the test in testgtk works.
2005-03-13  Ivan, Wong Yat Cheung  <email@ivanwong.info>

	* gdk/win32/gdkgeometry-win32.c (gdk_window_scroll): A further fix
	for big window support. Now also the test in testgtk works.
2005-03-12 22:07:34 +00:00
Matthias Clasen
e77e82577d Make it compile 2005-03-12 04:21:28 +00:00
Matthias Clasen
997ee38f4e Don't crash on style changes. (#169334, Yury Puzis)
2005-03-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaboutdialog.c (add_credits_page): Don't crash on
	style changes.  (#169334, Yury Puzis)
2005-03-12 04:03:26 +00:00
Ivan, Wong Yat Cheung
110abb3012 Big window fix for Win32. Big windows are still emulated within 16-bit
2005-03-12  Ivan, Wong Yat Cheung  <email@ivanwong.info>

	Big window fix for Win32. Big windows are still emulated within
	16-bit coordinate limits, though. Big windows now work on NT-based
	Windows. (#169989)

	* gdk/win32/gdkgc-win32.c (_gdk_win32_gdkregion_to_hrgn): Use
	32-bit coordinates.

	* gdk/win32/gdkgeometry-win32.c: Largely rewrite.

	* gdk/win32/gdkwindow-win32.c: Minor related changes.
2005-03-11 23:45:53 +00:00
Matthias Clasen
631113a2aa Fix a doc typo. (#169873, Johan Dahlin)
2005-03-10  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkliststore.c (gtk_list_store_insert_with_valuesv):
	Fix a doc typo.  (#169873, Johan Dahlin)
2005-03-11 04:33:05 +00:00
Matthias Clasen
dadd814f15 Don't try to focus the default_widget if there is none. (#169881, Thomas
2005-03-10  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkdialog.c (gtk_dialog_map): Don't
	try to focus the default_widget if there is
	none.  (#169881, Thomas Leonard)
2005-03-11 04:29:51 +00:00
Tor Lillqvist
0d16de2818 Use grep | head -n 1 instead of grep -m 1 which doesn't work with slightly
2005-03-10  Tor Lillqvist  <tml@novell.com>

	* Makefile.am: Use grep | head -n 1 instead of grep -m 1 which
	doesn't work with slightly older versions of GNU grep in
	install-libtool-import-lib rule.

	* gdk-pixbuf-core.h
	* gdk-pixbuf-io.c
	* gdk-pixbuf.symbols: Implement DLL ABI stablility for
	gdk_pixbuf_save() and gdk_pixbuf_savev(). (#167973)
2005-03-10 19:04:14 +00:00
Matthias Clasen
d872e2060c Remove this unused function. It lives in gtkaccellabel.c now.
2005-03-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaccelgroup.c (substitute_underscores): Remove
	this unused function. It lives in gtkaccellabel.c now.
2005-03-09 18:24:06 +00:00
Matthias Clasen
7434f74b14 Fix a C99ism. (#169741, Morten Welinder)
2005-03-09  Matthias Clasen  <mclasen@redhat.com>

	* io-gif-animation.c (gdk_pixbuf_gif_anim_frame_composite): Fix
	a C99ism.  (#169741, Morten Welinder)
2005-03-09 18:18:43 +00:00
Matthias Clasen
18ae85df22 Err, 2005-03-09 16:08:06 +00:00
Matthias Clasen
004876bb34 Better fix 2005-03-09 16:07:03 +00:00
Matthias Clasen
5fe95f2b3d Queue a resize when the model is unset. (#169528, Tomislav Jonjic)
2005-03-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_set_model): Queue a resize
	when the model is unset.  (#169528, Tomislav Jonjic)
2005-03-09 16:02:03 +00:00
Martin Willemoes Hansen
63827429ec Updated Danish translation.
* da.po: Updated Danish translation.
2005-03-08 09:55:16 +00:00
Frank Arnold
b5a05915dc Updated German translation.
2005-03-07  Frank Arnold  <farnold@cvs.gnome.org>

	* de.po: Updated German translation.
2005-03-06 23:03:21 +00:00
Vincent van Adrighem
3b91036dc6 Translation updated by Tino Meinen.
2005-03-06  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated by Tino Meinen.
2005-03-06 18:37:28 +00:00
Dan Damian
965d71a624 Updated Romanian translation by Mişu Moldovan <dumol@go.ro>.
* ro.po: Updated Romanian translation by         Mişu Moldovan <dumol@go.ro>.
2005-03-06 12:37:50 +00:00
Pauli Virtanen
12baa3b183 Updated Finnish translation.
2005-03-05  Pauli Virtanen <pauli.virtanen@hut.fi>

	 * fi.po: Updated Finnish translation.
2005-03-05 16:30:03 +00:00
Dan Damian
1fa6d82fe9 Updated Romanian translation by Mişu Moldovan <dumol@go.ro>.
* ro.po: Updated Romanian translation by         Mişu Moldovan <dumol@go.ro>.
2005-03-05 16:13:54 +00:00
Miloslav Trmac
096de2b1b3 Updated Czech translation.
2005-03-05  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.
2005-03-05 12:58:02 +00:00
Christophe Merlet
bc62f637f9 Updated French translation. 2005-03-05 10:43:29 +00:00
Danilo Šegan
9296b99840 Updated Serbian translation. 2005-03-05 09:21:15 +00:00
Adam Weinberger
152974c0bf Updated Canadian English translation.
* en_CA.po: Updated Canadian English translation.
2005-03-04 22:37:01 +00:00
Artur Flinta
b29b38ce27 Updated Polish translation by GNOME PL Team.
2005-03-04  Artur Flinta  <aflinta@cvs.gnome.org>

	* pl.po: Updated Polish translation by GNOME PL Team.
2005-03-04 20:38:46 +00:00
Duarte Loreto
082e6d8731 Updated Portuguese translation.
2005-03-04  Duarte Loreto <happyguy_pt@hotmail.com>

	* pt.po: Updated Portuguese translation.
2005-03-04 19:59:58 +00:00
Žygimantas Beručka
294372d612 Updated Lithuanian translation by Gintautas Miliauskas.
2005-03-04  Žygimantas Beručka  <uid0@akl.lt>

        * lt.po: Updated Lithuanian translation by Gintautas Miliauskas.
2005-03-04 16:49:13 +00:00
Laszlo Dvornik
c7a4bc8ecb Hungarian translation updated by Gabor Kelemen.
2005-03-04  Laszlo Dvornik  <dvornik@gnome.hu>

	* hu.po: Hungarian translation updated by Gabor Kelemen.
2005-03-04 14:56:37 +00:00
Christian Rose
1abcf0e11a Updated Swedish translation.
2005-03-04  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.
2005-03-04 13:48:00 +00:00
Dafydd Harries
6869f5e040 Updated Welsh translation. 2005-03-04 13:30:35 +00:00
Funda Wang
cfdd8c97e7 Updated Simplified Chinese translation 2005-03-04 12:46:17 +00:00
Raphael Higino
606dcb1711 Updated pt_BR translation 2005-03-04 11:59:25 +00:00
Laurent Dhima
2bd0df0f02 Updated Albanian translation.
2005-03-04  Laurent Dhima  <laurenti@alblinux.net>

	* sq.po: Updated Albanian translation.
2005-03-04 11:07:02 +00:00
Jordi Mallach
de9051b1f7 Updated Catalan translation. 2005-03-04 08:51:02 +00:00
Ankitkumar Rameshchandra Patel
c6aaf8e0f1 ankit@redhat.com * Updated Gujarati Translation 2005-03-04 06:21:19 +00:00
Amanpreet Singh Alam
a64acbbad9 update by amanpreealam@yahoo.com 2005-03-04 01:17:44 +00:00
Manish Singh
396d6825c9 URL escape the '+' in gtk+ in the bugzilla URL.
Thu Mar  3 16:59:44 2005  Manish Singh  <yosh@gimp.org>

        * configure.in: URL escape the '+' in gtk+ in the bugzilla URL.
2005-03-04 01:01:33 +00:00
Amanpreet Singh Alam
6480845a09 update by amanpreetalam@yahoo.com 2005-03-03 18:00:56 +00:00
Leonid Kanter
51ca6f0845 Updated Russian translation 2005-03-03 14:37:08 +00:00
Matthias Clasen
0c75383738 Don't leak the values here. (#169047, Philip Langdale)
2005-03-03  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtksettings.c (gtk_settings_get_property):
	* gtk/gtkrc.c (gtk_rc_parse_assignment): Don't leak
	the values here.  (#169047, Philip Langdale)
2005-03-03 14:14:13 +00:00
Matthias Clasen
85c7d19bdc Check the number of scanned items. (#168906, Morten Welinder)
2005-03-03  Matthias Clasen  <mclasen@redhat.com>

	* io-xpm.c (pixbuf_create_from_xpm): Check the number
	of scanned items.  (#168906, Morten Welinder)
2005-03-03 14:03:53 +00:00
Matthias Clasen
cae664f5ff Don't warn if a stock icon cannot be found. (#168830, Sven Neumann)
2005-03-03  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
	Don't warn if a stock icon cannot be found.  (#168830,
	Sven Neumann)
2005-03-03 13:56:09 +00:00
Leonid Kanter
be22bd22c2 Updated Russian translation 2005-03-03 13:54:36 +00:00
Matthias Clasen
a32a91fb17 Make the gif loader handle oom when loading animations. (#168857, Tommi
2005-03-03  Matthias Clasen  <mclasen@redhat.com>

	Make the gif loader handle oom when loading
	animations.  (#168857, Tommi Komulainen)

	* io-gif-animation.c (gdk_pixbuf_gif_anim_frame_composite):
	Handle oom by returning NULL.

	* io-gif.c (gif_get_lzw): Return an error if composite
	returns NULL.
2005-03-03 13:28:24 +00:00
Matthias Clasen
1020af2d9e Avoid warnings if gtk_widget_reparent() is called at unusual times.
2005-03-03  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_reparent_subwindows):
	Avoid warnings if gtk_widget_reparent() is called at
	unusual times.  (#168966, Christian Persch)
2005-03-03 06:37:08 +00:00
Matthias Clasen
e6dc29b3ff Bump Version
Bump Version
2005-03-02 20:39:48 +00:00
Raphael Higino
87284b06e0 Updated pt_BR translation 2005-03-02 19:37:33 +00:00
Manish Singh
e0c189cfbe Cast to avoid const warnings on data structure seeding.
Tue Mar  1 14:04:08 2005  Manish Singh  <yosh@gimp.org>

        * gdk/x11/gdkproperty-x11.c (virtual_atom_check_init): Cast to avoid
        const warnings on data structure seeding.
2005-03-01 22:26:30 +00:00
Josep Puigdemont i Casamajó
3a05f535e9 Updated Catalan translation 2005-03-01 18:32:57 +00:00
Matthias Clasen
d0146df852 2.6.4 2005-03-01 17:41:11 +00:00
Matthias Clasen
7ae937e418 Fix prelighting. (#157392, Vincent Noel, patch by Christian Persch)
2005-03-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmenutoolbutton.c (button_state_changed_cb):
	Fix prelighting.  (#157392, Vincent Noel, patch by
	Christian Persch)
2005-03-01 15:50:03 +00:00
Matthias Clasen
d6eb5c544d Make icon data caching work again. (#168851, Alexander Larsson)
2005-03-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkicontheme.c (theme_lookup_icon): Make
	icon data caching work again.  (#168851, Alexander Larsson)

	* gdk-pixbuf/gdk-pixbuf.c:
	* gdk-pixbuf/gdk-pixbuf-features.h.in:
	Revert the previous change, since it breaks
	bin compat.
2005-03-01 15:16:29 +00:00
Matthias Clasen
7862c854c8 Fix translations of our sole Q_() message. 2005-03-01 14:50:33 +00:00
Matthias Clasen
920bdfb939 Forgotten file. 2005-03-01 06:42:44 +00:00
Matthias Clasen
d3def7d642 gdk/gdkkeyuni.c gdk/gdkpixbuf-drawable.c gdk/gdkrgb.c gdk/x11/gdkdnd-x11.c
2005-03-01  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkkeyuni.c
	* gdk/gdkpixbuf-drawable.c
	* gdk/gdkrgb.c
	* gdk/x11/gdkdnd-x11.c
	* gdk/x11/gdkevents-x11.c
	* gdk/x11/gdkproperty-x11.c
	* gdk/x11/gdkvisual-x11.c
	* gdk-pixbuf/gdk-pixbuf.c
	* gtk/gtkaction.c
	* gtk/gtkbindings.c
	* gtk/gtkcolorbutton.c
	* gtk/gtkcombo.c
	* gtk/gtkcontainer.c
	* gtk/gtkfilechooserdefault.c
	* gtk/gtkfilesel.c
	* gtk/gtkgamma.c
	* gtk/gtkiconview.c
	* gtk/gtkinputdialog.c
	* gtk/gtkitemfactory.c
	* gtk/gtkmenu.c
	* gtk/gtktextview.c
	* gtk/gtktooltips.c
	* gtk/gtktreedatalist.c
	* gtk/gtkuimanager.c
	* gtk/tree_minus.xpm
	* gtk/tree_plus.xpm
	* gtk/xdgmime/xdgmime.c
	* gtk/xdgmime/xdgmime.h:
	Move constant data to .rodata.
2005-03-01 06:28:56 +00:00
Matthias Clasen
c5011bae1d Add necessary protection 2005-02-28 18:08:34 +00:00
Matthias Clasen
5f44b68bfa Add .note.GNU-stack sections to Mark these as not requiring an executable
2005-02-28  Matthias Clasen  <mclasen@redhat.com>

	* pixops/*.S: Add .note.GNU-stack sections to Mark these as not
	requiring an executable stack.
2005-02-28 18:01:05 +00:00
Matthias Clasen
776f325da0 Bump version 2005-02-28 15:49:29 +00:00
Matthias Clasen
9f9470c1ed 2.6.3 2005-02-28 15:37:19 +00:00
Matthias Clasen
c738bbb28f Updates 2005-02-28 05:11:56 +00:00
Matthias Clasen
b5df55045a Fix typos in see also lists. (# 168698, Torsten Schoenfeld)
2005-02-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtktreeselection.sgml:
	* gtk/tmpl/gtktreeview.sgml:
	* gtk/tmpl/gtktreeviewcolumn.sgml: Fix typos
	in see also lists.  (# 168698, Torsten Schoenfeld)
2005-02-28 04:56:43 +00:00
Matthias Clasen
860f5a804c Fix stack vs heap confusion. (#168690, Torsten Schoenfeld)
2005-02-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtktreemodel.sgml: Fix stack vs heap
	confusion.  (#168690, Torsten Schoenfeld)
2005-02-28 04:53:18 +00:00
Matthias Clasen
617443f607 Improve the handling of buttons as action proxys. (#165534, Milosz
2005-02-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaction.c (connect_proxy): Improve the handling
	of buttons as action proxys.  (#165534, Milosz Derezynski)
2005-02-28 04:48:18 +00:00
Matthias Clasen
59786d81ee Fix a typo. (#168646, Vincent Untz)
2005-02-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtklabel.c (gtk_label_size_request): Fix a typo.
	(#168646, Vincent Untz)
2005-02-28 04:32:03 +00:00
Matthias Clasen
5c638cd11a Unset "focus-on-click" for the save folder combo. (#168688, Sven Neumann)
2005-02-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (save_folder_combo_create):
	Unset "focus-on-click" for the save folder combo.  (#168688,
	Sven Neumann)
2005-02-28 04:22:54 +00:00
Matthias Clasen
c805e87208 Remove a C++ comment. (#168531, Paul Cornett)
2005-02-25  Matthias Clasen  <mclasen@redhat.com>

	* demos/testpixbuf.c (main): Remove a C++ comment.  (#168531,
	Paul Cornett)
2005-02-25 19:29:39 +00:00
Matthias Clasen
292ec3ab07 Don't leak a path here. (#168443, Morten Welinder)
2005-02-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Don't leak a
	path here.  (#168443, Morten Welinder)
2005-02-25 19:11:08 +00:00
Ankitkumar Rameshchandra Patel
17259faf4d ankit@redhat.com * Updated Gujarati Translation 2005-02-25 07:28:27 +00:00
Robert Ögren
6f683cef6c Implement better handling of Wintab tablet context overlap on Win32.
2005-02-24  Robert Ögren  <gtk@roboros.com>

	Implement better handling of Wintab tablet context overlap on
	Win32. (#167298)

	* gdk/win32/gdkinput-win32.c (_gdk_input_set_tablet_active): New
	function that brings any tablet contexts to the top of the overlap
	order.
	* gdk/win32/gdkinput-win32.h: Declare _gdk_input_set_tablet_active ()
	* gdk/win32/gdkevents-win32.c (gdk_event_translate):
	Call _gdk_input_set_tablet_active when a window is activated (on
	WM_ACTIVATE)
2005-02-25 00:09:52 +00:00
Matthias Clasen
3329ff7ab8 Updates 2005-02-24 21:57:20 +00:00
Matthias Clasen
d96735bed3 Don't leak parent_path. (#168435, Morten Welinder)
2005-02-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_select_path):
	Don't leak parent_path.  (#168435, Morten Welinder)
2005-02-24 20:29:32 +00:00
Simos Xenitellis
2b70ccc35b Updated Greek translation 2005-02-24 20:01:39 +00:00
Arafat Medini
52f424e93d Updated Arabic translation.
2005-02-24  Arafat Medini  <kinryu@silverpen.de>

	* ar.po: Updated Arabic translation.
2005-02-24 19:24:21 +00:00
Matthias Clasen
c41ac1f3ae Consistently use gtk_tree_row_reference_valid().
2005-02-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c: Consistently use gtk_tree_row_reference_valid().
	(gtk_combo_box_model_row_deleted): Update the displayed row in
	the cell_view.  (#167842, Gustavo Carneiro)
2005-02-24 17:57:55 +00:00
Matthias Clasen
5624588e5d Fix #167259, reported by Christian Persch:
2005-02-24  Matthias Clasen  <mclasen@redhat.com>

        Fix #167259, reported by  Christian Persch:

	* gtk/gtkwidget.c (gtk_widget_unparent): Unmap the reparented
	widget, even if we avoid the unrealizing.
	(gtk_widget_reparent_subwindows): Make reparenting work for
	!NO_WINDOW widgets which have other windows which are siblings
	of widget->window (as e.g. GtkSpinButton).
2005-02-24 16:44:02 +00:00
Matthias Clasen
804c705b6d Don't emit a warning if a parent node is filtered out. (#164726, Olivier
2005-02-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed):
	Don't emit a warning if a parent node is filtered out. (#164726,
	Olivier Sessink)
2005-02-24 14:43:53 +00:00
Matthias Clasen
c9967c4642 Revert the last change, since gtk_widget_set_style_internal() already
2005-02-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtklabel.c (gtk_label_style_set): Revert the last
	change, since gtk_widget_set_style_internal() already
	queues a resize.
2005-02-24 13:38:45 +00:00
Matthias Clasen
f3c56da786 Queue a resize, since fonts may have changed. (#164128, Phil Blundell)
2005-02-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtklabel.c (gtk_label_style_set): Queue a resize, since
	fonts may have changed.  (#164128, Phil Blundell)
2005-02-24 04:49:49 +00:00
Matthias Clasen
5de5ab1d7f Fix a typo. (#168173, Ivan Wong)
2005-02-23  Matthias Clasen  <mclasen@redhat.com>

	* io-ico.c: Fix a typo.  (#168173, Ivan Wong)
2005-02-24 04:26:48 +00:00
Matthias Clasen
96be34116e Move initialization code from _new to _init. (#168249, Murray Cumming)
2005-02-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaboutdialog.c (gtk_about_dialog_init)
	(gtk_about_dialog_new): Move initialization code from _new to
	_init.  (#168249, Murray Cumming)
2005-02-24 03:43:23 +00:00
Jonathan Blandford
738312c4e5 Patch from jorn@nl.linux.org (Jorn Baayen) to notice changes to
Wed Feb 23 17:34:01 2005  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtktreeview.c (gtk_tree_view_node_queue_redraw): Patch from
        jorn@nl.linux.org (Jorn Baayen) to notice changes to fixed-height
        widgets.
2005-02-23 22:38:20 +00:00
Tor Lillqvist
cc7a53d502 Workaround for bug in MapVirtualKey(VK_DIVIDE, 0) in some Windows
2005-02-23  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkkeys-win32.c (update_keymap): Workaround for bug in
	MapVirtualKey(VK_DIVIDE, 0) in some Windows versions. (#142998)
2005-02-23 22:02:59 +00:00
Simos Xenitellis
800fb665a8 Updated Greek translation 2005-02-23 18:02:10 +00:00
Simos Xenitellis
145b91020e Updated Greek translation 2005-02-23 17:28:53 +00:00
Manish Singh
04e0390252 #include <config.h>
Tue Feb 22 13:49:09 2005  Manish Singh  <yosh@gimp.org>

        * gtk/updateiconcache.c: #include <config.h>
2005-02-22 21:50:17 +00:00
Federico Mena Quintero
b28ea81026 Fix #164940, patch by Ben Maurer and Tommi Komulainen.
2005-02-22  Federico Mena Quintero  <federico@ximian.com>

	Fix #164940, patch by Ben Maurer and Tommi Komulainen.

	* gdk/gdkrgb.c (gdk_rgb_convert_565_d): Constify the "dmp" variable.
	(gdk_rgb_convert_565_d): Likewise.
	(DM_565): Made a static const precomputed array to avoid
	allocating it at runtime.
	(gdk_rgb_preprocess_dm_565): #ifdef out.
2005-02-22 19:29:09 +00:00
Nikos Charonitakis
9f1fc19066 Updated Greek translation 2005-02-21 09:11:19 +00:00
Priit Laes
03014c875e Translation updated by Ivar Smolin.
2005-02-21  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-02-21 08:25:51 +00:00
Matthias Clasen
4c2073b393 Fix freedesktop.org links in the docs.
2005-02-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwindow.c:
	* gtk/gtkclipboard.c: Fix freedesktop.org links in the docs.
2005-02-21 04:21:50 +00:00
Matthias Clasen
9e26b2632b Set have_render_with_trapezoids to GDK_YES when we have a new enough
2005-02-20  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
	Set have_render_with_trapezoids to GDK_YES when we have
	a new enough Render extension.  (#167965,Billy Biggs)
2005-02-21 04:12:12 +00:00
Matthias Clasen
dece1395ab Add libgtk_only api to obtain the user_time of the display. This function
2005-02-20  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkx.h:
	* gdk/x11/gdkdisplay-x11.c (gdk_x11_display_get_user_time_libgtk_only):
	Add libgtk_only api to obtain the user_time of the display.
	This function will become generally available api in 2.8.

	* gtk/gtkwindow.c (gtk_window_present): Use the timestamp of
	the last user interaction when focusing the window.  (#166379,
	Elijah Newren)
2005-02-21 03:47:45 +00:00
Kjartan Maraas
d6e17db32e Improve a bad word 2005-02-20 22:35:01 +00:00
Manish Singh
ace6498e3e Pass gtk_widget_get_toplevel() a GTK_WIDGET.
Thu Feb 17 14:52:57 2005  Manish Singh  <yosh@gimp.org>

        * gtk/gtkcombobox.c: Pass gtk_widget_get_toplevel() a GTK_WIDGET.
2005-02-17 22:53:44 +00:00
Tommi Vainikainen
d5186f9835 Merged translations from 'gtk-2-4' branch.
2005-02-17  Tommi Vainikainen  <thv@iki.fi>

	* fi.po: Merged translations from 'gtk-2-4' branch.
2005-02-17 13:22:25 +00:00
Tommi Vainikainen
f94a85135c Updated Finnish translation.
2005-02-17  Tommi Vainikainen  <thv@iki.fi>

	* fi.po: Updated Finnish translation.
2005-02-17 11:52:51 +00:00
Jordi Mallach
59d4439c98 Updated Catalan translation by Xavier Conde Rueda <xaviconde@eresmas.com>. 2005-02-17 10:12:08 +00:00
Jordi Mallach
e9a2b0ebfb Updated Catalan translation. 2005-02-17 10:08:30 +00:00
Raphael Higino
bb97d0fd37 Updated pt_BR translation 2005-02-16 17:01:11 +00:00
Matthias Clasen
f898ecdac0 Fixes for #143829, Tommi Komulainen, Christian Persch:
2005-02-16  Matthias Clasen  <mclasen@redhat.com>

	Fixes for #143829, Tommi Komulainen, Christian Persch:

	* gtk/gtktreeview.c (gtk_tree_view_destroy): Remove the
	typeselect_flush_timeout when destroying the widgets
	it is operating on.
	(gtk_tree_view_ensure_interactive_directory): Add the
	popup to the window group of the toplevel it belongs to.

	* gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget)
	(gtk_combo_box_popup): Do the same here.
2005-02-16 16:39:17 +00:00
Adi Attar
32bfdf55f5 Updated Xhosa translation.
2005-02-16  Adi Attar  <aattar@cvs.gnome.org>

	* xh.po: Updated Xhosa translation.
2005-02-16 15:27:00 +00:00
Matthias Clasen
b4a0ade14a *** empty log message *** 2005-02-16 03:52:55 +00:00
Matthias Clasen
274a496fa6 Don't read over the end of the buffer if '#' appears at the very end.
2005-02-15  Matthias Clasen  <mclasen@redhat.com>

	* io-pnm.c (pnm_skip_whitespace): Don't read over the end of
	the buffer if '#' appears at the very end.  (#167141, Doug Morgan)
2005-02-16 03:39:27 +00:00
David Lodge
3738d69b43 Update English (British) translation.
2005-02-15  David Lodge  <dave@cirt.net>

	* en_GB.po: Update English (British) translation.
2005-02-15 21:40:48 +00:00
Marcel Telka
e610ab6476 Updated Slovak translation.
2005-02-15  Marcel Telka  <marcel@telka.sk>

	* sk.po: Updated Slovak translation.
2005-02-15 20:01:34 +00:00
Kjartan Maraas
36616d23a8 Use correct term for Accelerator. Same
2005-02-15  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Use correct term for Accelerator.
	* no.po: Same
2005-02-15 16:10:10 +00:00
Dmitry Mastrukov
1a48cf4a63 be.po: Updated Belarusian translation from Belarusian team <i18n@mova.org>. 2005-02-15 05:57:41 +00:00
Kjartan Maraas
667e73b7a8 Update Update
2005-02-15  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Update
	* no.po: Update
2005-02-15 00:24:41 +00:00
Roozbeh Pournader
0b0f957c10 Updated Persian translation.
2005-02-14  Roozbeh Pournader  <roozbeh@farsiweb.info>

        * fa.po: Updated Persian translation.
2005-02-14 15:18:57 +00:00
Priit Laes
506261744d Translation updated by Ivar Smolin.
2005-02-14  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-02-14 08:36:53 +00:00
David Lodge
37454ee50a Updated British translation.
2005-02-13  David Lodge <dave@cirt.net>

        * en_GB.po: Updated British translation.
2005-02-13 20:03:50 +00:00
Danilo Šegan
6d0e8a2fc4 Updated Serbian translation. 2005-02-12 11:08:21 +00:00
Raphael Higino
72cc241e83 Fixing some mistakes in last commit 2005-02-11 18:27:13 +00:00
Matthias Clasen
44ba256537 Stop scrolling when the pathbar goes away. (#167094, Rodney Dawes)
2005-02-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkpathbar.c (gtk_path_bar_finalize): Stop scrolling
	when the pathbar goes away.  (#167094, Rodney Dawes)
	(change_icon_theme): Use GTK_ICON_SIZE_MENU here as
	well  (Vincent Noel)
2005-02-11 17:31:44 +00:00
Matthias Clasen
16e254a83d Fix a reference. Sorry about that, Vincent & Vincent 2005-02-11 14:24:11 +00:00
Danilo Šegan
a985a833e8 Updated Serbian translation. 2005-02-11 12:56:15 +00:00
Priit Laes
43dc3dfc24 Translation updated by Ivar Smolin.
2005-02-11  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-02-11 07:23:39 +00:00
Matthias Clasen
e3d3ccaf91 Complete the fix for #165770, Vincent Untz:
2005-02-11  Matthias Clasen  <mclasen@redhat.com>

	Complete the fix for #165770, Vincent Untz:

	* gtk/gtkfilechooserbutton.c (FALLBACK_ICON_SIZE): Make the
	fallback size be 16, to be equal to the default for
	GTK_ICON_SIZE_MENU (in gtkiconfactory.c:init_icon_sizes()).
	(gtk_file_chooser_button_init):
	(change_icon_theme): Use GTK_ICON_SIZE_MENU instead of
	GTK_ICON_SIZE_SMALL_TOOLBAR.
2005-02-11 06:19:06 +00:00
Raphael Higino
12d2852088 Updated pt_BR translation 2005-02-10 20:21:18 +00:00
Maxim Dziumanenko
630ce00504 Update Ukrainian translation.
2005-02-09  Maxim Dziumanenko <mvd@mylinux.com.ua>

	* Update Ukrainian translation.
2005-02-09 18:08:28 +00:00
Matthias Clasen
8f161a56ca Fix RTL keynav for going from menubar to menu.
2005-02-09  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): Fix RTL
	keynav for going from menubar to menu.
2005-02-09 16:46:54 +00:00
Christian Rose
829989b72c Added "xh" to ALL_LINGUAS. Added Xhosa translation by Adi Attar
2005-02-08  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "xh" to ALL_LINGUAS.
	* po/xh.po, po-properties/xh.po: Added Xhosa translation by
	Adi Attar <adi@canonical.com>.
2005-02-08 21:39:43 +00:00
Theppitak Karoonboonyanan
0c2990cb6b Updated Thai translation.
2005-02-08  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	* th.po: Updated Thai translation.
2005-02-08 18:08:43 +00:00
Rhys Jones
20fa1d1769 Updated Welsh (fuzzy-bashing, plural-forms standardisation).
2005-02-08  Rhys Jones  <rhys@sucs.org>

	* cy.po: Updated Welsh (fuzzy-bashing, plural-forms standardisation).
2005-02-08 07:06:49 +00:00
Nikos Charonitakis
84fc861fac Updated Greek translation 2005-02-07 23:16:52 +00:00
Matthias Clasen
d7b7d33347 Pass in the max number of bytes to read. (pnm_read_ascii_scanline): And
2005-02-07  Matthias Clasen  <mclasen@redhat.com>

	* io-pnm.c (pnm_read_next_value): Pass in the max number
	of bytes to read.
	(pnm_read_ascii_scanline): And use it here to enable
	parsing of pbm images without whitespace between the
	pixels.  (#165803, Samuel Hym)
2005-02-07 19:42:32 +00:00
David Lodge
8fde024e5f Updated British translation.
2005-02-07  David Lodge <dave@cirt.net>

        * en_GB.po: Updated British translation.
2005-02-07 11:18:45 +00:00
Alexander Shopov
f9d51379af Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>
2005-02-06  Alexander Shopov  <ash@contact.bg>

	* bg.po: Updated Bulgarian translation by
	Alexander Shopov <ash@contact.bg>
2005-02-06 08:52:39 +00:00
Takeshi AIHANA
d1bacb5146 Fixed wrong translation with '|'.
2005-02-05  Takeshi AIHANA <aihana@gnome.gr.jp>
	* ja.po: Fixed wrong translation with '|'.
2005-02-05 14:51:40 +00:00
Laszlo Dvornik
163aa7723f Hungarian translation updated.
2005-02-05  Laszlo Dvornik  <dvornik@gnome.hu>

	* hu.po: Hungarian translation updated.
2005-02-05 10:43:43 +00:00
Takeshi AIHANA
5246386253 Updated Japanese translation for v2.6.2.
2005-02-05  Takeshi AIHANA <aihana@gnome.gr.jp>
	* ja.po: Updated Japanese translation for v2.6.2.
2005-02-05 09:08:57 +00:00
Matthias Clasen
4f057d0bdb Bump version 2005-02-04 19:42:44 +00:00
Matthias Clasen
00abd6a36b 2.6.2 2005-02-04 19:08:27 +00:00
Matthias Clasen
dfcb773476 Work better when there is not enough space. This avoids a nasty size
2005-02-04  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkpaned.c (gtk_paned_compute_position): Work better
        when there is not enough space. This avoids a nasty size
        allocation loop in the file chooser.  (#154007, reported
        by Milosz Derezynski, patch by Robert Ögren)
2005-02-04 17:45:05 +00:00
Matthias Clasen
3d67b0de18 Avoid spurious selection of RTL direction if the widget does not have
2005-02-04  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c (gtk_entry_create_layout): Avoid spurious
	selection of RTL direction if the widget does not have
	focus.  (#164125, Frederic Crozat)
2005-02-04 15:36:02 +00:00
Pauli Virtanen
83af87b41d Updated Finnish translation.
2005-02-04  Pauli Virtanen  <pauli.virtanen@hut.fi>

        * fi.po: Updated Finnish translation.
2005-02-04 10:11:14 +00:00
Tor Lillqvist
4e82deacd8 Use the wide character version of ImmGetCompositionString() here, too.
2005-02-03  Tor Lillqvist  <tml@novell.com>

	* modules/input/gtkimcontextime.c (get_pango_attr_list): Use the
	wide character version of ImmGetCompositionString() here,
	too. (#165278, Takuro Ashie)
2005-02-03 20:49:33 +00:00
Matthias Clasen
60bc8d0b77 Don't do one roundtrip per motion event. (#166173, pointed out by Chris
2005-02-03  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmenu.c (gtk_menu_handle_scrolling): Don't do
	one roundtrip per motion event.  (#166173, pointed out
	by Chris Lee, patch by Søren Sandmann)
2005-02-03 18:10:49 +00:00
Mark McLoughlin
b6cd92f645 remove debug spew.
2005-02-03  Mark McLoughlin  <mark@skynet.ie>

        * gtk/gtkicontheme.c: (load_themes): remove debug spew.
2005-02-03 16:51:55 +00:00
Kostas Papadimas
4b08c83f0f Updated Greek Translation. 2005-02-03 16:32:15 +00:00
Matthias Clasen
503dd06986 Make the gdk_key array const (#166075, Tommi Komulainen)
2005-02-03  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkkeynames.c: Make the gdk_key array const (#166075,
	Tommi Komulainen)
2005-02-03 15:38:20 +00:00
Alexander Shopov
8d33536350 Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>
2005-02-02  Alexander Shopov  <ash@contact.bg>

	* bg.po: Updated Bulgarian translation by
	Alexander Shopov <ash@contact.bg>
2005-02-02 18:56:09 +00:00
Federico Mena Quintero
42945febfd Don't select the first row if the chooser is not mapped. This happens when
2005-02-02  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c (pending_select_paths_process):
	Don't select the first row if the chooser is not mapped.  This
	happens when it's acting on behalf of GtkFileChooserButton.  Also,
	don't select the first row if we are in SAVE or CREATE_FOLDER
	modes --- I had missed that (see the ChangeLog entry from
	2005-01-18).  Fixes #165264.
2005-02-02 18:22:35 +00:00
Tor Lillqvist
1b976c4464 Implement lazy extended input initialization on Win32, by Robert Ögren.
2005-02-02  Tor Lillqvist  <tml@novell.com>

	Implement lazy extended input initialization on Win32, by Robert
	Ögren. Fixes #163163, possibly #162334. Lazy initialization would
	be a good idea in any case even if it didn't fix any visible
	problems, though.

	The Wacom tablet driver seems to get confused if Wintab is
	initialized but no window is shown before the process exits. This
	is the case for some GIMP plug-ins, for instance.

	* gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Made
	non-static (and renamed).
	(_gdk_input_init): Don't call _gdk_input_wintab_init_check().

	* gdk/win32/gdkinput-win32.h: Declare _gdk_input_wintab_init_check().

	* gdk/win32/gdkinput.c (gdk_devices_list,
	gdk_display_list_devices, gdk_input_set_extension_events): Call
	_gdk_input_wintab_init_check() here instead.
2005-02-02 18:13:41 +00:00
Ivan, Wong Yat Cheung
14ec6ddec3 Use a FIFO list for storing GdkSelProp of a single window so that
2005-02-02  Ivan, Wong Yat Cheung  <email@ivanwong.info>

	* gdk/win32/gdkselection.c: Use a FIFO list for storing GdkSelProp
	of a single window so that gtk_clipboard_request_contents() can be
	called inside a GtkClipboardReceivedFunc(). (#163844)
2005-02-02 17:29:20 +00:00
Priit Laes
13882b5f8e Translation updated by Ivar Smolin.
2005-02-02  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-02-02 16:41:46 +00:00
Laurent Dhima
5d3e310dbc Updated Albanian translation.
2005-02-02  Laurent Dhima  <laurenti@alblinux.net>

	* sq.po: Updated Albanian translation.
2005-02-02 08:46:30 +00:00
Matthias Clasen
2bb62c29c3 Updates
Updates
2005-02-02 07:02:57 +00:00
Matthias Clasen
54099127ef Mark GdkEventOwnerChange and GdkOwnerChange as 2.6 additions. (#165823,
2005-02-02  Matthias Clasen  <mclasen@redhat.com>

	* gdk/tmpl/event_structs.sgml:
	* gdk/tmpl/events.sgml: Mark GdkEventOwnerChange and
	GdkOwnerChange as 2.6 additions.  (#165823, Masao Mutoh)
2005-02-02 06:23:00 +00:00
Matthias Clasen
b14361feef Look for icons in XDG_DATA_DIRS/pixmaps. (#165950, Thomas Zajic)
2005-02-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkicontheme.c (gtk_icon_theme_init): Look for icons
	in XDG_DATA_DIRS/pixmaps.  (#165950, Thomas Zajic)
2005-02-02 04:29:16 +00:00
Matthias Clasen
40ce4d2995 Set info->icon_list to NULL after freeing it. (#165800, Damon Chaplin)
2005-02-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwindow.c (gtk_window_set_icon_name): Set info->icon_list
	to NULL after freeing it.  (#165800, Damon Chaplin)
2005-02-02 03:54:07 +00:00
Federico Mena Quintero
710acda91c Don't g_assert_not_reached() if we are in any other state. Another code
2005-02-01  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c
	(browse_files_model_finished_loading_cb): Don't
	g_assert_not_reached() if we are in any other state.  Another code
	path may have triggered a folder reload.  Fixes #165556.
2005-02-02 00:52:14 +00:00
Michael Natterer
49bfb352bb depend on stable pango-1.8, not unstable 1.7
2005-02-01  Michael Natterer  <mitch@gimp.org>

	* configure.in: depend on stable pango-1.8, not unstable 1.7
2005-02-02 00:15:31 +00:00
Federico Mena Quintero
6a33d02463 Fix #165770:
2005-02-01  Federico Mena Quintero  <federico@ximian.com>

	Fix #165770:

	* gtk/gtkfilechooserdefault.c (FALLBACK_ICON_SIZE): Make the
	fallback size be 16, to be equal to the default for
	GTK_ICON_SIZE_MENU (in gtkiconfactory.c:init_icon_sizes()).
	(change_icon_theme): Use GTK_ICON_SIZE_MENU instead of
	GTK_ICON_SIZE_SMALL_TOOLBAR.
2005-02-01 23:55:04 +00:00
Matthias Clasen
3a7fcb54d5 Remove debug printf. (#165877, Carlos Garnacho Parro)
2005-02-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_adjustment_changed):
	Remove debug printf.  (#165877, Carlos Garnacho Parro)
2005-02-01 18:52:09 +00:00
Matthias Clasen
91708cf600 Fix many instances of "the the" in docs and comments. (#165815, Masao
2005-02-01  Matthias Clasen  <mclasen@redhat.com>

	* */*.c: Fix many instances of "the the" in docs and
	comments.  (#165815, Masao Mutoh)
2005-02-01 18:07:41 +00:00
Matthias Clasen
d223323e08 Add a --quiet option.
2005-02-01  Matthias Clasen  <mclasen@redhat.com>

	* gtk/updateiconcache.c (main): Add a --quiet option.
2005-02-01 13:52:40 +00:00
Tor Lillqvist
40ebcb878c New functions, code blocks refactored out of update_keymap(). No
2005-02-01  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkkeys-win32.c (handle_special, set_shift_vks,
	reset_after_dead, handle_dead): New functions, code blocks
	refactored out of update_keymap(). No functionality change.

	(update_keymap): Use ToUnicodeEx() when available (on NT-based
	Windows) instead of ToAsciiEx(). Makes keyboard input work in
	Unicode-only input locales that don't have any ANSI codepage, for
	instance Hindi and Bengali. Use _gdk_input_codepage only on
	Win9x. (#165723)

	* gdk/win32/gdkevents-win32.c (gdk_event_translate): On
	WM_INPUTLANGCHANGE, use GetLocaleInfo() instead of
	TranslateCharsetInfo() to get the input locale's corresponding
	codepage, if any.
2005-02-01 11:33:58 +00:00
Matthias Clasen
8ec056217c Use NULL, not 0 to terminate NULL-terminated va lists. (#165683)
2005-01-31  Matthias Clasen  <mclasen@redhat.com>

	* modules/input/gtkimcontextxim.c: Use NULL, not 0 to terminate
	NULL-terminated va lists.  (#165683)
2005-01-31 19:55:10 +00:00
Martin Willemoes Hansen
2dfc05f941 Updated Danish translation.
* da.po: Updated Danish translation.
2005-01-31 11:00:03 +00:00
Žygimantas Beručka
b5920b0f66 Updated Lithuanian translation.
2005-01-31  Žygimantas Beručka  <uid0@akl.lt>

        * lt.po: Updated Lithuanian translation.
2005-01-31 10:18:09 +00:00
Alessio Frusciante
ee126f8b6f Updated Italian translation. 2005-01-30 18:36:47 +00:00
Priit Laes
c7952ccd91 Translation updated.
2005-01-29  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated.
2005-01-29 18:50:10 +00:00
Christian Rose
a59fdf547a Updated Swedish translation.
2005-01-28  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.
2005-01-28 20:31:44 +00:00
Manish Singh
a959f2a1ce update ancient IRC info.
Thu Jan 27 14:25:45 2005  Manish Singh  <yosh@gimp.org>

        * README.cvs-commits: update ancient IRC info.
2005-01-27 22:27:02 +00:00
Federico Mena Quintero
4cbee7b5b9 Oops, don't assert that we can't reach the end of the function; this
2005-01-27  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c
	(gtk_file_chooser_default_select_path): Oops, don't assert that we
	can't reach the end of the function; this happens if we are still
	loading but don't need a path change.  Fixes #165213.
2005-01-27 20:02:40 +00:00
Kjartan Maraas
a4d2679444 Update Update
2005-01-27  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Update
	* no.po: Update
2005-01-27 15:40:22 +00:00
Matthias Clasen
0619f0576b Some visual tweaks to the about dialog, obey HIG spacing a bit more, add a
2005-01-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaboutdialog.c: Some visual tweaks to the about dialog,
	obey HIG spacing a bit more, add a hand cursor when over the
	link button.  (#163979, Jorn Baayen)
2005-01-27 14:15:33 +00:00
Jordi Mallach
51914c6e89 Updated Catalan translation. 2005-01-27 14:02:51 +00:00
Frank Arnold
cc6cf7c77e Removed context string in translation. Added comment.
2005-01-26  Frank Arnold  <farnold@cvs.gnome.org>

	* de.po: Removed context string in translation. Added comment.
2005-01-26 07:55:50 +00:00
Changwoo Ryu
0a67ab7d32 Updated Korean translation.
2005-01-26  Changwoo Ryu  <cwryu@debian.org>

	* ko.po: Updated Korean translation.
2005-01-26 07:29:08 +00:00
Matthias Clasen
c0f10b5ff6 Don't allow -1 as minimum-key-length. (gtk_entry_completion_set_model):
2005-01-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentrycompletion.c (gtk_entry_completion_class_init):
	Don't allow -1 as minimum-key-length.
	(gtk_entry_completion_set_model): Add missing notification.
	(gtk_entry_completion_set_minimum_key_length): Add missing
	notification, allow setting minimum-key-length to 0.  (#165194,
	Vincent Ladeuil)
2005-01-26 06:50:05 +00:00
Matthias Clasen
1dc40fa709 Make sure the license dialog is initially displayed without a horizontal
2005-01-26  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkaboutdialog.c (display_license_dialog): Make sure
	the license dialog is initially displayed without a horizontal
	scrollbar.
	(gtk_about_dialog_class_init): Document the fact that the
	license text is not wrapped.  (#165012, Christian Rose)
2005-01-26 06:07:48 +00:00
Changwoo Ryu
8d8fe966e0 Removed CVS conflict indicator. Updated Korean translation.
2005-01-26  Changwoo Ryu  <cwryu@debian.org>

	* ChangeLog: Removed CVS conflict indicator.
	* ko.po: Updated Korean translation.
2005-01-26 05:12:56 +00:00
Matthias Clasen
3a4316602d Fix docs. (#165180, Jeff Franks)
2005-01-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkbutton.c (gtk_button_set_image): Fix docs.  (#165180,
	Jeff Franks)
2005-01-25 20:54:43 +00:00
Matthias Clasen
f5f1b8aab4 Fix docs. (#165163, Jeff Franks)
2005-01-25  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkwindow-x11.c (gdk_window_configure_finished): Fix
	docs.  (#165163, Jeff Franks)
2005-01-25 18:51:36 +00:00
Matthias Clasen
505441e464 Add bug ref 2005-01-25 18:45:16 +00:00
Matthias Clasen
361878c1dd Add note on limited availability.
2005-01-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/tmpl/gtksocket.sgml:
	* gtk/tmpl/gtkplug.sgml: Add note on limited
	availability.
2005-01-25 18:44:41 +00:00
Matthias Clasen
be8c820b40 Use the correct setter for a string GValue. (#165203, Damon Chaplin)
2005-01-25  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkimage.c (gtk_image_get_property): Use the correct setter
	for a string GValue.  (#165203, Damon Chaplin)
2005-01-25 18:40:27 +00:00
Hendrik Brandt
1ac0dbc65c Updated German translation.
2005-01-24  Hendrik Brandt  <heb@gnome-de.org>

        * po/de.po: Updated German translation.
2005-01-25 14:25:12 +00:00
Matthias Clasen
a049d45686 Initialize user_time from DESKTOP_STARTUP_ID. (#165131, Elijah Newren)
2005-01-24  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkdisplay-x11.c (_gdk_windowing_set_default_display):
	Initialize user_time from DESKTOP_STARTUP_ID.  (#165131,
	Elijah Newren)
2005-01-25 04:14:50 +00:00
Federico Mena Quintero
2e7aceb60b Removed leftover comments.
2005-01-24  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c: Removed leftover comments.
2005-01-25 01:36:58 +00:00
Federico Mena Quintero
0b27d652f6 Fix #147785 and clean up the loading code:
2005-01-24  Federico Mena Quintero  <federico@ximian.com>

	Fix #147785 and clean up the loading code:

	* gtk/gtkfilechooserdefault.c (LoadState): Make the set of states
	be EMPTY, PRELOAD, LOADING, FINISHED.
	(gtk_file_chooser_default_init): Start in the LOAD_EMPTY state.
	(struct _GtkFileChooserDefault): Added a pending_select_paths
	field.
	(load_remove_timer): Add the new states.
	(load_setup_timer): Likewise.
	(load_timeout_cb): Likewise.  Switch to the LOAD_LOADING state.
	(browse_files_model_finished_loading_cb): Switch to the
	LOAD_FINISHED state.
	(enum PendingOp): Removed.
	(struct _GtkFileChooserDefault): Removed the pending_op and
	pending_select_path fields.
	(pending_select_paths_free): New utility function.
	(pending_select_paths_add): New utility function.
	(gtk_file_chooser_default_finalize): Call
	pending_select_paths_free().
	(pending_op_queue): Removed.
	(pending_op_process): Removed.
	(pending_select_paths_process): New function.
	(browse_files_model_finished_loading_cb): Call
	pending_select_paths_process().
	(center_selected_row_foreach_cb): Handle multiple selection by
	only centering the first row.
	(get_is_file_filtered): Constify.
	(gtk_file_chooser_default_select_path): Queue into a list of paths
	to select if we are not finished loading.
	(show_and_select_paths): New utility function.
	(up_folder_handler): Use pending_select_paths_add().
	(gtk_file_chooser_default_should_respond): Do not call
	pending_op_queue(); free the pending_selected_paths instead.
	(gtk_file_chooser_default_initial_focus): Don't queue a pending
	operation, and don't select the first row unconditionally --- this
	will happen when the folder is done loading.
	(shortcuts_row_activated_cb): Free the pending_select_paths.
	(pending_select_paths_store_selection): New utility function.
	(gtk_file_chooser_default_map): Call
	pending_select_paths_store_selection() to save the selection
	before reloading the folder.
	(select_func): Umm?  Call gtk_tree_selection_select_iter().  Don't
	move the cursor here; it will be done when processing the pending paths.

	* tests/testfilechooser.c (main): Add a button to the command
	window to unmap and remap the file chooser.
2005-01-25 01:34:31 +00:00
Alessio Frusciante
ef2919fe7f Updated italian translation. 2005-01-24 20:53:26 +00:00
Raphael Higino
7cbe12fa99 Updated pt_BR translation 2005-01-24 18:34:42 +00:00
Raphael Higino
f670396a79 Updated pt_BR translation 2005-01-24 18:30:09 +00:00
Matthias Clasen
f98b70be84 Document GtkWidget::style-set. (#164222, Alex Graveley)
2005-01-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkwidget.c (gtk_widget_class_init): Document
	GtkWidget::style-set.  (#164222, Alex Graveley)
2005-01-24 15:14:38 +00:00
Frank Arnold
b05ae83531 Fix for #164724
2005-01-24  Frank Arnold  <farnold@cvs.gnome.org>

	* de.po: Fix for #164724
2005-01-24 04:37:12 +00:00
Alessio Frusciante
a38be0f32a Updated Italian translation. 2005-01-23 21:15:16 +00:00
Matthias Clasen
80c7acf9c2 Close the loader before unreffing it in the error case. (#164915, Crispin
2005-01-22  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_new_with_type)
	(gdk_pixbuf_loader_new_with_mime_type): Close the loader
	before unreffing it in the error case.  (#164915, Crispin
	Flowerday)
2005-01-23 04:37:04 +00:00
Matthias Clasen
d63f16a923 Remove the accidentally added prototype for this unimplemented function.
2005-01-22  Matthias Clasen  <mclasen@redhat.com>

	* gdk/gdkdisplay.h (gdk_display_add_client_message_filter_full):
	Remove the accidentally added prototype for this unimplemented
	function.  (#164893, Jeff Franks)
2005-01-23 04:27:39 +00:00
Matthias Clasen
73b39c9b3b Avoid spurious drags. (#164884)
2005-01-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_leave_notify): Avoid spurious
	drags.  (#164884)
2005-01-23 04:00:47 +00:00
Tor Lillqvist
e9068f0fe5 Merged from HEAD:
2005-01-23  Tor Lillqvist  <tml@novell.com>

	Merged from HEAD:

	Fix for #162790, by Iwan Wong:

	* gdk/win32/gdkdrawable-win32.c: Implement dashed lines
	correctly. Simplify the interface to render_line_horizontal() and
	render_line_vertical(). Need to draw lines "manually" also on
	NT-based Windowses if we have a dash offset or are drawing
	double-dashed lines.

	* gdk/win32/gdkprivate-win32.h: Keep also the dash offset,
	double-dash flag, and a brush for the background colour (used by
	the odd dashes in the double-dash line style) in the GdkGCWin32
	struct.

	* gdk/win32/gdkgc-win32.c: Set up above new fields.
2005-01-23 01:23:10 +00:00
Tor Lillqvist
49205d1377 Fix for #163702, from Ivan Wong:
* gdk/win32/gdkprivate-win32.h
	* gdk/win32/gdkglobals-win32.c: New flag _ignore_destroy_clipboard.

	* gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle
	WM_DESTROYCLIPBOARD. Unless _ignore_destroy_clipboard, generate a
	GDK_SELECTION_CLEAR event.

	* gdk/win32/gdkselection-win32.c
	(gdk_selection_owner_set_for_display): Set _ignore_destroy_clipboard
	when emptying the clipboard ourselves.

	(gdk_selection_send_notify_for_display): Remove the artifical
	GDK_SELECTION_CLEAR event generation.
2005-01-23 00:42:50 +00:00
Tor Lillqvist
37144a75fa Handle Greek tonos dead accent key. (#164859, reported and fix verified by
2005-01-23  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkkeys-win32.c (update_keymap): Handle Greek tonos
	dead accent key. (#164859, reported and fix verified by Daniel
	Atallah.)

	* gtk/gtkimcontextsimple.c (gtk_compose_seqs): Handle
	GDK_Greek_accentdieresis (tonos and dialytika) combining with iota
	and upsilon.
2005-01-23 00:23:14 +00:00
Tor Lillqvist
b7124b938c Don't call GetVolumeInformation() for network drives. They might be
2005-01-23  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkfilesystemwin32.c (gtk_file_system_win32_volume_get_display_name):
	Don't call GetVolumeInformation() for network drives. They might
	be disconnected, and calling GetVolumeInformation() will then
	cause long delays. (#164448) It seems to be very hard to reliably
	find out whether a network drive is connected or not, so it's
	easier to just not try getting the volume name for them. See the
	bug report for discussion.
2005-01-23 00:09:00 +00:00
Funda Wang
e23002b7f4 Updated Simplified Chinese translation 2005-01-22 08:01:28 +00:00
Priit Laes
f2553b827c Translation updated by Ivar Smolin.
2005-01-21  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-01-21 17:41:34 +00:00
Kjartan Maraas
a3cc4b98f3 Update Update some.
2005-01-21  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Update
	* nn.po: Update some.
2005-01-21 11:45:42 +00:00
Matthias Clasen
a7cd9932b7 Don't loop forever here, even if the only focusable widgets are labels.
2005-01-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkdialog.c (gtk_dialog_map): Don't loop forever
	here, even if the only focusable widgets are labels.
2005-01-20 19:52:15 +00:00
Miloslav Trmac
72f3a28e86 Updated Czech translation.
2005-01-20  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.
2005-01-20 19:31:34 +00:00
Frank Arnold
156bd41f65 Updated German translation.
2005-01-20  Frank Arnold  <farnold@cvs.gnome.org>

	* de.po: Updated German translation.
2005-01-20 16:12:03 +00:00
Francisco Javier F. Serrador
059668029d Updated Spanish translation.
2005-01-20  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2005-01-20 14:56:59 +00:00
Matthias Clasen
dfc1602d67 Don't reverse the order of modules when putting them in gtk_modules.
2005-01-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmodules.c (load_module): Don't reverse the order
	of modules when putting them in gtk_modules.  (#162676, Dennis
	Cranston, patch by Remus Draica)
2005-01-20 13:32:47 +00:00
Matthias Clasen
7a6ad8b8c8 Don't crash if the tree is empty. (#164669, Priit Laes)
2005-01-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_search_move): Don't crash
	if the tree is empty.  (#164669, Priit Laes)
2005-01-20 13:17:30 +00:00
Manish Singh
682d8c6da4 Call GDK_DISPLAY_XDISPLAY with a display, not a window. Clean up the
Wed Jan 19 18:57:02 2005  Manish Singh  <yosh@gimp.org>

        * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Call
        GDK_DISPLAY_XDISPLAY with a display, not a window. Clean up the
        function a bit too.
2005-01-20 02:58:52 +00:00
Manish Singh
2b37f960d0 Squash strict aliasing warning in _NET_VIRTUAL_ROOTS code.
Wed Jan 19 17:17:31 2005  Manish Singh  <yosh@gimp.org>

        * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Squash
        strict aliasing warning in _NET_VIRTUAL_ROOTS code.
2005-01-20 01:20:32 +00:00
Tor Lillqvist
e445f739c4 Handle keyboards with ShiftLock (and not CapsLock) correctly. (#161814)
2005-01-19  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkkeys-win32.c (update_keymap,
	gdk_keymap_translate_keyboard_state): Handle keyboards with
	ShiftLock (and not CapsLock) correctly. (#161814)
2005-01-19 22:52:01 +00:00
Matthias Clasen
bb0603d449 In save mode, don't return paths containing nonexisting directories.
2005-01-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_should_respond):
	In save mode, don't return paths containing nonexisting
	directories.  (#162443, Jean Marie Favreau)
2005-01-19 21:06:32 +00:00
Matthias Clasen
58c1ace70e Use GLib limit macros to avoid sparse warnings. Pointed out by Kjartan
2005-01-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkobject.c (gtk_object_add_arg_type): Use GLib limit
	macros to avoid sparse warnings. Pointed out by Kjartan Maraas.
2005-01-19 20:08:37 +00:00
Matthias Clasen
a948d8b057 Precache the _NET_VIRTUAL_ROOTS atom.
2005-01-19  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkdisplay-x11.c: Precache the _NET_VIRTUAL_ROOTS
	atom.

	* gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
	Support _NET_VIRTUAL_ROOTS.  (#163910, Carsten Haitzler)
2005-01-19 19:56:30 +00:00
Vincent van Adrighem
4debf6f906 Translation updated by Tino Meinen.
2005-01-19  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated by Tino Meinen.
2005-01-19 18:06:05 +00:00
Priit Laes
a47d1157be Translation updated by Ivar Smolin.
2005-01-19  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2005-01-19 16:46:30 +00:00
Kjartan Maraas
1a06a54641 Update Update
2005-01-19  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Update
	* no.po: Update
2005-01-19 14:17:27 +00:00
Manish Singh
e6d17f4584 Actually assign PENDING_OP_NONE.
Tue Jan 18 13:56:09 2005  Manish Singh  <yosh@gimp.org>

        * gtk/gtkfilechooserdefault.c (pending_op_queue): Actually assign
        PENDING_OP_NONE.
2005-01-18 21:57:16 +00:00
Manish Singh
d401f3f1bb disambiguate nested if/else.
Tue Jan 18 13:46:46 2005  Manish Singh  <yosh@gimp.org>

        * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
        disambiguate nested if/else.
2005-01-18 21:48:45 +00:00
Federico Mena Quintero
cf06d201f0 Don't queue an operation to select the first file if we are in SAVE or
2005-01-18  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c (pending_op_queue): Don't queue an
	operation to select the first file if we are in SAVE or
	CREATE_FOLDER modes.  Executing that operation would overwrite the
	contents of the save-name entry.
2005-01-18 21:43:16 +00:00
Matthias Clasen
f13bfda4db Add some more NULL checks, patch by Michael Natterer.
2005-01-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkstyle.c (gtk_default_draw_check)
	(gtk_default_draw_option, gtk_default_draw_handle): Add some
	more NULL checks, patch by Michael Natterer.
2005-01-18 16:43:45 +00:00
Søren Sandmann
2033e6f0ec Check for NULL detail and NULL widget.
Tue Jan 18 10:55:47 2005  Søren Sandmann  <sandmann@redhat.com>

	* gtk/gtkstyle.c (gtk_default_draw_handle): Check for NULL detail
	and NULL widget.

	* gtk/gtkstyle.c (gtk_default_draw_box): Check for NULL detail and
	NULL widget. (#164477, Michael Natterer)
2005-01-18 16:00:12 +00:00
Matthias Clasen
8521a936ac Avoid X errors when running against servers which implement XRender < 0.4.
2005-01-18  Matthias Clasen  <mclasen@redhat.com>

	Avoid X errors when running against servers which
	implement XRender < 0.4.  (#164427, Albert Chin)

	* gdk/x11/gdkprivate-x11.h:
	* gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
	New function to check for trapezoid support in XRender.
	(gdk_x11_draw_trapezoids, _gdk_x11_drawable_draw_xtrapezoids):
	Use it here.

	* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add a
	separate have_render_with_trapezoids field.

	* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize it.
2005-01-18 15:22:23 +00:00
Adam Weinberger
bc61febe5b Updated Canadian English translation.
* en_CA.po: Updated Canadian English translation.
2005-01-18 05:47:40 +00:00
Matthias Clasen
3019e3374b Remove debug output. (#164376, Jens Finke)
2005-01-17  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c: Remove debug output. (#164376, Jens Finke)
2005-01-18 03:47:52 +00:00
Federico Mena Quintero
3ee6a92800 Merged from HEAD:
2005-01-17  Federico Mena Quintero  <federico@ximian.com>

	Merged from HEAD:

	Fix #162617.

	* gtk/gtkfilesystemunix.c (STAT_NEEDED_MASK): Take out
	GTK_FILE_INFO_IS_HIDDEN; we don't need to stat() to know this.
	(gtk_file_system_unix_get_folder): Make error reporting more
	accurate.  Don't bail out if we can't read the directory.
	(fill_in_stats): Don't return an error; just assume we don't have
	stat info for this folder's files.
	(fill_in_names): Don't create the hash table for the names if we
	can't open the directory.
	(gtk_file_folder_unix_list_children): Don't emit the
	"finished-loading" signal --- we don't do asynchronous loads, so
	we are always finished loading.
	(gtk_file_folder_unix_get_info): Use helper functions; handle the
	case where we can't stat '/'.
	(get_icon_type_from_path): Don't call fill_in_stats() here; only
	use the info we have.
	(fill_in_mime_type): Don't return an error.  Don't do anything if
	we don't have the stat info.
2005-01-18 01:02:40 +00:00
Matthias Clasen
27851f1579 Save and restore the selected row in the bookmark list and the save folder
2005-01-17  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (shortcuts_add_bookmarks): Save
	and restore the selected row in the bookmark list and the
	save folder combo.  (#164290)
2005-01-17 07:05:59 +00:00
Matthias Clasen
9b1e677d2f Fix argument order in docs.
2005-01-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new_with_backend):
	Fix argument order in docs.
2005-01-17 04:28:02 +00:00
Vincent van Adrighem
9d6cb67aff Translation updated by Tino Meinen.
2005-01-16  Vincent van Adrighem  <adrighem@gnome.org>

	* nl.po: Translation updated by Tino Meinen.
2005-01-16 18:35:10 +00:00
Miloslav Trmac
c018ec54f4 Updated Czech translation.
2005-01-16  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation.
2005-01-16 15:59:28 +00:00
Matthias Clasen
0fb9454174 Some updates. 2005-01-16 04:13:02 +00:00
Matthias Clasen
4150e5cbe1 Prefer LTR over RTL if the keymap is neutral. (#164125, Phil Blundell)
2005-01-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_check_keymap_direction):
	* gtk/gtkentry.c (gtk_entry_create_layout): Prefer LTR over RTL
	if the keymap is neutral.  (#164125, Phil Blundell)
2005-01-16 03:53:41 +00:00
Marcel Telka
9ad73f0152 Updated Slovak translation.
2005-01-15  Marcel Telka  <marcel@telka.sk>

	* sk.po: Updated Slovak translation.
2005-01-15 17:02:30 +00:00
Laszlo Dvornik
53dd99416e Hungarian translation updated.
2005-01-15  Laszlo Dvornik  <dvornik@gnome.hu>

	* hu.po: Hungarian translation updated.
2005-01-15 12:26:22 +00:00
Funda Wang
6d43233717 Updated Simplified Chinese translation 2005-01-14 15:16:16 +00:00
Duarte Loreto
88614f43b5 Updated Portuguese translation.
2005-01-14  Duarte Loreto <happyguy_pt@hotmail.com>

	* pt.po: Updated Portuguese translation.
2005-01-14 08:25:21 +00:00
Matthias Clasen
7ad308c721 Add an OS_LINUX conditional.
2005-01-13  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Add an OS_LINUX conditional.

	* gdk/Makefile.am (TESTS):
	* gdk-pixbuf/Makefile.am (TESTS):
	* gtk/Makefile.am (TESTS): Only run abicheck on Linux.  (#163917,
	Roger Leigh)
2005-01-13 15:18:22 +00:00
Matthias Clasen
820ec627e9 Make the headers-visible property readwrite instead of just writable, and
2005-01-13  Matthias Clasen <mclasen@redhat.com>

	* gtk/gtktreeview.c: (gtk_tree_view_class_init),
	(gtk_tree_view_set_headers_clickable): Make the headers-visible
	property readwrite instead of just writable, and remove the
	g_return_if_fail check that there is a model when setting this
	property.  (#163851, Richard Hult)
2005-01-13 14:12:14 +00:00
Raphael Higino
ef73798880 Updated pt_BR translation 2005-01-12 18:39:29 +00:00
Artur Flinta
3f16fc983f Updated Polish translation by GNOME PL Team.
2005-01-12  Artur Flinta  <aflinta@cvs.gnome.org>

	* pl.po: Updated Polish translation by GNOME PL Team.
2005-01-12 08:46:08 +00:00
Artur Flinta
3894ada19f Updated Polish translation by GNOME PL Team.
2005-01-12  Artur Flinta  <aflinta@cvs.gnome.org>

	* pl.po: Updated Polish translation by GNOME PL Team.
2005-01-12 07:29:51 +00:00
Laszlo Dvornik
950e94a7d3 Hungarian translation updated by Gabor Kelemen.
2005-01-11  Laszlo Dvornik  <dvornik@gnome.hu>

	* hu.po: Hungarian translation updated by Gabor Kelemen.
2005-01-11 14:56:01 +00:00
Artur Flinta
901f09864a Updated Polish translation by GNOME PL Team.
2005-01-11  Artur Flinta  <aflinta@cvs.gnome.org>

	* pl.po: Updated Polish translation by GNOME PL Team.
2005-01-11 08:55:24 +00:00
Owen Taylor
4d97569882 Adding missing ChangeLog.pre* to EXTRA_DIST.
2005-01-10  Owen Taylor  <otaylor@redhat.com>

        * Makefile.am (EXTRA_DIST): Adding missing ChangeLog.pre*
        to EXTRA_DIST.
2005-01-10 16:04:27 +00:00
861 changed files with 102765 additions and 74932 deletions

2133
ChangeLog

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

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.6.1.tar.gz | tar xvf - # unpack the sources
% cd gtk+-2.6.1 # change to the toplevel directory
% gzip -cd gtk+-2.6.10.tar.gz | tar xvf - # unpack the sources
% cd gtk+-2.6.10 # change to the toplevel directory
% ./configure # run the `configure' script
% make # build GTK
[ Become root if necessary ]

View File

@@ -13,6 +13,9 @@ EXTRA_DIST = \
ChangeLog.pre-1-0 \
ChangeLog.pre-1-2 \
ChangeLog.pre-2-0 \
ChangeLog.pre-2-2 \
ChangeLog.pre-2-4 \
ChangeLog.pre-2-6 \
README.cvs-commits \
README.win32 \
config.h.win32 \

205
NEWS
View File

@@ -1,3 +1,208 @@
Overview of Changes from GTK+ 2.6.9 to GTK+ 2.6.10
==================================================
* Fix an crasher bug when using submenus together
with window groups. This bug affected epiphany.
* Fix bug that can lead to segfaults when icon
themes are updated.
* Updated translations (et,ne)
Overview of Changes from GTK+ 2.6.8 to GTK+ 2.6.9
=================================================
* GtkFileChooser
- Don't leave a "trail" when then current folder
is explicitly set [Jonathan Blandford]
- Accept file drops on the file list [Sven Neumann]
* Accept GTK+ 2.8 .gtk-bookmarks files [Matthias]
* Make paragraph up/down keynav in GtkTextView
symmetric [Behnam Esfahbod]
* Win32
- Bug fixes [Tor Lillqvist, Kazuki Iwamoto, Peter
Zelezny, Tim Evans, Hans Breuer]
- Improve and simply line segment rendering [Tor]
- Fix handling of Aiptek tablets [Robert Ögren]
* Other bug fixes [Billy Biggs, Vincent Noel,
Georg Schwarz, Markku Vire, Dan Winship, Morten
Welinder, Matthias, Euan MacGregor, David Saxton,
Padraig Brady, Paul Cornett, Mark McLoughlin,
Hans Oesterholt, Arkady L. Shane, Tommi Komulainen,
Peter S. Mazinger, Dan Winship, Peter Zelezny,
Alex Graveley]
* Documentation improvements [Steve Chaplin, Matthias]
* New and updated translations (cs,cy,da,de,en_CA,es,et,
fr,gl,gu,hu,hy,ja,ko,nl,sq,sr,sr@Latn,sv,zh_CN,zh_TW)
Overview of Changes from GTK+ 2.6.7 to GTK+ 2.6.8
=================================================
* GtkFileChooser
- Don't select first row in SELECT_FOLDER mode [Christian Neumair]
- Improve autocompletion behaviour; fix CREATE_FOLDER mode [Federico
Mena Quintero]
- Don't stat children of /afs or /net network directories [Federico]
- Fix set_current_name() and unselect_all() in the light of asynchronous
selections [Federico]
- GtkFileChooserButton fixes [David A. Knight]
- Miscellaneous fixes [Federico, Sven Neumann, Kjartan Maraas]
* GtkIconView
- Many fixes for scrolling and selection handling [Mathias Hasselmann]
* GtkTreeView
- Fix insensitive appearance [Billy Biggs, Matthias Clasen]
* GtkEntry
- Don't blink the cursor if the entry is not editable [Nikos Kouremenos]
* GtkTextView
- Optimize cursor blinking [Michael Natterer]
- Don't blink the cursor if the entry is not editable [Nikos]
* GtkAlignment
- Flip padding in RTL mode [Maciej Katafiasz]
* Fix a bug in focus tracking that lead to problems between some
window managers and GTK+ applications. [Owen Taylor, Billy Biggs,
Niko Tyni]
* gtk-demo
- Add demos for 2.6 features [Matthias]
* Win32 changes
- Initialize gettext before use [Robert Ögren, Daniel Atallah,
Kevin Stange]
- Fix DND on multi-monitor systems [Tor Lillqvist]
- Improve handling of special and dead keys [Tor, Ivan Wong Yat Cheung]
- Improve rendering of insensitive icons [Tim Evans]
- Support RGBA cursors [Tim]
- Bug fixes [Ivan, Hans Breuer, Tor, Daniel]
* Other bug fixes [Federico, Sven Neumann, Nguyen Thai Ngoc Duy,
Philip Langdale, Stephen Kennedy, Michael, Pattrick Fimml,
Felix Riemann, David A. Knight, Hazael Maldonado Torres,
Mikael Hallendal, Ian Wienand, Tommi Komulainen, Ismael Juma,
Leonard Michlmayr, Matthias, Gary Kramlich, Peter Wainwright,
Dom Lachowicz, Kjartan Maraas, Victor Osadci, Olaf Vitters,
Morten Welinder, Alexander Hunziker, Elijah Newren, Frederic
Crozat, Joerg Sonnenberger, John Ehresman]
* Documentation improvements [Matthias, Masao Mutoh, Maciej,
Richard Hult, Ghorban M. Tavakoly]
* New and updated translations (cs,cy,da,de,en_GB,et,eu,fr,gu,hu,id,
nn,ru,sv,th,xh,zh_CN)
Overview of Changes from GTK+ 2.6.6 to GTK+ 2.6.7
=================================================
* Revert two fixes from 2.6.5 which were causing
problems [Crispin Flowerday]
* New and updated translations (bg,ja,ko,ca)
Overview of Changes from GTK+ 2.6.5 to GTK+ 2.6.6
=================================================
* Add 16x16 versions for some stock icons [Vincent Noel]
* Bug fixes [Tommi Komulainen, Roman Kagan, Ivan Wong,
Matthias Clasen, Jakub Jelinek, Arjan van de Ven]
* New and improved translations (pl)
Overview of Changes from GTK+ 2.6.4 to GTK+ 2.6.5
=================================================
* Fix compilation with gcc 4.0 [Matthias Clasen]
* GtkFileChooser
- Ellipsize the preview label [Jeroen Zwartepoorte]
- The mime code can now use a mmapped cache [Matthias]
* GtkTreeView
- Don't pop up the entry context menu if the
the search entry is not visible [Billy Biggs]
- Make enable_search control only typeahead, not
C-f search [Sven Neumann]
- Allow resetting search-column to -1 [Lorenzo Gil Sanchez]
- Make gtk_tree_view_expand_all work [Tristan Van Berkom,
Jonathan Blandford]
- Make double-click to autosize work again [Matthias,
Jonathan]
* GtkComboBox, GtkComboBoxEntry
- Make gtk_widget_grab_focus() work [Gustavo Carneiro]
- gtk_combo_box_get_active_text() now always returns
the current text. [Robert Staudinger]
* gdk-pixbuf
- Use correct update regions when incrementally loading
BMP and TGA images [Owen Taylor, David Costanzo]
- Support saving BMPs [Ivan Wong]
- Bug fixes [Tommi Komulainen, Morten Welinder, David,
John Ellis]
* Win32
- Make big windows work on NT-based Windows [Ivan]
- Implement delayed rendering for transferring images
through the clipboard [Ivan, Tor]
- Add ABI stability wrappers for gdk_pixbuf_save
and gdk_pixbuf_savev [Tor]
- Build fixes [Hans Breuer, Tor Lillqvist]
- Bug fixes [Hans, Tor]
* Other bug fixes [Christian Persch, Sven Neumann,
Philip Langdale, Tomislav Jonjic, Thomas Leonard,
Yury Puzis, Manish Singh, Doug Quale, Ryan Lortie,
Kjartan Maraas, Morten, Felipe Heidrich, Paolo
Borelli, Jorn Baayen, Hazael Maldonado Torres,
Tommi, Stefan Kasal, Billy, Felipe Heidrich,
Hans-Wolfgang Loidl, Jacob Kroon, Steven Walter]
* Documentation improvements [Johan Dahlin, Matthias,
Jianfei Wang, Olivier Sessink, Jon-Kare Hellan, Kristof
Vasant, Billy, Worik Stanton, Ken Siersma, Morten]
* New and improved translations (ca,cs,cy,da,de,en_CA,
en_GB,es,fi,fr,gu,hu,it,lt,nl,pl,pt,pt_BR,ro,ru,rw,sq,
sr,sr@Latn,sv,uk,zh_CN,zh_TW)
Overview of Changes from GTK+ 2.6.3 to GTK+ 2.6.4
=================================================
* Move a lot of const data to the .rodata section [Matthias Clasen]
* Make caching of .icon files work again [Alexander Larsson]
* Fix many translations of our single Q_() message
to not include the prefix [Christian Persch]
Overview of Changes from GTK+ 2.6.2 to GTK+ 2.6.3
=================================================
* GtkAction
- Improve the handling of buttons as action
proxys [Milosz Derezynski]
* gtk_window_present(): Use the timestamp of the last
user interaction when focusing the window. [Elijah Newren]
* Icon theme
- Avoid scaling icons in the file chooser [Vincent Noel]
- Make icon theme caching work on ppc64 [Manish Singh]
* Win32
- Bug fixes [Tor Lillqvist]
- Improve tablet handling [Robert Ögren]
* Other bug fixes [Rodney Dawes, Tommi Komulainen,
Christian Persch, Manish Singh, Billy Biggs, Ben Maurer,
Jorn Baayen, Jonathan Blandford, Murray Cumming,
Olivier Sessink, Matthias, Gustavo Carneiro, Morten
Welinder, Samuel Hym, Doug Morgan, Ivan Wong, Paul
Cornett, Sven Neumann, Vincent Untz]
* Documentation improvements [Matthias, Torsten Schoenfeld]
* New and improved translations (ar,be,bg,ca,cy,el,en_GB,fa,gu,ja,hu,pt_BR,th,uk,xh)
Overview of Changes from GTK+ 2.6.1 to GTK+ 2.6.2
=================================================
* Speed up size allocation of labels, progress bars and
text cell renderers [Anders Carlsson]
* Add a --quiet option to gtk-update-icon-cache [Matthias]
* GtkFileChooser
- Bug fixes [Federico Mena Quintero]
- Don't overwrite the contents of the name entry
when changing folders in save mode. [Federico]
- Don't return nonexisting folders in save mode [Jean Marie Favreau]
- Fix a size allocation loop [Milosz Derezynski, Robert Ögren]
* GtkAboutDialog
- Better HIG compliance [Jorn Baayen]
* GDK
- Work with Xservers implementing old versions
of the Render extension [Albert Chin]
- Respect _NET_VIRTUAL_ROOTS [Carsten Haitzler]
* Win32
- Bug fixes [Tor Lillqvist, Ivan Wong, David Neary, Daniel Atallah,
Takuro Ashie]
- Make keyboard input work in Indic languages [Tor]
- Initialize extended input devices lazily [Robert Ögren]
* Other bug fixes [Owen Taylor, Richard Hult, Phil Blundell,
Jens Finke, Michael Natterer, Manish Singh, Kjartan Maraas,
Priit Laes, Dennis Cranston, Remus Draica, Matthias,
Jeff Franks, Elijah Newren, Damon Chaplin, Vincent Ladeuil,
Carlos Garnacho Parro, Thomas Zajic, Crispin Flowerday,
Tommi Komulainen, Søren Sandmann, Chris Lee, Mark McLoughlin]
* Documentation improvements [Murray Cumming, Matthias, Alex Graveley,
Jeff Franks, Christian Rose, Masao Mutoh, Karel Kulhavy, Roger
Light]
* New and improved translations (bg,ca,cs,cy,da,de,el,en_CA,es,et,hu,it,
ja,ko,lt,nb,nl,nn,no,pl,pt,pt_BR,sk,sq,sv,zh_CN)
Overview of Changes from GTK+ 2.6.0 to GTK+ 2.6.1
=================================================
* GtkFileChooser

2
README
View File

@@ -1,7 +1,7 @@
General Information
===================
This is GTK+ version 2.6.1. GTK+ is a multi-platform toolkit for
This is GTK+ version 2.6.10. 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.

View File

@@ -18,10 +18,10 @@ to ask people commiting to GTK+ to follow a few rules:
gtk-devel-list-request@gnome.org.) This is a good place to ask
about intended changes.
#gimp on byxnet (irc.gimp.org, irc2.gimp.org, irc3.gimp.org,
irc.germany.gimp.org...)s also a good place to find GTK+ developers to
discuss changes with, however, email to gtk-devel-list is the most
certain and preferred method.
#gtk+ on GIMPNet (irc.gimp.org, irc.us.gimp.org, irc.eu.gimp.org, ...)
is also a good place to find GTK+ developers to discuss changes with,
however, email to gtk-devel-list is the most certain and preferred
method.
1) Ask _first_.

View File

@@ -12,10 +12,10 @@ AC_PREREQ(2.54)
m4_define([gtk_major_version], [2])
m4_define([gtk_minor_version], [6])
m4_define([gtk_micro_version], [2])
m4_define([gtk_micro_version], [11])
m4_define([gtk_version],
[gtk_major_version.gtk_minor_version.gtk_micro_version])
m4_define([gtk_interface_age], [2])
m4_define([gtk_interface_age], [11])
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
@@ -30,12 +30,12 @@ m4_define([gtk_binary_version], [2.4.0])
# required versions of other packages
m4_define([glib_required_version], [2.6.0])
m4_define([pango_required_version], [1.7.0])
m4_define([pango_required_version], [1.8.0])
m4_define([atk_required_version], [1.0.1])
AC_INIT([gtk+], [gtk_version],
[http://bugzilla.gnome.org/enter_bug.cgi?product=gtk+],
[http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B],
[gtk+])
AC_CONFIG_SRCDIR([gdk/gdktypes.h])
@@ -123,6 +123,11 @@ case "$host" in
esac
AC_MSG_RESULT([$os_win32])
case $host in
*-*-linux*)
os_linux=yes
;;
esac
dnl Initialize libtool
AC_PROG_CC
AM_DISABLE_STATIC
@@ -138,12 +143,14 @@ if test "$os_win32" = "yes"; then
enable_shared=yes
fi
AC_LIBTOOL_WIN32_DLL
AM_PROG_LIBTOOL
# Make sure we use 64-bit versions of various file stuff.
AC_SYS_LARGEFILE
AM_PROG_AS
AC_PATH_PROG(NM, nm, nm)
dnl Initialize maintainer mode
AM_MAINTAINER_MODE
@@ -162,6 +169,7 @@ AM_CONDITIONAL(PLATFORM_WIN32, test "$platform_win32" = "yes")
AM_CONDITIONAL(OS_WIN32, test "$os_win32" = "yes")
AM_CONDITIONAL(OS_UNIX, test "$os_win32" != "yes")
AM_CONDITIONAL(OS_LINUX, test "$os_linux" = "yes")
if test "$os_win32" = "yes"; then
AC_CHECK_PROG(ms_librarian, lib.exe, yes, no)
@@ -411,7 +419,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 ia id is it ja ko 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@ije sr@Latn sv ta th tk tr uk uz uz@Latn vi wa yi zh_CN 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 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@ije sr@Latn sv ta th tk tr uk uz uz@Latn vi wa xh yi zh_CN zh_TW"
AM_GLIB_GNU_GETTEXT
LIBS="$LIBS $INTLLIBS"
AC_OUTPUT_COMMANDS([case "$CONFIG_FILES" in *po-properties/Makefile.in*)
@@ -455,6 +463,20 @@ case $host in
;;
esac
#
# see bug 162979
#
AC_MSG_CHECKING(for HP-UX)
case $host_os in
hpux9* | hpux10* | hpux11*)
AC_MSG_RESULT(yes)
CFLAGS="$CFLAGS -DHPPEX -DSHMLINK"
;;
*)
AC_MSG_RESULT(no)
;;
esac
dnl NeXTStep cc seems to need this
AC_MSG_CHECKING([for extra flags for POSIX compliance])
AC_TRY_COMPILE([#include <dirent.h>], [DIR *dir;],
@@ -1069,7 +1091,7 @@ if test "x$gdktarget" = "xx11"; then
if test $pango_omitted_x_deps = yes ; then
# Old versions of Xft didn't necessarily include -lX11 in the output
x_libs="`pkg-config --libs xft` -lX11 $X_EXTRA_LIBS"
x_libs="`$PKG_CONFIG --libs xft` -lX11 $X_EXTRA_LIBS"
fi
## Strip the .la files

View File

@@ -1,3 +1,39 @@
2005-08-18 Matthias Clasen <mclasen@redhat.com>
* === Released 2.6.10 ===
2005-08-01 Matthias Clasen <mclasen@redhat.com>
* === Released 2.6.9 ===
2005-06-15 Matthias Clasen <mclasen@redhat.com>
* === Released 2.6.8 ===
2005-04-12 Matthias Clasen <mclasen@redhat.com>
* === Releases 2.6.7 ====
2005-04-10 Matthias Clasen <mclasen@redhat.com>
* === Released 2.6.6 ===
2005-04-09 Matthias Clasen <mclasen@redhat.com>
* === Released 2.6.5 ===
2005-03-01 Matthias Clasen <mclasen@redhat.com>
* === Released 2.6.4 ===
2005-02-28 Matthias Clasen <mclasen@redhat.com>
* === Released 2.6.3 ===
2005-02-04 Matthias Clasen <mclasen@redhat.com>
* === Released 2.6.2 ===
2005-01-08 Matthias Clasen <mclasen@redhat.com>
* === Released 2.6.1 ===

View File

@@ -10,6 +10,7 @@ demos = \
changedisplay.c \
clipboard.c \
colorsel.c \
combobox.c \
dialog.c \
drawingarea.c \
editable_cells.c \
@@ -21,6 +22,7 @@ demos = \
list_store.c \
menus.c \
panes.c \
pickers.c \
pixbufs.c \
rotated_text.c \
sizegroup.c \

View File

@@ -406,6 +406,7 @@ do_appwindow (GtkWidget *do_widget)
gtk_window_set_screen (GTK_WINDOW (window),
gtk_widget_get_screen (do_widget));
gtk_window_set_title (GTK_WINDOW (window), "Application Window");
gtk_window_set_icon_name (GTK_WINDOW (window), "gtk-open");
/* NULL window variable when window is closed */
g_signal_connect (window, "destroy",

View File

@@ -1,7 +1,12 @@
/* Clipboard
*
* GtkClipboard is used for clipboard handling. This demo shows how to
* copy and paste text to and from the clipboard.
* copy and paste text to and from the clipboard.
*
* It also shows how to transfer images via the clipboard or via
* drag-and-drop, and how to make clipboard contents persist after
* the application exits. Clipboard persistence requires a clipboard
* manager to run.
*/
#include <gtk/gtk.h>
@@ -11,7 +16,7 @@ static GtkWidget *window = NULL;
void
copy_button_clicked (GtkWidget *button,
gpointer user_data)
gpointer user_data)
{
GtkWidget *entry;
GtkClipboard *clipboard;
@@ -20,7 +25,7 @@ copy_button_clicked (GtkWidget *button,
/* Get the clipboard object */
clipboard = gtk_widget_get_clipboard (entry,
GDK_SELECTION_CLIPBOARD);
GDK_SELECTION_CLIPBOARD);
/* Set clipboard text */
gtk_clipboard_set_text (clipboard, gtk_entry_get_text (GTK_ENTRY (entry)), -1);
@@ -28,8 +33,8 @@ copy_button_clicked (GtkWidget *button,
void
paste_received (GtkClipboard *clipboard,
const gchar *text,
gpointer user_data)
const gchar *text,
gpointer user_data)
{
GtkWidget *entry;
@@ -41,7 +46,7 @@ paste_received (GtkClipboard *clipboard,
void
paste_button_clicked (GtkWidget *button,
gpointer user_data)
gpointer user_data)
{
GtkWidget *entry;
GtkClipboard *clipboard;
@@ -50,13 +55,139 @@ paste_button_clicked (GtkWidget *button,
/* Get the clipboard object */
clipboard = gtk_widget_get_clipboard (entry,
GDK_SELECTION_CLIPBOARD);
GDK_SELECTION_CLIPBOARD);
/* Request the contents of the clipboard, contents_received will be
called when we do get the contents.
*/
gtk_clipboard_request_text (clipboard,
paste_received, entry);
paste_received, entry);
}
static GdkPixbuf *
get_image_pixbuf (GtkImage *image)
{
gchar *stock_id;
GtkIconSize size;
switch (gtk_image_get_storage_type (image))
{
case GTK_IMAGE_PIXBUF:
return g_object_ref (gtk_image_get_pixbuf (image));
case GTK_IMAGE_STOCK:
gtk_image_get_stock (image, &stock_id, &size);
return gtk_widget_render_icon (GTK_WIDGET (image),
stock_id, size, NULL);
default:
g_warning ("Image storage type %d not handled",
gtk_image_get_storage_type (image));
return NULL;
}
}
static void
drag_begin (GtkWidget *widget,
GdkDragContext *context,
gpointer data)
{
GdkPixbuf *pixbuf;
pixbuf = get_image_pixbuf (GTK_IMAGE (data));
gtk_drag_set_icon_pixbuf (context, pixbuf, -2, -2);
g_object_unref (pixbuf);
}
void
drag_data_get (GtkWidget *widget,
GdkDragContext *context,
GtkSelectionData *selection_data,
guint info,
guint time,
gpointer data)
{
GdkPixbuf *pixbuf;
pixbuf = get_image_pixbuf (GTK_IMAGE (data));
gtk_selection_data_set_pixbuf (selection_data, pixbuf);
g_object_unref (pixbuf);
}
static void
drag_data_received (GtkWidget *widget,
GdkDragContext *context,
gint x,
gint y,
GtkSelectionData *selection_data,
guint info,
guint32 time,
gpointer data)
{
GdkPixbuf *pixbuf;
if (selection_data->length > 0)
{
pixbuf = gtk_selection_data_get_pixbuf (selection_data);
gtk_image_set_from_pixbuf (GTK_IMAGE (data), pixbuf);
g_object_unref (pixbuf);
}
}
static void
copy_image (GtkMenuItem *item,
gpointer data)
{
GtkClipboard *clipboard;
GdkPixbuf *pixbuf;
clipboard = gtk_clipboard_get (GDK_SELECTION_CLIPBOARD);
pixbuf = get_image_pixbuf (GTK_IMAGE (data));
gtk_clipboard_set_image (clipboard, pixbuf);
g_object_unref (pixbuf);
}
static void
paste_image (GtkMenuItem *item,
gpointer data)
{
GtkClipboard *clipboard;
GdkPixbuf *pixbuf;
clipboard = gtk_clipboard_get (GDK_SELECTION_CLIPBOARD);
pixbuf = gtk_clipboard_wait_for_image (clipboard);
if (pixbuf)
{
gtk_image_set_from_pixbuf (GTK_IMAGE (data), pixbuf);
g_object_unref (pixbuf);
}
}
static gboolean
button_press (GtkWidget *widget,
GdkEventButton *button,
gpointer data)
{
GtkWidget *menu;
GtkWidget *item;
if (button->button != 3)
return FALSE;
menu = gtk_menu_new ();
item = gtk_image_menu_item_new_from_stock (GTK_STOCK_COPY, NULL);
g_signal_connect (item, "activate", G_CALLBACK (copy_image), data);
gtk_widget_show (item);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
item = gtk_image_menu_item_new_from_stock (GTK_STOCK_PASTE, NULL);
g_signal_connect (item, "activate", G_CALLBACK (paste_image), data);
gtk_widget_show (item);
gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
gtk_menu_popup (GTK_MENU (menu), NULL, NULL, NULL, NULL, 3, button->time);
return TRUE;
}
GtkWidget *
@@ -67,8 +198,13 @@ do_clipboard (GtkWidget *do_widget)
GtkWidget *vbox, *hbox;
GtkWidget *label;
GtkWidget *entry, *button;
GtkWidget *ebox, *image;
GtkClipboard *clipboard;
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
g_signal_connect (window, "destroy",
G_CALLBACK (gtk_widget_destroyed), &window);
vbox = gtk_vbox_new (FALSE, 0);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 8);
@@ -90,7 +226,7 @@ do_clipboard (GtkWidget *do_widget)
button = gtk_button_new_from_stock (GTK_STOCK_COPY);
gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0);
g_signal_connect (button, "clicked",
G_CALLBACK (copy_button_clicked), entry);
G_CALLBACK (copy_button_clicked), entry);
label = gtk_label_new ("\"Paste\" will paste the text from the clipboard to the entry");
gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
@@ -107,8 +243,70 @@ do_clipboard (GtkWidget *do_widget)
button = gtk_button_new_from_stock (GTK_STOCK_PASTE);
gtk_box_pack_start (GTK_BOX (hbox), button, FALSE, FALSE, 0);
g_signal_connect (button, "clicked",
G_CALLBACK (paste_button_clicked), entry);
G_CALLBACK (paste_button_clicked), entry);
label = gtk_label_new ("Images can be transferred via the clipboard, too");
gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
hbox = gtk_hbox_new (FALSE, 4);
gtk_container_set_border_width (GTK_CONTAINER (hbox), 8);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
/* Create the first image */
image = gtk_image_new_from_stock (GTK_STOCK_DIALOG_WARNING,
GTK_ICON_SIZE_BUTTON);
ebox = gtk_event_box_new ();
gtk_container_add (GTK_CONTAINER (ebox), image);
gtk_container_add (GTK_CONTAINER (hbox), ebox);
/* make ebox a drag source */
gtk_drag_source_set (ebox, GDK_BUTTON1_MASK, NULL, 0, GDK_ACTION_COPY);
gtk_drag_source_add_image_targets (ebox);
g_signal_connect (ebox, "drag_begin",
G_CALLBACK (drag_begin), image);
g_signal_connect (ebox, "drag_data_get",
G_CALLBACK (drag_data_get), image);
/* accept drops on ebox */
gtk_drag_dest_set (ebox, GTK_DEST_DEFAULT_ALL,
NULL, 0, GDK_ACTION_COPY);
gtk_drag_dest_add_image_targets (ebox);
g_signal_connect (ebox, "drag_data_received",
G_CALLBACK (drag_data_received), image);
/* context menu on ebox */
g_signal_connect (ebox, "button_press_event",
G_CALLBACK (button_press), image);
/* Create the second image */
image = gtk_image_new_from_stock (GTK_STOCK_STOP,
GTK_ICON_SIZE_BUTTON);
ebox = gtk_event_box_new ();
gtk_container_add (GTK_CONTAINER (ebox), image);
gtk_container_add (GTK_CONTAINER (hbox), ebox);
/* make ebox a drag source */
gtk_drag_source_set (ebox, GDK_BUTTON1_MASK, NULL, 0, GDK_ACTION_COPY);
gtk_drag_source_add_image_targets (ebox);
g_signal_connect (ebox, "drag_begin",
G_CALLBACK (drag_begin), image);
g_signal_connect (ebox, "drag_data_get",
G_CALLBACK (drag_data_get), image);
/* accept drops on ebox */
gtk_drag_dest_set (ebox, GTK_DEST_DEFAULT_ALL,
NULL, 0, GDK_ACTION_COPY);
gtk_drag_dest_add_image_targets (ebox);
g_signal_connect (ebox, "drag_data_received",
G_CALLBACK (drag_data_received), image);
/* context menu on ebox */
g_signal_connect (ebox, "button_press_event",
G_CALLBACK (button_press), image);
/* tell the clipboard manager to make the data persistent */
clipboard = gtk_clipboard_get (GDK_SELECTION_CLIPBOARD);
gtk_clipboard_set_can_store (clipboard, NULL, 0);
}
if (!GTK_WIDGET_VISIBLE (window))

371
demos/gtk-demo/combobox.c Normal file
View File

@@ -0,0 +1,371 @@
/* Combo boxes
*
* The ComboBox widget allows to select one option out of a list.
* The ComboBoxEntry additionally allows the user to enter a value
* that is not in the list of options.
*
* How the options are displayed is controlled by cell renderers.
*/
#include <gtk/gtk.h>
enum
{
PIXBUF_COL,
TEXT_COL
};
static gchar *
strip_underscore (const gchar *text)
{
gchar *p, *q;
gchar *result;
result = g_strdup (text);
p = q = result;
while (*p)
{
if (*p != '_')
{
*q = *p;
q++;
}
p++;
}
*q = '\0';
return result;
}
static GtkTreeModel *
create_stock_icon_store (void)
{
gchar *stock_id[6] = {
GTK_STOCK_DIALOG_WARNING,
GTK_STOCK_STOP,
GTK_STOCK_NEW,
GTK_STOCK_CLEAR,
NULL,
GTK_STOCK_OPEN
};
GtkStockItem item;
GdkPixbuf *pixbuf;
GtkWidget *cellview;
GtkTreeIter iter;
GtkListStore *store;
gchar *label;
gint i;
cellview = gtk_cell_view_new ();
store = gtk_list_store_new (2, GDK_TYPE_PIXBUF, G_TYPE_STRING);
for (i = 0; i < G_N_ELEMENTS (stock_id); i++)
{
if (stock_id[i])
{
pixbuf = gtk_widget_render_icon (cellview, stock_id[i],
GTK_ICON_SIZE_BUTTON, NULL);
gtk_stock_lookup (stock_id[i], &item);
label = strip_underscore (item.label);
gtk_list_store_append (store, &iter);
gtk_list_store_set (store, &iter,
PIXBUF_COL, pixbuf,
TEXT_COL, label,
-1);
g_free (label);
}
else
{
gtk_list_store_append (store, &iter);
gtk_list_store_set (store, &iter,
PIXBUF_COL, NULL,
TEXT_COL, "separator",
-1);
}
}
gtk_widget_destroy (cellview);
return GTK_TREE_MODEL (store);
}
/* A GtkCellLayoutDataFunc that demonstrates how one can control
* sensitivity of rows. This particular function does nothing
* useful and just makes the second row insensitive.
*/
static void
set_sensitive (GtkCellLayout *cell_layout,
GtkCellRenderer *cell,
GtkTreeModel *tree_model,
GtkTreeIter *iter,
gpointer data)
{
GtkTreePath *path;
gint *indices;
gboolean sensitive;
path = gtk_tree_model_get_path (tree_model, iter);
indices = gtk_tree_path_get_indices (path);
sensitive = indices[0] != 1;
gtk_tree_path_free (path);
g_object_set (cell, "sensitive", sensitive, NULL);
}
/* A GtkTreeViewRowSeparatorFunc that demonstrates how rows can be
* rendered as separators. This particular function does nothing
* useful and just turns the fourth row into a separator.
*/
static gboolean
is_separator (GtkTreeModel *model,
GtkTreeIter *iter,
gpointer data)
{
GtkTreePath *path;
gboolean result;
path = gtk_tree_model_get_path (model, iter);
result = gtk_tree_path_get_indices (path)[0] == 4;
gtk_tree_path_free (path);
return result;
}
static GtkTreeModel *
create_capital_store (void)
{
struct {
gchar *group;
gchar *capital;
} capitals[] = {
{ "A - B", NULL },
{ NULL, "Albany" },
{ NULL, "Annapolis" },
{ NULL, "Atlanta" },
{ NULL, "Augusta" },
{ NULL, "Austin" },
{ NULL, "Baton Rouge" },
{ NULL, "Bismarck" },
{ NULL, "Boise" },
{ NULL, "Boston" },
{ "C - D", NULL },
{ NULL, "Carson City" },
{ NULL, "Charleston" },
{ NULL, "Cheyenne" },
{ NULL, "Columbia" },
{ NULL, "Columbus" },
{ NULL, "Concord" },
{ NULL, "Denver" },
{ NULL, "Des Moines" },
{ NULL, "Dover" },
{ "E - J", NULL },
{ NULL, "Frankfort" },
{ NULL, "Harrisburg" },
{ NULL, "Hartford" },
{ NULL, "Helena" },
{ NULL, "Honolulu" },
{ NULL, "Indianapolis" },
{ NULL, "Jackson" },
{ NULL, "Jefferson City" },
{ NULL, "Juneau" },
{ "K - O" },
{ NULL, "Lansing" },
{ NULL, "Lincoln" },
{ NULL, "Little Rock" },
{ NULL, "Madison" },
{ NULL, "Montgomery" },
{ NULL, "Montpelier" },
{ NULL, "Nashville" },
{ NULL, "Oklahoma City" },
{ NULL, "Olympia" },
{ NULL, "P - S" },
{ NULL, "Phoenix" },
{ NULL, "Pierre" },
{ NULL, "Providence" },
{ NULL, "Raleigh" },
{ NULL, "Richmond" },
{ NULL, "Sacramento" },
{ NULL, "Salem" },
{ NULL, "Salt Lake City" },
{ NULL, "Santa Fe" },
{ NULL, "Springfield" },
{ NULL, "St. Paul" },
{ "T - Z", NULL },
{ NULL, "Tallahassee" },
{ NULL, "Topeka" },
{ NULL, "Trenton" },
{ NULL, NULL }
};
GtkTreeIter iter, iter2;
GtkTreeStore *store;
gint i;
store = gtk_tree_store_new (1, G_TYPE_STRING);
for (i = 0; capitals[i].group || capitals[i].capital; i++)
{
if (capitals[i].group)
{
gtk_tree_store_append (store, &iter, NULL);
gtk_tree_store_set (store, &iter, 0, capitals[i].group, -1);
}
else if (capitals[i].capital)
{
gtk_tree_store_append (store, &iter2, &iter);
gtk_tree_store_set (store, &iter2, 0, capitals[i].capital, -1);
}
}
return GTK_TREE_MODEL (store);
}
static void
is_capital_sensitive (GtkCellLayout *cell_layout,
GtkCellRenderer *cell,
GtkTreeModel *tree_model,
GtkTreeIter *iter,
gpointer data)
{
gboolean sensitive;
sensitive = !gtk_tree_model_iter_has_child (tree_model, iter);
g_object_set (cell, "sensitive", sensitive, NULL);
}
static void
fill_combo_entry (GtkWidget *entry)
{
gtk_combo_box_append_text (GTK_COMBO_BOX (entry), "One");
gtk_combo_box_append_text (GTK_COMBO_BOX (entry), "Two");
gtk_combo_box_append_text (GTK_COMBO_BOX (entry), "2\302\275");
gtk_combo_box_append_text (GTK_COMBO_BOX (entry), "Three");
}
GtkWidget *
do_combobox (GtkWidget *do_widget)
{
static GtkWidget *window = NULL;
GtkWidget *vbox, *frame, *box, *combo;
GtkTreeModel *model;
GtkCellRenderer *renderer;
GtkTreePath *path;
GtkTreeIter iter;
if (!window)
{
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_screen (GTK_WINDOW (window),
gtk_widget_get_screen (do_widget));
gtk_window_set_title (GTK_WINDOW (window), "Combo boxes");
g_signal_connect (window, "destroy",
G_CALLBACK (gtk_widget_destroyed),
&window);
gtk_container_set_border_width (GTK_CONTAINER (window), 10);
vbox = gtk_vbox_new (FALSE, 2);
gtk_container_add (GTK_CONTAINER (window), vbox);
/* A combobox demonstrating cell renderers, separators and
* insensitive rows
*/
frame = gtk_frame_new ("Some stock icons");
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
box = gtk_vbox_new (FALSE, 0);
gtk_container_set_border_width (GTK_CONTAINER (box), 5);
gtk_container_add (GTK_CONTAINER (frame), box);
model = create_stock_icon_store ();
combo = gtk_combo_box_new_with_model (model);
g_object_unref (model);
gtk_container_add (GTK_CONTAINER (box), combo);
renderer = gtk_cell_renderer_pixbuf_new ();
gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (combo), renderer, FALSE);
gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (combo), renderer,
"pixbuf", PIXBUF_COL,
NULL);
gtk_cell_layout_set_cell_data_func (GTK_CELL_LAYOUT (combo),
renderer,
set_sensitive,
NULL, NULL);
renderer = gtk_cell_renderer_text_new ();
gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (combo), renderer, TRUE);
gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (combo), renderer,
"text", TEXT_COL,
NULL);
gtk_cell_layout_set_cell_data_func (GTK_CELL_LAYOUT (combo),
renderer,
set_sensitive,
NULL, NULL);
gtk_combo_box_set_row_separator_func (GTK_COMBO_BOX (combo),
is_separator, NULL, NULL);
gtk_combo_box_set_active (GTK_COMBO_BOX (combo), 0);
/* A combobox demonstrating trees.
*/
frame = gtk_frame_new ("Where are we ?");
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
box = gtk_vbox_new (FALSE, 0);
gtk_container_set_border_width (GTK_CONTAINER (box), 5);
gtk_container_add (GTK_CONTAINER (frame), box);
model = create_capital_store ();
combo = gtk_combo_box_new_with_model (model);
g_object_unref (model);
gtk_container_add (GTK_CONTAINER (box), combo);
renderer = gtk_cell_renderer_text_new ();
gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (combo), renderer, TRUE);
gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (combo), renderer,
"text", 0,
NULL);
gtk_cell_layout_set_cell_data_func (GTK_CELL_LAYOUT (combo),
renderer,
is_capital_sensitive,
NULL, NULL);
path = gtk_tree_path_new_from_indices (0, 8, -1);
gtk_tree_model_get_iter (model, &iter, path);
gtk_tree_path_free (path);
gtk_combo_box_set_active_iter (GTK_COMBO_BOX (combo), &iter);
/* A GtkComboBoxEntry
*/
frame = gtk_frame_new ("Editable");
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
box = gtk_vbox_new (FALSE, 0);
gtk_container_set_border_width (GTK_CONTAINER (box), 5);
gtk_container_add (GTK_CONTAINER (frame), box);
combo = gtk_combo_box_entry_new_text ();
fill_combo_entry (combo);
gtk_container_add (GTK_CONTAINER (box), combo);
}
if (!GTK_WIDGET_VISIBLE (window))
{
gtk_widget_show_all (window);
}
else
{
gtk_widget_destroy (window);
window = NULL;
}
return window;
}

View File

@@ -2,8 +2,12 @@
*
* This demo demonstrates the use of editable cells in a GtkTreeView. If
* you're new to the GtkTreeView widgets and associates, look into
* the GtkListStore example first.
* the GtkListStore example first. It also shows how to use the
* GtkCellRenderer::editing-started signal to do custom setup of the
* editable widget.
*
* The cell renderers used in this demo are GtkCellRendererText,
* GtkCellRendererCombo and GtkCellRendererProgress.
*/
#include <gtk/gtk.h>
@@ -14,18 +18,24 @@ static GtkWidget *window = NULL;
typedef struct
{
gint number;
gchar *product;
gboolean editable;
gint number;
gchar *product;
gint yummy;
}
Item;
enum
{
COLUMN_NUMBER,
COLUMN_PRODUCT,
COLUMN_EDITABLE,
NUM_COLUMNS
COLUMN_ITEM_NUMBER,
COLUMN_ITEM_PRODUCT,
COLUMN_ITEM_YUMMY,
NUM_ITEM_COLUMNS
};
enum
{
COLUMN_NUMBER_TEXT,
NUM_NUMBER_COLUMNS
};
static GArray *articles = NULL;
@@ -39,32 +49,32 @@ add_items (void)
foo.number = 3;
foo.product = g_strdup ("bottles of coke");
foo.editable = TRUE;
foo.yummy = 20;
g_array_append_vals (articles, &foo, 1);
foo.number = 5;
foo.product = g_strdup ("packages of noodles");
foo.editable = TRUE;
foo.yummy = 50;
g_array_append_vals (articles, &foo, 1);
foo.number = 2;
foo.product = g_strdup ("packages of chocolate chip cookies");
foo.editable = TRUE;
foo.yummy = 90;
g_array_append_vals (articles, &foo, 1);
foo.number = 1;
foo.product = g_strdup ("can vanilla ice cream");
foo.editable = TRUE;
foo.yummy = 60;
g_array_append_vals (articles, &foo, 1);
foo.number = 6;
foo.product = g_strdup ("eggs");
foo.editable = TRUE;
foo.yummy = 10;
g_array_append_vals (articles, &foo, 1);
}
static GtkTreeModel *
create_model (void)
create_items_model (void)
{
gint i = 0;
GtkListStore *model;
@@ -76,8 +86,8 @@ create_model (void)
add_items ();
/* create list store */
model = gtk_list_store_new (NUM_COLUMNS, G_TYPE_INT, G_TYPE_STRING,
G_TYPE_BOOLEAN);
model = gtk_list_store_new (NUM_ITEM_COLUMNS, G_TYPE_INT, G_TYPE_STRING,
G_TYPE_INT, G_TYPE_BOOLEAN);
/* add items */
for (i = 0; i < articles->len; i++)
@@ -85,18 +95,46 @@ create_model (void)
gtk_list_store_append (model, &iter);
gtk_list_store_set (model, &iter,
COLUMN_NUMBER,
g_array_index (articles, Item, i).number,
COLUMN_PRODUCT,
g_array_index (articles, Item, i).product,
COLUMN_EDITABLE,
g_array_index (articles, Item, i).editable,
-1);
COLUMN_ITEM_NUMBER,
g_array_index (articles, Item, i).number,
COLUMN_ITEM_PRODUCT,
g_array_index (articles, Item, i).product,
COLUMN_ITEM_YUMMY,
g_array_index (articles, Item, i).yummy,
-1);
}
return GTK_TREE_MODEL (model);
}
static GtkTreeModel *
create_numbers_model (void)
{
#define N_NUMBERS 10
gint i = 0;
GtkListStore *model;
GtkTreeIter iter;
/* create list store */
model = gtk_list_store_new (NUM_NUMBER_COLUMNS, G_TYPE_STRING, G_TYPE_INT);
/* add numbers */
for (i = 0; i < N_NUMBERS; i++)
{
char str[2] = { '0' + i, '\0' };
gtk_list_store_append (model, &iter);
gtk_list_store_set (model, &iter,
COLUMN_NUMBER_TEXT, str,
-1);
}
return GTK_TREE_MODEL (model);
#undef N_NUMBERS
}
static void
add_item (GtkWidget *button, gpointer data)
{
@@ -108,15 +146,15 @@ add_item (GtkWidget *button, gpointer data)
foo.number = 0;
foo.product = g_strdup ("Description here");
foo.editable = TRUE;
foo.yummy = 50;
g_array_append_vals (articles, &foo, 1);
gtk_list_store_append (GTK_LIST_STORE (model), &iter);
gtk_list_store_set (GTK_LIST_STORE (model), &iter,
COLUMN_NUMBER, foo.number,
COLUMN_PRODUCT, foo.product,
COLUMN_EDITABLE, foo.editable,
-1);
COLUMN_ITEM_NUMBER, foo.number,
COLUMN_ITEM_PRODUCT, foo.product,
COLUMN_ITEM_YUMMY, foo.yummy,
-1);
}
static void
@@ -142,11 +180,37 @@ remove_item (GtkWidget *widget, gpointer data)
}
}
static gboolean
separator_row (GtkTreeModel *model,
GtkTreeIter *iter,
gpointer data)
{
GtkTreePath *path;
gint idx;
path = gtk_tree_model_get_path (model, iter);
idx = gtk_tree_path_get_indices (path)[0];
gtk_tree_path_free (path);
return idx == 5;
}
static void
editing_started (GtkCellRenderer *cell,
GtkCellEditable *editable,
const gchar *path,
gpointer data)
{
gtk_combo_box_set_row_separator_func (GTK_COMBO_BOX (editable),
separator_row, NULL, NULL);
}
static void
cell_edited (GtkCellRendererText *cell,
const gchar *path_string,
const gchar *new_text,
gpointer data)
const gchar *path_string,
const gchar *new_text,
gpointer data)
{
GtkTreeModel *model = (GtkTreeModel *)data;
GtkTreePath *path = gtk_tree_path_new_from_string (path_string);
@@ -158,31 +222,31 @@ cell_edited (GtkCellRendererText *cell,
switch (column)
{
case COLUMN_NUMBER:
case COLUMN_ITEM_NUMBER:
{
gint i;
gint i;
i = gtk_tree_path_get_indices (path)[0];
g_array_index (articles, Item, i).number = atoi (new_text);
i = gtk_tree_path_get_indices (path)[0];
g_array_index (articles, Item, i).number = atoi (new_text);
gtk_list_store_set (GTK_LIST_STORE (model), &iter, column,
g_array_index (articles, Item, i).number, -1);
gtk_list_store_set (GTK_LIST_STORE (model), &iter, column,
g_array_index (articles, Item, i).number, -1);
}
break;
case COLUMN_PRODUCT:
case COLUMN_ITEM_PRODUCT:
{
gint i;
gchar *old_text;
gint i;
gchar *old_text;
gtk_tree_model_get (model, &iter, column, &old_text, -1);
g_free (old_text);
g_free (old_text);
i = gtk_tree_path_get_indices (path)[0];
g_free (g_array_index (articles, Item, i).product);
g_array_index (articles, Item, i).product = g_strdup (new_text);
i = gtk_tree_path_get_indices (path)[0];
g_free (g_array_index (articles, Item, i).product);
g_array_index (articles, Item, i).product = g_strdup (new_text);
gtk_list_store_set (GTK_LIST_STORE (model), &iter, column,
gtk_list_store_set (GTK_LIST_STORE (model), &iter, column,
g_array_index (articles, Item, i).product, -1);
}
break;
@@ -192,34 +256,55 @@ cell_edited (GtkCellRendererText *cell,
}
static void
add_columns (GtkTreeView *treeview)
add_columns (GtkTreeView *treeview,
GtkTreeModel *items_model,
GtkTreeModel *numbers_model)
{
GtkCellRenderer *renderer;
GtkTreeModel *model = gtk_tree_view_get_model (treeview);
/* number column */
renderer = gtk_cell_renderer_text_new ();
renderer = gtk_cell_renderer_combo_new ();
g_object_set (renderer,
"model", numbers_model,
"text-column", COLUMN_NUMBER_TEXT,
"has-entry", FALSE,
"editable", TRUE,
NULL);
g_signal_connect (renderer, "edited",
G_CALLBACK (cell_edited), model);
g_object_set_data (G_OBJECT (renderer), "column", (gint *)COLUMN_NUMBER);
G_CALLBACK (cell_edited), items_model);
g_signal_connect (renderer, "editing-started",
G_CALLBACK (editing_started), NULL);
g_object_set_data (G_OBJECT (renderer), "column", GINT_TO_POINTER (COLUMN_ITEM_NUMBER));
gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW (treeview),
-1, "Number", renderer,
"text", COLUMN_NUMBER,
"editable", COLUMN_EDITABLE,
NULL);
-1, "Number", renderer,
"text", COLUMN_ITEM_NUMBER,
NULL);
/* product column */
renderer = gtk_cell_renderer_text_new ();
g_object_set (renderer,
"editable", TRUE,
NULL);
g_signal_connect (renderer, "edited",
G_CALLBACK (cell_edited), model);
g_object_set_data (G_OBJECT (renderer), "column", (gint *)COLUMN_PRODUCT);
G_CALLBACK (cell_edited), items_model);
g_object_set_data (G_OBJECT (renderer), "column", GINT_TO_POINTER (COLUMN_ITEM_PRODUCT));
gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW (treeview),
-1, "Product", renderer,
"text", COLUMN_PRODUCT,
"editable", COLUMN_EDITABLE,
NULL);
-1, "Product", renderer,
"text", COLUMN_ITEM_PRODUCT,
NULL);
/* yummy column */
renderer = gtk_cell_renderer_progress_new ();
g_object_set_data (G_OBJECT (renderer), "column", GINT_TO_POINTER (COLUMN_ITEM_YUMMY));
gtk_tree_view_insert_column_with_attributes (GTK_TREE_VIEW (treeview),
-1, "Yummy", renderer,
"value", COLUMN_ITEM_YUMMY,
NULL);
}
GtkWidget *
@@ -232,43 +317,47 @@ do_editable_cells (GtkWidget *do_widget)
GtkWidget *sw;
GtkWidget *treeview;
GtkWidget *button;
GtkTreeModel *model;
GtkTreeModel *items_model;
GtkTreeModel *numbers_model;
/* create window, etc */
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_screen (GTK_WINDOW (window),
gtk_widget_get_screen (do_widget));
gtk_widget_get_screen (do_widget));
gtk_window_set_title (GTK_WINDOW (window), "Shopping list");
gtk_container_set_border_width (GTK_CONTAINER (window), 5);
g_signal_connect (window, "destroy",
G_CALLBACK (gtk_widget_destroyed), &window);
G_CALLBACK (gtk_widget_destroyed), &window);
vbox = gtk_vbox_new (FALSE, 5);
gtk_container_add (GTK_CONTAINER (window), vbox);
gtk_box_pack_start (GTK_BOX (vbox),
gtk_label_new ("Shopping list (you can edit the cells!)"),
FALSE, FALSE, 0);
gtk_label_new ("Shopping list (you can edit the cells!)"),
FALSE, FALSE, 0);
sw = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (sw),
GTK_SHADOW_ETCHED_IN);
GTK_SHADOW_ETCHED_IN);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw),
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC);
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC);
gtk_box_pack_start (GTK_BOX (vbox), sw, TRUE, TRUE, 0);
/* create model */
model = create_model ();
/* create models */
items_model = create_items_model ();
numbers_model = create_numbers_model ();
/* create tree view */
treeview = gtk_tree_view_new_with_model (model);
g_object_unref (model);
treeview = gtk_tree_view_new_with_model (items_model);
gtk_tree_view_set_rules_hint (GTK_TREE_VIEW (treeview), TRUE);
gtk_tree_selection_set_mode (gtk_tree_view_get_selection (GTK_TREE_VIEW (treeview)),
GTK_SELECTION_SINGLE);
GTK_SELECTION_SINGLE);
add_columns (GTK_TREE_VIEW (treeview));
add_columns (GTK_TREE_VIEW (treeview), items_model, numbers_model);
g_object_unref (numbers_model);
g_object_unref (items_model);
gtk_container_add (GTK_CONTAINER (sw), treeview);
@@ -278,12 +367,12 @@ do_editable_cells (GtkWidget *do_widget)
button = gtk_button_new_with_label ("Add item");
g_signal_connect (button, "clicked",
G_CALLBACK (add_item), model);
G_CALLBACK (add_item), items_model);
gtk_box_pack_start (GTK_BOX (hbox), button, TRUE, TRUE, 0);
button = gtk_button_new_with_label ("Remove item");
g_signal_connect (button, "clicked",
G_CALLBACK (remove_item), treeview);
G_CALLBACK (remove_item), treeview);
gtk_box_pack_start (GTK_BOX (hbox), button, TRUE, TRUE, 0);
gtk_window_set_default_size (GTK_WINDOW (window), 320, 200);

73
demos/gtk-demo/pickers.c Normal file
View File

@@ -0,0 +1,73 @@
/* Pickers
*
* These widgets are mainly intended for use in preference dialogs.
* They allow to select colors, fonts, files and directories.
*/
#include <gtk/gtk.h>
GtkWidget *
do_pickers (GtkWidget *do_widget)
{
static GtkWidget *window = NULL;
GtkWidget *table, *label, *picker;
if (!window)
{
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_screen (GTK_WINDOW (window),
gtk_widget_get_screen (do_widget));
gtk_window_set_title (GTK_WINDOW (window), "Pickers");
g_signal_connect (window, "destroy",
G_CALLBACK (gtk_widget_destroyed),
&window);
gtk_container_set_border_width (GTK_CONTAINER (window), 10);
table = gtk_table_new (4, 2, FALSE);
gtk_table_set_col_spacing (GTK_TABLE (table), 0, 10);
gtk_table_set_row_spacings (GTK_TABLE (table), 3);
gtk_container_add (GTK_CONTAINER (window), table);
gtk_container_set_border_width (GTK_CONTAINER (table), 10);
label = gtk_label_new ("Color:");
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
picker = gtk_color_button_new ();
gtk_table_attach_defaults (GTK_TABLE (table), label, 0, 1, 0, 1);
gtk_table_attach_defaults (GTK_TABLE (table), picker, 1, 2, 0, 1);
label = gtk_label_new ("Font:");
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
picker = gtk_font_button_new ();
gtk_table_attach_defaults (GTK_TABLE (table), label, 0, 1, 1, 2);
gtk_table_attach_defaults (GTK_TABLE (table), picker, 1, 2, 1, 2);
label = gtk_label_new ("File:");
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
picker = gtk_file_chooser_button_new ("Pick a File",
GTK_FILE_CHOOSER_ACTION_OPEN);
gtk_table_attach_defaults (GTK_TABLE (table), label, 0, 1, 2, 3);
gtk_table_attach_defaults (GTK_TABLE (table), picker, 1, 2, 2, 3);
label = gtk_label_new ("Folder:");
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
picker = gtk_file_chooser_button_new ("Pick a Folder",
GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER);
gtk_table_attach_defaults (GTK_TABLE (table), label, 0, 1, 3, 4);
gtk_table_attach_defaults (GTK_TABLE (table), picker, 1, 2, 3, 4);
}
if (!GTK_WIDGET_VISIBLE (window))
{
gtk_widget_show_all (window);
}
else
{
gtk_widget_destroy (window);
window = NULL;
}
return window;
}

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

@@ -525,7 +525,7 @@ main (int argc, char **argv)
gtk_init (&argc, &argv);
// gdk_rgb_set_verbose (TRUE);
/* gdk_rgb_set_verbose (TRUE); */
gtk_widget_set_default_colormap (gdk_rgb_get_colormap ());

View File

@@ -1,3 +1,123 @@
2005-08-18 Matthias Clasen <mclasen@redhat.com>
* === Released 2.6.10 ===
2005-08-01 Matthias Clasen <mclasen@redhat.com>
* === Released 2.6.9 ===
2005-07-05 Matthias Clasen <mclasen@redhat.com>
* gtk/images/file-button.png: Update the image
2005-06-15 Matthias Clasen <mclasen@redhat.com>
* === Released 2.6.8 ===
2005-05-20 Matthias Clasen <mclasen@redhat.com>
* gtk/migrating-GtkAction.sgml: Fix an example. (#304808,
Ghorban M. Tavakoly)
2005-05-08 Matthias Clasen <mclasen@redhat.com>
* gdk/tmpl/visuals.sgml: Fix a typo (#303473, Masao Mutoh)
2005-05-07 Matthias Clasen <mclasen@redhat.com>
* gdk/tmpl/pango_interaction.sgml: Fix a reference.
(#303403, Masao Mutoh)
2005-04-29 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkuimanager.sgml: Refer to the correct
property. (#301115, Richard Hult)
2005-04-12 Matthias Clasen <mclasen@redhat.com>
* === Releases 2.6.7 ====
2005-04-10 Matthias Clasen <mclasen@redhat.com>
* === Released 2.6.6 ===
2005-04-09 Matthias Clasen <mclasen@redhat.com>
* === Released 2.6.5 ===
2005-04-07 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkbbox.sgml: Document that GtkButtonBox ignores
the homogeneous property. (#171412, Morten Welinder)
* gtk/tmpl/gtkenums.sgml: Make the docs of GKT_SELECTION_MULTIPLE
more accurate by making them more vague. (#167088,
Ken Siersma)
* gtk/tmpl/gtkradiobutton.sgml: Add a sentence about
toggling. (#159382, Worik Stanton)
2005-04-05 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtktooltips.sgml: Mention enter and leave
events. (#167546, Billy Biggs)
2005-04-01 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkselection.sgml: Move docs inline.
2005-03-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Add gtk_button_[sg]et_image.
2005-03-01 Matthias Clasen <mclasen@redhat.com>
* === Released 2.6.4 ===
2005-02-28 Matthias Clasen <mclasen@redhat.com>
* === Released 2.6.3 ===
2005-02-27 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtktreeselection.sgml:
* gtk/tmpl/gtktreeview.sgml:
* gtk/tmpl/gtktreeviewcolumn.sgml: Fix typos
in see also lists. (# 168698, Torsten Schoenfeld)
* gtk/tmpl/gtktreemodel.sgml: Fix stack vs heap
confusion. (#168690, Torsten Schoenfeld)
2005-02-15 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkcalendar.sgml: Some additions.
2005-02-04 Matthias Clasen <mclasen@redhat.com>
* === Released 2.6.2 ===
2005-02-02 Matthias Clasen <mclasen@redhat.com>
* gdk/tmpl/event_structs.sgml:
* gdk/tmpl/events.sgml: Mark GdkEventOwnerChange and
GdkOwnerChange as 2.6 additions. (#165823, Masao Mutoh)
2005-02-01 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-update-icon-cache.xml:
* gtk/gtk-update-icon-cache.1: Document the --quiet option.
2005-01-25 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtksocket.sgml:
* gtk/tmpl/gtkplug.sgml: Add note on limited
availability. (#164347, Roger Light)
2005-01-15 Matthias Clasen <mclasen@redhat.com>
* gtk/building.sgml: Some updates. (#164147, #164108,
Karel Kulhavy)
2005-01-08 Matthias Clasen <mclasen@redhat.com>
* === Released 2.6.1 ===

View File

@@ -20,6 +20,9 @@ Animated images.
#GdkPixbufLoader
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GdkPixbufAnimation ##### -->
<para>
This object describes an animation.

View File

@@ -43,6 +43,9 @@ Creating a pixbuf from image data that is already in memory.
gdk_pixbuf_finalize().
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### FUNCTION gdk_pixbuf_new ##### -->
<para>

View File

@@ -25,6 +25,9 @@ Loading a pixbuf from a file.
#GdkPixbufLoader.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### FUNCTION gdk_pixbuf_new_from_file ##### -->
<para>

View File

@@ -14,6 +14,9 @@ Saving a pixbuf to a file.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### FUNCTION gdk_pixbuf_savev ##### -->
<para>

View File

@@ -69,6 +69,9 @@ Application-driven progressive image loading.
gdk_pixbuf_new_from_file(), gdk_pixbuf_animation_new_from_file()
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GdkPixbufLoader ##### -->
<para>
The <structname>GdkPixbufLoader</structname> struct contains only private

View File

@@ -22,6 +22,10 @@ Getting parts of a drawable's image data into a pixbuf.
Drawables to Pixbufs
<!-- ##### SECTION ./tmpl/gdk-pixbuf-unused.sgml:Stability_Level ##### -->
<!-- ##### SECTION ./tmpl/gnome-canvas-pixbuf.sgml:Long_Description ##### -->
<para>
This canvas item displays #GdkPixbuf images. It handles full

View File

@@ -23,6 +23,9 @@ Getting parts of an X drawable's image data into a pixbuf.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### FUNCTION gdk_pixbuf_xlib_get_from_drawable ##### -->
<para>

View File

@@ -20,6 +20,9 @@ Initializing the &gdk-pixbuf; Xlib library.
XlibRGB
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### FUNCTION gdk_pixbuf_xlib_init ##### -->
<para>

View File

@@ -21,6 +21,9 @@ Rendering a pixbuf to an X drawable.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### FUNCTION gdk_pixbuf_xlib_render_threshold_alpha ##### -->
<para>

View File

@@ -17,6 +17,9 @@ Rendering RGB buffers to X drawables.
GdkRGB
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT XlibRgbCmap ##### -->
<para>
FIXME: Describe this.

View File

@@ -90,6 +90,9 @@ put_pixel (GdkPixbuf *pixbuf, int x, int y, guchar red, guchar green, guchar blu
<para>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### ENUM GdkPixbufError ##### -->
<para>
An error code in the #GDK_PIXBUF_ERROR domain. Many &gdk-pixbuf;

View File

@@ -16,6 +16,9 @@ you're linking against.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### VARIABLE gdk_pixbuf_version ##### -->
<para>
Contains the full version of the &gdk-pixbuf; library as a string.

View File

@@ -14,6 +14,9 @@ Functions for inlined pixbuf handling.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GdkPixdata ##### -->
<para>

View File

@@ -65,6 +65,9 @@ They are not covered by the same stability guarantees as the regular
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### FUNCTION gdk_pixbuf_set_option ##### -->
<para>

View File

@@ -45,6 +45,9 @@ Functions for reference counting and memory management on pixbufs.
#GdkPixbuf, gdk_pixbuf_new_from_data().
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### FUNCTION gdk_pixbuf_ref ##### -->
<para>

View File

@@ -71,6 +71,9 @@ expose_cb (GtkWidget *widget, GdkEventExpose *event, gpointer data)
<link linkend="gdk-GdkRGB">GdkRGB</link>.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### ENUM GdkInterpType ##### -->
<para>
This enumeration describes the different interpolation modes that

View File

@@ -17,6 +17,9 @@ Utility and miscellaneous convenience functions.
#GdkPixbuf
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### FUNCTION gdk_pixbuf_add_alpha ##### -->
<para>

View File

@@ -43,6 +43,9 @@ gdk_color_change() will probably become aliases.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GdkColor ##### -->
<para>
The #GdkColor structure is used to describe an

View File

@@ -14,6 +14,9 @@ Standard and pixmap cursors
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GdkCursor ##### -->
<para>
A <type>GdkCursor</type> structure represents a cursor.

View File

@@ -22,6 +22,9 @@ the GTK+ documentation for more information.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### FUNCTION gdk_drag_get_selection ##### -->
<para>
</para>

View File

@@ -31,6 +31,9 @@ gtk_widget_create_pango_layout().
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GdkDrawable ##### -->
<para>
An opaque structure representing an object that can be

View File

@@ -20,6 +20,9 @@ required events are received. See gtk_widget_set_events().
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### UNION GdkEvent ##### -->
<para>
The #GdkEvent struct contains a union of all of the event structs,
@@ -419,6 +422,7 @@ only available if the X server supports the XFIXES extension.
@selection: the atom identifying the selection
@time: the timestamp of the event
@selection_time: the time at which the selection ownership was taken over
@Since: 2.6
<!-- ##### ENUM GdkScrollDirection ##### -->
<para>

View File

@@ -27,6 +27,9 @@ The structs used for each type of event.
</variablelist>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### ENUM GdkEventType ##### -->
<para>
Specifies the type of the event.
@@ -84,7 +87,8 @@ when parts of a drawable were copied. This is not very useful.
@GDK_SCROLL:
@GDK_WINDOW_STATE:
@GDK_SETTING:
@GDK_OWNER_CHANGE:
@GDK_OWNER_CHANGE: the owner of a selection has changed. This event type
was added in 2.6
<!-- ##### ENUM GdkEventMask ##### -->
<para>

View File

@@ -261,6 +261,9 @@ here).
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GdkFont ##### -->
<para>
The <structname>GdkFont</structname> structure represents a font or fontset. It

View File

@@ -30,6 +30,9 @@ be set by the latter method.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GdkGC ##### -->
<para>
The #GdkGC structure represents a graphics context.

View File

@@ -23,6 +23,10 @@ routines for allocating colors (deprecated).
Color Contexts
<!-- ##### SECTION ./tmpl/gdk-unused.sgml:Stability_Level ##### -->
<!-- ##### SECTION ./tmpl/input_contexts.sgml:Long_Description ##### -->
<para>
A #GdkIC input context is used for each user interface element which supports

View File

@@ -28,6 +28,9 @@ Controls the keyboard/mouse pointer grabs and a set of <type>GdkScreen</type>s
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GdkDisplay ##### -->
<para>
The <structname>GdkDisplay</structname> struct is the GDK representation

View File

@@ -16,6 +16,9 @@ changes.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GdkDisplayManager ##### -->
<para>
The <structname>GdkDisplayManager</structname> struct has no interesting

View File

@@ -22,6 +22,9 @@ form a large screen area.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GdkScreen ##### -->
<para>
This is a currently just a placeholder typedef for the first argument of

View File

@@ -15,6 +15,9 @@ utility functions.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### FUNCTION gdk_init ##### -->
<para>
Initializes the GDK library and connects to the X server.

View File

@@ -55,6 +55,9 @@ displays.
</variablelist>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GdkImage ##### -->
<para>
The #GdkImage struct contains information on the image and the pixel data.

View File

@@ -31,6 +31,9 @@ callbacks.</para></listitem>
</variablelist>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### FUNCTION gdk_input_add_full ##### -->
<para>
Establish a callback when a condition becomes true on

View File

@@ -89,6 +89,9 @@ and <structfield>ytilt</structfield>.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GdkDevice ##### -->
<para>
A <structname>GdkDevice</structname> structure contains

View File

@@ -80,6 +80,9 @@ gdk_keymap_translate_keyboard_state() just to get the keyval.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GdkKeymap ##### -->
<para>
A <structname>GdkKeymap</structname> defines the translation from keyboard state

View File

@@ -14,7 +14,7 @@ stippling and embossing.
<para>
Creating a #PangoLayout object is the first step in rendering text,
and requires getting a handle to a #PangoContext. For GTK+ programs,
you'll usually want to use gtk_widget_get_context(), or
you'll usually want to use gtk_widget_get_pango_context(), or
gtk_widget_create_pango_layout(), rather than using the lowlevel
gdk_pango_context_get_for_screen(). Once you have a #PangoLayout, you
can set the text and attributes of it with Pango functions like
@@ -129,6 +129,9 @@ g_object_unref (gc);
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GdkPangoRenderer ##### -->
<para>

View File

@@ -14,6 +14,9 @@ Functions for rendering pixbufs on drawables
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### FUNCTION gdk_pixbuf_render_threshold_alpha ##### -->
<para>

View File

@@ -18,6 +18,9 @@ pixel can be either on or off).
<para>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GdkPixmap ##### -->
<para>
An opaque structure representing an offscreen drawable.

View File

@@ -42,6 +42,9 @@ data commonly stored in X window properties.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GdkAtom ##### -->
<para>
An opaque type representing a string as an index into a table
@@ -252,15 +255,14 @@ and %GDK_NONE will be stored in @actual_property_type.
</para>
<note>
<para>
The <function>XGetWindowProperty()</function>
function that gdk_property_get()
uses has a very confusing and complicated set of semantics.
The XGetWindowProperty() function that gdk_property_get()
uses has a very confusing and complicated set of semantics.
Unfortunately, gdk_property_get() makes the situation
worse instead of better (the semantics should be considered
undefined), and also prints warnings to stderr in cases where it
should return a useful error to the program. You are advised to use
<function>XGetWindowProperty()</function>
directly until a replacement function for gdk_property_get()
XGetWindowProperty() directly until a replacement function for
gdk_property_get()
is provided.
</para>
</note>
@@ -273,18 +275,24 @@ is provided.
be filled in, a warning will be printed to stderr
and no data will be returned.
@offset: the offset into the property at which to begin
retrieving data. (in 4 byte units!)
@length: the length of the data to delete. (in bytes, but
the actual retrieved length will be the next
integer multiple multiple of four greater than
this!)
retrieving data, in 4 byte units.
@length: the length of the data to retrieve in bytes. Data is
considered to be retrieved in 4 byte chunks, so @length
will be rounded up to the next highest 4 byte boundary
(so be careful not to pass a value that might overflow
when rounded up).
@pdelete: if %TRUE, delete the property after retrieving the
data.
@actual_property_type: location to store the actual type of
the property.
@actual_format: location to store the actual format of the data.
@actual_length: location to store the length of the retrieved
data, in bytes.
@actual_format: location to store the actual return format of the
data; either 8, 16 or 32 bits.
@actual_length: location to store the length of the retrieved data, in
bytes. Data returned in the 32 bit format is stored
in a long variable, so the actual number of 32 bit
elements should be be calculated via
@actual_length/sizeof(glong) to ensure portability to
64 bit systems.
@data: location to store a pointer to the data. The retrieved
data should be freed with g_free() when you are finished
using it.

View File

@@ -33,6 +33,9 @@ It can be intersected to regions by using gdk_region_spans_intersect_foreach().
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GdkPoint ##### -->
<para>
Defines the x and y coordinates of a point.

View File

@@ -115,6 +115,9 @@ colors.</para></listitem>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### FUNCTION gdk_rgb_init ##### -->
<para>
This function no longer does anything at all. It's completely useless

View File

@@ -47,6 +47,9 @@ to the X Inter-client Communication Conventions Manual
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### TYPEDEF GdkSelection ##### -->
<para>
The #GdkSelection enumeration contains predefined

View File

@@ -241,6 +241,9 @@ int main (int argc, char *argv[])
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### MACRO GDK_THREADS_ENTER ##### -->
<para>
This macro marks the beginning of a critical section in which GDK and GTK+

View File

@@ -51,6 +51,9 @@ then %GDK_VISUAL_STATIC_GRAY.
#GdkImage, #GdkColormap, #GdkRGB
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GdkVisual ##### -->
<para>
The <type>GdkVisual</type> structure contains information about
@@ -129,7 +132,7 @@ values for display.
<structfield>blue_mask</structfield> fields of the #GdkVisual
structure describe how the components are assembled into a pixel value.
@GDK_VISUAL_DIRECT_COLOR: Each pixel value contains red, green, and blue
components as for %GDK_TRUE_COLOR, but the components are mapped via a
components as for %GDK_VISUAL_TRUE_COLOR, but the components are mapped via a
color table into the final output table instead of being converted directly.
<!-- ##### ENUM GdkByteOrder ##### -->

View File

@@ -18,6 +18,9 @@ For example, each #GtkButton has a #GdkWindow associated with it.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GdkWindow ##### -->
<para>
An opaque structure representing an onscreen drawable.

View File

@@ -14,6 +14,9 @@ X backend-specific functions
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### MACRO GDK_ROOT_WINDOW ##### -->
<para>
Obtains the Xlib window id of the root window of the current screen.

View File

@@ -98,8 +98,8 @@ How to compile GTK+ itself
a search path that <command>pkg-config</command> (see below)
uses when looking for for file describing how to compile
programs using different libraries. If you were installing GTK+
and it's dependencies into <filename>/opt/gtk</filename>, you might want to set
these variables as:
and it's dependencies into <filename>/opt/gtk</filename>, you
might want to set these variables as:
</para>
<programlisting>
CPPFLAGS="-I/opt/gtk/include"
@@ -137,12 +137,12 @@ How to compile GTK+ itself
url="http://www.freedesktop.org/software/pkgconfig">pkg-config</ulink>
is a tool for tracking the compilation flags needed for
libraries that are used by the GTK+ libraries. (For each
library, a small <literal>.pc</literal> text file is installed in a standard
location that contains the compilation flags needed for that
library along with version number information.) The version
of <command>pkg-config</command> needed to build GTK+ is
mirrored in the <filename>dependencies</filename> directory
on the <ulink url="ftp://ftp.gtk.org/pub/gtk/v2.2/">GTK+ FTP
library, a small <literal>.pc</literal> text file is installed
in a standard location that contains the compilation flags
needed for that library along with version number information.)
The version of <command>pkg-config</command> needed to build
GTK+ is mirrored in the <filename>dependencies</filename> directory
on the <ulink url="ftp://ftp.gtk.org/pub/gtk/v2.6/">GTK+ FTP
site.</ulink>
</para>
</listitem>
@@ -169,7 +169,7 @@ How to compile GTK+ itself
The GLib library provides core non-graphical functionality
such as high level data types, Unicode manipulation, and
an object and type system to C programs. It is available
from the <ulink url="ftp://ftp.gtk.org/pub/gtk/v2.2/">GTK+
from the <ulink url="ftp://ftp.gtk.org/pub/gtk/v2.6/">GTK+
FTP site.</ulink>
</para>
</listitem>
@@ -177,9 +177,8 @@ How to compile GTK+ itself
<para>
<ulink url="http://www.pango.org">Pango</ulink> is a library
for internationalized text handling. It is available from
the <ulink url="ftp://ftp.gtk.org/pub/gtk/v2.2/">GTK+ FTP
site.</ulink>. Either Pango-1.0 or Pango-1.2 can be used
with GTK+-2.2, though Pango-1.2 is recommended.
the <ulink url="ftp://ftp.gtk.org/pub/gtk/v2.6/">GTK+ FTP
site.</ulink>. GTK+ 2.6 requires Pango 1.8.
</para>
</listitem>
<listitem>
@@ -188,7 +187,7 @@ How to compile GTK+ itself
interfaces allowing accessibility technologies such as
screen readers to interact with a graphical user interface.
It is available from the <ulink
url="ftp://ftp.gtk.org/pub/gtk/v2.2/">GTK+ FTP site.</ulink>
url="ftp://ftp.gtk.org/pub/gtk/v2.6/">GTK+ FTP site.</ulink>
</para>
</listitem>
<listitem>
@@ -215,11 +214,12 @@ How to compile GTK+ itself
The <ulink
url="ftp://ftp.uu.net/graphics/jpeg/">JPEG</ulink>,
<ulink url="http://www.libpng.org">PNG</ulink>, and
<ulink url="http://www.libtiff.org">TIFF</ulink> image loading libraries are needed to
compile GTK+. You probably already have these libraries
installed, but if not, the versions you need are available in
the <filename>dependencies</filename> directory on the the
<ulink url="ftp://ftp.gtk.org/pub/gtk/v2.2/dependencies/">GTK+
<ulink url="http://www.libtiff.org">TIFF</ulink> image
loading libraries are needed to compile GTK+. You probably
already have these libraries installed, but if not, the
versions you need are available in the
<filename>dependencies</filename> directory on the the
<ulink url="ftp://ftp.gtk.org/pub/gtk/v2.6/dependencies/">GTK+
FTP site.</ulink>. (Before installing these libraries
from source, you should check if your operating system
vendor has prebuilt packages of these libraries that you
@@ -239,13 +239,14 @@ How to compile GTK+ itself
<para>
The <ulink url="http://www.fontconfig.org">fontconfig</ulink>
library provides Pango with a standard way of locating
fonts and matching them against font names. The Xft2
fonts and matching them against font names. The
<ulink url="http://www.freedesktop.org/wiki/Software/Xft">Xft2</ulink>
library, distributed with fontconfig, provides support for
scalable and antialiased fonts on X. Pango includes two
backends that work on top of fontconfig: an Xft2 backend
and a backend that uses fontconfig and the underlying
<ulink url="http://www.freetype.org">FreeType
library</ulink> directly. Neither backend is mandatory, but the
<ulink url="http://www.freetype.org">FreeType</ulink>
library directly. Neither backend is mandatory, but the
Xft2 backend is the preferred backend for X and the FreeType
backend is needed by many applications.
</para>

View File

@@ -22,7 +22,8 @@ find the GTK+ header files and libraries. This is done with the
</para>
<para>
The following interactive shell session demonstrates how
<literal>pkg-config</literal> is used:
<literal>pkg-config</literal> is used (the actual output on your
system may be different):
<programlisting>
$ pkg-config --cflags gtk+-2.0
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/atk-1.0

View File

@@ -408,6 +408,8 @@ gtk_button_set_focus_on_click
gtk_button_get_focus_on_click
gtk_button_set_alignment
gtk_button_get_alignment
gtk_button_set_image
gtk_button_get_image
<SUBSECTION Standard>
GTK_BUTTON

View File

@@ -24,7 +24,7 @@ gtk-update-icon-cache \- Icon theme caching utility
.ad l
.hy 0
.HP 22
\fBgtk\-update\-icon\-cache\fR [\-\-force] {iconpath}
\fBgtk\-update\-icon\-cache\fR [\-\-force] [\-\-quiet] {iconpath}
.ad
.hy
@@ -39,8 +39,15 @@ If expects to be given the path to a icon theme directory, e\&.g\&. \fI/usr/shar
.PP
GTK+ can use the cache files created by \fBgtk\-update\-icon\-cache\fR to avoid a lot of system call and disk seek overhead when the application starts\&. Since the format of the cache files allows them to be mmap()ed shared between multiple applications, the overall memory consumption is reduced as well\&.
.PP
If called with the \-\-force argument, \fBgtk\-update\-icon\-cache\fR will overwrite an existing cache file even if it appears to be uptodate\&.
.SH "OPTIONS"
.TP
\-\-force, \-f,
Overwrite an existing cache file even if it appears to be uptodate\&.
.TP
\-\-quiet, \-q,
Turn off verbose output\&.
.SH "BUGS"

View File

@@ -14,6 +14,7 @@
<cmdsynopsis>
<command>gtk-update-icon-cache</command>
<arg choice="opt">--force</arg>
<arg choice="opt">--quiet</arg>
<arg choice="req">iconpath</arg>
</cmdsynopsis>
</refsynopsisdiv>
@@ -35,11 +36,23 @@ to avoid a lot of system call and disk seek overhead when the application starts
Since the format of the cache files allows them to be mmap()ed shared between
multiple applications, the overall memory consumption is reduced as well.
</para>
<para>
If called with the --force argument,
<command>gtk-update-icon-cache</command> will overwrite an existing cache
file even if it appears to be uptodate.
</para>
</refsect1>
<refsect1><title>Options</title>
<variablelist>
<varlistentry>
<term>--force</term>
<term>-f</term>
<listitem><para>Overwrite an existing cache file even if it appears to be uptodate.
</para></listitem>
</varlistentry>
<varlistentry>
<term>--quiet</term>
<term>-q</term>
<listitem><para>Turn off verbose output.
</para></listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1><title>Bugs</title>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

View File

@@ -286,7 +286,7 @@ static GtkActionEntry entries[] = {
{ "FileMenu", NULL, "_File" },
{ "ViewMenu", NULL, "_View" },
{ "Open", GTK_STOCK_OPEN, "_Open", "&lt;control&gt;O", "Open a file", open_action_callback },
{ "Exit", GTK_STOCK_OPEN, "E_xit", "&lt;control&gt;Q", "Exit the program", exit_action_callback },
{ "Exit", GTK_STOCK_QUIT, "E_xit", "&lt;control&gt;Q", "Exit the program", exit_action_callback },
{ "ZoomIn", GTK_STOCK_ZOOM_IN, "Zoom _In", "plus", "Zoom into the image", zoom_in_action_callback },
{ "ZoomOut", GTK_STOCK_ZOOM_OUT, "Zoom _Out", "minus", "Zoom away from the image", zoom_out_action_callback },
};

View File

@@ -1,3 +1,7 @@
<!-- ##### SECTION ./tmpl/gtk-unused.sgml:Stability_Level ##### -->
<!-- ##### SECTION ./tmpl/gtkarg.sgml:Long_Description ##### -->
<para>
All the functions in here are marked a Non-public.

View File

@@ -34,6 +34,9 @@ and keeps it around so that it can be shown again.
#GTK_STOCK_ABOUT
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkAboutDialog ##### -->
<para>
The <structname>GtkAboutDialog</structname> struct contains

View File

@@ -31,6 +31,9 @@ gtk_window_add_accel_group(), gtk_accel_map_change_entry(),
gtk_item_factory_new(), gtk_label_new_with_mnemonic()
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkAccelGroup ##### -->
<para>
An object representing and maintaining a group of accelerators.

View File

@@ -78,6 +78,9 @@ though it is almost always used to display just one accelerator key.
</variablelist>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkAccelLabel ##### -->
<para>
The #GtkAccelLabel-struct struct contains private data only, and

View File

@@ -14,6 +14,9 @@ Loadable keyboard accelerator specifications
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkAccelMap ##### -->
<para>

View File

@@ -14,6 +14,9 @@ Accessibility support for widgets
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkAccessible ##### -->
<para>

View File

@@ -48,6 +48,9 @@ activate its action.
#GtkActionGroup, #GtkUIManager
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkAction ##### -->
<para>
The <structname>GtkAction</structname> struct contains only private members

View File

@@ -33,6 +33,9 @@ sure that the correct shortcut is displayed next to the menu item.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkActionGroup ##### -->
<para>
The <structname>GtkActionGroup</structname> struct contains only private

View File

@@ -28,6 +28,9 @@ after changing the value and its bounds. This results in the emission of the
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkAdjustment ##### -->
<para>
The #GtkAdjustment-struct struct contains the following fields.

View File

@@ -27,6 +27,9 @@ have no effect.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkAlignment ##### -->
<para>
The #GtkAlignment-struct struct contains private data only, and should

View File

@@ -34,6 +34,9 @@ style of an arrow can be changed after creation by using gtk_arrow_set().
</variablelist>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkArrow ##### -->
<para>
The #GtkArrow-struct containes the following fields.

View File

@@ -20,6 +20,9 @@ a frame around the child. The frame will be
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkAspectFrame ##### -->
<para>

View File

@@ -29,7 +29,9 @@ used to spread the buttons in a button box across the container, respectively.
</para>
<para>
The main purpose of GtkButtonBox is to make sure the children have all the same size.
Therefore it ignores the homogeneous property which it inherited from GtkBox, and always
behaves as if homogeneous was %TRUE.
</para>
<!-- ##### SECTION See_Also ##### -->
@@ -46,6 +48,9 @@ used to spread the buttons in a button box across the container, respectively.
</variablelist>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkButtonBox ##### -->
<para>
This is a read-only struct; no members should be modified directly.

View File

@@ -20,6 +20,9 @@ Many GTK+ widgets are subclasses of #GtkBin, including #GtkWindow, #GtkButton,
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkBin ##### -->
<para>
The #GtkBin-struct struct contains the following fields.

View File

@@ -14,6 +14,9 @@ Key bindings for individual widgets
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkBindingSet ##### -->
<para>

View File

@@ -100,6 +100,9 @@ layouts.</para></listitem>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkBox ##### -->
<para>
The #GtkBox-struct describes an instance of GtkBox and contains the following fields.

View File

@@ -21,6 +21,9 @@ the #GtkLabel.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkButton ##### -->
<para>
This should not be accessed directly. Use the accessor functions below.
@@ -332,3 +335,21 @@ Returns the current relief style of the given #GtkButton.
@yalign:
<!-- ##### FUNCTION gtk_button_set_image ##### -->
<para>
</para>
@button:
@image:
<!-- ##### FUNCTION gtk_button_get_image ##### -->
<para>
</para>
@button:
@Returns:

View File

@@ -38,6 +38,9 @@ gtk_calendar_thaw().
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkCalendar ##### -->
<para>
<structfield>num_marked_dates</structfield> is an integer containing the
@@ -255,8 +258,8 @@ Obtains the selected date from a #GtkCalendar.
@calendar: a #GtkCalendar.
@year: location to store the year number.
@month: location to store the month number.
@day: location to store the day number.
@month: location to store the month number (between 0 and 11).
@day: location to store the day number (between 1 and 31).
<!-- ##### FUNCTION gtk_calendar_freeze ##### -->

View File

@@ -15,6 +15,9 @@ to be usable when editing the contents of a #GtkTreeView cell.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkCellEditable ##### -->
<para>

View File

@@ -16,6 +16,9 @@ attributes and data funcs.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkCellLayout ##### -->
<para>

View File

@@ -48,6 +48,9 @@ respectively.
#GtkCellRendererText,#GtkCellRendererPixbuf,#GtkCellRendererToggle
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### ENUM GtkCellRendererState ##### -->
<para>
Tells how a cell is to be rendererd.

View File

@@ -25,6 +25,9 @@ cell renderers can be added in a handler for the editing-started signal.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkCellRendererCombo ##### -->
<para>

View File

@@ -30,6 +30,9 @@ property is set to a pixbuf, it renders that one.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkCellRendererPixbuf ##### -->
<para>

View File

@@ -14,6 +14,9 @@ Renders numbers as progress bars
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkCellRendererProgress ##### -->
<para>

View File

@@ -22,6 +22,9 @@ the #GtkCellRendererText allows to edit its text using an entry.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkCellRendererText ##### -->
<para>

View File

@@ -17,6 +17,9 @@ property. When activated, it emits the toggled signal.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkCellRendererToggle ##### -->
<para>

View File

@@ -17,6 +17,9 @@ and drag and drop.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkCellView ##### -->
<para>

View File

@@ -34,6 +34,9 @@ The important signal ('toggled') is also inherited from #GtkToggleButton.
</variablelist>
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkCheckButton ##### -->
<para>
<structfield>toggle_button</structfield> is a #GtkToggleButton representing the actual toggle button that composes the check button.

View File

@@ -22,6 +22,9 @@ toggles the value.
</para>
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### STRUCT GtkCheckMenuItem ##### -->
<para>
The #GtkCheckMenuItem-struct struct contains the following fields.

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