]> Pileus Git - ~andy/gtk/log
~andy/gtk
18 years agoMake GtkPlug/Socket API available on all platforms.
Tor Lillqvist [Thu, 21 Jul 2005 13:38:09 +0000 (13:38 +0000)]
Make GtkPlug/Socket API available on all platforms.

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

* gtk/gtk.symbols: Make GtkPlug/Socket API available on all platforms.

* gtk/Makefile.am: Changes to build GtkPlug/Socket on all platforms.

18 years agogtk/gtksocket.c Splice out backend-dependend parts to separate files, see
Tor Lillqvist [Thu, 21 Jul 2005 13:31:03 +0000 (13:31 +0000)]
gtk/gtksocket.c Splice out backend-dependend parts to separate files, see

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

* gtk/gtksocket.c
* gtk/gtkplug.c: Splice out backend-dependend parts to separate
files, see below.

* gtk/gtksocketprivate.h
* gtk/gtkplugprivate.h: New files. Declare the backend-specific
functions, and the private backend-independent functions they call
back to.

18 years agogtk/gtksocket-stub.c gtk/gtkplug-stub.c gtk/gtksocket-x11.c
Tor Lillqvist [Thu, 21 Jul 2005 13:26:27 +0000 (13:26 +0000)]
gtk/gtksocket-stub.c gtk/gtkplug-stub.c gtk/gtksocket-x11.c

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

* gtk/gtksocket-stub.c
* gtk/gtkplug-stub.c
* gtk/gtksocket-x11.c
* gtk/gtkplug-x11.c
* gtk/gtksocket-win32.c
* gtk/gtkplug-win32.c
* gtk/gtkwin32embed.h
* gtk/gtkwin32embed.c: New files, containing the backend-specific
parts of GtkPlug/Socket.

18 years agogtk/gtkxembed.h New function, used in error messages and debugging output.
Tor Lillqvist [Thu, 21 Jul 2005 13:20:06 +0000 (13:20 +0000)]
gtk/gtkxembed.h New function, used in error messages and debugging output.

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

* gtk/gtkxembed.h
* gtk/gtkxembed.c (_gtk_xembed_message_name): New function, used
in error messages and debugging output.

18 years agoMerged from gnome-2.10
Nguyen Thai Ngoc Duy [Thu, 21 Jul 2005 11:47:00 +0000 (11:47 +0000)]
Merged from gnome-2.10

