Compare commits

...

642 Commits

Author SHA1 Message Date
YunQiang Su
c5af00c012 fix an typo in zh_CN translation 2012-08-18 11:27:05 +08:00
krishnababu k
de2d1b507c Corrected string occurrence calendar 2010-08-19 21:07:38 +05:30
Matej Urbančič
2b453d0e97 Added sl for Slovenian translation 2009-11-17 07:54:52 +01:00
Matej Urbančič
e1eb0597d3 Added sl for Slovenian translation 2009-11-17 07:54:24 +01:00
Manoj Kumar Giri
9e6014fedb Upadted Oriya Translation 2009-09-15 18:14:08 +05:30
Hendrik Richter
8bb2a6e45d Updated German translation, fix #575431.
2009-03-15  Hendrik Richter  <hendrikr@gnome.org>

	* de.po: Updated German translation, fix #575431.

svn path=/branches/gtk-2-8/; revision=22549
2009-03-15 18:08:41 +00:00
Gintautas Miliauskas
9c65cc4b18 Updated Lithuanian translation (rinkmena -> failas).
2007-02-22  Gintautas Miliauskas  <gintas@akl.lt>

	* lt.po: Updated Lithuanian translation (rinkmena -> failas).



svn path=/branches/gtk-2-8/; revision=17342
2007-02-22 11:30:14 +00:00
Guntupalli Karunakar
efc61b17b7 Remove junk lines before header
svn path=/branches/gtk-2-8/; revision=17104
2007-01-07 13:07:41 +00:00
Guntupalli Karunakar
9ff0c4df0b Fix translation bug #355778
svn path=/branches/gtk-2-8/; revision=17103
2007-01-07 12:54:01 +00:00
Dom Lachowicz
c329ce11e9 Bug 351678 - Notebooks not with PositionType.Top drawn incorrectly. Patch
2006-12-02  Dom Lachowicz <domlachowicz@gmail.com>

	* src/modules/engines/ms-windows/msw_style.c: Bug 351678 - Notebooks
	not with PositionType.Top drawn incorrectly. Patch by Cody Russell
