]> Pileus Git - ~andy/gtk/log
~andy/gtk
18 years agoremove unneeded check for negative window_y.
Kristian Rietveld [Sun, 10 Jul 2005 17:19:01 +0000 (17:19 +0000)]
remove unneeded check for negative window_y.

2005-07-10  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): remove
unneeded check for negative window_y.

18 years agoalso move to the next match when ctrl+g is pressed. (#156657, Matt T.
Kristian Rietveld [Sun, 10 Jul 2005 15:55:10 +0000 (15:55 +0000)]
also move to the next match when ctrl+g is pressed. (#156657, Matt T.

2005-07-10  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_search_key_press_event): also move
to the next match when ctrl+g is pressed. (#156657, Matt T. Proud).

18 years agorework function to make page up/down behave the same as in GtkTextView.
Kristian Rietveld [Sun, 10 Jul 2005 15:47:18 +0000 (15:47 +0000)]
rework function to make page up/down behave the same as in GtkTextView.

2005-07-10  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): rework
function to make page up/down behave the same as in GtkTextView.
(Fixes #101220, Owen Taylor).

18 years agoUpdate links to the EWMH. (#309910, Park Ji-In)
Matthias Clasen [Sun, 10 Jul 2005 05:05:24 +0000 (05:05 +0000)]
Update links to the EWMH. (#309910, Park Ji-In)

2005-07-10  Matthias Clasen  <mclasen@redhat.com>

* gdk/tmpl/windows.sgml: Update links to the EWMH.  (#309910,
Park Ji-In)

18 years agoFix #305737, patch from Tomislav Jonjic. This makes the
Kristian Rietveld [Sat, 9 Jul 2005 20:31:36 +0000 (20:31 +0000)]
Fix #305737, patch from Tomislav Jonjic. This makes the

2005-07-09  Kristian Rietveld  <kris@gtk.org>

Fix #305737, patch from Tomislav Jonjic. This makes the
gtk_tree_store_insert* family of functions emit row_has_child_toggled
when needed (they didn't do that before).

* gtk/gtktreestore.c (gtk_tree_store_insert): emit
row_has_child_toggled when needed,
(gtk_tree_store_insert_before): fix a possible memleak,
emit row_has_child_toggled when needed,
(gtk_tree_store_insert_after): ditto.

18 years agowhen open_all is TRUE, traverse the newly built tree to emit row_expanded
Kristian Rietveld [Sat, 9 Jul 2005 13:20:10 +0000 (13:20 +0000)]
when open_all is TRUE, traverse the newly built tree to emit row_expanded

2005-07-09  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_real_expand_row): when
open_all is TRUE, traverse the newly built tree to emit
row_expanded for the subitems. (rev 1.444, patch in #172319
broke this). Fixes #305582, reported by Billy Biggs.

18 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Sat, 9 Jul 2005 09:15:17 +0000 (09:15 +0000)]
Translation updated by Tino Meinen.

2005-07-09  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

18 years agoUpdated Hebrew translation.
Yair Hershkovitz [Sat, 9 Jul 2005 08:35:03 +0000 (08:35 +0000)]
Updated Hebrew translation.

2005-07-09  Yair Hershkovitz  <yairhr@gmail.com>

* he.po: Updated Hebrew translation.

18 years agoDrop build/* from AC_CONFIG_FILES.
Tor Lillqvist [Sat, 9 Jul 2005 00:45:23 +0000 (00:45 +0000)]
Drop build/* from AC_CONFIG_FILES.

2005-07-09  Tor Lillqvist  <tml@novell.com>

* configure.in: Drop build/* from AC_CONFIG_FILES.

* Makefile.am: Drop build from SUBDIRS.

18 years agoLook for windres on Win32.
Tor Lillqvist [Sat, 9 Jul 2005 00:10:12 +0000 (00:10 +0000)]
Look for windres on Win32.

2005-07-09  Tor Lillqvist  <tml@novell.com>

* configure.in: Look for windres on Win32.

* gdk-pixbuf/Makefile.am
* gdk/win32/rc/Makefile.am
* gdk/Makefile.am
* gtk/Makefile.am: Don't use the scripts in build/win32 to compile
the rc files into resource object files. (This means we lose the
build number increment magic, but I doubt it was that useful
anyway.) Instead use windres directly. To pass a normal .o file
produced by windres through libtool, which would want a .lo file,
pass it directly to the linker using a -Wl option.

* gdk-pixbuf/gdk_pixbuf.rc.in
* gdk/win32/rc/gdk.rc.in
* gtk/gtk-win32.rc.in: Replace BUILDNUMBER with 0.

18 years agoUpdated Slovak translation.
Marcel Telka [Fri, 8 Jul 2005 22:16:18 +0000 (22:16 +0000)]
Updated Slovak translation.

2005-07-08  Marcel Telka  <marcel@telka.sk>

* sk.po: Updated Slovak translation.

18 years agoBump version
Matthias Clasen [Fri, 8 Jul 2005 19:26:00 +0000 (19:26 +0000)]
Bump version

18 years agoFixes #165034, reported by Jorn Baayen.
Kristian Rietveld [Fri, 8 Jul 2005 19:17:10 +0000 (19:17 +0000)]
Fixes #165034, reported by Jorn Baayen.

2005-07-08  Kristian Rietveld  <kris@gtk.org>

Fixes #165034, reported by Jorn Baayen.

* gtk/gtkrbtree.[ch] (_gtk_rbtree_set_fixed_height): add a
mark_valid parameter (so we can mark all nodes as valid when we
are setting them to the fixed height).

* gtk/gtktreeview.c (initialized_fixed_height_mode): mark all
nodes as valid when setting the fixed height,
(do_validate_rows): update call to _set_fixed_height,
(gtk_tree_view_row_inserted): mark node as valid when fixed
height mode is enabled and a height has been set,
(gtk_tree_view_build_tree): if fixed height mode is enabled,
mark new nodes as valid in addition to setting the height.

18 years ago2.7.2
Matthias Clasen [Fri, 8 Jul 2005 18:52:47 +0000 (18:52 +0000)]
2.7.2

18 years agoFix the "new in 2.8" index.
Matthias Clasen [Fri, 8 Jul 2005 15:03:20 +0000 (15:03 +0000)]
Fix the "new in 2.8" index.

2005-07-08  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdk-docs.sgml: Fix the "new in 2.8" index.

* gdk-pixbuf/gdk-pixbuf.sgml: Add the "new in 2.8" index.

18 years agoPass a GdkDragAction to gtk_drag_get_cursor. (#309784, Sebastian Bacher)
Matthias Clasen [Fri, 8 Jul 2005 14:36:31 +0000 (14:36 +0000)]
Pass a GdkDragAction to gtk_drag_get_cursor. (#309784, Sebastian Bacher)

2005-07-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkdnd.c (gtk_drag_update_cursor): Pass a GdkDragAction to
gtk_drag_get_cursor.  (#309784, Sebastian Bacher)

18 years agoUse g_get_host_name().
Tor Lillqvist [Fri, 8 Jul 2005 14:35:31 +0000 (14:35 +0000)]
Use g_get_host_name().

2005-07-08  Tor Lillqvist  <tml@novell.com>

* gtk/gtkfilesel.c: Use g_get_host_name().

18 years agoUpdated vi.po
Nguyen Thai Ngoc Duy [Fri, 8 Jul 2005 08:21:48 +0000 (08:21 +0000)]
Updated vi.po

18 years agoUpdated Serbian translation.
Danilo Šegan [Fri, 8 Jul 2005 06:51:13 +0000 (06:51 +0000)]
Updated Serbian translation.

18 years agoAdd -DHPPEX -DSHMLINK to CFLAGS for HP-UX. (#162979, Paul Cornett)
Matthias Clasen [Fri, 8 Jul 2005 03:57:39 +0000 (03:57 +0000)]
Add -DHPPEX -DSHMLINK to CFLAGS for HP-UX. (#162979, Paul Cornett)

2005-07-07  Matthias Clasen  <mclasen@redhat.com>

* configure.in: Add -DHPPEX -DSHMLINK to CFLAGS for HP-UX.
(#162979, Paul Cornett)

18 years agoAdd some additional docs on precision here too. (#309238, Steve Chaplin)
Matthias Clasen [Fri, 8 Jul 2005 03:21:02 +0000 (03:21 +0000)]
Add some additional docs on precision here too. (#309238, Steve Chaplin)

2005-07-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkhscale.c (gtk_hscale_new_with_range):
(gtk_vscale_new_with_range): Add some additional docs on
precision here too.  (#309238, Steve Chaplin)

18 years agoUpdated Canadian English translation.
Adam Weinberger [Fri, 8 Jul 2005 00:03:50 +0000 (00:03 +0000)]
Updated Canadian English translation.

2005-07-07  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

18 years agoCorrections. (#309718, Tim-Philipp Müller)
Matthias Clasen [Thu, 7 Jul 2005 20:31:05 +0000 (20:31 +0000)]
Corrections. (#309718, Tim-Philipp Müller)

2005-07-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/migrating-GtkIconView.sgml: Corrections.
(#309718, Tim-Philipp Müller)

18 years agoDon't generate events on destroyed windows.
Matthias Clasen [Thu, 7 Jul 2005 19:05:33 +0000 (19:05 +0000)]
Don't generate events on destroyed windows.

2005-07-07  Matthias Clasen  <mclasen@redhat.com>

* gdk/x11/gdkmain-x11.c (generate_grab_broken_event): Don't
generate events on destroyed windows.

18 years agoImplement Drag-and-Drop to the file list. (#145121, Sven Neumann)
Matthias Clasen [Thu, 7 Jul 2005 17:11:26 +0000 (17:11 +0000)]
Implement Drag-and-Drop to the file list. (#145121, Sven Neumann)

2005-07-07  Matthias Clasen  <mclasen@redhat.com>

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

* gtk/gtkfilechooserdefault.c (file_list_drag_data_received_cb)
(file_list_drag_drop_cb, file_list_drag_motion_cb): New functions
to handle drag-and-drop on the file list.
(create_file_list): Set up drag-and-drop handlers on the file list.

18 years agoFix #157787, reported by Jonathan Blandford:
Matthias Clasen [Thu, 7 Jul 2005 12:40:50 +0000 (12:40 +0000)]
Fix #157787, reported by Jonathan Blandford:

2005-07-07  Matthias Clasen  <mclasen@redhat.com>

Fix #157787, reported by Jonathan Blandford:

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

* gtk/gtkpathbar.c (_gtk_path_bar_set_path): Add a boolean
keep_trail argument, and don't leave a "trail" behind unless
it is set.

18 years agoupdated by rranjan@redhat.com
Rajesh Ranjan [Thu, 7 Jul 2005 11:10:25 +0000 (11:10 +0000)]
updated by rranjan@redhat.com

18 years agoTranslation updated by Ivar Smolin.
Priit Laes [Thu, 7 Jul 2005 06:13:41 +0000 (06:13 +0000)]
Translation updated by Ivar Smolin.

2005-07-07  Priit Laes  <plaes@cvs.gnome.org>

* et.po: Translation updated by Ivar Smolin.

18 years agochange_orientation() should return void, remove unused variable in
Manish Singh [Thu, 7 Jul 2005 00:25:18 +0000 (00:25 +0000)]
change_orientation() should return void, remove unused variable in

2005-07-06  Manish Singh  <yosh@gimp.org>

        * demos/gtk-demo/menus.c: change_orientation() should return void,
        remove unused variable in do_menus().

18 years agoUpdated Canadian English translation.
Adam Weinberger [Wed, 6 Jul 2005 22:38:31 +0000 (22:38 +0000)]
Updated Canadian English translation.

2005-07-06  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

18 years agoPoint to GdkEventGrabBroken from the gdk_pointer_grab and
Matthias Clasen [Wed, 6 Jul 2005 19:56:24 +0000 (19:56 +0000)]
Point to GdkEventGrabBroken from the gdk_pointer_grab and

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

* gdk/tmpl/general.sgml: Point to GdkEventGrabBroken
from the gdk_pointer_grab and gdk_keyboard_grab docs.

18 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Wed, 6 Jul 2005 15:33:54 +0000 (15:33 +0000)]
Updated Spanish translation.

2005-07-06  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

18 years agoDon't create the GdkPixbuf until we know that we have something to put in
Tor Lillqvist [Wed, 6 Jul 2005 15:30:10 +0000 (15:30 +0000)]
Don't create the GdkPixbuf until we know that we have something to put in

2005-07-06  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkcursor-win32.c
(gdk_win32_icon_to_pixbuf_libgtk_only): Don't create the GdkPixbuf
until we know that we have something to put in it.

18 years agoTranslation updated by Ivar Smolin.
Priit Laes [Wed, 6 Jul 2005 12:28:46 +0000 (12:28 +0000)]
Translation updated by Ivar Smolin.

2005-07-06  Priit Laes  <plaes@cvs.gnome.org>

* et.po: Translation updated by Ivar Smolin.

18 years agoDocument Cairo as a dependency.
Matthias Clasen [Wed, 6 Jul 2005 03:59:37 +0000 (03:59 +0000)]
Document Cairo as a dependency.

2005-07-05  Matthias Clasen  <mclasen@redhat.com>

* gtk/building.sgml: Document Cairo as a
dependency.

18 years agoAdd some additional docs on precision. (#309238, Steve Chaplin)
Matthias Clasen [Wed, 6 Jul 2005 03:45:13 +0000 (03:45 +0000)]
Add some additional docs on precision. (#309238, Steve Chaplin)

2005-07-05  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkspinbutton.c (gtk_spin_button_new_with_range): Add some
additional docs on precision.  (#309238, Steve Chaplin)

18 years agoFix includes
Matthias Clasen [Wed, 6 Jul 2005 00:31:45 +0000 (00:31 +0000)]
Fix includes

18 years agoAdd bug ref
Matthias Clasen [Tue, 5 Jul 2005 23:00:58 +0000 (23:00 +0000)]
Add bug ref

18 years agoUpdates
Matthias Clasen [Tue, 5 Jul 2005 23:00:12 +0000 (23:00 +0000)]
Updates

18 years agoAdd comment about the current named cursor implementation, and what it
Tor Lillqvist [Tue, 5 Jul 2005 22:50:54 +0000 (22:50 +0000)]
Add comment about the current named cursor implementation, and what it

2005-07-06  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkcursor-win32.c: Add comment about the current named
cursor implementation, and what it maybe really should do.
(gdk_win32_icon_to_pixbuf_libgtk_only): New function, code moved
here from gtk/gtkfilesystemwin32.c:extract_icon().
(gdk_cursor_get_image): Use
gdk_win32_icon_to_pixbuf_libgtk_only().

* gdk/gdk.symbols
* gdk/win32/gdkwin32.h: Declare gdk_win32_icon_to_pixbuf_libgtk_only().

* gtk/gtkfilesystemwin32.c (extract_icon): Use
gdk_win32_icon_to_pixbuf_libgtk_only().

18 years agoTake window groups into account. (#309473, Diego Gonzalez)
Matthias Clasen [Tue, 5 Jul 2005 22:34:07 +0000 (22:34 +0000)]
Take window groups into account. (#309473, Diego Gonzalez)

2005-07-05  Matthias Clasen  <mclasen@redhat.com>

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

        * gtk/gtkwindow.[hc]: Add a non-exported function to
        get the grab widget of a window group.

18 years agoin the 'main' expose loop, add back the calls to _set_cell_data removed
Kristian Rietveld [Tue, 5 Jul 2005 21:11:32 +0000 (21:11 +0000)]
in the 'main' expose loop, add back the calls to _set_cell_data removed

2005-07-05  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_bin_expose): in the
'main' expose loop, add back the calls to _set_cell_data
removed earlier. (#309221, Matthias Clasen).

18 years agoDemonstrate vertical menubars
Matthias Clasen [Tue, 5 Jul 2005 16:18:40 +0000 (16:18 +0000)]
Demonstrate vertical menubars

18 years agoFix a Since: marker
Matthias Clasen [Tue, 5 Jul 2005 16:08:51 +0000 (16:08 +0000)]
Fix a Since: marker

18 years agoAdd a GtkAboutDialog::wrap-license property
Matthias Clasen [Tue, 5 Jul 2005 14:53:37 +0000 (14:53 +0000)]
Add a GtkAboutDialog::wrap-license property

18 years agoAdd some missing files to EXTRA_DIST
Matthias Clasen [Tue, 5 Jul 2005 05:57:36 +0000 (05:57 +0000)]
Add some missing files to EXTRA_DIST

18 years agoFixed German translation by Jens Seidel <jensseidel@users.sf.net>.
Hendrik Richter [Mon, 4 Jul 2005 17:17:08 +0000 (17:17 +0000)]
Fixed German translation by Jens Seidel <jensseidel@users.sf.net>.

2005-07-04  Hendrik Richter  <hendi@gnome-de.org>

* de.po: Fixed German translation by
Jens Seidel <jensseidel@users.sf.net>.

18 years agoQueue a resize on the contained menuitems as well.
Matthias Clasen [Mon, 4 Jul 2005 06:51:57 +0000 (06:51 +0000)]
Queue a resize on the contained menuitems as well.

2005-07-04  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmenubar.c (gtk_menu_bar_set_pack_direction)
(gtk_menu_bar_set_child_pack_direction): Queue a resize
on the contained menuitems as well.

18 years agoMake it compile
Matthias Clasen [Mon, 4 Jul 2005 05:51:08 +0000 (05:51 +0000)]
Make it compile

18 years agoAdd a warning.
Matthias Clasen [Mon, 4 Jul 2005 04:58:24 +0000 (04:58 +0000)]
Add a warning.

2005-07-04  Matthias Clasen  <mclasen@redhat.com>

* gtk/framebuffer.sgml: Add a warning.

18 years agoUpdated Canadian English translation.
Adam Weinberger [Sun, 3 Jul 2005 22:35:52 +0000 (22:35 +0000)]
Updated Canadian English translation.

2005-07-03  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

18 years agoupdated <io.h> for open() use G_PI instead of M_PI
Hans Breuer [Sun, 3 Jul 2005 15:47:42 +0000 (15:47 +0000)]
updated <io.h> for open() use G_PI instead of M_PI

2005-07-03  Hans Breuer  <hans@breuer.org>

* **/makefile.msc[.in] : updated
* gtk/gtkiconcache.c : <io.h> for open()
* gtk/gtkstyle.c : use G_PI instead of M_PI

* gdk/win32/gdkcursor-win32.c : implement gdk_cursor_new_from_name()
by mapping the lower case win32 api name to the respective cursor.
E.g. pass "wait" to get the IDC_WAIT cursor. Also allows to load
cursors from named resources in the executable.
(gdk_cursor_get_image) : just return NULL for now.

* gdk/win32/gdkgeometry-win32.c : implement gdk_window_move_region()
by delegation to ScollWindowEx(), untested.

* gdk/win32/gdkwindow-win32.c : stub for gdk_window_set_urgency_hint()

18 years agoHmm, when committing my vertical menubar patch, I forgot the
Matthias Clasen [Sun, 3 Jul 2005 06:24:04 +0000 (06:24 +0000)]
Hmm, when committing my vertical menubar patch, I forgot the

2005-07-03  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkimagemenuitem.c: Hmm, when committing my vertical
menubar patch, I forgot the GtkImageMenuItem changes. And I
managed to do 2 releases without noticing that...

18 years agoCorrect the blurb for the icon-sizes setting. String change. (#309355,
Matthias Clasen [Sun, 3 Jul 2005 04:52:46 +0000 (04:52 +0000)]
Correct the blurb for the icon-sizes setting. String change. (#309355,

2005-07-03  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtksettings.c (gtk_settings_class_init): Correct the
blurb for the icon-sizes setting. String change.
(#309355, Benjamin Berg)

18 years agoBump version
Matthias Clasen [Fri, 1 Jul 2005 19:43:03 +0000 (19:43 +0000)]
Bump version

18 years ago2.7.1
Matthias Clasen [Fri, 1 Jul 2005 19:24:05 +0000 (19:24 +0000)]
2.7.1

18 years agoAllow -1 for width/height and interpret them as "not constrained".
Matthias Clasen [Fri, 1 Jul 2005 16:52:33 +0000 (16:52 +0000)]
Allow -1 for width/height and interpret them as "not constrained".

2005-07-01  Matthias Clasen  <mclasen@redhat.com>

* gdk-pixbuf-io.c (gdk_pixbuf_new_from_file_at_scale): Allow
-1 for width/height and interpret them as "not constrained".
(#309258, Mark McLoughlin)

18 years agoPrevent an infinite loop when G_FILENAME_ENCODING is invalid. (#309280,
Matthias Clasen [Fri, 1 Jul 2005 15:51:30 +0000 (15:51 +0000)]
Prevent an infinite loop when G_FILENAME_ENCODING is invalid. (#309280,

2005-07-01  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilesel.c (cmpl_init_state): Prevent an infinite
loop when G_FILENAME_ENCODING is invalid.  (#309280, Padraig Brady)

18 years agoUpdated Traditional Chinese translation.
Chao-Hsiung Liao [Fri, 1 Jul 2005 13:15:35 +0000 (13:15 +0000)]
Updated Traditional Chinese translation.

2005-07-01  Chao-Hsiung Liao  <j_h_liau@yahoo.com.tw>

        * zh_TW.po: Updated Traditional Chinese translation.

18 years agoUpdated traditional Chinese translation from GNOME HK Team
Kwok-Koon Cheung [Fri, 1 Jul 2005 11:04:07 +0000 (11:04 +0000)]
Updated traditional Chinese translation from GNOME HK Team

* zh_TW.po: Updated traditional Chinese translation from GNOME HK Team

18 years agodeclare _gdk_xgrab_check_button_event.
Manish Singh [Thu, 30 Jun 2005 21:18:34 +0000 (21:18 +0000)]
declare _gdk_xgrab_check_button_event.

Thu Jun 30 14:17:24 2005  Manish Singh  <yosh@gimp.org>

        * gdk/x11/gdkprivate-x11.h: declare _gdk_xgrab_check_button_event.

        * gtk/gtkbutton.c: fix signature of gtk_button_grab_broken.

18 years agoAvoid infinite loop if a mask is zero. (#309222, David Saxton)
Matthias Clasen [Thu, 30 Jun 2005 19:11:58 +0000 (19:11 +0000)]
Avoid infinite loop if a mask is zero. (#309222, David Saxton)

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

* gdk/x11/gdkvisual-x11.c (gdk_visual_decompose_mask): Avoid
infinite loop if a mask is zero.  (#309222, David Saxton)

18 years agoClarify the code, gcc 4 complains about predecrement in MAX().
Matthias Clasen [Thu, 30 Jun 2005 19:07:16 +0000 (19:07 +0000)]
Clarify the code, gcc 4 complains about predecrement in MAX().

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

* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_fetch_child):
Clarify the code, gcc 4 complains about predecrement in MAX().

18 years agoDon't prematurely unregister callbacks.
Matthias Clasen [Thu, 30 Jun 2005 18:42:44 +0000 (18:42 +0000)]
Don't prematurely unregister callbacks.

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

* modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize): Don't
prematurely unregister callbacks.

18 years agoUpdates
Matthias Clasen [Thu, 30 Jun 2005 04:53:23 +0000 (04:53 +0000)]
Updates

18 years agoHandle broken grabs.
Matthias Clasen [Thu, 30 Jun 2005 03:35:30 +0000 (03:35 +0000)]
Handle broken grabs.

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

        * gtk/gtkbutton.c (gtk_button_grab_broken): Handle broken
        grabs.

        * gtk/gtkrange.c (gtk_range_grab_broken): Handle broken
        grabs.

        * gdk/gdkevents.h: Add a boolean to specify wether the broken
        grab was implicit.

        * gdk/x11/gdkdisplay-x11.c (gdk_display_pointer_is_grabbed):
        As the documentation states, don't return TRUE for
        implicit grabs.

        * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add
        a boolean field to store wether a pointer grab is implicit.

        * gdk/x11/gdkmain-x11.c (_gdk_xgrab_check_button_event):
        Track implicit grabs.

        * gdk/x11/gdkevents-x11.c (gdk_event_translate): Call
        _gdk_xgrab_check_button_event for button events.

18 years agoUpdates
Matthias Clasen [Thu, 30 Jun 2005 03:21:25 +0000 (03:21 +0000)]
Updates

18 years agoClarify GtkComboBoxEntry
Ross Burton [Tue, 28 Jun 2005 12:31:24 +0000 (12:31 +0000)]
Clarify GtkComboBoxEntry

18 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Tue, 28 Jun 2005 10:17:45 +0000 (10:17 +0000)]
Updated Thai translation.

2005-06-28  Theppitak Karoonboonyanan  <thep@linux.thai.net>

* th.po: Updated Thai translation.

18 years agoMake sure that cell boxes are always completely inside the item area.
Matthias Clasen [Tue, 28 Jun 2005 06:25:18 +0000 (06:25 +0000)]
Make sure that cell boxes are always completely inside the item area.

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

* gtk/gtkiconview.c (gtk_icon_view_calculate_item_size2):
Make sure that cell boxes are always completely inside
the item area.

18 years agoMake the list of demos scrollable.
Matthias Clasen [Tue, 28 Jun 2005 03:42:55 +0000 (03:42 +0000)]
Make the list of demos scrollable.

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

* demos/gtk-demo/main.c (create_tree): Make the list of
demos scrollable.

18 years agoFix positioning at the end of the line for lines ending in invisible
Matthias Clasen [Tue, 28 Jun 2005 02:46:11 +0000 (02:46 +0000)]
Fix positioning at the end of the line for lines ending in invisible

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

* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end):
Fix positioning at the end of the line for lines ending
in invisible characters.
(gtk_text_layout_get_line_display): Set display->layout
to a PangoLayout, even for totally invisible lines.

18 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Mon, 27 Jun 2005 22:20:35 +0000 (22:20 +0000)]
Updated Spanish translation.

2005-06-28  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

18 years agoIgnore GrabBroken events which are caused by overgrabbing inside the
Matthias Clasen [Mon, 27 Jun 2005 21:06:33 +0000 (21:06 +0000)]
Ignore GrabBroken events which are caused by overgrabbing inside the

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

* gtk/gtkmenushell.c (gtk_menu_shell_grab_broken): Ignore
GrabBroken events which are caused by overgrabbing inside
the application; menus rely on these for their operation.

* gdk/gdkevents.h (struct _GdkEventGrabBroken): Add a
grab_window field.

* gdk/win32/gdkevents-win32.c (gdk_event_translate): Set
grab_window to NULL when generating GrabBroken events for
WM_KILLFOCUS messages.

* gdk/x11/gdkmain-x11.c (_gdk_xgrab_check_unmap)
(_gdk_xgrab_check_destroy): Set grab_window to NULL when
generating GrabBroken events when the grab window becomes
unviewable or is destroyed.

* gdk/x11/gdkmain-x11.c (gdk_pointer_grab, gdk_keyboard_grab):
Generate GrabBroken events when overriding a grab inside
the application. In this case, set grab_window to the new
grab_window.

18 years agoContinue to activate even if we can't grab the keyboard.
Matthias Clasen [Mon, 27 Jun 2005 20:04:33 +0000 (20:04 +0000)]
Continue to activate even if we can't grab the keyboard.

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

* gtk/gtkbutton.c (gtk_real_button_activate): Continue
to activate even if we can't grab the keyboard.
(gtk_button_finish_activate): Only ungrab when we have
a keyboard grab.  (#172998, William Jon McCann)

18 years agoTranslation updated by Ivar Smolin.
Priit Laes [Mon, 27 Jun 2005 19:34:22 +0000 (19:34 +0000)]
Translation updated by Ivar Smolin.

2005-06-27  Priit Laes  <plaes@cvs.gnome.org>

* et.po: Translation updated by Ivar Smolin.

18 years agoAvoid a segfault. (#309054)
Matthias Clasen [Mon, 27 Jun 2005 18:37:41 +0000 (18:37 +0000)]
Avoid a segfault. (#309054)

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

* modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
Avoid a segfault. (#309054)

* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add
fields for grab timestamps.

* gdk/x11/gdkmain-x11.c (gdk_pointer_grab, gdk_keyboard_grab):
Store grab timestamps when grabbing.

* gdk/x11/gdkdisplay-x11.c (gdk_display_keyboard_ungrab)
(gdk_display_pointer_ungrab): Don't unset the grab_window
if the timestamps indicate that the ungrab will fails.

18 years agoCancel menus when they are grab-shadowed by something thats not a submenu.
Matthias Clasen [Mon, 27 Jun 2005 17:36:34 +0000 (17:36 +0000)]
Cancel menus when they are grab-shadowed by something thats not a submenu.

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

        * gtk/gtkmenu.c (gtk_menu_grab_notify): Cancel menus when
        they are grab-shadowed by something thats not a
        submenu.  (#145416, Euan MacGregor)

18 years agoFix indentation.
Owen Taylor [Mon, 27 Jun 2005 15:13:08 +0000 (15:13 +0000)]
Fix indentation.

2005-06-27  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtk[hv]ruler.c (gtk_[hv]ruler_draw_ticks):
        Fix indentation.

18 years agoFix leaks Same Closes bug #308953.
Kjartan Maraas [Mon, 27 Jun 2005 14:38:19 +0000 (14:38 +0000)]
Fix leaks Same Closes bug #308953.

2005-06-27  Kjartan Maraas  <kmaraas@gnome.org>

* gtk/gtkhruler.c: (gtk_hruler_draw_ticks): Fix leaks
* gtk/gtkvruler.c: (gtk_vruler_draw_ticks): Same
Closes bug #308953.

18 years agoUse GMappedFile.
Matthias Clasen [Mon, 27 Jun 2005 04:49:03 +0000 (04:49 +0000)]
Use GMappedFile.

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

* gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Use
GMappedFile.

* configure.in: Require GLib 2.7.1

18 years agoUnregister XIM callbacks here. (#309054)
Matthias Clasen [Mon, 27 Jun 2005 02:27:41 +0000 (02:27 +0000)]
Unregister XIM callbacks here. (#309054)

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

* modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
Unregister XIM callbacks here.  (#309054)

* modules/input/gtkimcontextxim.h: Small cleanup.

18 years agoPay attention to the scroll offset when drawing the box. (#308834, Tom von
Matthias Clasen [Mon, 27 Jun 2005 02:07:35 +0000 (02:07 +0000)]
Pay attention to the scroll offset when drawing the box. (#308834, Tom von

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

* gtk/gtkmenu.c (gtk_menu_paint): Pay attention to the
scroll offset when drawing the box.  (#308834, Tom von
Schwerdtner)

18 years agogdk/Makefile.am Current GNU tools do understand the PRIVATE keyword, so no
Tor Lillqvist [Sun, 26 Jun 2005 19:01:33 +0000 (19:01 +0000)]
gdk/Makefile.am Current GNU tools do understand the PRIVATE keyword, so no

2005-06-26  Tor Lillqvist  <tml@novell.com>

* gdk/Makefile.am
* gtk/Makefile.am: Current GNU tools do understand the PRIVATE
keyword, so no need to remove those entries from the import
library. libtool installs the .dll.a import library itself, so no
need to do it here. Install the .def file.

18 years agoCurrent GNU tools do understand the PRIVATE keyword, so no need to remove
Tor Lillqvist [Sun, 26 Jun 2005 18:55:49 +0000 (18:55 +0000)]
Current GNU tools do understand the PRIVATE keyword, so no need to remove

2005-06-26  Tor Lillqvist  <tml@novell.com>

* Makefile.am: Current GNU tools do understand the PRIVATE
keyword, so no need to remove those entries from the import
library. libtool installs the .dll.a import library itself, so no
need to do it here. Do install the .def file.

18 years agoUpdated Slovak translation.
Marcel Telka [Sun, 26 Jun 2005 18:21:40 +0000 (18:21 +0000)]
Updated Slovak translation.

2005-06-26  Marcel Telka  <marcel@telka.sk>

* sk.po: Updated Slovak translation.

18 years agoadd GDK_GRAB_BROKEN to the switch cases.
Manish Singh [Sun, 26 Jun 2005 07:06:13 +0000 (07:06 +0000)]
add GDK_GRAB_BROKEN to the switch cases.

Sun Jun 26 00:04:36 2005  Manish Singh  <yosh@gimp.org>

        * gdk/gdkevents.c (gdk_event_get_time, gdk_event_get_state): add
        GDK_GRAB_BROKEN to the switch cases.

        * gtk/gtkmenushell.c (gtk_menu_shell_grab_broken): remove unused
        variables.

        * gtk/gtkpaned.c (gtk_paned_grab_broken): return TRUE.

18 years agoStop column header drag operations if the grab is broken.
Matthias Clasen [Sun, 26 Jun 2005 06:51:55 +0000 (06:51 +0000)]
Stop column header drag operations if the grab is broken.

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

* gtk/gtktreeview.c (gtk_tree_view_grab_broken): Stop column
header drag operations if the grab is broken.

18 years agoStop the drag if the grab is broken.
Matthias Clasen [Sun, 26 Jun 2005 06:39:19 +0000 (06:39 +0000)]
Stop the drag if the grab is broken.

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

* gtk/gtkhsv.c (gtk_hsv_grab_broken): Stop the drag if
the grab is broken.

18 years agoDon't do explicitly ungrab pointer and keyboard. We're unmapping the grab
Matthias Clasen [Sun, 26 Jun 2005 06:26:47 +0000 (06:26 +0000)]
Don't do explicitly ungrab pointer and keyboard. We're unmapping the grab

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

* gtk/gtkcombobox.c (gtk_combo_box_popdown): Don't do
explicitly ungrab pointer and keyboard. We're unmapping
the grab window anyway.
(gtk_combo_box_popup): Handle grab failures.

18 years agoDon't emit grab-broken for overgrabbing, until we figure out how to do
Matthias Clasen [Sun, 26 Jun 2005 03:48:06 +0000 (03:48 +0000)]
Don't emit grab-broken for overgrabbing, until we figure out how to do

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

* gdk/x11/gdkmain-x11.c (gdk_keyboard_grab, gdk_pointer_grab):
Don't emit grab-broken for overgrabbing, until we figure
out how to do that without breaking the menu code.

18 years agoUpdated Slovak translation.
Marcel Telka [Sat, 25 Jun 2005 20:35:53 +0000 (20:35 +0000)]
Updated Slovak translation.

2005-06-25  Marcel Telka  <marcel@telka.sk>

* sk.po: Updated Slovak translation.

18 years agoAdd a GrabBroken event to GDK, and a grab-broken-event signal to
Matthias Clasen [Sat, 25 Jun 2005 07:10:40 +0000 (07:10 +0000)]
Add a GrabBroken event to GDK, and a grab-broken-event signal to

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

Add a GrabBroken event to GDK, and a grab-broken-event
signal to GtkWidget.  (#107320, Simon Cooke, initial patch
by John Ehresman)

* gdk/gdkevents.h: Add a GDK_GRAB_BROKEN event type,
define a GdkEventGrabBroken event struct.

* gdk/win32/gdkevents-win32.c (gdk_event_translate):
Generate GrabBroken events in response to WM_KILLFOCUS.

* gdk/x11/gdkmain-x11.c: Generate GrabBroken events
when a grab is broken by the window becoming unviewable,
or by another grab from the same client.

* gtk/gtkwidget.h (GtkWidgetClass): Add grab_broken_event.

* gtk/gtkwidget.c (gtk_widget_event_internal): Translate
GrabBroken events into grab_broken_event signals.

* gtk/gtkmain.c (gtk_main_do_event): Propagate GrabBroken
events.

* gtk/gtkmenushell.c (gtk_menu_shell_grab_broken): Deactivate
the menu when the grab is broken.

* gtk/gtkcolorsel.c (gtk_color_selection_grab_broken): Stop
the color picker if the grab is broken.

* gtk/gtkpaned.c (gtk_paned_grab_broken): Stop the drag if
the grab is broken.

18 years agoAdd some new stock items. (#166480, Kristof Vansant)
Matthias Clasen [Sat, 25 Jun 2005 05:06:47 +0000 (05:06 +0000)]
Add some new stock items. (#166480, Kristof Vansant)

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

Add some new stock items.  (#166480, Kristof Vansant)

* gtk/stock-icons/stock_fullscreen_16.png:
* gtk/stock-icons/stock_fullscreen_24.png:
* gtk/stock-icons/stock_leave_fullscreen_16.png:
* gtk/stock-icons/stock_leave_fullscreen_24.png:
* gtk/stock-icons/stock_info_16.png:
* gtk/stock-icons/stock_info_24.png: New icons.

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

* gtk/gtkstock.h: Define names for the new icons.

* gtk/gtkstock.c (builtin_items): Register new stock items.

* gtk/gtkiconfactory.c (get_default_icons): Register new
stock icons.

18 years agoMake movement by paragraphs up/down symmetric. (#307055, Behnam Esfahbod)
Matthias Clasen [Fri, 24 Jun 2005 17:42:17 +0000 (17:42 +0000)]
Make movement by paragraphs up/down symmetric. (#307055, Behnam Esfahbod)

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

* gtk/gtktextview.c
(gtk_text_view_move_cursor_internal): Make movement by
paragraphs up/down symmetric.  (#307055, Behnam Esfahbod)

18 years agoFix up selection of conversion functions for MSB machines:
Owen Taylor [Fri, 24 Jun 2005 15:06:29 +0000 (15:06 +0000)]
Fix up selection of conversion functions for MSB machines:

2005-06-24  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkrgb.c (gdk_rgb_select_conv): Fix up selection of
        conversion functions for MSB machines: convert_0888[_br]
        now work on bytes so are endian independent.
        (Reported by David Zeuthen)

18 years agoDon't jump to the next line if we are at the end of the line.
Matthias Clasen [Fri, 24 Jun 2005 13:49:34 +0000 (13:49 +0000)]
Don't jump to the next line if we are at the end of the line.

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

* gtk/gtktextview.c (gtk_text_view_scroll_hpages): Don't
jump to the next line if we are at the end of the line.

18 years agoMention also bug #308413.
Tor Lillqvist [Fri, 24 Jun 2005 13:04:51 +0000 (13:04 +0000)]
Mention also bug #308413.

18 years agoImprove and simplify line segment rendering on Win32, especially the
Tor Lillqvist [Fri, 24 Jun 2005 13:00:05 +0000 (13:00 +0000)]
Improve and simplify line segment rendering on Win32, especially the

2005-06-23  Tor Lillqvist  <tml@novell.com>

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

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

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

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

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

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

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

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

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

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

(draw_segments): Don't do any manual "last point" drawing at
all. The above changes takes care of narrow line segments being
drawn correctly in most cases, at least on NT-based Windows.

18 years agofix language team reference
Kwok-Koon Cheung [Fri, 24 Jun 2005 03:38:24 +0000 (03:38 +0000)]
fix language team reference