2007-01-30 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkwindow-x11.c (gdk_x11_window_move_to_current_desktop):
(gdk_x11_window_set_user_time): Be more careful about toplevel
possibly being NULL. (#402453, Sebastian Bacher)
svn path=/branches/gtk-2-10/; revision=17237
2007-01-26 Michael Natterer <mitch@imendio.com>
Merge from trunk:
* modules/input/gtkimcontextxim.c (gtk_im_context_xim_finalize):
destroy the XIM only if it exists. While the code does look safe
in general, there can be corner cases where the "reconnecting"
boolean being FALSE does not correspond to the XIM being
allocated (fixes#329450, fix taken from maemo-gtk).
svn path=/branches/gtk-2-10/; revision=17220
2007-01-24 Michael Natterer <mitch@imendio.com>
Merge from trunk:
* gtk/gtkwidget.c (gtk_widget_set_state): revert generic disabling
of PRELIGHT state for the reasons given in bug #135666. Widget
states are sometimes abused or otherwise used wrongly for historic
reasons, causing this part of the patch to break e.g. menu items.
svn path=/branches/gtk-2-10/; revision=17212
2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
* gtk/gtkfilesystemunix.c: (expand_tilde):
Revert the tilde patch I commited a while ago since it
apparently doesn't work with later releases of gtk+ anyway.
svn path=/branches/gtk-2-10/; revision=17208
2007-01-23 Murray Cumming <murrayc@murrayc.com>
* gtk/gtktreemodel.c: gtk_tree_path_next():
Add a note to the documentation about the changed path being only a
path to a potential node, so you must check that it really exists.
svn path=/branches/gtk-2-10/; revision=17204
2007-01-18 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcalendar.c: Fix problems with the initial
focus in GtkCalendar. (#397783, Vincent Untz)
svn path=/branches/gtk-2-10/; revision=17191
2007-01-19 Robert Oegren <gtk@roboros.com>
Fix for bug #143460 - missed tablet clicks on Windows
* gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check):
Request absolute reporting of tablet button state, and cut down
the packet queue size a bit.
(_gdk_input_other_event): Change button state handling
accordingly. Also drop the no longer necessary code that detects
missed clicks/releases for button 1. The switch to absolute button
state should prevent missed events for all buttons. Additionally,
swap button 2 and 3.
(_gdk_input_grab_pointer): Don't reset button_state, that will only
cause a new press event as soon as the next tablet packet arrives.
svn path=/branches/gtk-2-10/; revision=17189
2007-01-18 Tor Lillqvist <tml@novell.com>
* gdk-pixbuf/Makefile.am
* gdk/Makefile.am
* gdk/win32/Makefile.am
* gtk/Makefile.am: Fixes for building outside srcdir on
Win32. (#336819, #340113) Drop distributing the handmade .la
libtool wrappers for the wntab32x and ie55uid libraries. It's too
much trouble making them work when building outside srcdir. Just
link to these libraries direcly using -Wl,libfoo.a.
svn path=/branches/gtk-2-10/; revision=17184
2007-01-17 Michael Natterer <mitch@imendio.com>
Patch taken from maemo-gtk (merged from trunk):
* io-png.c (png_text_to_pixbuf_option): don't call g_convert() on
ASCII strings.
(png_info_callback): set an error when the size_func would scale
the pixbuf away completely.
svn path=/branches/gtk-2-10/; revision=17180
2007-01-17 Matthias Clasen <mclasen@redhat.com>
* modules/printbackends/cups/gtkprintbackendcups.c: Don't use
httpGetFd() when building against cups 1.1
svn path=/branches/gtk-2-10/; revision=17171
2007-01-17 Tor Lillqvist <tml@novell.com>
Merge from trunk, for discussion see #396175:
* gtk/gtkimmodule.c: Do the prefix corrections always on Win32,
not just when GTK_LIBDIR is defined. i.e., until now they were
done only in the autoconfiscated gcc builds. Hans needs to make
sure GTK_LIBDIR and GTK_LOCALEDIR are defined also in MSVC builds
now.
(correct_localedir_prefix): New function, like
correct_libdir_prefix(), but for GTK_LOCALEDIR, in case
GTK_LOCALEDIR is not a descendant of GTK_LIBDIR.
(gtk_im_module_initialize): Thus call correct_localedir_prefix()
on the domain_dirname instead of correct_libdir_prefix().
(_gtk_im_module_list): Call correct_localedir_prefix() on
simple_context_info.domain_dirname.
svn path=/branches/gtk-2-10/; revision=17162
2007-01-16 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrange.c (range_grab_remove): Queue a redraw when the
grab changes. (#396470, Benjamin Berg)
svn path=/branches/gtk-2-10/; revision=17160
2007-01-15 Emmanuele Bassi <ebassi@gnome.org>
Backport from trunk.
* gtk/gtkrecentchoosermenu.c: Ellipsize the menu items label
if they grow too much. (#357303)
svn path=/branches/gtk-2-10/; revision=17157
2007-01-14 Alexander Shopov <ash@contact.bg>
* bg.po: Updated Bulgarian translation by
Alexander Shopov <ash@contact.bg>
svn path=/branches/gtk-2-10/; revision=17151
2007-01-14 Hans Breuer <hans@breuer.org>
Merge from trunk:
* gtk/gtktreeview.c : use g_snprintf instead of snprintf, which is
not available everywhere
* gtk/makefile.msc.in : updated
svn path=/branches/gtk-2-10/; revision=17150
2007-01-13 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c: Don't crash if menu or toolbar
positions can't be found. (#396161, Hans Breuer)
svn path=/branches/gtk-2-10/; revision=17148
2007-01-13 Hans Breuer <hans@breuer.org>
Merge from trunk:
* gtk/gtkprintoperation-win32.c : take the custom tab label from
gtk_print_operation_set_custom_tab_label() into account (bug #390746).
svn path=/branches/gtk-2-10/; revision=17140
2007-01-12 Michael Natterer <mitch@imendio.com>
Merge from trunk:
* gtk/gtkentry.c (gtk_entry_button_press): don't add
entry->scroll_offset to entry->drag_start_y. Fixes the entry
starting drags after ridiculously small mouse movements.
svn path=/branches/gtk-2-10/; revision=17135
2007-01-11 Richard Hult <richard@imendio.com>
* demos/gtk-demo/main.c: (load_file): Close the file after it's
loaded (bug #395316).
svn path=/branches/gtk-2-10/; revision=17133
2007-01-11 Kjartan Maraas <kmaraas@gnome.org>
* gtk/gtkfilesystemunix.c: (expand_tilde): Merge fix
for making tilde go to $HOME in the location entry.
Patch from Yevgen Muntyan. Closes bug #334168.
svn path=/branches/gtk-2-10/; revision=17131
2007-01-10 Kristian Rietveld <kris@imendio.com>
* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_init):
refactor to initialize indicator_size to TOGGLE_WIDTH instead
of the hardcoded value of 12.
svn path=/branches/gtk-2-10/; revision=17127