2006-12-02 16:36:22 +00:00
Dom Lachowicz
55d955e913 Remember to free GDI Pen resources, introduced by bug 340201.(#364514)
2006-10-23  Dom Lachowicz <domlachowicz@gmail.com>

        * modules/engines/ms-windows/msw_style.c (draw_expander): Remember
        to free GDI Pen resources, introduced by bug 340201.(#364514)
2006-10-23 20:30:49 +00:00
Pawan Chitrakar
a8c00d6b7b Updated Nepali Translation 2006-09-21 07:52:45 +00:00
David Lodge
a705fe03fa Updated English (British) translation
2006-09-14  David Lodge <dave@cirt.net>

	* en_GB.po: Updated English (British) translation
2006-09-15 04:30:47 +00:00
Hong Jen Yee
79125cc1c1 signed off by: Dom Lachowicz
2006-09-12 Hong Jen Yee <pcman.tw@gmail.com>

	signed off by: Dom Lachowicz

	* modules/engines/ms-windows/msw_style.c: Bug 340201. This contains
	a large number of improvements to the Microsoft Windows theme engine
	which are fully described in the bug report.
2006-09-12 11:49:09 +00:00
Ilkka Tuohela
9ba685e658 Updated Finnish translation 2006-09-10 08:13:50 +00:00
Christophe Merlet
215060f7fb Updated French translation. 2006-08-28 11:08:19 +00:00
Priit Laes
9a51bf4d4c Translation updated by Ivar Smolin.
2006-08-13  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2006-08-13 20:41:53 +00:00
Inaki Larranaga
0522fd56d5 Fixed some typos.
2006-08-09  Inaki Larranaga  <dooteo@euskalgnu.org>

	* eu.po: Fixed some typos.
2006-08-09 14:36:28 +00:00
Priit Laes
e153007be4 Translation updated by Ivar Smolin.
2006-08-05  Priit Laes  <plaes@cvs.gnome.org>

	* et.po: Translation updated by Ivar Smolin.
2006-08-05 12:39:37 +00:00
Vladimer Sichinava
1e45b5f271 http://bugzilla.gnome.org/show_bug.cgi?id=348792 corrected fo Georgian 2006-07-28 22:53:25 +00:00
Raivis Dejus
d8a918a672 Updated Latvian translation.
2006-07-27  Raivis Dejus  <orvils@gmail.com>

        * lv.po: Updated Latvian translation.
2006-07-27 08:26:33 +00:00
Christophe Merlet
bb7e3123cb Updated French translation. 2006-07-22 17:37:50 +00:00
Christophe Merlet
fa44712e27 Updated French translation. 2006-07-20 23:33:58 +00:00
Raivis Dejus
9f175213aa Updated Latvian translation.
2006-07-17  Raivis Dejus  <orvils@gmail.com>

        * lv.po: Updated Latvian translation.
2006-07-17 09:26:03 +00:00
Matthias Clasen
0b822671f6 Bump version 2006-07-02 17:03:32 +00:00
Matthias Clasen
165766dc29 damn broken pipe 2006-07-02 16:55:11 +00:00
Matthias Clasen
274ffa3350 2.8.20 2006-07-02 16:46:25 +00:00
Matthias Clasen
f17938cc21 Updates 2006-07-02 13:49:37 +00:00
Matthias Clasen
e734e2de47 Don't leak default_sort_data. (#346341, Christian Weiske)
2006-07-02  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktreemodelsort.c (gtk_tree_model_sort_finalize):
        Don't leak default_sort_data.  (#346341, Christian Weiske)
2006-07-02 13:44:23 +00:00
Matthias Clasen
7402a74a70 Update the size of the drawable for the root window when the screen size
* gdk/x11/gdkevents-x11.c (gdk_event_translate): Update the
        size of the drawable for the root window when the screen size
        changes.  (#346102, Sven Herzberg)
2006-06-29 15:17:44 +00:00
Raivis Dejus
87b476a473 Updated Latvian Translation
2006-06-28  Raivis Dejus  <orvils@gmail.com>

        * lv.po: Updated Latvian Translation
2006-06-28 07:56:13 +00:00
Matthias Clasen
9ced3731a1 Avoid a refcounting leak in the python bindings. (#344876, Phil Dumont)
2006-06-26  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkcombobox.c (gtk_cell_view_menu_item_new): Avoid
        a refcounting leak in the python bindings.  (#344876, Phil Dumont)
2006-06-26 10:27:24 +00:00
Nickolay V. Shmyrev
4dc4d89dde Revert broken commit of Russian translation 2006-06-25 11:26:18 +00:00
Leonid Kanter
906a6ad93a Updated Russian translation 2006-06-24 10:50:24 +00:00
Matthias Clasen
bc1f487e43 Require atk 1.9.0 2006-06-19 02:19:27 +00:00
Carlos Garnacho
313eedb507 Fix borderline cases in tab visibility calculation. Fixes #168105
2006-06-15  Carlos Garnacho  <carlosg@gnome.org>

        * gtk/gtknotebook.c (gtk_notebook_pages_allocate):
        (gtk_notebook_calc_tabs): Fix borderline cases in tab
        visibility calculation. Fixes #168105
2006-06-15 18:59:21 +00:00
Matthias Clasen
437556ba44 Bump version 2006-06-12 19:03:33 +00:00
Matthias Clasen
4edaf7e23a 2.8.19 2006-06-12 18:58:58 +00:00
Matthias Clasen
0d65675c62 Updates 2006-06-12 17:36:38 +00:00
Tor Lillqvist
6012c2da10 Convert \n to \r\n also when storing CF_UNICODETEXT (UTF-16) in the
2006-06-11  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkproperty-win32.c (gdk_property_change): Convert \n
	to \r\n also when storing CF_UNICODETEXT (UTF-16) in the
	Clipboard. (#344496)
2006-06-11 19:42:14 +00:00
Tor Lillqvist
86a361760a Add bug reporter name. 2006-06-09 09:19:12 +00:00
Tor Lillqvist
c2afdcb8aa Call ReleaseDC() on DCs acquired with GetDC() (for windows), and
2006-06-09  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkdrawable-win32.c (_gdk_win32_drawable_release_dc):
	Call ReleaseDC() on DCs acquired with GetDC() (for windows), and
	DeleteDC() on DCs acquired with CreateCompatibleDC() (for
	bitmaps). According to MSDN, this is the correct thing to do, even
	if always using DeleteDC() seems to have worked fine in
	practice. (#337491)
2006-06-09 09:15:39 +00:00
Tor Lillqvist
adf163b891 Typo. 2006-06-08 15:02:35 +00:00
Tor Lillqvist
c38805d772 [WM_WINDOWPOSCHANGED] Add note that the code snippet here is mostly
2006-06-08  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkevents-win32.c (gdk_event_translate):
	[WM_WINDOWPOSCHANGED] Add note that the code snippet here is
	mostly identical to the code in handle_configure_event().
	[WM_SIZING] Fix implementation of aspect ratio hints. (#344244)
	The hints are for the geometry of the client area, not of the
	window including decorations. Improve resizing behaviouor in the
	presence of aspect hints, more in line with typical X window
	managers.
2006-06-08 14:45:58 +00:00
Pawan Chitrakar
28c8faedf1 UPdated Nepali Translation 2006-06-06 03:35:54 +00:00
Matthias Clasen
e1f49f62a2 Remove the right XID from the xid table. (#34327, Sampo Savolainen, Tim
2006-06-04  Matthias Clasen  <mclasen@redhat.com>

        * gdk/x11/gdkfont-x11.c (_gdk_font_destroy): Remove the right
        XID from the xid table.  (#34327, Sampo Savolainen, Tim Janik)
2006-06-05 01:19:45 +00:00
Matthias Clasen
720d06b578 forgotten commit 2006-06-05 01:18:37 +00:00
Matthias Clasen
ca3e1c0324 Bump version 2006-05-26 16:47:38 +00:00
Matthias Clasen
0ecdad0803 2.8.18 2006-05-26 16:44:53 +00:00
Kristian Rietveld
348f47b2ce queue a redraw for the full width of the row, not just the width we got
2006-05-26  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_queue_draw_arrow): queue a redraw
	for the full width of the row, not just the width we got allocated.
	(Fixes #333284, reported by Benjamin Berg).
2006-05-26 00:25:12 +00:00
Kristian Rietveld
a220ae37d2 We shouldn't subtract 1 from the depth when calculating the space reserved
2006-05-26  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (gtk_tree_view_get_cell_area): We shouldn't
	subtract 1 from the depth when calculating the space reserved for
	the expanders.  (#342260, Jorg Schuler).
2006-05-26 00:08:52 +00:00
Kristian Rietveld
dc6f913f9c add missing chunk from patch in #316689, (gtk_tree_view_top_row_to_dy):
2006-05-26  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtktreeview.c (validate_visible_area): add missing chunk from
	patch in #316689,
	(gtk_tree_view_top_row_to_dy): set dy to page_size + height in the
	event dy + page_size is about to become bigger than height.
2006-05-26 00:00:12 +00:00
Åsmund Skjæveland
890920b885 Updated Norwegian Nynorsk translation.
2006-05-25  Åsmund Skjæveland  <aasmunds@fys.uio.no>

	* nn.po: Updated Norwegian Nynorsk translation.
2006-05-25 13:35:14 +00:00
Behdad Esfahbod
ef4abea285 Rollback the following changes, to fix it the proper way in Pango:
2006-05-22  Behdad Esfahbod  <behdad@gnome.org>

        Rollback the following changes, to fix it the proper way in Pango:

        * gdk/gdkinternals.h:
        * gdk/gdkscreen.c (gdk_screen_class_init), (gdk_screen_finalize),
        (update_fontmap_resolution), (gdk_screen_set_resolution_libgtkonly):
        Add new function _gdk_screen_get_font_map() and have one fontmap per
        screen, with the correct resolution set on it.

        * gdk/gdkpango.c (gdk_pango_context_get_for_screen): Use
        _gdk_screen_get_font_map() instead of setting resolution on the
        PangoCairoContext.  (#342529)
2006-05-22 17:10:55 +00:00
Behdad Esfahbod
a8bb6ab65b Add new function _gdk_screen_get_font_map() and have one fontmap per
2006-05-21  Behdad Esfahbod  <behdad@gnome.org>

        * gdk/gdkinternals.h:
        * gdk/gdkscreen.c (gdk_screen_class_init), (gdk_screen_finalize),
        (update_fontmap_resolution), (gdk_screen_set_resolution_libgtkonly):
        Add new function _gdk_screen_get_font_map() and have one fontmap per
        screen, with the correct resolution set on it.

        * gdk/gdkpango.c (gdk_pango_context_get_for_screen): Use
        _gdk_screen_get_font_map() instead of setting resolution on the
        PangoCairoContext.  (#342529)
2006-05-22 04:15:42 +00:00
Matthias Clasen
08e382ce00 Avoid warnings if a child is NULL. (#342007, Patrick Monnerat)
2006-05-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkpaned.c (gtk_paned_compute_position): Avoid warnings
	if a child is NULL.  (#342007, Patrick Monnerat)
2006-05-19 20:33:18 +00:00
Matthias Clasen
09bdea1156 Fix a boundary case in scrolling where a tab was not shown. (#168105,
2006-05-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_pages_allocate): Fix a
	boundary case in scrolling where a tab was not shown.  (#168105,
	Hiroyuki Ikezoe, patch by Kouhei Sutou)
2006-05-19 15:50:36 +00:00
Damon Chaplin
ed03a29ba3 use atk_relation_add_target() to add the targets, since it sets up weak
2006-05-19  Damon Chaplin  <damon@gnome.org>

	* gtk/gtkfontsel.c (gtk_font_selection_init): use
	atk_relation_add_target() to add the targets, since it sets up weak
	references to avoid crashes. (#305530)
2006-05-19 14:07:22 +00:00
Matthias Clasen
22863b3e5a broken pipe 2006-05-18 19:25:13 +00:00
Matthias Clasen
8e5f2e7fbd Don't produce a stuck drag if shift is held. (#341734, Sebastien Bacher)
2006-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcalendar.c (gtk_calendar_drag_motion): Don't produce
	a stuck drag if shift is held.  (#341734, Sebastien Bacher)
2006-05-18 19:24:22 +00:00
Matthias Clasen
a0d6f01036 Always set protocol. (#342003, Tommi Komulainen)
2006-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display):
	Always set protocol.  (#342003, Tommi Komulainen)
2006-05-18 18:15:40 +00:00
Matthias Clasen
184937d212 Only unref the pixbuf if the image has the appropriate storage type.
2006-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkimage.c (icon_theme_changed): Only unref the pixbuf
	if the image has the appropriate storage type.  (#342096, Tommi
	Komulainen)
2006-05-18 16:51:37 +00:00
Matthias Clasen
37928c202e Make drops end up at the right spot. (#342072, Yevgen Muntyan)
2006-05-18  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkentry.c (gtk_entry_drag_data_received): Make drops
	end up at the right spot.  (#342072,  Yevgen Muntyan)
2006-05-18 16:44:24 +00:00
Matthias Clasen
410172783e Fix an RTL problem with toggles in expander columns. (#341896, Roozbeh
2006-05-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_button_press): Fix
	an RTL problem with toggles in expander columns.
	(#341896, Roozbeh Pournader)
2006-05-16 02:12:29 +00:00
Benoît Dejean
d19ca84405 Updated French translation.
2006-05-15  Benoît Dejean  <benoit@placenet.org>

	* fr.po: Updated French translation.
2006-05-15 21:14:56 +00:00
Tor Lillqvist
2b72f53e6d Look at both GDK_SCROLL_MASK and GDK_BUTTON_PRESS_MASK. (#139628)
2006-05-09  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkevents-win32.c (doesnt_want_scroll): Look at both
	GDK_SCROLL_MASK and GDK_BUTTON_PRESS_MASK. (#139628)
2006-05-09 15:19:11 +00:00
Hendrik Richter
7c72f54057 Updated German translation.
2006-05-06  Hendrik Richter  <hendrikr@gnome.org>

	* de.po: Updated German translation.
2006-05-06 13:19:38 +00:00
Michael Natterer
8dd1f19dd2 don't use non-existing local variables.
2006-05-03  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_constructor):
	don't use non-existing local variables.
2006-05-03 10:48:59 +00:00
Lorenzo Colitti
aca90ffaa2 Hack to stop the file chooser blocking on network I/O when remote
2006-05-03  Lorenzo Colitti  <lorenzo@colitti.com>

	Hack to stop the file chooser blocking on network I/O when remote
	directories are bookmarked (bug #319532).

	* gtk/gtkfilechooserdefault.c (shortcuts_insert_path): if a bookmark is
	not local, don't attempt to get file info or display a custom icon,
	just display the icon for "/"
	(shortcuts_reload_icons): Likewise.
2006-05-03 09:54:08 +00:00
Priit Laes
5ae32f7fe1 Translation updated.
2006-04-29  Priit Laes  <amd@store20.com>

	* et.po: Translation updated.
2006-04-29 09:33:04 +00:00
Behdad Esfahbod
9928583a72 Change colormap to font map in docs. (#340093)
2006-04-29  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkwidget.c (gtk_widget_create_pango_layout)
        (gtk_widget_get/create_pango_context): Change colormap to font map in
        docs. (#340093)
2006-04-29 06:58:25 +00:00
Behdad Esfahbod
bfe179e048 Fix typo in docs. (#340063)
2006-04-28  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkwidget.c (gtk_widget_create_pango_layout): Fix typo in
        docs. (#340063)
2006-04-28 21:37:55 +00:00
Behdad Esfahbod
0165163d50 Cast to double before dividing by PANGO_SCALE. (#334582)
2006-04-27  Behdad Esfahbod  <behdad@gnome.org>

        * gdk/gdkpango.c (gdk_pango_renderer_draw_glyphs): Cast to double
        before dividing by PANGO_SCALE. (#334582)
2006-04-28 07:05:12 +00:00
Matthias Clasen
d97257c49b Handle the case of being called after the drag is cancelled. (#339224,
2006-04-27  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkdnd.c (gtk_drag_set_icon_window): Handle the case
        of being called after the drag is cancelled.  (#339224,
        Benjamin Otte)
2006-04-27 05:18:18 +00:00
Åsmund Skjæveland
3dfc58236a Updated Norwegian Nynorsk translation.
2006-04-23  Åsmund Skjæveland  <aasmunds@fys.uio.no>

	* nn.po: Updated Norwegian Nynorsk translation.
2006-04-23 14:10:59 +00:00
Chao-Hsiung Liao
c6d2c2f96d Updated Traditional Chinese translation(Hong Kong). Updated Traditional
2006-04-23  Chao-Hsiung Liao  <j_h_liau@yahoo.com.tw>

	* zh_HK.po: Updated Traditional Chinese translation(Hong Kong).
	* zh_TW.po: Updated Traditional Chinese translation(Taiwan).
2006-04-23 08:45:10 +00:00
Murray Cumming
3f80f9a403 _GtkFileChooserButtonPrivate: Added has_title flag so we can remember
2006-04-19  Murray Cumming  <murrayc@murrayc.com>

        * gtk/gtkfilechooserbutton.c: _GtkFileChooserButtonPrivate:
        Added has_title flag so we can remember whether a title has
        been set.
        (gtk_file_chooser_button_constructor): If no title has been
        set then set it to the default title. This means that the
        default title will be used if the dialog was instantiated with
        g_object_new(), without using the gtk_file_chooser_button_new()
        convenience function. This helps language bindings.
        (gtk_file_chooser_button_set_property): Set has_title when
        setting the title.
2006-04-20 08:34:43 +00:00
Vladimer Sichinava
0526104791 Corected some errors 2006-04-20 01:51:37 +00:00
Vladimer Sichinava
e39beec4fa corrected translation error 2006-04-19 13:47:08 +00:00
Tor Lillqvist
4973b57c7e Map VK_NUMPAD[0-9] to GDK_KP_[0-9]. (#337562)
2006-04-19  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkkeys-win32.c (handle_special): Map VK_NUMPAD[0-9]
	to GDK_KP_[0-9]. (#337562)
2006-04-19 09:34:08 +00:00
Priit Laes
2613e591bf Translation updated by Ivar Smolin.
2006-04-19  Priit Laes  <amd@store20.com>

	* et.po: Translation updated by Ivar Smolin.
2006-04-19 06:04:33 +00:00
Vladimer Sichinava
201dec5ee3 Updated Georgian Translation 18/04/06 2006-04-18 03:46:59 +00:00
Matthias Clasen
995e010dbe fix another coverity bug 2006-04-16 05:05:03 +00:00
Matthias Clasen
97327de395 fix another coverity bug 2006-04-16 05:00:48 +00:00
Matthias Clasen
8cf275b92e Avoid a NULL dereference. (Coverity)
2006-04-16  Matthias Clasen <mclasen@redhat.com>

        * gtk/gtktextbuffer.c (_gtk_text_buffer_remove_all_tags):
        Avoid a NULL dereference.  (Coverity)
2006-04-16 04:47:20 +00:00
Francisco Javier F. Serrador
85ed3284b5 Updated Spanish translation.
2006-04-14  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* es.po: Updated Spanish translation.
2006-04-14 18:50:56 +00:00
Yair Hershkovitz
7c9b6d7d1b Updated Hebrew translation 2006-04-13 17:12:23 +00:00
Matthias Clasen
e2f29cb987 Reorganize slightly to avoid a possible NULL pointer dereference.
2006-04-13  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_header_focus): Reorganize slightly
	to avoid a possible NULL pointer dereference.  (Coverity)
2006-04-13 04:33:04 +00:00
Matthias Clasen
1a8f5c8cad Don't allow passing NULL for x1 or x2, adjust callers.
2006-04-12  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_get_arrow_xrange): Don't
	allow passing NULL for x1 or x2, adjust callers.
2006-04-13 03:56:10 +00:00
Matthias Clasen
5c41cfbab0 Reorganize to avoid a possible NULL pointer dereference. (Coverity)
2006-04-12  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_get_neighbor_sizes):
	Reorganize to avoid a possible NULL pointer dereference.  (Coverity)
2006-04-13 03:22:56 +00:00
Matthias Clasen
e258b587e1 Add a missing semicolon 2006-04-13 02:32:11 +00:00
Matthias Clasen
8561c5fe6b Fix another Coverity bug 2006-04-12 21:20:03 +00:00
Matthias Clasen
b898f3379a Handle closed displays correctly. (Coverity)
2006-04-12  Matthias Clasen  <mclasen@redhat.com>

        * gdk/x11/gdkimage-x11.c (gdk_image_new_bitmap): Handle
        closed displays correctly.  (Coverity)
2006-04-12 20:51:19 +00:00
Matthias Clasen
eb675a98a0 modules/engines/pixbuf/Makefile.am Build fixes for Cygwin. (#338262)
2006-04-12  Matthias Clasen  <mclasen@redhat.com>

        * contrib/gdk-pixbuf-xlib/Makefile.am:
        * modules/engines/pixbuf/Makefile.am
        * gdk-pixbuf/Makefile.am: Build fixes for Cygwin.  (#338262)
2006-04-12 19:46:26 +00:00
Matthias Clasen
f9d4a3b061 Make this work for list == NULL. (Coverity)
2006-04-12  Matthias Clasen  <mclasen@redhat.com>

	* gdk/x11/gdkselection-x11.c (make_list): Make this work
	for list == NULL.  (Coverity)
2006-04-12 18:39:47 +00:00
Matthias Clasen
d3c0ad6e3d Handle _gtk_text_line_get_data() returning NULL in all cases. (Coverity)
2006-04-12  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextlayout.c (gtk_text_layout_validate_yrange):
	Handle _gtk_text_line_get_data() returning NULL in all
	cases.  (Coverity)
2006-04-12 16:30:17 +00:00
Matthias Clasen
575052ba50 Fix another Coverity bug
Fix another Coverity bug
2006-04-12 04:48:02 +00:00
Matthias Clasen
9400a37437 Fix another Coverity bug 2006-04-12 03:48:50 +00:00
Matthias Clasen
353928893f Remove some unused variables.
2006-04-11  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtktextview.c (selection_motion_event_handler): Remove
        some unused variables.

        * gtk/gtktreeview.c ((gtk_tree_view_search_position_func): Apply
        a patch from David Trowbridge to improve the positioning of the
        search popup.  (#338047)
2006-04-12 02:53:45 +00:00
Matthias Clasen
b6347c107b Handle info being NULL better. (Coverity)
2006-04-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_set_cursor): Handle info
	being NULL better.  (Coverity)
2006-04-11 18:44:15 +00:00
Matthias Clasen
a2c37df9ee Silence compiler warnings.
2006-04-11  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkscale.c (gtk_scale_get_layout_offsets): Silence
	compiler warnings.

	* gtk/gtkinputdialog.c (gtk_input_dialog_set_mapping_mode): Don't
	dereference info before checking it for NULL.  (Coverity)
2006-04-11 18:06:33 +00:00
Matthias Clasen
7c2b1de418 Bump version 2006-04-08 01:51:44 +00:00
Matthias Clasen
08dd6ec02a 2.8.17 2006-04-08 01:48:05 +00:00
Priit Laes
13b9cf8419 Translation updated by Ivar Smolin.
2006-04-07  Priit Laes  <amd@store20.com>

	* et.po: Translation updated by Ivar Smolin.
2006-04-07 08:02:12 +00:00
Matthias Clasen
e40ff9db74 Fix the build 2006-04-06 11:42:29 +00:00
Tor Lillqvist
6e5e396aac Correct the appearance of non-square icons and cursors: pad them to square
2006-04-06  Tor Lillqvist  <tml@novell.com>

	Correct the appearance of non-square icons and cursors: pad them
	to square so that Windows won't stretch them.

	* gdk/win32/gdkcursor-win32.c (create_alpha_bitmap)
	(create_color_bitmap): Always create square bitmaps, take only
	side length as argument.
	(pixbuf_to_hbitmaps_alpha_winxp, pixbuf_to_hbitmaps_normal):
	Corresponding changes.
2006-04-06 10:29:08 +00:00
Matthias Clasen
1a090ab314 More accidental commits 2006-04-06 03:30:38 +00:00
Matthias Clasen
b3608fc456 Revert accidental changes 2006-04-06 03:08:23 +00:00
Matthias Clasen
1d7c8bcd32 Lower the window, to prevent late-constructed text windows from covering
2006-04-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (text_window_realize): Lower the window, to
	prevent late-constructed text windows from covering child
	widgets.  (#336796, Yevgen Muntyan)
2006-04-06 02:47:37 +00:00
Matthias Clasen
3362c177d2 Rework the code which emits ::grab-notify signals to ensure that we emit
2006-04-05  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmain.c (gtk_grab_add, gtk_grab_remove, gtk_grab_notify)
	(gtk_grab_notify_foreach): Rework the code which emits ::grab-notify
	signals to ensure that we emit enough signals. Also optimize the
	code to not do unnecessary tree walking.

	* gtk/gtkwidget.c (gtk_widget_class_init): Document ::grab-notify.
2006-04-06 02:24:59 +00:00
Paolo Borelli
ee8e2f5fcc handle the case of \r and \n split across lines. Bug #337022. add unit
2006-04-05  Paolo Borelli  <pborelli@katamail.com>

	* gtk/gtktextiter.c (gtk_text_iter_ends_line): handle the case of \r
	and \n split across lines. Bug #337022.
	* tests/testtextbuffer.c: add unit test.
2006-04-05 18:32:47 +00:00
Tor Lillqvist
7b77675d0c Mention that the Win32 backend should not be used from multiple threads.
2006-04-04  Tor Lillqvist  <tml@novell.com>

	* gdk/tmpl/threads.sgml: Mention that the Win32 backend should not
	be used from multiple threads.
2006-04-03 21:02:42 +00:00
Stanislav Brabec
807886746b bn.po, dz.po, ru.po, sk.po, xh.po: Context translation bug fixes (#336645). 2006-04-03 11:28:24 +00:00
Pema Geyleg
b8d205b8e8 *** empty log message *** 2006-04-02 16:12:12 +00:00
Gora Mohanty
0f21dc1077 configure.in: Added 'or' (Oriya) to ALL_LINGUAS.
ChangeLog: Changed to reflect this.
po/or.po: Added Oriya translation.
po/ChangeLog: Changed to reflect this.
po-properties/or.po: Added Oriya translation.
po-properties/ChangeLog: Changed to reflect this.
2006-04-01 17:38:18 +00:00
Dom Lachowicz
83f1e94ca6 Emulate WinXP's drawing of menu separators
2006-04-01  Dom Lachowicz <cinamod@hotmail.com>

	* modules/engines/ms-windows/msw_style.c (draw_hline): Emulate WinXP's
	drawing of menu separators
2006-04-01 16:29:56 +00:00
Pawan Chitrakar
5b4350fb5a updated nepali translation with context string removal 2006-04-01 05:47:42 +00:00
Laurent Dhima
d2f6afe6fa Updated Albanian translation.
2006-03-31  Laurent Dhima  <laurenti@alblinux.net>

	* sq.po: Updated Albanian translation.
2006-03-31 07:58:19 +00:00
Matthias Clasen
6fd2cacea4 Don't leak the keyfile parser in the error case.
2006-03-31  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkicontheme.c (load_icon_data): Don't leak the
	keyfile parser in the error case.
2006-03-31 05:20:37 +00:00
Stanislav Brabec
222b2848ca cs.po: Progress bar fix (#336645). 2006-03-30 20:45:45 +00:00
Guntupalli Karunakar
22b16241c0 Added Dzongkha translations 2006-03-30 20:10:57 +00:00
Arangel Angov
a4aa4f8761 Updated Macedonian Translation <arangela@cvs.gnome.org> 2006-03-30 19:06:05 +00:00
Matthias Clasen
4d2b2c559b Make sure to get an icon window when constructing the fallback_icon. This
2006-03-30  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkdnd.c (gtk_drag_get_icon): Make sure to get an
	icon window when constructing the fallback_icon. This
	fixes a crash when dragging icons between screens in
	nautilus.  (#325751, Hylke van der Schaaf)
2006-03-30 18:29:04 +00:00
Matthias Clasen
d3a9ab0f2e Handle double queuing, rather than asserting that it does not happen.
2006-03-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (queue_edited_idle): Handle
	double queuing, rather than asserting that it does not
	happen.  (#330617)
2006-03-29 05:40:31 +00:00
Matthias Clasen
75be15a662 Fix drag-selection after double-click. (#323862, Benjamin Berg)
2006-03-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_start_selection_drag):
	(selection_motion_event_handler): Fix drag-selection after
	double-click.  (#323862, Benjamin Berg)

	* gtk/gtktextview.c (get_iter_at_pointer): Factor this out
	into a function and use it in move_mark_to_pointer_and_scroll,
	drag_scan_timeout and selection_motion_event_handler.
	(Paolo Borelli)
2006-03-28 17:29:00 +00:00
Matthias Clasen
8ad425cded Move the call to gtk_text_view_end_selection_drag() from
2006-03-28  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_do_popup)
	(gtk_text_view_grab_notify): Move the call to
	gtk_text_view_end_selection_drag() from gtk_text_view_do_popup
	to gtk_text_view_grab_notify, so that it works not only
	for the text views own popup, but also for other ways in which
	we might become grab-shadowed during a selection drag.
	(#74620, Li Yuan)
2006-03-28 16:03:37 +00:00
Sven Herzberg
8fb38d7c2f reviewed by: Tim Janik
2006-03-28  Sven Herzberg  <herzi@gnome-de.org>

        reviewed by: Tim Janik

	* gtk/gtkpixmap.c: (gtk_pixmap_set): only check for equal colormaps if
	the new pixmap is not NULL; fixes a warning when gtk_pixmap_set is
	called from gtk_pixmap_finalize (bug 336254)
2006-03-27 22:55:48 +00:00
Matthias Clasen
74618523e4 Check that the widget is viewable. (#336200, Bastian Nocera)
2006-03-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmnemonichash.c (_gtk_mnemonic_hash_activate): Check that
	the widget is viewable.  (#336200, Bastian Nocera)
2006-03-27 18:31:41 +00:00
Matthias Clasen
6af9413084 Fix leaks.
2006-03-27  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextbuffer.c (gtk_text_buffer_get_property):
	* gtk/gtkuimanager.c (gtk_ui_manager_get_property): Fix leaks.
2006-03-27 17:03:29 +00:00
Ahmad Riza H Nst
87957bf37b Updated.
2006-03-25  Ahmad Riza H Nst  <rizahnst@eriagempita.co.id>

	* id.po: Updated.
2006-03-25 04:34:26 +00:00
Matthias Clasen
ec45ba5720 Don't call gdk_window_invalidate_rect() on unrealized widgets. (#335717,
2006-03-24  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktextview.c (gtk_text_view_value_changed): Don't call
	gdk_window_invalidate_rect() on unrealized widgets.  (#335717,
	Nicolas Setton)
2006-03-24 15:09:48 +00:00
Matthias Clasen
a6ed6d9fb7 Add some documentation about supported image formats, and how to find out
2006-03-22  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-loader.c: Add some documentation about
	supported image formats, and how to find out about them.
	(#335536, Murray Cumming)
2006-03-22 20:35:26 +00:00
Matthias Clasen
1dcbc0fd83 Use fg_gc to draw the inter-row drop highlight. Also draw the line all the
2006-03-22  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtktreeview.c (gtk_tree_view_bin_expose): Use fg_gc to
	draw the inter-row drop highlight. Also draw the line all the
	way across, and flip it in RTL mode. (#334906, Ian McDonald)
2006-03-22 18:50:54 +00:00
Priit Laes
0a798e86f6 Translation updated by Ivar Smolin.
2006-03-22  Priit Laes  <amd@store20.com>

	* et.po: Translation updated by Ivar Smolin.
2006-03-22 14:59:12 +00:00
Pawan Chitrakar
31af68ac18 Updated translation 2006-03-22 03:18:55 +00:00
Matthias Clasen
f7dbba7b0c Don't leave page->tab_label dangling. (gtk_notebook_real_remove): Use
2006-03-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtknotebook.c (gtk_notebook_remove_tab_label): Don't leave
	page->tab_label dangling.
	(gtk_notebook_real_remove): Use GTK_IN_DESTRUCTION.
	(gtk_notebook_destroy): Leave the removal of the children
	to the container destroy method.  (#319032, Yevgen Muntyan)

2006-03-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c (gtk_combo_box_remove): Use the existing
	GTK_IN_DESTRUCTION flag, rather than roll our own.
2006-03-21 00:12:08 +00:00
Vladimer Sichinava
9a14641a68 Updated Georgian translation 2006-03-20 23:36:13 +00:00
Matthias Clasen
b38b436d4b Make sure gettext is initialized before using it. (#335129, Christian
2006-03-20  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmain.c (gtk_get_option_group): Make sure gettext
	is initialized before using it.  (#335129, Christian Persch)
2006-03-20 05:40:11 +00:00
Matthias Clasen
95f48b33a5 Document that @cell must be one of the renderers of the icon view, warn if
2006-03-19  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_set_cursor): Document that
	@cell must be one of the renderers of the icon view, warn if
	it is not, and ignore @start_editing if @cell is not set.
	(#335001, Emmanuel Rodriguez)
2006-03-20 03:14:48 +00:00
Matthias Clasen
2dc38af2a2 Add a missing comma. (#334774, Peter Breitenlohner)
2006-03-16  Matthias Clasen  <mclasen@redhat.com>

	* configure.in: Add a missing comma.  (#334774, Peter Breitenlohner)
2006-03-16 16:39:45 +00:00
Matthias Clasen
9be0ea0095 Update the size of the image, by swapping the implementations of
2006-03-16  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkimage.c (gtk_image_clear): Update the size of the image,
	by swapping the implementations of gtk_image_clear and
	gtk_image_reset.  (#334657)
2006-03-16 15:29:31 +00:00
Dom Lachowicz
dc70e80d9d Make expander-size a bit closer to Microsoft's values (bug 325699, Brad
* modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: Make expander-size
        a bit closer to Microsoft's values (bug 325699, Brad Taylor)
2006-03-15 19:21:12 +00:00
Matthias Clasen
afb52438cd Popdown the list before changing the active iter, otherwise people will be
2006-03-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkcombobox.c (gtk_combo_box_list_button_released)
	(gtk_combo_box_list_key_press): Popdown the list before changing
	the active iter, otherwise people will be surprised by the
	grabs that are still in place when their ::changed handler
	runs.
2006-03-15 19:06:24 +00:00
Dom Lachowicz
b6deb20e1b Override style->realize/ style->unrealize, so that GTK+ doesn't
* modules/engines/ms-windows/msw_style.c: Override style->realize/
        style->unrealize, so that GTK+ doesn't automatically attempt to apply
        shading to the GC colors, causing a mismatch with the Win32 native
        colors. Problem found by (and suggested solution by) "Cosmic Integer"
2006-03-15 17:40:30 +00:00
Matthias Clasen
d411499462 Bump version 2006-03-15 16:42:48 +00:00
Matthias Clasen
c45aed8d3e 2.8.16 2006-03-15 16:35:08 +00:00
Matthias Clasen
8e02c55936 Forgotten commit 2006-03-15 14:04:30 +00:00
Matthias Clasen
9d5b02fb73 Add a shortcut to stop the gif mainloop after the first frame, if that is
2006-03-14  Matthias Clasen  <mclasen@redhat.com>

	* io-gif.c (gdk_pixbuf__gif_image_load): Add a shortcut
	to stop the gif mainloop after the first frame, if that
	is all we are interested in.  (#334538)
2006-03-14 21:35:25 +00:00
Clytie Siddall
0ecf3dca19 vi.po: Updated Vietnamese translation. 2006-03-14 05:21:41 +00:00
Matthias Clasen
3bb39bdb52 Bump version 2006-03-13 17:32:29 +00:00
Matthias Clasen
73b86b496a 2.8.15 2006-03-13 17:06:31 +00:00
Matthias Clasen
73c38e997b Updates 2006-03-13 14:25:39 +00:00
Mugurel Tudor
96f640946e Updated Romanian translation by Mişu Moldovan <dumol@gnome.ro>
2006-03-13  Mugurel Tudor  <mugurelu@gnome.ro>

	* ro.po: Updated Romanian translation
	by Mişu Moldovan <dumol@gnome.ro>
2006-03-13 08:23:05 +00:00
Runa Bhattacharjee
d078c738b0 Added Entry for Bengali (bn) Translation Updation 2006-03-13 05:58:21 +00:00
Runa Bhattacharjee
bc733a825e Updated Bengali Translation 2006-03-13 05:58:04 +00:00
Raphael Higino
dca4d442ae Updated Brazilian Portuguese translation 2006-03-12 17:55:15 +00:00
Alessio Frusciante
d35be07b7f Updated Italian translation. 2006-03-12 12:20:02 +00:00
Miloslav Trmac
7fe28f32cb Updated Czech translation by Petr Tomeš.
2006-03-12  Miloslav Trmac  <mitr@volny.cz>

	* cs.po: Updated Czech translation by Petr Tomeš.
2006-03-12 02:45:19 +00:00
Tor Lillqvist
20a262c13c Use Polygon() for outlined polygons, too. Same idea as in
2006-03-11  Tor Lillqvist  <tml@novell.com>

	* gdk/win32/gdkdrawable-win32.c (draw_polygon): Use Polygon() for
	outlined polygons, too. Same idea as in draw_rectangle(): Set pen
	to NULL_PEN if drawing a filled polygon, set brush to HOLLOW_BRUSH
	if drawing a polygon outline. (#332662)
	(gdk_win32_draw_polygon): Corresponding simplification: no need to
	add an extra final copy of the starting point.
2006-03-11 20:30:56 +00:00
Dom Lachowicz
46ae09156b Speed up the Windows theme considerably (#163724, John Ehresman) Be more
2006-03-11  Dom Lachowicz <cinamod@hotmail.com>

	* modules/engines/ms-windows: Speed up the Windows theme
	considerably (#163724, John Ehresman)
	Be more careful about setting Pango font descriptions (#333372)
2006-03-11 18:06:19 +00:00
Alexander Shopov
a28e0146a0 Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>
2006-03-10  Alexander Shopov  <ash@contact.bg>

	* bg.po: Updated Bulgarian translation by
	Alexander Shopov <ash@contact.bg>
2006-03-11 13:03:10 +00:00
Federico Mena Quintero
d9072e0fa2 Merged from HEAD:
2006-03-10  Federico Mena Quintero  <federico@novell.com>

	Merged from HEAD:

	Make Shift-P and Shift-N activate typeahead in GtkTreeView
	(i.e. they are just normal capital letters).  Fixes bug #334098.

	* gtk/gtktreeview.c (gtk_tree_view_add_move_binding): Add an
	"add_shifted_binding" argument which determines whether we'll add
	the same binding with GDK_SHIFT_MASK.
	(gtk_tree_view_class_init): Use add_shifted_binding=FALSE for GDK_p
	and GDK_n; use TRUE for all the rest.

Thu Mar  9 14:49:35 2006  Tim Janik  <timj@imendio.com>
2006-03-10 17:24:13 +00:00
Federico Mena Quintero
5554b66bf5 *** empty log message *** 2006-03-10 17:19:26 +00:00
Martin Willemoes Hansen
c353cdbaa1 Updated Danish translation.
* da.po: Updated Danish translation.
2006-03-10 17:09:11 +00:00
Inaki Larranaga
bf8a8eb3ec Fixed some typos.
2006-03-09  Inaki Larranaga  <dooteo@euskalgnu.org>

	* eu.po: Fixed some typos.
2006-03-09 16:23:21 +00:00
Tim Janik
642ef2c7db clean up the GInitiallyUnowned floating flag when setting GTK_FLOATING.
Thu Mar  9 14:49:35 2006  Tim Janik  <timj@imendio.com>

        * gtk/gtkobject.c (gtk_object_init): clean up the GInitiallyUnowned
        floating flag when setting GTK_FLOATING.
        added tests/floatingcheck (a weakened variant of what gtk+-2.10 has).
2006-03-09 13:51:18 +00:00
Matthias Clasen
f6dd9b4141 Bump version 2006-03-08 17:36:51 +00:00
Matthias Clasen
4cfbe54931 2.8.14 2006-03-08 17:33:40 +00:00
Tim Janik
2212d721b5 constrain text area to positive values (#316712).
Wed Mar  8 15:17:21 2006  Tim Janik  <timj@imendio.com>

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

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

        * NEWS: announce change and glib-2.10.1 requirement.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	* gdk/gdkgc.c: Update all callers.

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

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

	Merged from HEAD:

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

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

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

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

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

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

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

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

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

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

	Merged from HEAD:

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

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

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

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

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

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

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

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

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

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

	Merged from HEAD:

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

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

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

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

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

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

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

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

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

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

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

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

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

	Merged from HEAD:

	Fixes bug #328820:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	Merged from HEAD:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	Merged from HEAD:

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

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

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

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

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

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

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

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

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

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

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

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

	Merged from HEAD:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	Make it compile against GLib 2.9:

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

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

	Merged from HEAD:

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

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

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

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

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

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

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

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

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

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

	Merged from HEAD:

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

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

	Merged from HEAD:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	Merged from HEAD:

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

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

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

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

	Merged from HEAD:

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

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

	Fix for bug #321542, Benedikt Meurer:

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

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

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

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

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

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

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

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

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

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

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

	* NEWS: Updates

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

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

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

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

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

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

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

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

	Merged from HEAD:

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

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

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

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

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

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

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

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

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

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

	(get_outer_rect): Use _gdk_win32_adjust_client_rect().

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	Merged from HEAD:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	Merged from HEAD:

	Fix bug #319974:

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

	(gtk_cell_renderer_pixbuf_get_property): simplified calls to
	g_value_set_object().

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	Merged from HEAD:

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

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

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

	Merged from HEAD:

	Fixes bug #317999:

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

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

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

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

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

	(_win32_on_clipboard_change,
	_gdk_win32_register_clipboard_notification): Remove.

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

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

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

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

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

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

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

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

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

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

	Merged from HEAD:

	Fixes bug #317999:

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

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

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

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

	Merged from HEAD:

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

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

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

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

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

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

	Merged from HEAD:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	Merged from HEAD:

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

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

	Merged from HEAD:

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

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

	Fix #316871, reported by Dan Winship:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

2451
ChangeLog

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

View File

@@ -16,6 +16,7 @@ EXTRA_DIST = \
ChangeLog.pre-2-2 \
ChangeLog.pre-2-4 \
ChangeLog.pre-2-6 \
ChangeLog.pre-2-8 \
README.cvs-commits \
README.win32 \
config.h.win32 \

500
NEWS
View File

@@ -1,3 +1,503 @@
Overview of changes from GTK+ 2.8.19 to 2.8.20
==============================================
* GTK+ requires ATK 1.9.0 now
* Bugs fixed:
168105 the right edge tab does not appear when switching tab
344876 refcount leak when using ComboBox.set_cell_data_func
346102 root window doesn't update size as it should
346341 Memory leak in gtk_tree_model_sort_finalize: User data
not freed
346375 MIPSPro compilation fix for gtk-2.8.19
346374 Patches for Interix
* Updated translations (lv)
Overview of Changes from GTK+ 2.8.18 to GTK+ 2.8.19
===================================================
Bugs fixed:
341327 Memory corruption inside glib
337491 _gdk_win32_drawable_release_dc: DeleteDC()
called on a GetDC() handle
343425 "grab-notify"-signal is not correctly propagated
for internal children
344244 Window resizing not working when keeping the
aspect fixed
344496 CRLF converting via Clipboard
Updated translations (ne)
Overview of Changes from GTK+ 2.8.17 to GTK+ 2.8.18
===================================================
Bugs fixed:
338047 search box positioning has some bugs [David Trowbridge]
338262 gtk+ Cygwin build fixes
337562 Gdk does not translate VK_NUMPADx to GDK_KP_x [Timon Christl]
339224 sanely handle late (re)setting of dnd image [Benjamin Otte]
334582 Text is shifted off-by-one in Add to panel [Behdad Esfahbod]
340063 gtk_widget_create_pango_layout docs typo [Behdad Esfahbod]
139628 GtkLayout In GtkScrolledWindow does not receive
the scroll_event
341896 gtktreeview has RTL problems with toggle buttons
if using gtktreestore as a model [Roozbeh Pournader]
342072 Wrong drop location in GtkEntry [Yevgen Muntyan]
342096 GtkImage animation CRITICALS on switching
themes [Tommi Komulainen]
342003 DnD: Conditional jump or move depends on
uninitialised value [Tommi Komulainen]
341734 cursor blocked to dnd mode after using shift and
dnd on a GtkCalendar [Sebastien Bacher]
305530 Crashes while creating source code
w/GtkFontSelection [Damon Chaplin]
168105 the right edge tab does not appear when switching
tab [Hiroyuki Ikezoe, Kouhei Sutou]
342007 Warning in gtk_paned_compute_position [Patrick Monnerat]
342529 gdk should set resolution on PangoCairoFontmap,
not PangoCairoContext [Behdad Esfahbod]
316689 GtkTreeView does not resize correctly [Kristian Rietveld]
342260 gtk_tree_view_get_cell_area() forgets depth-one
expander [Jorg Schuler]
333284 expander animation not working in RTL mode [Benjamin Berg]
Multiple issues discovered by Coverity [Coverity]
Make gtk_file_chooser_button_new() friendlier
for language bindings [Murray Cumming]
Updated translations (de,es,fr,he,nn)
Overview of Changes from GTK+ 2.8.16 to GTK+ 2.8.17
===================================================
* Bugs fixed:
325699 Expander disclosure button is too small [Brad Taylor]
334657 gtk_image_clear doesn't cause redraw
334774 typo in configure.in yields suspicious
warning [Peter Breitenlohner]
335001 gtk_icon_view_set_cursor causes
Segmentation fault [Emmanuel Rodriguez]
335129 garbage output of --help in non UTF-8 locale [Christian Persch]
319032 GtkNotebook does not destroy its children
on destroy() [Yevgen Muntyan]
334906 TreeView DnD between-row highlight color [Ian McDonald]
335717 Gtk-Criticals occur when scrolling a text_view
that is not realized [Nicolas Setton]
336200 Hidden menubar still activates submenus with kbd
[Bastian Nocera]
336254 GtkTreeItem broken [Sven Herzberg]
74620 Clean up button press handling (use
one-grab-op-at-a-time pattern) [Li Yuan]
323862 broken scrolling when selecting [Benjamin Berg]
330617 GTK+ File-chooser dialog crashes
325751 Nautilus crashes when dragging icons to
another screen [Hylke van der Schaaf]
337022 mixed line separators confuse
gtk_text_iter_ends_line [Paolo Borelli]
336796 Textview child is covered by window border [Yevgen Muntyan]
335536 gdk_pixbuf_loader_new_with_type():
What image types are allowed? [Murray Cumming]
336645 Missing progress bar label [Stanislav Brabec]
Fix a problem which caused grab-notify
signal to be missed in some cases [Matthias Clasen]
* Updated translations (bn,cs,dz,et,ka,ne,or,ru,sk,sq,xh)
Overview of Changes from GTK+ 2.8.14 to GTK+ 2.8.15
===================================================
* Bugs fixed:
334098 Keys P and N in "open file" dialog have special meaning
[Torben Putkonen]
333372 MS-Windows theme (GTK-Wimp) shows all funky characters
[Dom Lachowicz]
163724 Optimize gdk on win32 [John Ehresman]
332662 Hollow polygons have wrong linecaps [Tor Lillqvist]
326362 panel crash with a11y enabled [Kjartan Maraas]
* Updated translations (bg,bn,cs,eu,ro)
Overview of Changes from GTK+ 2.8.13 to GTK+ 2.8.14
===================================================
* Fixed invalid memory access in g_object_sink() from GLib-2.10.0 (in
combination with GLib-2.10, at least GLib-2.10.1 is required now).
* Bugs fixed:
320132 Drag cursor position not identical with the drag hotspot
[Christian Neumair]
333133 wrong appearance for colour button [Christian Persch]
321301 ms-windows-engine differences from native GUI - combo boxes
[Jernej Simončič, Dom Lachowicz]
333291 Focus line of GtkExpander at the wrong place in RTL mode
[Benjamin Berg]
324562 XInput events are at incorrect xy-coordinates [Denis Auroux]
142536 Wacom pointer offset when using TopY other than 0 [Robert Ögren]
332985 GtkButton doesn't allow image-only buttons via "image"
property [Kalle Vahlmann]
333555 When changing icon of button, icon does not change
332466 Strange row spacing in GtkIconView when item width is set
[Donald Straney]
333363 build_insensitive_pixmap does not check return value
from gdk_pixbuf_get_from_drawable [Ed Catmur]
333268 Crash in gnome-program when running a program with an wrong display
[Paolo Maggi, Christian Persch]
333377 Cursor does not appear everytime when clicking on the widget
[Steve Frécinaux]
323401 blink_cb optimization is not working
316689 GtkTreeView does not resize correctly [Chris Lord]
148518 Fix incremental loading of 8-bit pcx files [Magnus Bergmann]
* Updated translations (cy,de,es,nn,pl)
Overview of Changes from GTK+ 2.8.12 to GTK+ 2.8.13
===================================================
* Bugs fixed:
330732 Can't select some items in GtkIconView [Donald Straney]
330944 gtk_icon_theme_list_icons: example contexts don't work
[John Spray]
331097 gnopernicus crashes on changing display screen source
for magnifier [Oana Serb]
331467 evince crashes in gdk_region_union_with_rect [Benjamin Berg]
331820 Small error in _gdk_gc_update_context [Matthias]
331785 gtk.Notebook.get_current_page() returns incorrect page
number when pages hidden [Sebastien Bacher]
331940 GtkAboutDialog not responsive to Escape key [Daniel Drake]
331440 GtkNotebook popup menu not keynavigatable [Paolo Borelli]
331651 GtkRadioButton does not issue notify::active
332059 Make more use of G_DISABLE_ASSERT in TextView code
[Arnaud Charlet]
* Updated translations (eu,ka,uk)
Overview of Changes from GTK+ 2.8.11 to GTK+ 2.8.12
===================================================
* The font picker button can now display fractional
font sizes [Ross Burton]
* Updates for the windows theme [Dom Lachowicz]
* Workaround for cairo hitting a slow path in the
X server [Federico Mena Quintero]
* Bugs fixed:
145243 root window drag FROM testdnd not working [Andrew S. Dixon]
321054 Pointer grabs misbehave on Win32 [Tor Lillqvist]
322042 Buggy RTL support in ellipsized labels [Behdad Esfahbod]
325521 enter_notify_event are not received on popup
window in Win32 [Tor Lillqvist]
327217 set_decorations() is overridden by window type
hint [John Ehresman]
327375 accept_focus isn't respected [John Ehresman]
328820 they keypad '/' key should open the "open location"
dialog [Federico Mena Quintero]
329144 critical in gtk_widget_event [Wouter Bolsterlee]
329124 distclean removes README [Kjartan Maraas, Tim Janik]
329208 unsetting the "active" property of GtkToggleToolButton
doesn't work properly [Guillaume Cottenceau]
329876 Crash in gtktreemodelfilter.c when using gtk-demo
with file picker [Kristian Rietveld]
329099 gtk_misc_set_padding fails with labels in RTL
locales [Hooman Mesgary]
330022 Wrong pixel values in rsvg_cairo_render_image [Dom Lachowicz]
330177 gtk_entry_completion_match_selected generates a critical
warning when completion model is empty [Raphael Slinckx]
330389 gtk_file_info_copy corrupts memory [Markku Vire]
330563 image loaders don't check callbacks for NULL [Benjamin Otte]
* Documentation improvements [Ross Burton, Murray Cumming,
Mart Raudsepp, Federico Mena Quintero, Milosz Derezynski]
* Translation updates (cy,lt,nl,pt,ru,sr,sr@Latn,vi)
Overview of Changes from GTK+ 2.8.10 to GTK+ 2.8.11
===================================================
* Avoid memory overruns in the pixbuf theme engine
with nonsensical gradient specifications. [Matthias]
* Bugs fixed:
326003 Cursor doesn't move as expected [Evert Verhellen]
326806 Segfault from combination of gtk_container_set_resize_mode()
and GtkComboBox [Sebastien Bacher]
327751 segfault in update_cursor on amd64 [Ryan Lovett]
327538 eog crashes at launch under AIX [Christophe Belle]
153213 "~" should bring up the location dialog [Dan Winship]
327934 gtk_text_layout_get_cursor_locations() chokes on
layout=0x0 [Christian Kirbach]
* Documentation improvements [Federico Mena Quintero]
* Translation updates (es,pt_BR,zh_HK,zh_TW)
Overview of Changes from GTK+ 2.8.9 to GTK+ 2.8.10
==================================================
* Derive GtkObject from GInitiallyUnowned instead of
GObject, if possible. Note that this change is known
to break versions of the GTK+ Perl bindings older
than GTK+ Perl 2.13.4. [Tim Janik]
* Add a setting to allow falling back to another icon
theme before trying hicolor. [Rodney Dawes]
* Require GLib 2.8.5
* Updated translations (ca,el,es,fr,hi,it,ko,pt_BR,vi)
* Bugs fixed:
137351 GtkEntryCompletion sometimes selects first completion item
[Niklas Knutsson]
165714 GtkEntryCompletion doesn't complete on paste [Christian Neumair]
317687 gnome-panel crash by clicking on settings
321548 speed up gtk_text_iter_set_visible_line_index [Paolo
Borelli]
323843 Garbage in gtk_text_view_get_border_window_size()
323876 Broadcasting _GTK_LOAD_ICONTHEMES is a performance
bug [Peter Lund]
324044 Documentation entry for GtkTreeView::row-activated
[Davyd Madeley]
323504 Gtk-CRITICAL when dragging a launcher from the menu
to the top panel [Kjartan Maraas]
323655 Improved support for Icon Naming Spec in unix filesystem
backend [Rodney Dawes]
323995 hidden widgets distort the left/right/up/down focus
order [Dan Winship]
324588 icon_view auto dnd and the item-activated signal
[Dave Andreoli]
322475 icon view's horizontal layout doesn't respect
item_width [Alex Graveley]
324815 Typo in gtkwindow.c [Ross Burton]
324996 Description about gtk_im_context_filter_keypress on API
reference
323666 gdk_window_scroll doesn't invalidate if another top-level
is above window [John Ehresman]
322264 gdk_drawable_get_visible_region win32 / x11 inconsistency
[John Ehresman]
325358 word erase in text fields considers space as a separate
word [Akkana Peck]
325443 gtk_drag_begin doesn't work unless given a motion event
[Peter Harvey]
325723 gtk_ui_manager_get_toplevels does not return an empty
list [Steve Chaplin]
305894 excessive memory use in gdk_pixbuf_new_from_file_XXX
functions [Denis Vlasenko, Michael Natterer]
325199 The API reference for gtk_exit() states that it's
deprecated but doesn't state the replacement function,
if any [Ævar Arnfjörð Bjarmason]
325869 GtkViewPort not releasing signal handlers on destruction
[Jorn Baayen]
325782 GtkToolButton ::clicked signal should set G_SIGNAL_ACTION
[Martyn Russell]
325817 FileChooserButton uses "Home" instead of directory name
[Federico Mena Quintero]
326098 label alignment is wrong when width-chars is set [Benjamin Otte]
326200 translations in GtkActionGroup erroneously translated
[Christian Stimming]
326429 in gtk.h, twice the same lines [Benoît Carpentier]
326064 Artifacts on some widgets [Andrew Conkling]
Overview of Changes from GTK+ 2.8.8 to GTK+ 2.8.9
=================================================
* Bugs fixed:
321560 File chooser filter behaves weird [Bogdan Nicula,
Federico Mena Quintero]
317999 2.8.4 to 2.8.6: sound-juicer crash, fileselector
assertions [Sebastian Bacher]
322569 On unsetting the Model, GtkTreeView does not clear
it's associated TreeSelection [Milosz Derezynski]
322998 Crash on selecting a file of null mime-type [Sadrul
Habib Chowdhury]
323024 gtktoolbutton leaks a pixbuf [Paolo Borelli]
323209 GdkEvent leaked in gtktreeview.c /
gtk_tree_view_key_press [Crispin Flowerday]
323073 Typo in trap_activate_cb() [Sadrul Habib Chowdhury]
323045 gtkcalendar.c: The identifier is already declared.
[Kazuki Iwamoto]
323386 gtk_menu_attach_to_widget() does not take NULL
detacher [Jorn Baayen]
307196 Unhinted fonts are measured incorrectly and drawing
problems occur as a result [Alex Jones, Behdad Esfahbod]
316310 unwanted scrolling in recent gtk [Paolo Borelli]
322019 Toolbars without icons are invisible in icon-only
mode [Ross Burton]
323077 Search-entry in the TreeView not working properly
[Sadrul Habib Chowdhury]
323475 gtktoolbutton.c:562: warning: 'image' is used
uninitialized in this function [Ross Burton]
323577 reference count of textbuffer increases with each
paste
323629 gtk_selection_data_get_uris leaks memory
[Markku Vire]
* Other changes
- Remove GMemChunk from public header files to
support building against GLib 2.10 [Matthias Clasen]
- Report errors in option parsing [Matthias]
- Merge upstream xdgmime changes to handle duplicate
glob patterns [Matthias]
Overview of Changes from GTK+ 2.8.7 to GTK+ 2.8.8
=================================================
* GtkFileChooser
- Make F2 work for renaming bookmarks [Jaap A. Haitsma,
Paolo Borelli]
* GtkEntry
- Turn off input methods in password entries [James Su]
* Win32 changes
- Various visual improvements to the ms-windows
theme [Dom Lachowicz]
- Rework window decoration handling [Tor Lillqvist]
- Fix localized weekday and month names in GtkCalendar [Tor]
- Make urgency hint work on NT4 [Tor]
* Other fixes [Arjan van de Ven, Philip Langdale, Jens
Granseuer, Bogdan Nicula, Benedikt Meurer, Michael
Natterer, Kazuki Iwamoto, Paolo Borelli, Søren Sandmann,
Jean-Yves Lefort, Milosz Derezynski, Tze'ela Hebron]
* Documentation improvements [Elie De Brauwer]
* Updated translations (be,hu,sk,th,wa)
Overview of Changes from GTK+ 2.8.6 to GTK+ 2.8.7
=================================================
* GtkFileChooser
- Don't special-case the names of Home and Desktop
[Federico Mena Quintero]
- Avoid loading more than one directory initially.
[Federico]
- Make the file chooser work better with window
groups [Christian Persch]
- Improve keynav in the pathbar [Carlos Garnacho,
Andrei Yurkevich]
- Don't access unmounted volumes [Federico]
* GtkTextView
- Avoid quadratic blowup when deleting text with
lots of tags [Matthias Clasen]
- Fix drag-selection corner cases [Arvind S N,
Paolo Borelli]
* GtkEntry
- Add the entry completion popup to the window
group [Christian Persch]
* GtkTreeView
- Fix background drawing in RTL locales [Eric Cazeaux]
- Handle Shift-G for going back in typeahead
search [Christian Neumair]
* GtkComboBox
- Leave Ctrl-PageUp/PageDown to applications
[Christian Neumair]
* Fix compilation problems with gtkcalendar.c
[Matthias Hasselmann]
* Add labels for GTK_STOCK_CONNECT and
GTK_STOCK_DISCONNECT items [Richard Hult]
* Resolve symbols in dlopened modules lazily [Laszlo
Peter]
* GDK
- Don't try to set overlarge window icons [Claudio
Saavedra]
- Improve handling of odd keymaps [Kean Johnston]
* Win32 changes
- Speed up compositing [John Ehresman]
- Improve handling of clipboard [Tor Lillqvist]
- Improve visuals of scrollbars, toolbars, handleboxes
and menubars in the ms-windows theme [Dom Lachowicz]
- Make icon masks work on Win98 [Peter Zelezny]
- Hide resize and maximize buttons on non-resizable
windows [Tor]
- Don't hide dotfiles [Tor]
* Bug fixes [Kazuki Iwamoto, Ross Burton, Michael
Natterer, Bogdan Nicula, Damien Carbery, Gustavo
Carneiro, Tommi Komulainen, Thomas Klausner,
Alexander Larsson, Bastien Nocera, Federico
Mena Quintero, John Ehresman, Paolo Borelli,
Antonio Sacchi, Christian Persch, Carlos
Garnacho, Jeremy Cook, Nickolay V. Shmyrev,
Richard Hult, Maxim Udushlivy, Peter Zelezny]
* Documentation improvements [Paolo Borelli,
Christian Neumair, Christian Persch
Overview of Changes from GTK+ 2.8.5 to GTK+ 2.8.6
=================================================
* GtkFileChooser
- Don't reload the current folder unnecessarily on map [Federico
Mena Quintero]
* Revert a change from 2.8.5 that could lead to assertion
failures when finalizing GtkStyles [Matthias Clasen]
* Remove context prefixes from Portugese translations [Duarte
Henriques]
Overview of Changes from GTK+ 2.8.4 to GTK+ 2.8.5
=================================================
* GtkFileChooser
- Don't clear the file name entry too often when
in SAVE mode. [Jürg Billeter]
- Reduce the startup time in OPEN mode [Federico
Mena Quintero]
* Stop drag in GtkPaned when grab shadowed [Matthias Clasen]
* Correct the calculation for the first weekday
in GtkCalendar [Matthias Clasen]
* Use a larger buffer when determining the image
format in gdk-pixbuf [Sebastian Bacher, Dom Lachowicz]
* Win32 bug fixes [Kazuki Iwamoto, Tor Lillqvist]
* Other bug fixes [Tor Lillqvist, Gustavo Carneiro,
Paolo Borelli, Ray Strode, Søren Sandmann, Tommi Komulainen,
Benjamin Berg]
Overview of Changes from GTK+ 2.8.3 to GTK+ 2.8.4
=================================================
* GtkFileChooser
- Turn off the profiling code [Federico Mena Quintero]
* GtkEntryCompletion
- Make completion work with multibyte characters
[Tommi Komulainen]
- Improve positioning of large popups [Tommi Komulainen]
* GtkTreeView
- Make column reordering by DND work better [Dan
Winship]
* GtkCalendar
- Correctly determine the first weekday from
nl_langinfo() [Stanislav Brabec]
* GtkFontSel, GtkFontButton
- Handle invalid font names better [Michael R. Walton,
Ed Catmur]
* Deliver destroy events [Chris Lahey]
* Fix redrawing of widgets in the the presence
of shaped child windows [Dan Winship]
* Win32 changes
- Prune unnecessary mouse events [Tor Lillqvist]
- Fix memory corruption when using display
names [Tor Lillqvist]
* Other bug fixes [Alexander Larsson, John Cupitt,
John Finlay, Kjartan Maraas, Thomas Leonard,
Guillaume Cottenceau, Alexander Nedotsukov, Tim Janik,
Tor Lillqvist, Tommi Komulainen
* Documentation improvements [Guillaume Cottenceau,
Torsten Schoenfeld, Damon Chaplin, Vincent Untz,
Tommi Komulainen, Federico Mena Quintero
* New and updated translations (bg,bn,et,eu,fr,gl,hi,it,
ku,ru,sr,sv,tr,vi)
Overview of Changes from GTK+ 2.8.2 to GTK+ 2.8.3
=================================================
* Fix problems with the handling of initial settings
for font options and cursor themes [Frederic Crozat,
Joe Markus Clarke, Owen Taylor, Kjartan Maraas]
* Add a --ignore-theme-index option to
gtk-update-icon-cache [JP Rosevaar]
* Other bug fixes [Christian Persch, Owen Taylor,
Ed Catmur, Thomas Fitzsimmons, JP Rosevaar, Tor
Lillqvist, Colin Walters, Yong Wang, Matthias,
Kjartan Maraas, Christian Persch, Mark McLoughlin]
* Updated translations (ca,es,fr,pt_BR)
Overview of Changes from GTK+ 2.8.1 to GTK+ 2.8.2
=================================================
* Fix a crash with custom icon themes, which affected

2
README
View File

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

@@ -93,6 +93,11 @@ fi
rm -rf autom4te.cache
# README and INSTALL are required by automake, but may be deleted by clean
# up rules. to get automake to work, simply touch these here, they will be
# regenerated from their corresponding *.in files by ./configure anyway.
touch README INSTALL
$ACLOCAL $ACLOCAL_FLAGS || exit $?
libtoolize --force || exit $?

View File

@@ -12,10 +12,10 @@ AC_PREREQ(2.54)
m4_define([gtk_major_version], [2])
m4_define([gtk_minor_version], [8])
m4_define([gtk_micro_version], [2])
m4_define([gtk_micro_version], [21])
m4_define([gtk_version],
[gtk_major_version.gtk_minor_version.gtk_micro_version])
m4_define([gtk_interface_age], [2])
m4_define([gtk_interface_age], [21])
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
@@ -31,9 +31,9 @@ m4_define([gtk_api_version], [2.0])
m4_define([gtk_binary_version], [2.4.0])
# required versions of other packages
m4_define([glib_required_version], [2.7.1])
m4_define([glib_required_version], [2.8.5])
m4_define([pango_required_version], [1.9.0])
m4_define([atk_required_version], [1.0.1])
m4_define([atk_required_version], [1.9.0])
m4_define([cairo_required_version], [0.9.2])
@@ -433,7 +433,7 @@ fi
# sure that both po/ and po-properties/ have .po files that correspond
# to your language. If you only add one to po/, the build will break
# in po-properties/.
ALL_LINGUAS="af am ar az az_IR be bg bn br bs ca cs cy da de el en_CA en_GB es et eu fa fi fr ga gl gu he hi hr hu hy ia id is it ja 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 te th tk tr uk uz uz@Latn vi wa xh yi zh_CN zh_TW"
ALL_LINGUAS="af am ar az az_IR be bg bn br bs ca cs cy da de dz el en_CA en_GB es et eu fa fi fr ga gl gu he hi hr hu hy ia id is it ja ka ko ku li lt lv mi mk ml mn mr ms nb ne nl nn no nso or pa pl pt pt_BR ro ru rw sk sl sq sr sr@Latn sr@ije sv ta te th tk tr uk uz uz@Latn vi wa xh yi zh_CN zh_HK zh_TW"
AM_GLIB_GNU_GETTEXT
LIBS="$LIBS $INTLLIBS"
AC_OUTPUT_COMMANDS([case "$CONFIG_FILES" in *po-properties/Makefile.in*)
@@ -1045,10 +1045,10 @@ if test "x$gdktarget" = "xx11"; then
#
# Check for basic X packages; we use pkg-config if available
#
if $PKG_CONFIG --exists x11 xext; then
if $PKG_CONFIG --exists x11 xext xrender; then
have_base_x_pc=true
X_PACKAGES="$X_PACKAGES x11 xext"
x_libs="`pkg-config --libs x11 xext`"
X_PACKAGES="$X_PACKAGES x11 xext xrender"
x_libs="`pkg-config --libs x11 xext xrender`"
# Strip out any .la files that pkg-config might give us (this happens
# with -uninstalled.pc files)
@@ -1070,11 +1070,11 @@ if test "x$gdktarget" = "xx11"; then
fi
x_cflags="$X_CFLAGS"
x_libs_for_checks="$X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
x_libs_for_checks="$X_LIBS -lXext -lXrender -lX11 $X_EXTRA_LIBS"
GDK_PIXBUF_XLIB_EXTRA_CFLAGS="$x_cflags"
GDK_PIXBUF_XLIB_EXTRA_LIBS="$X_LIBS -lX11 $X_EXTRA_LIBS"
GTK_DEP_LIBS_FOR_X="$X_LIBS -lX11 $X_EXTRA_LIBS"
GTK_DEP_LIBS_FOR_X="$X_LIBS -lX11 -lXrender $X_EXTRA_LIBS"
fi
# Extra libraries found during checks (-lXinerama, etc), not from pkg-config.
@@ -1093,6 +1093,8 @@ if test "x$gdktarget" = "xx11"; then
AC_MSG_ERROR([*** libX11 not found. Check 'config.log' for more details.]))
AC_CHECK_FUNC(XextFindDisplay, :,
AC_MSG_ERROR([*** libXext not found. Check 'config.log' for more details.]))
AC_CHECK_FUNC(XRenderQueryExtension, :,
AC_MSG_ERROR([*** libXrender not found. Check 'config.log' for more details.]))
# Check for xReply
@@ -1228,7 +1230,7 @@ if test "x$gdktarget" = "xx11"; then
AC_CHECK_LIB(Xinerama, XineramaQueryExtension,
[AC_CHECK_HEADER(X11/extensions/Xinerama.h,
[GTK_ADD_LIB(x_extra_libs,Xinerama)
have_xfree_xinerama=true], :
have_xfree_xinerama=true], :,
[#include <X11/Xlib.h>])])
fi
@@ -1388,9 +1390,12 @@ fi
CFLAGS="$saved_cflags"
LDFLAGS="$saved_ldflags"
GDK_PACKAGES="$PANGO_PACKAGES $X_PACKAGES"
GDK_PACKAGES="$PANGO_PACKAGES"
if test "x$gdktarget" = "xx11"; then
GDK_PACKAGES="$GDK_PACKAGES $X_PACKAGES"
fi
GDK_DEP_LIBS="$GDK_EXTRA_LIBS `$PKG_CONFIG --libs $GDK_PIXBUF_PACKAGES $GDK_PACKAGES` $GDK_PIXBUF_EXTRA_LIBS"
GDK_DEP_CFLAGS="`$PKG_CONFIG --cflags gthread-2.0 $GDK_PIXBUF_PACKAGES $GDK_PACKAGES $X_PACKAGES` $GDK_PIXBUF_EXTRA_CFLAGS $GDK_EXTRA_CFLAGS"
GDK_DEP_CFLAGS="`$PKG_CONFIG --cflags gthread-2.0 $GDK_PIXBUF_PACKAGES $GDK_PACKAGES` $GDK_PIXBUF_EXTRA_CFLAGS $GDK_EXTRA_CFLAGS"
#
# If we aren't writing explicit dependencies, then don't put the extra libraries we need

View File

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

View File

@@ -1,3 +1,7 @@
if PLATFORM_WIN32
no_undefined = -no-undefined
endif
lib_LTLIBRARIES=libgdk_pixbuf_xlib-2.0.la
INCLUDES = \
@@ -10,6 +14,7 @@ INCLUDES = \
libgdk_pixbuf_xlib_2_0_la_LDFLAGS = \
-export-dynamic \
$(no_undefined) \
-version-info $(LT_VERSION_INFO)
libgdk_pixbuf_xlib_2_0_la_LIBADD = \

View File

@@ -6,6 +6,6 @@ includedir=@includedir@
Name: GdkPixbuf Xlib
Description: GdkPixbuf rendering for Xlib
Version: @VERSION@
Requires: gobject-2.0,gmodule-2.0,gdk-pixbuf-2.0
Requires: gobject-2.0,gmodule-no-export-2.0,gdk-pixbuf-2.0
Libs: -L${libdir} -lgdk_pixbuf_xlib-@GTK_API_VERSION@
Cflags: -I${includedir}

View File

@@ -41,7 +41,7 @@
static guint32 mask_table[] = {
static const guint32 mask_table[] = {
0x00000000, 0x00000001, 0x00000003, 0x00000007,
0x0000000f, 0x0000001f, 0x0000003f, 0x0000007f,
0x000000ff, 0x000001ff, 0x000003ff, 0x000007ff,
@@ -1058,7 +1058,7 @@ convert_real_slow (XImage *image, guchar *pixels, int rowstride, xlib_colormap *
typedef void (* cfunc) (XImage *image, guchar *pixels, int rowstride, xlib_colormap *cmap);
static cfunc convert_map[] = {
static const cfunc convert_map[] = {
rgb1,rgb1,rgb1a,rgb1a,
rgb8,rgb8,rgb8a,rgb8a,
rgb555lsb,rgb555msb,rgb555alsb,rgb555amsb,

View File

@@ -516,7 +516,7 @@ static guint32
xlib_rgb_score_visual (XVisualInfo *visual)
{
guint32 quality, speed, pseudo, sys;
static const char* visual_names[] =
static const char * const visual_names[] =
{
"static gray",
"grayscale",

View File

@@ -4,6 +4,7 @@
*/
#include <gtk/gtk.h>
#include "config.h"
#include "demo-common.h"
static GtkWidget *window = NULL;
@@ -132,8 +133,8 @@ about_cb (GtkAction *action,
gtk_about_dialog_set_url_hook (activate_url, NULL, NULL);
gtk_show_about_dialog (GTK_WINDOW (window),
"name", "GTK+ Code Demos",
"version", "2.4.3",
"copyright", "(C) 1997-2004 The GTK+ Team",
"version", PACKAGE_VERSION,
"copyright", "(C) 1997-2005 The GTK+ Team",
"license", license,
"website", "http://www.gtk.org",
"comments", "Program to demonstrate GTK+ functions.",

View File

@@ -41,7 +41,8 @@ paste_received (GtkClipboard *clipboard,
entry = GTK_WIDGET (user_data);
/* Set the entry text */
gtk_entry_set_text (GTK_ENTRY (entry), text);
if(text)
gtk_entry_set_text (GTK_ENTRY (entry), text);
}
void

View File

@@ -121,7 +121,10 @@ create_numbers_model (void)
/* add numbers */
for (i = 0; i < N_NUMBERS; i++)
{
char str[2] = { '0' + i, '\0' };
char str[2];
str[0] = '0' + i;
str[1] = '\0';
gtk_list_store_append (model, &iter);

View File

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

View File

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

View File

@@ -1,3 +1,120 @@
2006-07-02 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.20 ===
2006-06-12 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.19 ===
2006-05-26 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.18 ===
2006-04-07 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.17 ===
2006-04-04 Tor Lillqvist <tml@novell.com>
* gdk/tmpl/threads.sgml: Mention that the Win32 backend should not
be used from multiple threads.
2006-03-15 Matthias Clasen <mclasen@redhat.com>
* ==== Released 2.8.16 ===
2006-03-13 Matthias Clasen <mclasen@redhat.com>
* ==== Released 2.8.15 ===
2006-03-08 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.14 ===
2006-02-24 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.13 ===
2006-02-11 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.12 ===
2006-02-10 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkliststore.sgml: Add a section about
atomicity of insertions. (#329831, Milosz Derezynski)
2006-01-27 Federico Mena Quintero <federico@ximian.com>
Merged from HEAD:
* gtk/tmpl/gtkfilechooser.sgml: Mention that ~ is also a default
key binding.
2006-01-25 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.11 ===
2006-01-11 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.10 ===
2005-12-30 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkmain.sgml: Add deprecation note to
gtk_exit() (#325199, <20>var Arnfj<66>r<EFBFBD> Bjarmason)
2005-12-09 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.9 ===
2005-11-28 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.8 ===
2005-11-15 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.7 ===
2005-10-04 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.6 ===
2005-10-03 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.5 ===
2005-09-27 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.4 ===
2005-09-15 Federico Mena Quintero <federico@ximian.com>
* gtk/tmpl/gtkfilechooser.sgml: List all the default key bindings.
Fix the documentation for the "location-popup" binding signal; its
"path" argument was not listed. Mention a tip to have a crude
form of bookmarks accessible through key bindings.
2005-09-13 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkeditable.sgml: Clarify docs
for ::insert-text signal. (#316094, Tommi
Komulainen)
2005-09-05 Matthias Clasen <mclasen@redhat.com>
* gtk/tmpl/gtkpaned.sgml: Fix some typos.
(#315208, Vincent Untz)
2005-08-29 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.3 ===
2005-08-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-update-icon-cache.xml:
* gtk/gtk-update-icon-cache.1: Updates.
2005-08-24 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.2 ===

View File

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

View File

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

View File

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

View File

@@ -228,8 +228,6 @@ when GDK gets multihead support.
@screen:
@monitor_num:
@dest:
<!-- # Unused Parameters # -->
@Returns:
<!-- ##### FUNCTION gdk_screen_get_monitor_at_point ##### -->
@@ -251,8 +249,6 @@ when GDK gets multihead support.
@screen:
@window:
@Returns:
<!-- # Unused Parameters # -->
@anid:
<!-- ##### FUNCTION gdk_screen_broadcast_client_message ##### -->

View File

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

View File

@@ -22,6 +22,11 @@ which protects all use of GTK+. That is, only one thread can use GTK+
at any given time.
</para>
<para>
Unfortunately the above holds with the X11 backend only. With the
Win32 backend, GDK calls should not be attempted from multiple threads
at all.
</para>
<para>
You must call g_thread_init() and gdk_threads_init() before executing
any other GTK+ or GDK functions in a threaded GTK+ program.
</para>

View File

@@ -2,7 +2,7 @@
.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
.\" Instead of manually editing it, you probably should edit the DocBook XML
.\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
.TH "GTK\-UPDATE\-ICON\-CACH" "1" "08/23/2005" "" ""
.TH "GTK\-UPDATE\-ICON\-CACH" "1" "08/26/2005" "" ""
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
@@ -11,7 +11,7 @@
gtk\-update\-icon\-cache \- Icon theme caching utility
.SH "SYNOPSIS"
.HP 22
\fBgtk\-update\-icon\-cache\fR [\-\-force] [\-\-index\-only] [\-\-quiet] {iconpath}
\fBgtk\-update\-icon\-cache\fR [\-\-force] [\-\-index\-only] [\-\-ignore\-theme\-index] [\-\-quiet] {iconpath}
.SH "DESCRIPTION"
.PP
\fBgtk\-update\-icon\-cache\fR
@@ -31,6 +31,11 @@ to avoid a lot of system call and disk seek overhead when the application starts
\-\-force, \-f
Overwrite an existing cache file even if it appears to be uptodate.
.TP
\-\-ignore\-theme\-index, \-t
Don't check for the existence of 'index.theme' in the icon theme directory. Without this option,
\fBgtk\-update\-icon\-cache\fR
refuses to create an icon cache in a directory which does not appear to be the toplevel directory of an icon theme.
.TP
\-\-index\-only, \-i
Don't include image data in the cache.
.TP

View File

@@ -15,6 +15,7 @@
<command>gtk-update-icon-cache</command>
<arg choice="opt">--force</arg>
<arg choice="opt">--index-only</arg>
<arg choice="opt">--ignore-theme-index</arg>
<arg choice="opt">--quiet</arg>
<arg choice="req">iconpath</arg>
</cmdsynopsis>
@@ -47,6 +48,16 @@ multiple applications, the overall memory consumption is reduced as well.
</para></listitem>
</varlistentry>
<varlistentry>
<term>--ignore-theme-index</term>
<term>-t</term>
<listitem><para>Don't check for the existence of 'index.theme' in the icon theme
directory. Without this option, <command>gtk-update-icon-cache</command> refuses
to create an icon cache in a directory which does not appear to be the toplevel
directory of an icon theme.
</para></listitem>
</varlistentry>
<varlistentry>
<term>--index-only</term>
<term>-i</term>

View File

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

View File

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

View File

@@ -273,8 +273,6 @@ Returns the current relief style of the given #GtkButton.
@button:
@use_stock:
<!-- # Unused Parameters # -->
@value:
<!-- ##### FUNCTION gtk_button_get_use_underline ##### -->
@@ -293,8 +291,6 @@ Returns the current relief style of the given #GtkButton.
@button:
@use_underline:
<!-- # Unused Parameters # -->
@value:
<!-- ##### FUNCTION gtk_button_set_focus_on_click ##### -->

View File

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

View File

@@ -106,8 +106,6 @@ gtk_combo_box_get_active_text().
</para>
@Returns:
<!-- # Unused Parameters # -->
@model:
<!-- ##### FUNCTION gtk_combo_box_new_with_model ##### -->
@@ -189,8 +187,6 @@ gtk_combo_box_get_active_text().
@combo_box:
@index_:
<!-- # Unused Parameters # -->
@index:
<!-- ##### FUNCTION gtk_combo_box_get_active_iter ##### -->

View File

@@ -19,6 +19,15 @@ and the entry will show the content of the text column in the selected row. To
get the text from the entry, use gtk_combo_box_get_active_text().
</para>
<para>The changed signal will be emitted while typing into a GtkComboBoxEntry,
as well as when selecting an item from the GtkComboBoxEntry's list. Use
gtk_combo_box_get_active() or gtk_combo_box_get_active_iter() to discover
whether an item was actually selected from the list.
</para>
<para>Connect to the activate signal of the GtkEntry (use gtk_bin_get_child()) to
detect when the user actually finishes entering text.</para>
<para>
The convenience API to construct simple text-only #GtkComboBox<!-- -->es can
also be used with #GtkComboBoxEntry<!-- -->s which have been constructed
@@ -50,9 +59,6 @@ with gtk_combo_box_entry_new_text().
</para>
@Returns:
<!-- # Unused Parameters # -->
@model:
@text_column:
<!-- ##### FUNCTION gtk_combo_box_entry_new_with_model ##### -->

View File

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

View File

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

View File

@@ -125,11 +125,12 @@ it from being inserted entirely.
@editable: the object which received the signal.
@new_text: the new text to insert.
@new_text_length: the length of the new text.
@position: the position at which to insert the new text.
this is an in-out paramter. After the signal
emission is finished, it should point after
the newly inserted text.
@new_text_length: the length of the new text, in bytes,
or -1 if new_text is nul-terminated
@position: the position, in characters, at which to insert
the new text. this is an in-out parameter.
After the signal emission is finished, it should
point after the newly inserted text.
<!-- ##### FUNCTION gtk_editable_select_region ##### -->
<para>

View File

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

View File

@@ -410,7 +410,9 @@ Indicates the direction a sub-menu will appear.
<para>
Used to customize the appearance of a #GtkToolbar. Note that
setting the toolbar style overrides the user's preferences
for the default toolbar style.
for the default toolbar style. Note that if the button has only
a label set and GTK_TOOLBAR_ICONS is used, the label will be
visible, and vice versa.
</para>
@GTK_TOOLBAR_ICONS: Buttons display only icons in the toolbar.

View File

@@ -204,15 +204,33 @@ update_preview_cb (GtkFileChooser *file_chooser, gpointer data)
<tbody>
<row>
<entry>Signal name</entry>
<entry>Key</entry>
<entry>Default key combinations</entry>
</row>
<row>
<entry>location-popup</entry>
<entry><keycombo><keycap>Control</keycap><keycap>L</keycap></keycombo></entry>
<entry>
<keycombo><keycap>Control</keycap><keycap>L</keycap></keycombo> (empty path);
<keycap>/</keycap> (path of "/")<footnote>
<para>
Both the individual <keycap>/</keycap> key and the
numeric keypad's "divide" key are supported.
</para>
</footnote>;
<keycap>~</keycap> (path of "~")
</entry>
</row>
<row>
<entry>up-folder</entry>
<entry><keycombo><keycap>Alt</keycap><keycap>Up</keycap></keycombo></entry>
<entry>
<keycombo><keycap>Alt</keycap><keycap>Up</keycap></keycombo><footnote>
<para>
Both the individual Up key and the numeric
keypad's Up key are supported.
</para>
</footnote>
;
<keycap>Backspace</keycap>
</entry>
</row>
<row>
<entry>down-folder</entry>
@@ -227,16 +245,14 @@ update_preview_cb (GtkFileChooser *file_chooser, gpointer data)
</informaltable>
<para>
To change these defaults to something else, you could
include the following fragment in your
<filename>.gtkrc-2.0</filename> file:
You can change these defaults to something else. For
example, to add a <keycap>Shift</keycap> modifier to a few
of the default bindings, you can include the following
fragment in your <filename>.gtkrc-2.0</filename> file:
</para>
<programlisting>
binding "my-own-gtkfilechooser-bindings" {
bind "&lt;Alt&gt;&lt;Shift&gt;l" {
"location-popup" ()
}
bind "&lt;Alt&gt;&lt;Shift&gt;Up" {
"up-folder" ()
}
@@ -244,7 +260,7 @@ binding "my-own-gtkfilechooser-bindings" {
"down-folder" ()
}
bind "&lt;Alt&gt;&lt;Shift&gt;Home" {
"home-folder-folder" ()
"home-folder" ()
}
}
@@ -257,14 +273,24 @@ class "GtkFileChooserDefault" binding "my-own-gtkfilechooser-bindings"
<programlisting>
void user_function (GtkFileChooserDefault *chooser,
const char *path,
<link linkend="gpointer">gpointer</link> user_data);
</programlisting>
<para>
This is used to make the file chooser show a "Location"
dialog which the user can use to manually type the name of
the file he wishes to select. By default this is bound to
<keycombo><keycap>Control</keycap><keycap>L</keycap></keycombo>.
the file he wishes to select. The
<parameter>path</parameter> argument is a string that gets
put in the text entry for the file name. By default this is bound to
<keycombo><keycap>Control</keycap><keycap>L</keycap></keycombo>
with a <parameter>path</parameter> string of "" (the empty
string). It is also bound to <keycap>/</keycap> with a
<parameter>path</parameter> string of "<literal>/</literal>"
(a slash): this lets you type <keycap>/</keycap> and
immediately type a path name. On Unix systems, this is bound to
<keycap>~</keycap> (tilde) with a <parameter>path</parameter> string
of "~" itself for access to home directories.
</para>
<variablelist role="params">
@@ -276,6 +302,14 @@ class "GtkFileChooserDefault" binding "my-own-gtkfilechooser-bindings"
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>path</parameter>&nbsp;:</term>
<listitem>
<simpara>
default contents for the text entry for the file name
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>user_data</parameter>&nbsp;:</term>
<listitem>
@@ -285,6 +319,30 @@ class "GtkFileChooserDefault" binding "my-own-gtkfilechooser-bindings"
</listitem>
</varlistentry>
</variablelist>
<tip>
<para>
You can create your own bindings for the
<symbol>location-popup</symbol> signal with custom
<parameter>path</parameter> strings, and have a crude form
of easily-to-type bookmarks. For example, say you access
the path <filename>/home/username/misc</filename> very
frequently. You could then create an <keycombo>
<keycap>Alt</keycap> <keycap>M</keycap> </keycombo>
shortcut by including the following in your
<filename>.gtkrc-2.0</filename>:
</para>
<programlisting>
binding "misc-shortcut" {
bind "&lt;Alt&gt;M" {
"location-popup" ("/home/username/misc")
}
}
class "GtkFileChooserDefault" binding "misc-shortcut"
</programlisting>
</tip>
</refsect3>
<refsect3 id="GtkFileChooserDefault-up-folder">
@@ -298,8 +356,9 @@ class "GtkFileChooserDefault" binding "my-own-gtkfilechooser-bindings"
<para>
This is used to make the file chooser go to the parent of
the current folder in the file hierarchy. By default this
is bound to
<keycombo><keycap>Alt</keycap><keycap>Up</keycap></keycombo>.
is bound to <keycap>Backspace</keycap> and
<keycombo><keycap>Alt</keycap><keycap>Up</keycap></keycombo>
(the Up key in the numeric keypad also works).
</para>
<variablelist role="params">
@@ -338,7 +397,8 @@ class "GtkFileChooserDefault" binding "my-own-gtkfilechooser-bindings"
"/foo/<emphasis>bar/</emphasis>baz", then this will cause
the file chooser to switch to the "baz" subfolder. By
default this is bound to
<keycombo><keycap>Alt</keycap><keycap>Down</keycap></keycombo>.
<keycombo><keycap>Alt</keycap><keycap>Down</keycap></keycombo>
(the Down key in the numeric keypad also works).
</para>
<variablelist role="params">
@@ -372,7 +432,8 @@ class "GtkFileChooserDefault" binding "my-own-gtkfilechooser-bindings"
<para>
This is used to make the file chooser show the user's home
folder in the file list. By default this is bound to
<keycombo><keycap>Alt</keycap><keycap>Home</keycap></keycombo>.
<keycombo><keycap>Alt</keycap><keycap>Home</keycap></keycombo>
(the Home key in the numeric keypad also works).
</para>
<variablelist role="params">
@@ -658,8 +719,6 @@ gtk_widget_destroy (chooser);
@chooser:
@local_only:
<!-- # Unused Parameters # -->
@files_only:
<!-- ##### FUNCTION gtk_file_chooser_get_local_only ##### -->
@@ -943,8 +1002,6 @@ gtk_widget_destroy (chooser);
@chooser:
@Returns:
<!-- # Unused Parameters # -->
@file_chooser:
<!-- ##### FUNCTION gtk_file_chooser_get_preview_uri ##### -->
@@ -954,8 +1011,6 @@ gtk_widget_destroy (chooser);
@chooser:
@Returns:
<!-- # Unused Parameters # -->
@file_chooser:
<!-- ##### FUNCTION gtk_file_chooser_set_extra_widget ##### -->
@@ -1061,8 +1116,6 @@ gtk_widget_destroy (chooser);
@uri:
@error:
@Returns:
<!-- # Unused Parameters # -->
@folder:
<!-- ##### FUNCTION gtk_file_chooser_remove_shortcut_folder_uri ##### -->
@@ -1074,8 +1127,6 @@ gtk_widget_destroy (chooser);
@uri:
@error:
@Returns:
<!-- # Unused Parameters # -->
@folder:
<!-- ##### FUNCTION gtk_file_chooser_list_shortcut_folder_uris ##### -->

View File

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

View File

@@ -437,7 +437,6 @@ functions), but they will all return %NULL values.
@Returns: the #GtkImage
<!-- # Unused Parameters # -->
@val:
@mask: a #GdkBitmap that indicates which parts of the image should be transparent.

View File

@@ -56,9 +56,6 @@ fill in the text label.
</para>
@Returns:
<!-- # Unused Parameters # -->
@widget:
@label:
<!-- ##### FUNCTION gtk_image_menu_item_new_from_stock ##### -->

View File

@@ -95,8 +95,6 @@ area.
@child_widget:
@x:
@y:
<!-- # Unused Parameters # -->
@widget:
<!-- ##### FUNCTION gtk_layout_move ##### -->
@@ -108,8 +106,6 @@ area.
@child_widget:
@x:
@y:
<!-- # Unused Parameters # -->
@widget:
<!-- ##### FUNCTION gtk_layout_set_size ##### -->

View File

@@ -91,6 +91,19 @@ that #GtkTreeIter<!-- -->s can be cached while the row exists. Thus, if
access to a particular row is needed often and your code is expected to
run on older versions of GTK+, it is worth keeping the iter around.
</para>
<title>Atomic Operations</title>
<para>
It is important to note that only the methods @gtk_list_store_insert_with_values and
@gtk_list_store_insert_with_valuesv are atomic, in the sense that the row is being appended
to the store and the values filled in in a single operation with regard to #GtkTreeModel signaling.
In contrast, using e.g. @gtk_list_store_append and then @gtk_list_store_set will first create a row,
which triggers the "row_inserted" #GtkTreeModel signal on #GtkListStore. The row, however, is still
empty, and any signal handler connecting to "row_inserted" on this particular store should be prepared
for the situation that the row might be empty.
This is especially important if you are wrapping the #GtkListStore inside a #GtkTreeModelFilter and are
using a #GtkTreeModelFilterVisibleFunc. Using any of the non-atomic operations to append rows to the #GtkListStore
will cause the #GtkTreeModelFilterVisibleFunc to be visited with an empty row first; the function must be prepared for that.
</para>
</refsect2>
<!-- ##### SECTION See_Also ##### -->
@@ -176,8 +189,6 @@ run on older versions of GTK+, it is worth keeping the iter around.
@list_store:
@iter:
@Returns:
<!-- # Unused Parameters # -->
@store:
<!-- ##### FUNCTION gtk_list_store_insert ##### -->
@@ -188,8 +199,6 @@ run on older versions of GTK+, it is worth keeping the iter around.
@list_store:
@iter:
@position:
<!-- # Unused Parameters # -->
@store:
<!-- ##### FUNCTION gtk_list_store_insert_before ##### -->
@@ -200,8 +209,6 @@ run on older versions of GTK+, it is worth keeping the iter around.
@list_store:
@iter:
@sibling:
<!-- # Unused Parameters # -->
@store:
<!-- ##### FUNCTION gtk_list_store_insert_after ##### -->
@@ -212,8 +219,6 @@ run on older versions of GTK+, it is worth keeping the iter around.
@list_store:
@iter:
@sibling:
<!-- # Unused Parameters # -->
@store:
<!-- ##### FUNCTION gtk_list_store_insert_with_values ##### -->
@@ -247,8 +252,6 @@ run on older versions of GTK+, it is worth keeping the iter around.
@list_store:
@iter:
<!-- # Unused Parameters # -->
@store:
<!-- ##### FUNCTION gtk_list_store_append ##### -->
@@ -258,8 +261,6 @@ run on older versions of GTK+, it is worth keeping the iter around.
@list_store:
@iter:
<!-- # Unused Parameters # -->
@store:
<!-- ##### FUNCTION gtk_list_store_clear ##### -->

View File

@@ -170,8 +170,8 @@ for GTK+.
</para>
@error_code: Return value to pass to the caller. This is dependend on the
target system but at least on Unix systems %0 means
success.
target system but at least on Unix systems %0 means success.
@Deprecated: Use the standard exit() function instead.
<!-- ##### FUNCTION gtk_events_pending ##### -->

View File

@@ -163,9 +163,6 @@ Adds a new #GtkMenuItem to the end of the menu's item list.
@menu: a #GtkMenu.
@child: The #GtkMenuItem to add.
<!-- # Unused Parameters # -->
@m:
@c:
<!-- ##### MACRO gtk_menu_prepend ##### -->
@@ -175,10 +172,6 @@ Adds a new #GtkMenuItem to the beginning of the menu's item list.
@menu: a #GtkMenu.
@child: The #GtkMenuItem to add.
<!-- # Unused Parameters # -->
@menu_child:
@m:
@c:
<!-- ##### MACRO gtk_menu_insert ##### -->
@@ -345,7 +338,7 @@ be invoked when the menu calls gtk_menu_detach() during its destruction.
@menu: a #GtkMenu.
@attach_widget: the #GtkWidget that the menu will be attached to.
@detacher: the user supplied callback function that will be called when
the menu calls gtk_menu_detach().
the menu calls gtk_menu_detach(), or %NULL
<!-- ##### FUNCTION gtk_menu_detach ##### -->

View File

@@ -46,8 +46,6 @@ will be a popup menu allowing the users to switch pages.
@notebook: the object which received the signal.
@arg1:
<!-- # Unused Parameters # -->
@Returns:
<!-- ##### SIGNAL GtkNotebook::focus-tab ##### -->
<para>

View File

@@ -201,7 +201,7 @@ Adds a child to the top or left pane.
@paned: a paned widget
@child: the child to add
@resize: should this child expand when the paned widget is resized.
@shrink: can this child be made smaller than its requsition.
@shrink: can this child be made smaller than its requisition.
<!-- ##### FUNCTION gtk_paned_pack2 ##### -->
@@ -212,7 +212,7 @@ Adds a child to the bottom or right pane.
@paned: a paned widget
@child: the child to add
@resize: should this child expand when the paned widget is resized.
@shrink: can this child be made smaller than its requsition.
@shrink: can this child be made smaller than its requisition.
<!-- ##### FUNCTION gtk_paned_get_child1 ##### -->

View File

@@ -50,7 +50,6 @@ Virtual function that moves the slider. Used for keybindings.
@arg1:
<!-- # Unused Parameters # -->
@step: how to move the slider
@arg2:
<!-- ##### SIGNAL GtkRange::value-changed ##### -->
<para>

View File

@@ -854,8 +854,6 @@ if the file is not found.
@pixmap_file: The name of the file to search for.
@Returns: The filename, if found (must be freed with g_free()),
otherwise %NULL.
<!-- # Unused Parameters # -->
@context:
<!-- ##### FUNCTION gtk_rc_get_module_dir ##### -->

View File

@@ -267,8 +267,6 @@ Sets the #GtkAdjustment for the vertical scrollbar.
@scrolled_window: A #GtkScrolledWindow.
@vadjustment: Vertical scroll adjustment.
<!-- # Unused Parameters # -->
@hadjustment:
<!-- ##### FUNCTION gtk_scrolled_window_get_placement ##### -->

View File

@@ -64,8 +64,6 @@ should only be accessed through the functions described below.
@item:
@draw:
<!-- # Unused Parameters # -->
@tool_item:
<!-- ##### FUNCTION gtk_separator_tool_item_get_draw ##### -->

View File

@@ -83,6 +83,11 @@ Sharing settings between applications
</para>
<!-- ##### ARG GtkSettings:gtk-fallback-icon-theme ##### -->
<para>
</para>
<!-- ##### ARG GtkSettings:gtk-font-name ##### -->
<para>
@@ -209,8 +214,6 @@ Sharing settings between applications
</para>
@pspec:
<!-- # Unused Parameters # -->
@settings:
<!-- ##### FUNCTION gtk_settings_install_property_parser ##### -->
@@ -220,8 +223,6 @@ Sharing settings between applications
@pspec:
@parser:
<!-- # Unused Parameters # -->
@settings:
<!-- ##### FUNCTION gtk_rc_property_parse_color ##### -->

View File

@@ -165,9 +165,6 @@ you might have to write a marshaller.
Use in place of <function>offsetof()</function>, which is used if it exists.
</para>
<!-- # Unused Parameters # -->
@struct:
@field:
<!-- ##### ENUM GtkSignalRunType ##### -->

View File

@@ -95,8 +95,6 @@ reached from the widget by a chain of size groups of type
@size_group:
@mode:
<!-- # Unused Parameters # -->
@type:
<!-- ##### FUNCTION gtk_size_group_get_mode ##### -->

View File

@@ -154,8 +154,6 @@ reuse it you must add a signal handler that returns %TRUE.
@socket_:
@window_id:
<!-- # Unused Parameters # -->
@id:
<!-- ##### FUNCTION gtk_socket_get_id ##### -->

View File

@@ -488,8 +488,6 @@ Deprecated alias for gtk_style_apply_default_background().
@x:
@y:
@expander_style:
<!-- # Unused Parameters # -->
@is_open:
<!-- ##### FUNCTION gtk_draw_layout ##### -->
@@ -862,8 +860,6 @@ Deprecated alias for gtk_style_apply_default_background().
@x:
@y:
@expander_style:
<!-- # Unused Parameters # -->
@is_open:
<!-- ##### FUNCTION gtk_paint_layout ##### -->

View File

@@ -99,8 +99,6 @@ types related to the text widget and how they work together.
@arg1:
@arg2:
@arg3:
<!-- # Unused Parameters # -->
@arg4:
<!-- ##### SIGNAL GtkTextBuffer::mark-deleted ##### -->
<para>
@@ -286,9 +284,6 @@ types related to the text widget and how they work together.
@buffer:
@start:
@end:
<!-- # Unused Parameters # -->
@start_iter:
@end_iter:
<!-- ##### FUNCTION gtk_text_buffer_delete_interactive ##### -->
@@ -335,9 +330,6 @@ types related to the text widget and how they work together.
@end:
@include_hidden_chars:
@Returns:
<!-- # Unused Parameters # -->
@start_iter:
@end_iter:
<!-- ##### FUNCTION gtk_text_buffer_get_slice ##### -->
@@ -350,9 +342,6 @@ types related to the text widget and how they work together.
@end:
@include_hidden_chars:
@Returns:
<!-- # Unused Parameters # -->
@start_iter:
@end_iter:
<!-- ##### FUNCTION gtk_text_buffer_insert_pixbuf ##### -->
@@ -491,9 +480,6 @@ types related to the text widget and how they work together.
@tag:
@start:
@end:
<!-- # Unused Parameters # -->
@start_index:
@end_index:
<!-- ##### FUNCTION gtk_text_buffer_remove_tag ##### -->
@@ -505,9 +491,6 @@ types related to the text widget and how they work together.
@tag:
@start:
@end:
<!-- # Unused Parameters # -->
@start_index:
@end_index:
<!-- ##### FUNCTION gtk_text_buffer_apply_tag_by_name ##### -->
@@ -519,9 +502,6 @@ types related to the text widget and how they work together.
@name:
@start:
@end:
<!-- # Unused Parameters # -->
@start_index:
@end_index:
<!-- ##### FUNCTION gtk_text_buffer_remove_tag_by_name ##### -->
@@ -533,9 +513,6 @@ types related to the text widget and how they work together.
@name:
@start:
@end:
<!-- # Unused Parameters # -->
@start_index:
@end_index:
<!-- ##### FUNCTION gtk_text_buffer_remove_all_tags ##### -->
@@ -688,9 +665,6 @@ types related to the text widget and how they work together.
@clipboard:
@override_location:
@default_editable:
<!-- # Unused Parameters # -->
@time_:
@interactive:
<!-- ##### FUNCTION gtk_text_buffer_copy_clipboard ##### -->

View File

@@ -849,9 +849,6 @@ types related to the text widget and how they work together.
@match_end:
@limit:
@Returns:
<!-- # Unused Parameters # -->
@visible_only:
@slice:
<!-- ##### FUNCTION gtk_text_iter_backward_search ##### -->
@@ -866,9 +863,6 @@ types related to the text widget and how they work together.
@match_end:
@limit:
@Returns:
<!-- # Unused Parameters # -->
@visible_only:
@slice:
<!-- ##### FUNCTION gtk_text_iter_equal ##### -->

View File

@@ -483,8 +483,6 @@ modified directly.
@src:
@Returns:
<!-- # Unused Parameters # -->
@dest:
<!-- ##### FUNCTION gtk_text_attributes_copy_values ##### -->
@@ -510,5 +508,6 @@ modified directly.
</para>
@values:
@Returns:

View File

@@ -283,9 +283,6 @@ types related to the text widget and how they work together.
@use_align:
@xalign:
@yalign:
<!-- # Unused Parameters # -->
@Returns:
@mark_within_margin:
<!-- ##### FUNCTION gtk_text_view_scroll_to_iter ##### -->
@@ -309,8 +306,6 @@ types related to the text widget and how they work together.
@text_view:
@mark:
<!-- # Unused Parameters # -->
@Returns:
<!-- ##### FUNCTION gtk_text_view_move_mark_onscreen ##### -->

View File

@@ -87,10 +87,7 @@ accessed through the function described below.
@toolbar: the object which received the signal.
@Returns:
@:
@:
@Returns:
@:
@Returns:
@Returns:
@@ -253,8 +250,6 @@ to a #GtkToolbar.
@toolbar:
@tool_item:
@index_:
<!-- # Unused Parameters # -->
@index:
<!-- ##### FUNCTION gtk_toolbar_set_show_arrow ##### -->

View File

@@ -827,9 +827,6 @@ versions of GTK+.
@tree_model:
@path:
@iter:
<!-- # Unused Parameters # -->
@start_path:
@start_iter:
<!-- ##### FUNCTION gtk_tree_model_row_inserted ##### -->

View File

@@ -174,8 +174,6 @@ particularly efficient operation.
@filter:
@filter_path:
@Returns:
<!-- # Unused Parameters # -->
@path:
<!-- ##### FUNCTION gtk_tree_model_filter_refilter ##### -->

View File

@@ -139,10 +139,6 @@ This should not be accessed directly. Use the accessor functions below.
@child_model:
@Returns:
<!-- # Unused Parameters # -->
@func:
@sort_col:
@model:
<!-- ##### FUNCTION gtk_tree_model_sort_get_model ##### -->

View File

@@ -367,8 +367,6 @@ has some similarity to strcmp() returning 0 for equal strings.
@tree_view:
@model:
<!-- # Unused Parameters # -->
@tree_model:
<!-- ##### FUNCTION gtk_tree_view_get_selection ##### -->
@@ -387,8 +385,6 @@ has some similarity to strcmp() returning 0 for equal strings.
@tree_view:
@Returns:
<!-- # Unused Parameters # -->
@layout:
<!-- ##### FUNCTION gtk_tree_view_set_hadjustment ##### -->
@@ -398,8 +394,6 @@ has some similarity to strcmp() returning 0 for equal strings.
@tree_view:
@adjustment:
<!-- # Unused Parameters # -->
@layout:
<!-- ##### FUNCTION gtk_tree_view_get_vadjustment ##### -->
@@ -409,8 +403,6 @@ has some similarity to strcmp() returning 0 for equal strings.
@tree_view:
@Returns:
<!-- # Unused Parameters # -->
@layout:
<!-- ##### FUNCTION gtk_tree_view_set_vadjustment ##### -->
@@ -420,8 +412,6 @@ has some similarity to strcmp() returning 0 for equal strings.
@tree_view:
@adjustment:
<!-- # Unused Parameters # -->
@layout:
<!-- ##### FUNCTION gtk_tree_view_get_headers_visible ##### -->
@@ -457,8 +447,6 @@ has some similarity to strcmp() returning 0 for equal strings.
@tree_view:
@setting:
<!-- # Unused Parameters # -->
@active:
<!-- ##### FUNCTION gtk_tree_view_set_rules_hint ##### -->
@@ -759,8 +747,6 @@ has some similarity to strcmp() returning 0 for equal strings.
@cell_x:
@cell_y:
@Returns:
<!-- # Unused Parameters # -->
@window:
<!-- ##### FUNCTION gtk_tree_view_get_cell_area ##### -->
@@ -927,8 +913,6 @@ has some similarity to strcmp() returning 0 for equal strings.
@tree_view:
@enable_search:
<!-- # Unused Parameters # -->
@use_search:
<!-- ##### FUNCTION gtk_tree_view_get_enable_search ##### -->

View File

@@ -431,8 +431,6 @@ calling gtk_tree_view_column_set_cell_data_func()
@tree_column:
@clickable:
<!-- # Unused Parameters # -->
@active:
<!-- ##### FUNCTION gtk_tree_view_column_get_clickable ##### -->

View File

@@ -114,7 +114,6 @@ Determines whether @type_object is a type of @otype.
<!-- # Unused Parameters # -->
@type_object: a #GtkTypeObject object
@otype:
<!-- ##### MACRO GTK_CHECK_CLASS_TYPE ##### -->
@@ -124,7 +123,6 @@ Determines whether @type_class is a type of @otype.
<!-- # Unused Parameters # -->
@type_class: a #GtkTypeClass class.
@otype:
<!-- ##### MACRO GTK_CHECK_GET_CLASS ##### -->
@@ -141,8 +139,6 @@ Gets the class of @tobj.
Converts a GTK+ type into a fundamental type.
</para>
<!-- # Unused Parameters # -->
@type:
<!-- ##### MACRO GTK_SIGNAL_FUNC ##### -->

View File

@@ -156,8 +156,6 @@ gtk_widget_style_get_valist() to obtain the value of a style property.
@data:
@info:
@time:
<!-- # Unused Parameters # -->
@time_:
<!-- ##### SIGNAL GtkWidget::drag-data-received ##### -->
<para>
@@ -171,8 +169,6 @@ gtk_widget_style_get_valist() to obtain the value of a style property.
@data:
@info:
@time:
<!-- # Unused Parameters # -->
@time_:
<!-- ##### SIGNAL GtkWidget::drag-drop ##### -->
<para>
@@ -185,8 +181,6 @@ gtk_widget_style_get_valist() to obtain the value of a style property.
@y:
@time:
@Returns:
<!-- # Unused Parameters # -->
@time_:
<!-- ##### SIGNAL GtkWidget::drag-end ##### -->
<para>
@@ -204,8 +198,6 @@ gtk_widget_style_get_valist() to obtain the value of a style property.
@widget: the object which received the signal.
@drag_context:
@time:
<!-- # Unused Parameters # -->
@time_:
<!-- ##### SIGNAL GtkWidget::drag-motion ##### -->
<para>
@@ -218,8 +210,6 @@ gtk_widget_style_get_valist() to obtain the value of a style property.
@y:
@time:
@Returns:
<!-- # Unused Parameters # -->
@time_:
<!-- ##### SIGNAL GtkWidget::enter-notify-event ##### -->
<para>
@@ -481,8 +471,6 @@ a widget changes from un-anchored to anchored or vice-versa.
@data:
@info:
@time:
<!-- # Unused Parameters # -->
@time_:
<!-- ##### SIGNAL GtkWidget::selection-notify-event ##### -->
<para>
@@ -501,8 +489,6 @@ a widget changes from un-anchored to anchored or vice-versa.
@widget: the object which received the signal.
@data:
@time:
<!-- # Unused Parameters # -->
@time_:
<!-- ##### SIGNAL GtkWidget::selection-request-event ##### -->
<para>
@@ -1116,8 +1102,6 @@ widget by its parent. It is a subregion of its parents allocation. See
@first_property_name:
@Varargs:
@Returns:
<!-- # Unused Parameters # -->
@first_arg_name:
<!-- ##### FUNCTION gtk_widget_ref ##### -->
@@ -1162,8 +1146,6 @@ widget by its parent. It is a subregion of its parents allocation. See
@widget:
@first_property_name:
@Varargs:
<!-- # Unused Parameters # -->
@first_arg_name:
<!-- ##### FUNCTION gtk_widget_unparent ##### -->
@@ -2053,8 +2035,6 @@ This function is not useful for applications.
@klass:
@pspec:
<!-- # Unused Parameters # -->
@class:
<!-- ##### FUNCTION gtk_widget_class_install_style_property_parser ##### -->
@@ -2065,8 +2045,6 @@ This function is not useful for applications.
@klass:
@pspec:
@parser:
<!-- # Unused Parameters # -->
@class:
<!-- ##### FUNCTION gtk_widget_class_find_style_property ##### -->
@@ -2077,8 +2055,6 @@ This function is not useful for applications.
@klass:
@property_name:
@Returns:
<!-- # Unused Parameters # -->
@class:
<!-- ##### FUNCTION gtk_widget_class_list_style_properties ##### -->
@@ -2089,8 +2065,6 @@ This function is not useful for applications.
@klass:
@n_properties:
@Returns:
<!-- # Unused Parameters # -->
@class:
<!-- ##### FUNCTION gtk_widget_region_intersect ##### -->

View File

@@ -891,9 +891,6 @@ Deprecated alias for gtk_window_set_position().
@window:
@root_x:
@root_y:
<!-- # Unused Parameters # -->
@x:
@y:
<!-- ##### FUNCTION gtk_window_get_role ##### -->
@@ -1039,8 +1036,6 @@ Deprecated alias for gtk_window_set_position().
</para>
@icon:
<!-- # Unused Parameters # -->
@pixbuf:
<!-- ##### FUNCTION gtk_window_set_default_icon_from_file ##### -->

View File

@@ -1,3 +1,139 @@
2006-07-02 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.20 ===
* pixops/*.S: NetBSD portability fixes. (#346374,
Thomas Klausner)
2006-06-12 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.19 ===
2006-05-26 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.18 ===
2006-04-07 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.17 ===
2006-03-22 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-loader.c: Add some documentation about
supported image formats, and how to find out about them.
(#335536, Murray Cumming)
2006-03-15 Matthias Clasen <mclasen@redhat.com>
* ==== Released 2.8.16 ===
2006-03-14 Matthias Clasen <mclasen@redhat.com>
* io-gif.c (gdk_pixbuf__gif_image_load): Add a shortcut
to stop the gif mainloop after the first frame, if that
is all we are interested in. (#334538)
2006-03-13 Matthias Clasen <mclasen@redhat.com>
* ==== Released 2.8.15 ===
2006-03-08 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.14 ===
2006-03-03 Matthias Clasen <mclasen@redhat.com>
* io-pcx.c (pcx_load_palette_8): Fix incremental loading
of 8-bit pcx files. (#148518, Magnus Bergmann)
2006-02-24 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.13 ===
2006-02-11 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.12 ===
2006-02-10 Matthias Clasen <mclasen@redhat.com>
* io-jpeg.c:
* io-png.c:
* io-pnm.c:
* io-tiff.c:
* io-xbm.c:
* io-xpm.c: Always check for NULL when using callbacks.
(#330563, Benjamin Otte)
2006-01-25 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.11 ===
2006-01-12 Federico Mena Quintero <federico@ximian.com>
Merged from HEAD:
* gdk-pixbuf-util.c (gdk_pixbuf_saturate_and_pixelate): Clarify
the docs ("darkened/brightened" is not "saturation").
2006-01-11 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.10 ===
2005-12-14 Michael Natterer <mitch@imendio.com>
Merged from HEAD:
* io-jpeg.c: applied patch from maemo-gtk which avoids the
allocation of an intermediate buffer for non-progressive
jpegs. Fixed bug #305894.
2005-12-09 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.9 ===
2005-11-28 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.8 ===
2005-11-15 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.7 ===
2005-11-15 Matthias Clasen <mclasen@redhat.com>
* io-xpm.c: Fix several integer overflows which have been
reported as CVE-2005-3186 and CVE-2005-2975.
2005-10-12 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Only call
gdk_pixbuf_loader_eat_header_write() when count > 0. (#318589,
Bogdan Nicula)
2005-10-04 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.6 ===
2005-10-03 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.5 ===
2005-10-03 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file):
* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file):
* gdk-pixbuf-loader.c: Use a 1k buffer for sniffing image formats,
instead of 128 or 256 bytes. (#317225, Sebastien Bacher,
Dom Lachowicz)
2005-09-27 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.4 ===
2005-08-29 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.3 ===
2005-08-24 Matthias Clasen <mclasen@redhat.com>
* === Released 2.8.2 ===

View File

@@ -370,7 +370,7 @@ gdk-pixbuf-enum-types.h: s-enum-types-h
@true
s-enum-types-h: @REBUILD@ $(gdk_pixbuf_headers) Makefile
( cd $(srcdir) && glib-mkenums \
( cd $(srcdir) && $(GLIB_MKENUMS) \
--fhead "#ifndef __GDK_PIXBUF_ENUM_TYPES_H__\n#define __GDK_PIXBUF_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
--fprod "/* enumerations from \"@filename@\" */\n" \
--vhead "GType @enum_name@_get_type (void) G_GNUC_CONST;\n#define GDK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
@@ -387,7 +387,7 @@ MAINTAINERCLEANFILES += s-enum-types-h
# gdk-pixbuf-enum-types.c
#
gdk-pixbuf-enum-types.c: @REBUILD@ $(gdk_pixbuf_headers) Makefile
(cd $(srcdir) && glib-mkenums \
(cd $(srcdir) && $(GLIB_MKENUMS) \
--fhead "#include <gdk-pixbuf/gdk-pixbuf.h>\n#include \"gdk-pixbuf-alias.h\"\n" \
--fprod "\n/* enumerations from \"@filename@\" */" \
--ftail "\n#define __GDK_PIXBUF_ENUM_TYPES_C__\n#include \"gdk-pixbuf-aliasdef.c\"" \
@@ -487,7 +487,7 @@ all-local: gdk-pixbuf.loaders
endif
if BUILD_DYNAMIC_MODULES
gdk-pixbuf.loaders: $(loader_LTLIBRARIES) gdk-pixbuf-query-loaders
gdk-pixbuf.loaders: $(loader_LTLIBRARIES) gdk-pixbuf-query-loaders$(EXEEXT)
LOADERS=`echo libpixbufloader-*.la` ; \
if test "x$$LOADERS" != 'xlibpixbufloader-*.la' ; then \
echo "Writing a gdk-pixbuf.loader file to use when running examples before installing gdk-pixbuf."; \

View File

@@ -1,5 +1,5 @@
#! /bin/sh
cpp -DINCLUDE_VARIABLES -P -DALL_FILES ${srcdir:-.}/gdk-pixbuf.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' -e 's/ PRIVATE$//' | sort > expected-abi
nm -D .libs/libgdk_pixbuf-2.0.so | grep " [BDTR] " | cut -d ' ' -f 3 | sort > actual-abi
nm -D -g --defined-only .libs/libgdk_pixbuf-2.0.so | cut -d ' ' -f 3 | sort > actual-abi
diff -u expected-abi actual-abi && rm expected-abi actual-abi

View File

@@ -136,7 +136,7 @@ gdk_pixbuf_animation_new_from_file (const char *filename,
GdkPixbufAnimation *animation;
int size;
FILE *f;
guchar buffer [128];
guchar buffer [1024];
GdkPixbufModule *image_module;
gchar *display_name;
gboolean locked = FALSE;

View File

@@ -839,7 +839,7 @@ gdk_pixbuf_new_from_file (const char *filename,
GdkPixbuf *pixbuf;
int size;
FILE *f;
guchar buffer[256];
guchar buffer[1024];
GdkPixbufModule *image_module;
gchar *display_name;

View File

@@ -52,7 +52,7 @@ static guint pixbuf_loader_signals[LAST_SIGNAL] = { 0 };
/* Internal data */
#define LOADER_HEADER_SIZE 128
#define LOADER_HEADER_SIZE 1024
typedef struct
{
@@ -485,7 +485,7 @@ gdk_pixbuf_loader_write (GdkPixbufLoader *loader,
/* we expect it's not to be closed */
g_return_val_if_fail (priv->closed == FALSE, FALSE);
if (priv->image_module == NULL)
if (count > 0 && priv->image_module == NULL)
{
gint eaten;
@@ -547,6 +547,12 @@ gdk_pixbuf_loader_new (void)
* that can't be reliably identified by looking at the data, or if
* the user manually forces a specific type.
*
* The list of supported image formats depends on what image loaders
* are installed, but typically "png", "jpeg", "gif", "tiff" and
* "xpm" are among the supported formats. To obtain the full list of
* supported image formats, call gdk_pixbuf_format_get_name() on each
* of the #GdkPixbufFormat structs returned by gdk_pixbuf_get_formats().
*
* Return value: A newly-created pixbuf loader.
**/
GdkPixbufLoader *
@@ -584,6 +590,13 @@ gdk_pixbuf_loader_new_with_type (const char *image_type,
* that can't be reliably identified by looking at the data, or if
* the user manually forces a specific mime type.
*
* The list of supported mime types depends on what image loaders
* are installed, but typically "image/png", "image/jpeg", "image/gif",
* "image/tiff" and "image/x-xpixmap" are among the supported mime types.
* To obtain the full list of supported mime types, call
* gdk_pixbuf_format_get_mime_types() on each of the #GdkPixbufFormat
* structs returned by gdk_pixbuf_get_formats().
*
* Return value: A newly-created pixbuf loader.
* Since: 2.4
**/
@@ -727,7 +740,9 @@ gdk_pixbuf_loader_close (GdkPixbufLoader *loader,
/* we expect it's not closed */
g_return_val_if_fail (priv->closed == FALSE, TRUE);
/* We have less the 128 bytes in the image. Flush it, and keep going. */
/* We have less the LOADER_HEADER_SIZE bytes in the image.
* Flush it, and keep going.
*/
if (priv->image_module == NULL)
{
GError *tmp = NULL;

View File

@@ -159,14 +159,14 @@ gdk_pixbuf_copy_area (const GdkPixbuf *src_pixbuf,
* @saturation: saturation factor
* @pixelate: whether to pixelate
*
* Modifies saturation and optionally pixelates @src, placing the
* result in @dest. @src and @dest may be the same pixbuf with no ill
* effects. If @saturation is 1.0 then saturation is not changed. If
* it's less than 1.0, saturation is reduced (the image is darkened);
* if greater than 1.0, saturation is increased (the image is
* brightened). If @pixelate is %TRUE, then pixels are faded in a
* checkerboard pattern to create a pixelated image. @src and @dest
* must have the same image format, size, and rowstride.
* Modifies saturation and optionally pixelates @src, placing the result in
* @dest. @src and @dest may be the same pixbuf with no ill effects. If
* @saturation is 1.0 then saturation is not changed. If it's less than 1.0,
* saturation is reduced (the image turns toward grayscale); if greater than
* 1.0, saturation is increased (the image gets more vivid colors). If @pixelate
* is %TRUE, then pixels are faded in a checkerboard pattern to create a
* pixelated image. @src and @dest must have the same image format, size, and
* rowstride.
*
**/
void

View File

@@ -117,6 +117,7 @@ struct _GifContext
unsigned int global_bit_pixel;
unsigned int global_color_resolution;
unsigned int background_index;
gboolean stop_after_first_frame;
gboolean frame_cmap_active;
CMap frame_color_map;
@@ -1088,6 +1089,9 @@ gif_get_lzw (GifContext *context)
*/
context->frame = NULL;
context->frame_cmap_active = FALSE;
if (context->stop_after_first_frame)
context->state = GIF_DONE;
}
return v;
@@ -1415,7 +1419,7 @@ new_context (void)
memset (context, 0, sizeof (GifContext));
context->animation = g_object_new (GDK_TYPE_PIXBUF_GIF_ANIM, NULL);
context->animation = g_object_new (GDK_TYPE_PIXBUF_GIF_ANIM, NULL);
context->frame = NULL;
context->file = NULL;
context->state = GIF_START;
@@ -1430,6 +1434,7 @@ new_context (void)
context->gif89.disposal = -1;
context->animation->loop = 1;
context->in_loop_extension = FALSE;
context->stop_after_first_frame = FALSE;
return context;
}
@@ -1454,7 +1459,8 @@ gdk_pixbuf__gif_image_load (FILE *file, GError **error)
context->file = file;
context->error = error;
context->stop_after_first_frame = TRUE;
if (gif_main_loop (context) == -1 || context->animation->frames == NULL) {
if (context->error && *(context->error) == NULL)
g_set_error (context->error,

View File

@@ -546,6 +546,66 @@ gdk_pixbuf__jpeg_image_stop_load (gpointer data, GError **error)
}
static gboolean
gdk_pixbuf__jpeg_image_load_lines (JpegProgContext *context,
GError **error)
{
struct jpeg_decompress_struct *cinfo = &context->cinfo;
guchar *lines[4];
guchar **lptr;
guchar *rowptr;
gint nlines, i;
/* keep going until we've done all scanlines */
while (cinfo->output_scanline < cinfo->output_height) {
lptr = lines;
rowptr = context->dptr;
for (i=0; i < cinfo->rec_outbuf_height; i++) {
*lptr++ = rowptr;
rowptr += context->pixbuf->rowstride;
}
nlines = jpeg_read_scanlines (cinfo, lines,
cinfo->rec_outbuf_height);
if (nlines == 0)
break;
switch (cinfo->out_color_space) {
case JCS_GRAYSCALE:
explode_gray_into_buf (cinfo, lines);
break;
case JCS_RGB:
/* do nothing */
break;
case JCS_CMYK:
convert_cmyk_to_rgb (cinfo, lines);
break;
default:
if (error && *error == NULL) {
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_UNKNOWN_TYPE,
_("Unsupported JPEG color space (%s)"),
colorspace_name (cinfo->out_color_space));
}
return FALSE;
}
context->dptr += nlines * context->pixbuf->rowstride;
/* send updated signal */
if (context->updated_func)
(* context->updated_func) (context->pixbuf,
0,
cinfo->output_scanline - 1,
cinfo->image_width,
nlines,
context->user_data);
}
return TRUE;
}
/*
@@ -686,15 +746,16 @@ gdk_pixbuf__jpeg_image_load_increment (gpointer data,
context->dptr = context->pixbuf->pixels;
/* Notify the client that we are ready to go */
(* context->prepared_func) (context->pixbuf,
NULL,
context->user_data);
if (context->prepared_func)
(* context->prepared_func) (context->pixbuf,
NULL,
context->user_data);
} else if (!context->did_prescan) {
int rc;
/* start decompression */
cinfo->buffered_image = TRUE;
cinfo->buffered_image = cinfo->progressive_mode;
rc = jpeg_start_decompress (cinfo);
cinfo->do_fancy_upsampling = FALSE;
cinfo->do_block_smoothing = FALSE;
@@ -703,12 +764,20 @@ gdk_pixbuf__jpeg_image_load_increment (gpointer data,
continue;
context->did_prescan = TRUE;
} else if (!cinfo->buffered_image) {
/* we're decompressing unbuffered so
* simply get scanline by scanline from jpeg lib
*/
if (! gdk_pixbuf__jpeg_image_load_lines (context,
error))
return FALSE;
if (cinfo->output_scanline >= cinfo->output_height)
return TRUE;
} else {
/* we're decompressing so feed jpeg lib scanlines */
guchar *lines[4];
guchar **lptr;
guchar *rowptr;
gint nlines, i;
/* we're decompressing buffered (progressive)
* so feed jpeg lib scanlines
*/
/* keep going until we've done all passes */
while (!jpeg_input_complete (cinfo)) {
@@ -720,53 +789,13 @@ gdk_pixbuf__jpeg_image_load_increment (gpointer data,
else
break;
}
/* keep going until we've done all scanlines */
while (cinfo->output_scanline < cinfo->output_height) {
lptr = lines;
rowptr = context->dptr;
for (i=0; i < cinfo->rec_outbuf_height; i++) {
*lptr++ = rowptr;
rowptr += context->pixbuf->rowstride;
}
nlines = jpeg_read_scanlines (cinfo, lines,
cinfo->rec_outbuf_height);
if (nlines == 0)
break;
switch (cinfo->out_color_space) {
case JCS_GRAYSCALE:
explode_gray_into_buf (cinfo, lines);
break;
case JCS_RGB:
/* do nothing */
break;
case JCS_CMYK:
convert_cmyk_to_rgb (cinfo, lines);
break;
default:
if (error && *error == NULL) {
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_UNKNOWN_TYPE,
_("Unsupported JPEG color space (%s)"),
colorspace_name (cinfo->out_color_space));
}
return FALSE;
}
/* get scanlines from jpeg lib */
if (! gdk_pixbuf__jpeg_image_load_lines (context,
error))
return FALSE;
context->dptr += nlines * context->pixbuf->rowstride;
/* send updated signal */
(* context->updated_func) (context->pixbuf,
0,
cinfo->output_scanline-1,
cinfo->image_width,
nlines,
context->user_data);
}
if (cinfo->output_scanline >= cinfo->output_height &&
if (cinfo->output_scanline >= cinfo->output_height &&
jpeg_finish_output (cinfo))
context->in_output = FALSE;
else

View File

@@ -353,7 +353,7 @@ pcx_increment_load_data_1(struct pcx_context *context)
}
if(context->updated_func)
context->updated_func(context->pixbuf, 0, 0, context->width, context->height, context->user_data);
context->updated_func(context->pixbuf, 0, context->current_line, context->width, 1, context->user_data);
context->current_line++;
@@ -493,7 +493,7 @@ pcx_load_palette_8(struct pcx_context *context)
}
if(context->updated_func)
context->updated_func(context->pixbuf, 0, context->current_line, context->width, 1, context->user_data);
context->updated_func(context->pixbuf, 0, i, context->width, 1, context->user_data);
}
#ifdef PCX_DEBUG

View File

@@ -517,7 +517,7 @@ gdk_pixbuf__png_image_load_increment(gpointer context,
lc->error = NULL;
return FALSE;
} else {
if (lc->first_row_seen_in_chunk >= 0) {
if (lc->first_row_seen_in_chunk >= 0 && lc->update_func) {
/* We saw at least one row */
gint pass_diff = lc->last_pass_seen_in_chunk - lc->first_pass_seen_in_chunk;

View File

@@ -1015,9 +1015,10 @@ gdk_pixbuf__pnm_image_load_increment (gpointer data,
context->rowstride = context->pixbuf->rowstride;
/* Notify the client that we are ready to go */
(* context->prepared_func) (context->pixbuf,
NULL,
context->user_data);
if (context->prepared_func)
(* context->prepared_func) (context->pixbuf,
NULL,
context->user_data);
}
/* if we got here we're reading image data */
@@ -1028,7 +1029,7 @@ gdk_pixbuf__pnm_image_load_increment (gpointer data,
break;
} else if (retval == PNM_FATAL_ERR) {
return FALSE;
} else if (retval == PNM_OK) {
} else if (retval == PNM_OK && context->updated_func) {
/* send updated signal */
(* context->updated_func) (context->pixbuf,
0,

View File

@@ -238,7 +238,7 @@ tiff_image_parse (TIFF *tiff, TiffContext *context, GError **error)
return NULL;
}
if (context)
if (context && context->prepare_func)
(* context->prepare_func) (pixbuf, NULL, context->user_data);
#if TIFFLIB_VERSION >= 20031226
@@ -324,7 +324,7 @@ tiff_image_parse (TIFF *tiff, TiffContext *context, GError **error)
_TIFFfree (rast);
}
if (context)
if (context && context->update_func)
(* context->update_func) (pixbuf, 0, 0, width, height, context->user_data);
return pixbuf;

View File

@@ -309,7 +309,7 @@ gdk_pixbuf__xbm_image_load_real (FILE *f, XBMData *context, GError **error)
pixels = gdk_pixbuf_get_pixels (pixbuf);
row_stride = gdk_pixbuf_get_rowstride (pixbuf);
if (context)
if (context && context->prepare_func)
(* context->prepare_func) (pixbuf, NULL, context->user_data);
@@ -338,7 +338,8 @@ gdk_pixbuf__xbm_image_load_real (FILE *f, XBMData *context, GError **error)
g_free (data);
if (context) {
(* context->update_func) (pixbuf, 0, 0, w, h, context->user_data);
if (context->update_func)
(* context->update_func) (pixbuf, 0, 0, w, h, context->user_data);
g_object_unref (pixbuf);
pixbuf = NULL;
}

View File

@@ -405,7 +405,8 @@ file_buffer (enum buf_op op, gpointer handle)
/* Fall through to the xpm_read_string. */
case op_body:
xpm_read_string (h->infile, &h->buffer, &h->buffer_size);
if(!xpm_read_string (h->infile, &h->buffer, &h->buffer_size))
return NULL;
return h->buffer;
default:
@@ -500,7 +501,9 @@ pixbuf_create_from_xpm (const gchar * (*get_buf) (enum buf_op op, gpointer handl
_("XPM has invalid number of chars per pixel"));
return NULL;
}
if (n_col <= 0 || n_col >= G_MAXINT / (cpp + 1)) {
if (n_col <= 0 ||
n_col >= G_MAXINT / (cpp + 1) ||
n_col >= G_MAXINT / sizeof (XPMColor)) {
g_set_error (error,
GDK_PIXBUF_ERROR,
GDK_PIXBUF_ERROR_CORRUPT_IMAGE,
@@ -735,10 +738,12 @@ gdk_pixbuf__xpm_image_stop_load (gpointer data,
pixbuf = gdk_pixbuf__xpm_image_load (context->file, error);
if (pixbuf != NULL) {
(* context->prepare_func) (pixbuf,
NULL,
context->user_data);
(* context->update_func) (pixbuf, 0, 0, pixbuf->width, pixbuf->height, context->user_data);
if (context->prepare_func)
(* context->prepare_func) (pixbuf,
NULL,
context->user_data);
if (context->update_func)
(* context->update_func) (pixbuf, 0, 0, pixbuf->width, pixbuf->height, context->user_data);
g_object_unref (pixbuf);
retval = TRUE;

View File

@@ -22,7 +22,7 @@ gcc2_compiled.:
.text
.align 16
#if !defined(__MINGW32__) && !defined(__CYGWIN__)
#if !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(__INTERIX)
/* Magic indicating no need for an executable stack */
#if !defined __powerpc64__ && !defined __ia64__

View File

@@ -22,7 +22,7 @@ gcc2_compiled.:
.text
.align 16
#if !defined(__MINGW32__) && !defined(__CYGWIN__)
#if !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(__INTERIX)
/* Magic indicating no need for an executable stack */
#if !defined __powerpc64__ && !defined __ia64__

View File

@@ -22,7 +22,7 @@ gcc2_compiled.:
.text
.align 16
#if !defined(__MINGW32__) && !defined(__CYGWIN__)
#if !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(__INTERIX)
/* Magic indicating no need for an executable stack */
#if !defined __powerpc64__ && !defined __ia64__

View File

@@ -22,7 +22,7 @@ gcc2_compiled.:
.text
.align 16
#if !defined(__MINGW32__) && !defined(__CYGWIN__)
#if !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(__INTERIX)
/* Magic indicating no need for an executable stack */
#if !defined __powerpc64__ && !defined __ia64__

View File

@@ -234,7 +234,7 @@ BUILT_SOURCES = \
gdkenumtypes.h: stamp-gdkenumtypes.h
@true
stamp-gdkenumtypes.h: @REBUILD@ $(gdk_public_h_sources) Makefile
( cd $(srcdir) && glib-mkenums \
( cd $(srcdir) && $(GLIB_MKENUMS) \
--fhead "#ifndef __GDK_ENUM_TYPES_H__\n#define __GDK_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
--fprod "/* enumerations from \"@filename@\" */\n" \
--vhead "GType @enum_name@_get_type (void) G_GNUC_CONST;\n#define GDK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n" \
@@ -244,7 +244,7 @@ stamp-gdkenumtypes.h: @REBUILD@ $(gdk_public_h_sources) Makefile
&& rm -f xgen-geth \
&& echo timestamp > $(@F)
gdkenumtypes.c: @REBUILD@ $(gdk_public_h_sources) Makefile
( cd $(srcdir) && glib-mkenums \
( cd $(srcdir) && $(GLIB_MKENUMS) \
--fhead "#define GDK_ENABLE_BROKEN\n#include \"gdk.h\"\n#include \"gdkalias.h\"\n" \
--fprod "\n/* enumerations from \"@filename@\" */" \
--ftail "\n#define __GDK_ENUM_TYPES_C__\n#include \"gdkaliasdef.c\"\n" \

View File

@@ -1,5 +1,5 @@
#! /bin/sh
cpp -DINCLUDE_VARIABLES -P -DALL_FILES -DGDK_ENABLE_BROKEN -DGDK_WINDOWING_X11 ${srcdir:-.}/gdk.symbols | sed -e '/^$/d' -e 's/ G_GNUC.*$//' | sort | uniq > expected-abi
nm -D .libs/libgdk-x11-2.0.so | grep " [BDTR] " | cut -d ' ' -f 3 | sort > actual-abi
nm -D -g --defined-only .libs/libgdk-x11-2.0.so | cut -d ' ' -f 3 | sort > actual-abi
diff -u expected-abi actual-abi && rm expected-abi actual-abi

View File

@@ -200,6 +200,7 @@ gdk_parse_args (int *argc,
{
GOptionContext *option_context;
GOptionGroup *option_group;
GError *error = NULL;
if (gdk_initialized)
return;
@@ -215,7 +216,12 @@ gdk_parse_args (int *argc,
g_option_group_add_entries (option_group, gdk_args);
g_option_group_add_entries (option_group, _gdk_windowing_args);
g_option_context_parse (option_context, argc, argv, NULL);
if (!g_option_context_parse (option_context, argc, argv, &error))
{
g_warning ("%s", error->message);
g_error_free (error);
}
g_option_context_free (option_context);
GDK_NOTE (MISC, g_message ("progname: \"%s\"", g_get_prgname ()));

View File

@@ -193,7 +193,7 @@ gdk_cairo_set_source_pixbuf (cairo_t *cr,
guchar *end = p + 4 * width;
guint t1,t2,t3;
#define MULT(d,c,a,t) G_STMT_START { t = c * a; d = ((t >> 8) + t) >> 8; } G_STMT_END
#define MULT(d,c,a,t) G_STMT_START { t = c * a + 0x7f; d = ((t >> 8) + t) >> 8; } G_STMT_END
while (p < end)
{

View File

@@ -335,7 +335,7 @@ gdk_color_get_type (void)
* by <function>XParseColor</function>; these include
* name for a color from <filename>rgb.txt</filename>, such as
* <literal>DarkSlateGray</literal>, or a hex specification
* such as <literal>305050</literal>.
* such as <literal>&num;3050b2</literal> or <literal>&num;35b</literal>.
*
* Return value: %TRUE if the parsing succeeded.
**/

View File

@@ -881,7 +881,7 @@ real_draw_glyphs (GdkDrawable *drawable,
cairo_t *cr;
cr = gdk_cairo_create (drawable);
_gdk_gc_update_context (gc, cr, NULL, NULL);
_gdk_gc_update_context (gc, cr, NULL, NULL, TRUE);
if (matrix)
{
@@ -1005,7 +1005,7 @@ gdk_draw_trapezoids (GdkDrawable *drawable,
g_return_if_fail (n_trapezoids == 0 || trapezoids != NULL);
cr = gdk_cairo_create (drawable);
_gdk_gc_update_context (gc, cr, NULL, NULL);
_gdk_gc_update_context (gc, cr, NULL, NULL, TRUE);
for (i = 0; i < n_trapezoids; i++)
{

View File

@@ -188,6 +188,10 @@ gdk_gc_finalize (GObject *object)
gdk_region_destroy (priv->clip_region);
if (gc->colormap)
g_object_unref (gc->colormap);
if (priv->tile)
g_object_unref (priv->tile);
if (priv->stipple)
g_object_unref (priv->stipple);
G_OBJECT_CLASS (gdk_gc_parent_class)->finalize (object);
}
@@ -1108,6 +1112,8 @@ gc_get_background (GdkGC *gc,
* stipple from the GC. If this is present and the fill mode
* of the GC isn't %GDK_STIPPLED or %GDK_OPAQUE_STIPPLED
* the fill mode will be forced to %GDK_STIPPLED
* @gc_changed: pass %FALSE if the @gc has not changed since the
* last call to this function
*
* Set the attributes of a cairo context to match those of a #GdkGC
* as far as possible. Some aspects of a #GdkGC, such as clip masks
@@ -1117,7 +1123,8 @@ void
_gdk_gc_update_context (GdkGC *gc,
cairo_t *cr,
GdkColor *override_foreground,
GdkBitmap *override_stipple)
GdkBitmap *override_stipple,
gboolean gc_changed)
{
GdkGCPrivate *priv;
GdkFill fill;
@@ -1145,12 +1152,7 @@ _gdk_gc_update_context (GdkGC *gc,
}
if (fill == GDK_OPAQUE_STIPPLED)
{
if (override_foreground)
foreground = *override_foreground;
else
gc_get_background (gc, &background);
}
gc_get_background (gc, &background);
switch (fill)
{
@@ -1222,6 +1224,9 @@ _gdk_gc_update_context (GdkGC *gc,
cairo_pattern_destroy (pattern);
}
if (!gc_changed)
return;
cairo_reset_clip (cr);
if (priv->clip_region)
{
@@ -1239,5 +1244,6 @@ _gdk_gc_update_context (GdkGC *gc,
}
}
#define __GDK_GC_C__
#include "gdkaliasdef.c"

View File

@@ -219,7 +219,8 @@ GdkGC *_gdk_drawable_get_scratch_gc (GdkDrawable *drawable,
void _gdk_gc_update_context (GdkGC *gc,
cairo_t *cr,
GdkColor *override_foreground,
GdkBitmap *override_stipple);
GdkBitmap *override_stipple,
gboolean gc_changed);
/*************************************
* Interfaces used by windowing code *

View File

@@ -58,6 +58,8 @@ struct _GdkPangoRendererPrivate
/* Current target */
GdkDrawable *drawable;
GdkGC *base_gc;
gboolean gc_changed;
};
static PangoAttrType gdk_pango_attr_stipple_type;
@@ -131,6 +133,21 @@ emboss_context (cairo_t *cr)
cairo_set_source_rgb (cr, 1.0, 1.0, 1.0);
}
static gboolean
color_equal (PangoColor *c1, PangoColor *c2)
{
if (!c1 && !c2)
return TRUE;
if (c1 && c2 &&
c1->red == c2->red &&
c1->green == c2->green &&
c1->blue == c2->blue)
return TRUE;
return FALSE;
}
static cairo_t *
get_cairo_context (GdkPangoRenderer *gdk_renderer,
PangoRenderPart part)
@@ -156,28 +173,46 @@ get_cairo_context (GdkPangoRenderer *gdk_renderer,
cairo_set_matrix (priv->cr, &cairo_matrix);
}
}
priv->last_part = (PangoRenderPart)-1;
if (part != priv->last_part)
{
PangoColor *pango_color = pango_renderer_get_color (renderer,
part);
GdkColor *color = NULL;
PangoColor *pango_color;
GdkColor *color;
GdkColor tmp_color;
if (pango_color)
gboolean changed;
pango_color = pango_renderer_get_color (renderer, part);
if (priv->last_part != -1)
changed = priv->gc_changed ||
priv->stipple[priv->last_part] != priv->stipple[part] ||
!color_equal (pango_color,
pango_renderer_get_color (renderer, priv->last_part));
else
changed = TRUE;
if (changed)
{
tmp_color.red = pango_color->red;
tmp_color.green = pango_color->green;
tmp_color.blue = pango_color->blue;
color = &tmp_color;
if (pango_color)
{
tmp_color.red = pango_color->red;
tmp_color.green = pango_color->green;
tmp_color.blue = pango_color->blue;
color = &tmp_color;
}
else
color = NULL;
_gdk_gc_update_context (priv->base_gc,
priv->cr,
color,
priv->stipple[part],
priv->gc_changed);
}
_gdk_gc_update_context (priv->base_gc,
priv->cr,
color,
priv->stipple[part]);
priv->last_part = part;
priv->gc_changed = FALSE;
}
return priv->cr;
@@ -201,12 +236,12 @@ gdk_pango_renderer_draw_glyphs (PangoRenderer *renderer,
{
cairo_save (cr);
emboss_context (cr);
cairo_move_to (cr, x / PANGO_SCALE, y / PANGO_SCALE);
cairo_move_to (cr, (double)x / PANGO_SCALE, (double)y / PANGO_SCALE);
pango_cairo_show_glyph_string (cr, font, glyphs);
cairo_restore (cr);
}
cairo_move_to (cr, x / PANGO_SCALE, y / PANGO_SCALE);
cairo_move_to (cr, (double)x / PANGO_SCALE, (double)y / PANGO_SCALE);
pango_cairo_show_glyph_string (cr, font, glyphs);
}
@@ -482,6 +517,7 @@ gdk_pango_renderer_init (GdkPangoRenderer *renderer)
GdkPangoRendererPrivate);
renderer->priv->last_part = (PangoRenderPart)-1;
renderer->priv->gc_changed = TRUE;
}
static void
@@ -650,6 +686,8 @@ gdk_pango_renderer_set_gc (GdkPangoRenderer *gdk_renderer,
priv->base_gc = gc;
if (priv->base_gc)
g_object_ref (priv->base_gc);
priv->gc_changed = TRUE;
}
}

View File

@@ -249,7 +249,7 @@ gdk_region_union_with_rect (GdkRegion *region,
g_return_if_fail (region != NULL);
g_return_if_fail (rect != NULL);
if (!rect->width || !rect->height)
if (rect->width <= 0 || rect->height <= 0)
return;
tmp_region.rects = &tmp_region.extents;

View File

@@ -53,14 +53,14 @@ gdk_screen_get_type (void)
static const GTypeInfo object_info =
{
sizeof (GdkScreenClass),
(GBaseInitFunc) gdk_screen_init,
(GBaseInitFunc) NULL,
(GBaseFinalizeFunc) NULL,
(GClassInitFunc) gdk_screen_class_init,
NULL, /* class_finalize */
NULL, /* class_data */
sizeof (GdkScreen),
0, /* n_preallocs */
(GInstanceInitFunc) NULL,
(GInstanceInitFunc) gdk_screen_init,
};
object_type = g_type_register_static (G_TYPE_OBJECT,
@@ -103,7 +103,7 @@ gdk_screen_class_init (GdkScreenClass *klass)
static void
gdk_screen_init (GdkScreen *screen)
{
screen->resolution = -1;
screen->resolution = -1.;
}
static void
@@ -407,7 +407,7 @@ gdk_screen_set_resolution_libgtk_only (GdkScreen *screen,
if (dpi >= 0)
screen->resolution = dpi;
else
screen->resolution = -1;
screen->resolution = -1.;
}
/**
@@ -423,7 +423,7 @@ gdk_screen_set_resolution_libgtk_only (GdkScreen *screen,
gdouble
gdk_screen_get_resolution_libgtk_only (GdkScreen *screen)
{
g_return_val_if_fail (GDK_IS_SCREEN (screen), -1);
g_return_val_if_fail (GDK_IS_SCREEN (screen), -1.);
return screen->resolution;
}

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