18 years agoUse wide-char API when available. (#311079, Peter Zelezny)
Tor Lillqvist [Thu, 21 Jul 2005 07:29:36 +0000 (07:29 +0000)]
Use wide-char API when available. (#311079, Peter Zelezny)

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

* gdk/win32/gdkwindow-win32.c (gdk_window_set_title): Use
wide-char API when available. (#311079, Peter Zelezny)

18 years agoRevert an accidental commit
Matthias Clasen [Thu, 21 Jul 2005 05:24:45 +0000 (05:24 +0000)]
Revert an accidental commit

18 years agoAdd hints on how to handle "no window" widgets. (#136347)
Matthias Clasen [Thu, 21 Jul 2005 04:33:37 +0000 (04:33 +0000)]
Add hints on how to handle "no window" widgets. (#136347)

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

* gtk/gtkwidget.c (gtk_widget_modify_bg, gtk_widget_modify_base):
Add hints on how to handle "no window" widgets.  (#136347)

18 years agoFollow change in cairo API to add Screen* to
Keith Packard [Thu, 21 Jul 2005 03:57:00 +0000 (03:57 +0000)]
Follow change in cairo API to add Screen* to

2005-07-20  Keith Packard  <keithp@keithp.com>

* gdk/x11/gdkdrawable-x11.c: (gdk_x11_ref_cairo_surface):

Follow change in cairo API to add Screen* to
cairo_xlib_create_surface_for_bitmap

18 years agoExplicitly use the svg loader, if available. This should help with the
Matthias Clasen [Wed, 20 Jul 2005 20:50:46 +0000 (20:50 +0000)]
Explicitly use the svg loader, if available. This should help with the

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

* gtk/gtkicontheme.c (load_svg_at_size): Explicitly use the
svg loader, if available. This should help with the fact that
svg is not reliably sniffable with the current gdk-pixbuf sniffing
code.

18 years agoMake sure expanded expanders are not fuzzy. (#310172, reported by
Matthias Clasen [Wed, 20 Jul 2005 20:30:37 +0000 (20:30 +0000)]
Make sure expanded expanders are not fuzzy. (#310172, reported by

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

* gtk/gtkstyle.c (gtk_default_draw_expander): Make sure expanded
expanders are not fuzzy.  (#310172, reported by Alexander Larsson,
patch by Owen Taylor)

18 years agoUpdated Slovak translation.
Marcel Telka [Wed, 20 Jul 2005 20:15:38 +0000 (20:15 +0000)]
Updated Slovak translation.

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

* sk.po: Updated Slovak translation.

18 years agoDon't fail if we can't get a keyboard grab. (#168351)
Matthias Clasen [Wed, 20 Jul 2005 19:54:04 +0000 (19:54 +0000)]
Don't fail if we can't get a keyboard grab. (#168351)

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

* gtk/gtkdnd.c (gtk_drag_begin_internal): Don't fail if we
can't get a keyboard grab.  (#168351)

18 years agoushe malce
Ivan Stojmirov [Wed, 20 Jul 2005 19:15:43 +0000 (19:15 +0000)]
ushe malce

18 years agoAdd GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION.
Matthias Clasen [Wed, 20 Jul 2005 17:55:49 +0000 (17:55 +0000)]
Add GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION.

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

* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_[sg]et_property):
Add GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION.

18 years agoAdded a few utility functions for profiling; instrument the code, make it
Federico Mena Quintero [Wed, 20 Jul 2005 02:11:37 +0000 (02:11 +0000)]
Added a few utility functions for profiling; instrument the code, make it

2005-07-19  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c: Added a few utility functions for
profiling; instrument the code, make it conditional.

18 years agodon't iterate past the end of the string, so pango_layout_get_cursor_pos()
Kristian Rietveld [Tue, 19 Jul 2005 21:09:03 +0000 (21:09 +0000)]
don't iterate past the end of the string, so pango_layout_get_cursor_pos()

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

* gtk/gtkentry.c (gtk_entry_move_forward_word): don't iterate
past the end of the string, so pango_layout_get_cursor_pos() won't
complain. (#309211, Tommi Komulainen).

18 years agoDon't bother mentioning the -fnative-struct (used by GCC 2) switch in the
Tor Lillqvist [Tue, 19 Jul 2005 07:09:37 +0000 (07:09 +0000)]
Don't bother mentioning the -fnative-struct (used by GCC 2) switch in the

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

* gtk/gtkmain.c (check_sizeof_GtkWindow, check_sizeof_GtkBox):
Don't bother mentioning the -fnative-struct (used by GCC 2) switch
in the error message any longer.

18 years agoSmall formatting fixes in doc comments.
Matthias Clasen [Mon, 18 Jul 2005 19:48:52 +0000 (19:48 +0000)]
Small formatting fixes in doc comments.

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

* gdk/gdkpixbuf-render.c: Small formatting fixes in doc comments.

18 years agoRemove useless calls to gtk_tree_row_reference_inserted/deleted, since we
Matthias Clasen [Mon, 18 Jul 2005 19:14:46 +0000 (19:14 +0000)]
Remove useless calls to gtk_tree_row_reference_inserted/deleted, since we

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

* gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted)
(gtk_combo_box_model_row_inserted): Remove useless calls
to gtk_tree_row_reference_inserted/deleted, since we
don't use manual row references here.

18 years agoCall gettext_initialization before checking gtk_initialized, otherwise
Matthias Clasen [Mon, 18 Jul 2005 17:13:24 +0000 (17:13 +0000)]
Call gettext_initialization before checking gtk_initialized, otherwise

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

* gtk/gtkmain.c (gtk_parse_args, gtk_init_with_args): Call
gettext_initialization before checking gtk_initialized, otherwise
there are scenarios where it is not called at all. For an
example, see tests/testfilechooserbutton.c.  (#310323,
Arkady L. Shane)

18 years ago[Win32] Bypass libtool, use -Wl,-luuid. This avoids a libtool warning as
Tor Lillqvist [Mon, 18 Jul 2005 15:20:28 +0000 (15:20 +0000)]
[Win32] Bypass libtool, use -Wl,-luuid. This avoids a libtool warning as

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

* configure.in (GDK_EXTRA_LIBS): [Win32] Bypass libtool, use
-Wl,-luuid. This avoids a libtool warning as libuuid is static.

* gdk/win32/gdkgc-win32.c (gdk_win32_hdc_get): Be sure to remove
any possible leftover clipping region in the DC if we don't want
any clipping. Thanks to Robert Ögren. (#309823)

18 years agoPropagate the focus-on-click value to the button. (#310543, Christian
Matthias Clasen [Mon, 18 Jul 2005 14:47:55 +0000 (14:47 +0000)]
Propagate the focus-on-click value to the button. (#310543, Christian

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

* gtk/gtkcombobox.c (gtk_combo_box_set_focus_on_click): Propagate
the focus-on-click value to the button.  (#310543, Christian Persch)

18 years agoAdd a note about the need to handle expose events. We really need a
Matthias Clasen [Mon, 18 Jul 2005 14:25:56 +0000 (14:25 +0000)]
Add a note about the need to handle expose events. We really need a

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

* gtk/gtkwidget.c (gtk_widget_set_double_buffered): Add a note
about the need to handle expose events. We really need a chapter
on the GTK+ drawing model that we can refer to here... (#310765,
Steve Chaplin)

18 years agoUpdated Canadian English translation.
Adam Weinberger [Mon, 18 Jul 2005 08:57:00 +0000 (08:57 +0000)]
Updated Canadian English translation.

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

* en_CA.po: Updated Canadian English translation.

18 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Mon, 18 Jul 2005 07:54:03 +0000 (07:54 +0000)]
Translation updated by Tino Meinen.

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

* nl.po: Translation updated by Tino Meinen.

18 years agoUpdated Simplified Chinese translation
Funda Wang [Mon, 18 Jul 2005 05:17:04 +0000 (05:17 +0000)]
Updated Simplified Chinese translation

18 years agoUpdated French translation.
Christophe Merlet [Sun, 17 Jul 2005 14:25:27 +0000 (14:25 +0000)]
Updated French translation.

18 years agoUpdated Lithuanian translation.
Žygimantas Beručka [Sat, 16 Jul 2005 20:53:38 +0000 (20:53 +0000)]
Updated Lithuanian translation.

2005-07-16  Žygimantas Beručka  <uid0@akl.lt>

        * lt.po: Updated Lithuanian translation.

18 years ago[Win32] Put -luuid back, it is needed in case one builds without the ie55
Tor Lillqvist [Sat, 16 Jul 2005 16:45:34 +0000 (16:45 +0000)]
[Win32] Put -luuid back, it is needed in case one builds without the ie55

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

* configure.in (GDK_EXTRA_LIBS): [Win32] Put -luuid back, it is
needed in case one builds without the ie55 stuff. (#310582)

18 years agoUpdated Thai translation.
Theppitak Karoonboonyanan [Sat, 16 Jul 2005 14:32:16 +0000 (14:32 +0000)]
Updated Thai translation.

2005-07-16  Theppitak Karoonboonyanan  <thep@linux.thai.net>

* th.po: Updated Thai translation.

18 years agoBump version
Matthias Clasen [Fri, 15 Jul 2005 20:40:44 +0000 (20:40 +0000)]
Bump version

18 years ago2.7.3
Matthias Clasen [Fri, 15 Jul 2005 20:33:47 +0000 (20:33 +0000)]
2.7.3

18 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Fri, 15 Jul 2005 19:03:05 +0000 (19:03 +0000)]
Updated Spanish translation.

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

* es.po: Updated Spanish translation.

18 years agoUpdates
Matthias Clasen [Fri, 15 Jul 2005 16:29:46 +0000 (16:29 +0000)]
Updates

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

* NEWS: Updates

18 years agoDon't treat whitespace as words for keynav, pointed out by Owen Taylor.
Matthias Clasen [Fri, 15 Jul 2005 15:30:47 +0000 (15:30 +0000)]
Don't treat whitespace as words for keynav, pointed out by Owen Taylor.

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

* gtk/gtkentry.c (gtk_entry_move_forward_word):
(gtk_entry_move_backward_word): Don't treat whitespace as
words for keynav, pointed out by Owen Taylor.

18 years agoTake the parent folder path instead of the display name, to avoid doing
Federico Mena Quintero [Fri, 15 Jul 2005 15:06:52 +0000 (15:06 +0000)]
Take the parent folder path instead of the display name, to avoid doing

2005-07-15  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c
(should_respond_after_confirm_overwrite): Take the parent folder
path instead of the display name, to avoid doing duplicated work
in gtk_file_chooser_default_should_respond().

18 years agoTake the parent folder path instead of the display name, to avoid doing
Federico Mena Quintero [Fri, 15 Jul 2005 14:05:29 +0000 (14:05 +0000)]
Take the parent folder path instead of the display name, to avoid doing

2005-07-15  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c
(should_respond_after_confirm_overwrite): Take the parent folder
path instead of the display name, to avoid doing duplicated work
in gtk_file_chooser_default_should_respond().

18 years agoTake the display name of the folder as well so that we can present a
Federico Mena Quintero [Fri, 15 Jul 2005 13:50:54 +0000 (13:50 +0000)]
Take the display name of the folder as well so that we can present a

2005-07-15  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c
(confirm_dialog_should_accept_filename): Take the display name of
the folder as well so that we can present a better message.  Use a
stock cancel button, "_Replace", and GTK_STOCK_SAVE_AS.
(gtk_file_chooser_default_should_respond): Pass the file part and
folder display name directly to the function above.  Oops, only do
the confirmation dialog if the file exists.

18 years agoUpdate Update
Kjartan Maraas [Fri, 15 Jul 2005 10:45:18 +0000 (10:45 +0000)]
Update Update

2005-07-15  Kjartan Maraas  <kmaraas@gnome.org>

* nb.po: Update
* no.po: Update

18 years agoUse header capitalization for the buttons, per the HIG.
Federico Mena Quintero [Fri, 15 Jul 2005 06:16:20 +0000 (06:16 +0000)]
Use header capitalization for the buttons, per the HIG.

2005-07-15  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c
(confirm_dialog_should_accept_filename): Use header capitalization
for the buttons, per the HIG.

18 years agoAdd the new functions.
Federico Mena Quintero [Fri, 15 Jul 2005 06:11:38 +0000 (06:11 +0000)]
Add the new functions.

2005-07-15  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtk.symbols: Add the new functions.

18 years agoAdd "Since 2.8" to the signal and enum.
Federico Mena Quintero [Fri, 15 Jul 2005 06:09:25 +0000 (06:09 +0000)]
Add "Since 2.8" to the signal and enum.

2005-07-15  Federico Mena Quintero  <federico@ximian.com>

* gtk/tmpl/gtkfilechooser.sgml: Add "Since 2.8" to the signal and enum.

18 years agoAdd a test for the confirm-overwrite signal.
Federico Mena Quintero [Fri, 15 Jul 2005 06:07:13 +0000 (06:07 +0000)]
Add a test for the confirm-overwrite signal.

2005-07-15  Federico Mena Quintero  <federico@ximian.com>

* tests/testfilechooser.c (confirm_overwrite_cb): Add a test for
the confirm-overwrite signal.

18 years agoAdd a "save" example to the typical usage.
Federico Mena Quintero [Fri, 15 Jul 2005 05:50:48 +0000 (05:50 +0000)]
Add a "save" example to the typical usage.

2005-07-15  Federico Mena Quintero  <federico@ximian.com>

* gtk/tmpl/gtkfilechooserdialog.sgml: Add a "save" example to the
typical usage.

* gtk/gtk-sections.txt: Add GtkFileChooserConfirmation,
gtk_file_chooser_set_do_overwrite_confirmation,
gtk_file_chooser_get_do_overwrite_confirmation.

* gtk/tmpl/gtkfilechooser.sgml: Document the confirmation signal
and enumeration; provide an example.

18 years agoAdd overwrite confirmation for SAVE mode. Fixes bug #152850:
Federico Mena Quintero [Fri, 15 Jul 2005 04:55:56 +0000 (04:55 +0000)]
Add overwrite confirmation for SAVE mode. Fixes bug #152850:

2005-07-14  Federico Mena Quintero  <federico@ximian.com>

Add overwrite confirmation for SAVE mode.  Fixes bug #152850:

* gtk/gtkfilechooser.h: Add prototypes for
gtk_file_chooser_set/get_do_overwrite_confirmation().
(GtkFileChooserConfirmation): New enum for the result of the
"confirm-overwrite" signal.

* gtk/gtkmarshalers.list: Add ENUM:VOID.

* gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Add a
"do-overwrite-confirmation" boolean property.
(gtk_file_chooser_set_do_overwrite_confirmation): Implement.
(gtk_file_chooser_get_do_overwrite_confirmation): Implement.
(confirm_overwrite_accumulator): New accumulator for the signal.

* gtk/gtkfilechooserutils.h (GtkFileChooserProp): Add
GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION.

* gtk/gtkfilechooserutils.c
(_gtk_file_chooser_install_properties): Override the
do-overwrite-confirmation property.

* gtk/gtkfilechooserprivate.h (struct _GtkFileChooserIface): Add a
confirm_overwrite signal to the vtable.

* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_set_property): Handle the new property.
(gtk_file_chooser_default_get_property): Likewise.
(get_selected_file_info_from_file_list): New helper function; code
taken from list_selection_changed().
(list_selection_changed): Use get_selected_file_info_from_file_list().
(should_respond_after_confirm_overwrite): New function.
(gtk_file_chooser_default_should_respond): Confirm when necessary.

18 years agoAdd new api
Matthias Clasen [Thu, 14 Jul 2005 20:22:00 +0000 (20:22 +0000)]
Add new api

18 years agoAdd new exported symbols.
Matthias Clasen [Thu, 14 Jul 2005 20:20:08 +0000 (20:20 +0000)]
Add new exported symbols.

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

* gtk/gtk.symbols: Add new exported symbols.

18 years agoImplement getting the MIME type of a file. Look it up in the Registry. Bug
Tor Lillqvist [Thu, 14 Jul 2005 19:10:03 +0000 (19:10 +0000)]
Implement getting the MIME type of a file. Look it up in the Registry. Bug

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

* gtk/gtkfilesystemwin32.c (filename_get_info): Implement getting
the MIME type of a file. Look it up in the Registry. Bug reported
by Hans Oesterholt.

18 years agoDon't need -luuid on Win32. It was some leftover, and in fact occasionally
Tor Lillqvist [Thu, 14 Jul 2005 17:27:24 +0000 (17:27 +0000)]
Don't need -luuid on Win32. It was some leftover, and in fact occasionally

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

* configure.in (GDK_EXTRA_LIBS): Don't need -luuid on Win32. It
was some leftover, and in fact occasionally caused issues with
libtool as it made its way into the libgdk-win32-2.0.la file and
that way into the .la files of all libraries that depend on
GDK. (This happened only when building from CVS and not using a
full "make install" which would run the sanitize-la.sh script.)

18 years agoDon't assert if the xrootwin is invalid. (#309997, Barbie LeVille)
Matthias Clasen [Thu, 14 Jul 2005 14:37:34 +0000 (14:37 +0000)]
Don't assert if the xrootwin is invalid. (#309997, Barbie LeVille)

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

* gdk/x11/gdkevents-x11.c (set_screen_from_root): Don't assert if
the xrootwin is invalid.  (#309997, Barbie LeVille)
(gdk_event_translate): Ignore events with an invalid root field.

18 years agoSet interface age to 0.
Matthias Clasen [Thu, 14 Jul 2005 13:12:05 +0000 (13:12 +0000)]
Set interface age to 0.

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

* configure.in: Set interface age to 0.

* gtk/gtkimmodule.h: Move G_BEGIN_DECLS to the right spot, noticed
by Akira Tagoh.

18 years agoUpdated Czech translation.
Miloslav Trmac [Thu, 14 Jul 2005 09:05:27 +0000 (09:05 +0000)]
Updated Czech translation.

2005-07-14  Miloslav Trmac  <mitr@volny.cz>

* cs.po: Updated Czech translation.

18 years agoushe ima
Ivan Stojmirov [Thu, 14 Jul 2005 08:34:16 +0000 (08:34 +0000)]
ushe ima

18 years agonew function (fixes #169961, reported by Morten Welinder).
Kristian Rietveld [Thu, 14 Jul 2005 00:05:49 +0000 (00:05 +0000)]
new function (fixes #169961, reported by Morten Welinder).

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

* gtk/gtktreeviewcolumn.[ch] (gtk_tree_view_column_queue_resize): new
function (fixes #169961, reported by Morten Welinder).

18 years agonew function. (fixes #105252, suggestion from Mikael Hallendal).
Kristian Rietveld [Wed, 13 Jul 2005 23:05:27 +0000 (23:05 +0000)]
new function. (fixes #105252, suggestion from Mikael Hallendal).

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

* gtk/gtktreeview.[ch] (gtk_tree_view_get_visible_range): new
function. (fixes #105252, suggestion from Mikael Hallendal).

18 years agoremove unused variable.
Manish Singh [Wed, 13 Jul 2005 23:04:04 +0000 (23:04 +0000)]
remove unused variable.

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

        * demos/gtk-demo/iconview_edit.c: remove unused variable.

18 years agonew function. (#160879, Stefan Kost).
Kristian Rietveld [Wed, 13 Jul 2005 21:27:03 +0000 (21:27 +0000)]
new function. (#160879, Stefan Kost).

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

* gtk/gtktreemodel.[ch] (gtk_tree_row_reference_get_model): new
function. (#160879, Stefan Kost).

18 years agopaint a flat box on the area the treeview got allocated extra vertically
Kristian Rietveld [Wed, 13 Jul 2005 19:14:15 +0000 (19:14 +0000)]
paint a flat box on the area the treeview got allocated extra vertically

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

* gtk/gtktreeview.c (gtk_tree_view_bin_expose): paint a flat box
on the area the treeview got allocated extra vertically (fixes
#142063, reported by Brian Bober).

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
make this function calculate real_cell_area and real_background_area
correctly. (fixes #309249, reported by Bernd Demian).

18 years agoFix an unintentional case of width-for-height... (#310133, Luis Villa)
Matthias Clasen [Wed, 13 Jul 2005 17:24:02 +0000 (17:24 +0000)]
Fix an unintentional case of width-for-height... (#310133, Luis Villa)

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

* gtk/gtkcalendar.c (calendar_realize_arrows): Fix an
unintentional case of width-for-height... (#310133, Luis Villa)

18 years agolet's take the MIN of width and max_width here, not width and max_width !=
Kristian Rietveld [Wed, 13 Jul 2005 14:28:02 +0000 (14:28 +0000)]
let's take the MIN of width and max_width here, not width and max_width !=

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

* gtk/gtktreeview.c (gtk_tree_view_new_column_width): let's take
the MIN of width and max_width here, not width and max_width != -1.
(fixes #144480, reported by Mikael Magnusson).

18 years agoDon't keep the caches for unthemed directories in a separate list, instead
Matthias Clasen [Wed, 13 Jul 2005 14:07:10 +0000 (14:07 +0000)]
Don't keep the caches for unthemed directories in a separate list, instead

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

* gtk/gtkicontheme.c (load_themes): Don't keep the caches
for unthemed directories in a separate list, instead append
them at the end of the dir_mtimes list, so that we can check
them for staleness like the other caches.  (#310221, Mark
McLoughlin)

18 years agoCheck the cairo version
Matthias Clasen [Wed, 13 Jul 2005 13:30:24 +0000 (13:30 +0000)]
Check the cairo version

18 years agoFix handling of Aiptek and Aiptek-like graphical tablets such as Trust on
Robert Ögren [Wed, 13 Jul 2005 13:00:22 +0000 (13:00 +0000)]
Fix handling of Aiptek and Aiptek-like graphical tablets such as Trust on

2005-07-13  Robert Ögren  <gtk@roboros.com>

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

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

* gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Handle
tablet drivers that don't support WTI_DDCTXS/WTI_DSCTXS gracefully.
Sligthly reorganize and simplify the code to support this.
(_gdk_input_wintab_init_check, _gdk_input_other_event): Remove
USE_SYSCONTEXT ifdef:s and the code for the case it was not defined.
(gdk_input_window_find_within): Removed.

18 years agoAdd Copyright/License information.
Matthias Clasen [Wed, 13 Jul 2005 12:32:02 +0000 (12:32 +0000)]
Add Copyright/License information.

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

* gdk/win32/bdfcursor.c: Add Copyright/License information.

18 years agowhen !separator, don't add the focus_line_width to width/height (happens
Kristian Rietveld [Wed, 13 Jul 2005 11:57:10 +0000 (11:57 +0000)]
when !separator, don't add the focus_line_width to width/height (happens

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

* gtk/gtktreeview.c (validate_row): when !separator, don't add
the focus_line_width to width/height (happens in
_column_cell_get_size), but do add the vertical-separator to height,
we weren't taking this into account before.

* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
take vertical-separator into account. (#309137, Ross Burton).

18 years agoAdd Copyright/License information.
Matthias Clasen [Wed, 13 Jul 2005 05:44:22 +0000 (05:44 +0000)]
Add Copyright/License information.

18 years agoUpdated Slovak translation.
Marcel Telka [Wed, 13 Jul 2005 05:06:20 +0000 (05:06 +0000)]
Updated Slovak translation.

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

* sk.po: Updated Slovak translation.

18 years agoAdd a warning about unreffing icon themes. (#310163, Rodney Dawes)
Matthias Clasen [Wed, 13 Jul 2005 04:53:49 +0000 (04:53 +0000)]
Add a warning about unreffing icon themes. (#310163, Rodney Dawes)

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

* gtk/gtkicontheme.c (gtk_icon_theme_get_default)
(gtk_icon_theme_get_for_screen): Add a warning about
unreffing icon themes.  (#310163, Rodney Dawes)

18 years agoquit maintaining the iter on every iteration, only get the iter when we
Kristian Rietveld [Tue, 12 Jul 2005 23:01:17 +0000 (23:01 +0000)]
quit maintaining the iter on every iteration, only get the iter when we

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

* gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): quit
maintaining the iter on every iteration, only get the iter when
we are about to call the foreach_func. Gives us a 10x speedup,
since maintaining iters is a lot more expensive than maintaining
paths. We lose a bit of sanity checking though. Thanks go to
Billy Biggs for pointing this out.

18 years agoushe dosta rabota
Ivan Stojmirov [Tue, 12 Jul 2005 22:16:47 +0000 (22:16 +0000)]
ushe dosta rabota

18 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Tue, 12 Jul 2005 22:15:32 +0000 (22:15 +0000)]
Updated Spanish translation.

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

* es.po: Updated Spanish translation.

18 years agoFix the build
Matthias Clasen [Tue, 12 Jul 2005 18:08:20 +0000 (18:08 +0000)]
Fix the build

18 years agoHungarian translation updated.
Gabor Kelemen [Tue, 12 Jul 2005 16:54:35 +0000 (16:54 +0000)]
Hungarian translation updated.

2005-07-12  Gabor Kelemen  <kelemeng@gnome.hu>

* hu.po: Hungarian translation updated.

18 years agoFix the same confusion here, too.
Matthias Clasen [Tue, 12 Jul 2005 16:52:55 +0000 (16:52 +0000)]
Fix the same confusion here, too.

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

* tests/testcairo.c (draw): Fix the same confusion here, too.

18 years agoFix cairo_content_t <-> cairo_format_t confusion. (#310086, Carlos
Matthias Clasen [Tue, 12 Jul 2005 16:49:37 +0000 (16:49 +0000)]
Fix cairo_content_t <-> cairo_format_t confusion. (#310086, Carlos

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

* gdk/gdkgc.c (make_stipple_tile_surface): Fix
cairo_content_t <-> cairo_format_t confusion.  (#310086,
Carlos Garnacho Parro)

18 years agoForgot to commit this one.
Tor Lillqvist [Tue, 12 Jul 2005 16:33:18 +0000 (16:33 +0000)]
Forgot to commit this one.

18 years agoFollow the Nautilus change and rename "Filesystem" to "File System",
Matthias Clasen [Tue, 12 Jul 2005 16:28:06 +0000 (16:28 +0000)]
Follow the Nautilus change and rename "Filesystem" to "File System",

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

* gtk/gtkfilesystemunix.c
(gtk_file_system_unix_volume_get_display_name): Follow
the Nautilus change and rename "Filesystem" to "File System",
string change.  (#310047, Vincent Noel)

18 years agoRename this demo.
Matthias Clasen [Tue, 12 Jul 2005 16:02:19 +0000 (16:02 +0000)]
Rename this demo.

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

* demos/gtk-demo/iconview.c: Rename this demo.

* demos/gtk-demo/iconview_edit.c: Add a demo for icon view
editing and drag-and-drop.

18 years agoCorrect copyright information
Matthias Clasen [Tue, 12 Jul 2005 15:58:57 +0000 (15:58 +0000)]
Correct copyright information

18 years agoAccept dashes in demo titles.
Matthias Clasen [Tue, 12 Jul 2005 15:28:45 +0000 (15:28 +0000)]
Accept dashes in demo titles.

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

* demos/gtk-demo/geninclude.pl.in: Accept dashes in demo titles.

18 years agoTranslation updated by Ivar Smolin.
Priit Laes [Tue, 12 Jul 2005 11:18:18 +0000 (11:18 +0000)]
Translation updated by Ivar Smolin.

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

* et.po: Translation updated by Ivar Smolin.

18 years ago Add Copyright/License information.
Matthias Clasen [Tue, 12 Jul 2005 05:09:13 +0000 (05:09 +0000)]
 Add Copyright/License information.

18 years agoAdd Copyright/License information.
Matthias Clasen [Tue, 12 Jul 2005 04:38:51 +0000 (04:38 +0000)]
Add Copyright/License information.

18 years ago Add Copyright/License information.
Matthias Clasen [Tue, 12 Jul 2005 04:29:46 +0000 (04:29 +0000)]
 Add Copyright/License information.

18 years agoAdd copyright and license information
Matthias Clasen [Tue, 12 Jul 2005 04:05:26 +0000 (04:05 +0000)]
Add copyright and license information

18 years agoRemove the runtime warning about the invisible property, add a warning
Matthias Clasen [Mon, 11 Jul 2005 19:58:33 +0000 (19:58 +0000)]
Remove the runtime warning about the invisible property, add a warning

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

* gtk/gtktexttag.c (gtk_text_tag_class_init)
(gtk_text_tag_set_property): Remove the runtime warning about
the invisible property, add a warning about possible remaining
problems to the documentation of the property.  (#66194)

18 years agoDon't ever go unconditionally to the buffer ends; that doesn't work if the
Matthias Clasen [Mon, 11 Jul 2005 19:46:43 +0000 (19:46 +0000)]
Don't ever go unconditionally to the buffer ends; that doesn't work if the

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

* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Don't
ever go unconditionally to the buffer ends; that doesn't work
if the initial or final portion of the buffer are invisible.

18 years agoadd binding entry for ctrl + backspace (move focus to parent without
Kristian Rietveld [Mon, 11 Jul 2005 18:52:33 +0000 (18:52 +0000)]
add binding entry for ctrl + backspace (move focus to parent without

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

* gtk/gtktreeview.c (gtk_tree_view_class_init): add binding entry
for ctrl + backspace (move focus to parent without affecting
selection),
(gtk_tree_view_real_select_cursor_parent): implement ctrl+backspace
and simplify the function a bit. (#309296, Kathy Fernandes).

18 years agoAdd new api.
Matthias Clasen [Mon, 11 Jul 2005 18:29:21 +0000 (18:29 +0000)]
Add new api.

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

* gdk/gdk-sections.txt: Add new api.

18 years agoMake gdk_window_present() move the window to the current desktop, instead
Matthias Clasen [Mon, 11 Jul 2005 18:28:23 +0000 (18:28 +0000)]
Make gdk_window_present() move the window to the current desktop, instead

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

Make gdk_window_present() move the window to the current
desktop, instead of letting the WM change the current
desktop to where the window is.  (#166379, Elijah Newren)

* gdk/gdk.symbols:
* gdk/x11/gdkx.h:
* gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
New function to move a window to the current desktop.

* gtk/gtkwindow.c (gtk_window_present_with_time): Move the
window to the current desktop before giving it focus.

18 years agoWhen dragging text, use a drag icon showing the (ellipsized) text that is
Matthias Clasen [Mon, 11 Jul 2005 17:51:54 +0000 (17:51 +0000)]
When dragging text, use a drag icon showing the (ellipsized) text that is

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

When dragging text, use a drag icon showing the (ellipsized)
text that is being dragged: (#161132, Kevin Duffus, patch
by Carlos Garnacho Parro)

* gtk/gtktextutil.h:
* gtk/gtktextutil.c (_gtk_text_util_create_drag_icon): Add
a function to create a pixmap for use when dragging text.

* gtk/gtktextview.c (gtk_text_view_start_selection_dnd):
* gtk/gtklabel.c (gtk_label_motion):
* gtk/gtkentry.c (gtk_entry_motion_notify): Use a drag icon
showing the text being dragged.

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

* gtk/gtkentry.c (gtk_entry_move_forward_word)
(gtk_entry_move_backward_word): Match the text view change
to allow selecting whitespace with double-click.

18 years agoMake double-clicking between words select whitespace. (#309860, Mike
Matthias Clasen [Mon, 11 Jul 2005 16:39:44 +0000 (16:39 +0000)]
Make double-clicking between words select whitespace. (#309860, Mike

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

* gtk/gtktextview.c (extend_selection): Make double-clicking
between words select whitespace.  (#309860, Mike Miller, patch
by Paolo Borelli)

18 years agoDocumentation improvements. (#309946, Torsten Schoenfeld)
Matthias Clasen [Mon, 11 Jul 2005 13:14:04 +0000 (13:14 +0000)]
Documentation improvements. (#309946, Torsten Schoenfeld)

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

* gtk/gtkiconview.c: Documentation improvements.  (#309946,
Torsten Schoenfeld)

18 years agoUpdated Serbian translation.
Danilo Šegan [Sun, 10 Jul 2005 18:47:19 +0000 (18:47 +0000)]
Updated Serbian translation.

18 years agoUpdated Czech translation.
Miloslav Trmac [Sun, 10 Jul 2005 17:32:04 +0000 (17:32 +0000)]
Updated Czech translation.

2005-07-10  Miloslav Trmac  <mitr@volny.cz>

* cs.po: Updated Czech translation.

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)