Commit Graph

13552 Commits

Author SHA1 Message Date
Felix Riemann
e5f8b58d7b Fix leaked string. Fixes bug #402565.
2007-01-30  Felix Riemann  <friemann@svn.gnome.org>

	* modules/printbackends/file/gtkprintbackendfile.c:
	(file_printer_get_options): Fix leaked string. Fixes bug #402565.

svn path=/branches/gtk-2-10/; revision=17239
2007-01-30 20:21:37 +00:00
Matthias Clasen
3eaf016542 Be more careful about toplevel possibly being NULL. (#402453, Sebastian
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-30 18:39:01 +00:00
Takeshi AIHANA
108eaec8d7 Updated Japanese translation.
2007-01-27  Takeshi AIHANA <takeshi.aihana@gmail.com>

        * ja.po: Updated Japanese translation.

svn path=/branches/gtk-2-10/; revision=17226
2007-01-27 07:27:33 +00:00
Takeshi AIHANA
611c5685c4 Updated Japanese translation.
2007-01-27  Takeshi AIHANA <takeshi.aihana@gmail.com>

        * ja.po: Updated Japanese translation.

svn path=/branches/gtk-2-10/; revision=17225
2007-01-27 07:24:24 +00:00
Michael Natterer
2d9037d442 Merge from trunk:
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-26 23:59:14 +00:00
Matthias Clasen
a37a18b1c9 Reduce locking overhead by not repeatedly getting the paintable iface.
2007-01-25  Matthias Clasen  <mclasen@redhat.com>

        * gdk/gdkwindow.c: Reduce locking overhead by not repeatedly getting
        the paintable iface.

2

svn path=/branches/gtk-2-10/; revision=17214
2007-01-25 14:55:11 +00:00
Michael Natterer
04b78248e9 Merge from trunk:
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 16:16:05 +00:00
Roozbeh Pournader
6150cebb6c Remove mention of no-longer-existing PATCH keyword in bugzilla. (#396899)
2007-01-24  Roozbeh Pournader  <roozbeh@farsiweb.info>

	* README: Remove mention of no-longer-existing PATCH
	keyword in bugzilla. (#396899)

svn path=/branches/gtk-2-10/; revision=17210
2007-01-24 13:46:51 +00:00
Kjartan Maraas
d439452e11 Revert the tilde patch I commited a while ago since it apparently doesn't
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-24 08:35:29 +00:00
Carlos Garcia Campos
a34b0ee3f2 Fix memory leak. Fixes bug #399907.
2007-01-23  Carlos Garcia Campos  <carlosgc@gnome.org>
	* gtk/gtkpagesetup.c
	(gtk_page_setup_set_paper_size_and_default_margins): Fix memory leak.
	Fixes bug #399907.

svn path=/branches/gtk-2-10/; revision=17207
2007-01-23 21:28:51 +00:00
Stéphane Raimbault
facec3427c Updated French translation by Robert-André Mauchin and Stéphane
2007-01-23  Stéphane Raimbault  <stephane.raimbault@gmail.com>
        
        * po/fr.po: Updated French translation by Robert-André Mauchin
          and Stéphane Raimbault.

        * po-properties/fr.po: Updated French translation by
          Robert-André Mauchin.

svn path=/branches/gtk-2-10/; revision=17205
2007-01-23 19:57:47 +00:00
Murray Cumming
921d8fb377 gtk_tree_path_next(): Add a note to the documentation about the changed
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-23 14:55:30 +00:00
Matthias Clasen
2cf08cd118 Bump version
svn path=/branches/gtk-2-10/; revision=17202
2007-01-22 18:09:52 +00:00
Matthias Clasen
ec0859064a 2.10.9
svn path=/branches/gtk-2-10/; revision=17200
GTK_2_10_9
2007-01-22 18:06:31 +00:00
Matthias Clasen
d1ea7509d7 Fix error reporting in the gif loader
svn path=/branches/gtk-2-10/; revision=17198
2007-01-21 17:28:20 +00:00
Kjartan Maraas
a897a5ec9a Updated Norwegian bokmål translation.
2007-01-20  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Updated Norwegian bokmål translation.

svn path=/branches/gtk-2-10/; revision=17196
2007-01-20 10:33:42 +00:00
Matthias Clasen
e8629591a7 Fix build breakage
svn path=/branches/gtk-2-10/; revision=17194
2007-01-19 15:30:14 +00:00
Matthias Clasen
6e2e3329e6 Fix problems with the initial focus in GtkCalendar. (#397783, Vincent
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 03:55:54 +00:00
Robert Oegren
f74856bfdc Fix for bug #143460 - missed tablet clicks on Windows
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-19 02:49:41 +00:00
Tor Lillqvist
e483a177d3 gdk-pixbuf/Makefile.am gdk/Makefile.am gdk/win32/Makefile.am Fixes for
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-18 23:07:06 +00:00
Matthias Clasen
8b7373c303 Fix a typo
svn path=/branches/gtk-2-10/; revision=17181
2007-01-17 18:22:03 +00:00
Michael Natterer
121d21ee15 Patch taken from maemo-gtk (merged from trunk):
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 14:12:40 +00:00
Tor Lillqvist
cacff6dc34 Typos.
svn path=/branches/gtk-2-10/; revision=17178
2007-01-17 13:16:18 +00:00
Matthias Clasen
ea5acc6289 fix the build
svn path=/branches/gtk-2-10/; revision=17176
2007-01-17 13:14:57 +00:00
Tor Lillqvist
9c72102e37 Include also the COPYING file.
2007-01-17  Tor Lillqvist  <tml@novell.com>

	* gtk-zip.sh.in: Include also the COPYING file.


svn path=/branches/gtk-2-10/; revision=17173
2007-01-17 13:09:46 +00:00
Emmanuele Bassi
00a92312e2 Fix a wrong free() call. (Thanks to Thomas Wood for catching that)
2007-01-17  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkrecentchoosermenu.c: Fix a wrong free() call. (Thanks
	to Thomas Wood for catching that)

svn path=/branches/gtk-2-10/; revision=17172
2007-01-17 12:30:18 +00:00
Matthias Clasen
d5bdb44d81 Don't use httpGetFd() when building against cups 1.1
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 06:12:19 +00:00
Matthias Clasen
f9639990ee 2.10.8
svn path=/branches/gtk-2-10/; revision=17169
2007-01-17 05:07:19 +00:00
Matthias Clasen
b50b2ecfd3 2.10.8
svn path=/branches/gtk-2-10/; revision=17167
GTK_2_10_8
2007-01-17 05:02:33 +00:00
Matthias Clasen
11c47c1ece updates
svn path=/branches/gtk-2-10/; revision=17166
2007-01-17 04:33:32 +00:00
Matthias Clasen
a439b755f5 Fix memory leaks in the error case
svn path=/branches/gtk-2-10/; revision=17164
2007-01-17 04:21:35 +00:00
Tor Lillqvist
4759035f4a Merge from trunk, for discussion see #396175:
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-17 01:24:47 +00:00
Matthias Clasen
f44e1fa81c Queue a redraw when the grab changes. (#396470, Benjamin Berg)
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-16 14:19:04 +00:00
Matic Žgur
20922e75a9 Updated Slovenian translation.
svn path=/branches/gtk-2-10/; revision=17158
2007-01-16 10:51:28 +00:00
Emmanuele Bassi
1d1122b357 Backport from trunk.
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-15 13:09:58 +00:00
Yair Hershkovitz
dc3fefed7c updated hebrew translation
svn path=/branches/gtk-2-10/; revision=17155
2007-01-15 08:43:33 +00:00
Matthias Clasen
b70226dc94 When finding a matching non-scalable dir, keep going and look for a closer
2007-01-14  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkicontheme.c (theme_lookup_icon): When finding a matching
        non-scalable dir, keep going and look for a closer match.
        (#395830, Luca Ferretti)


svn path=/branches/gtk-2-10/; revision=17154
2007-01-15 02:58:13 +00:00
Alexander Shopov
4e64cf615c Updated Bulgarian translation by Alexander Shopov <ash@contact.bg>
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 17:50:06 +00:00
Hans Breuer
547e0cbf48 Merge from trunk:
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-14 17:42:48 +00:00
Matthias Clasen
444380a570 Don't crash if menu or toolbar positions can't be found. (#396161, Hans
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-14 05:33:41 +00:00
Matthias Clasen
171afc0d5c Plug memory leaks. (#396160, Carlos Garcia Campos)
2007-01-13  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkselection.c (_gtk_selection_request): Plug
        memory leaks.  (#396160, Carlos Garcia Campos)



svn path=/branches/gtk-2-10/; revision=17146
2007-01-14 05:17:09 +00:00
Matthias Clasen
23d0867f6c Link libgtk against Xfixes. (#396074, Tommi Komulainen)
2007-01-13  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Link libgtk against Xfixes.  (#396074,
        Tommi Komulainen)



svn path=/branches/gtk-2-10/; revision=17144
2007-01-14 05:02:56 +00:00
Matthias Clasen
abe3d3f8a6 Avoid a compiler warning. (#395045, Chris Wilson)
2007-01-13  Matthias Clasen  <mclasen@redhat.com>

        * gtk/gtkradiobutton.c (gtk_radio_button_focus): Avoid
        a compiler warning.  (#395045, Chris Wilson)



svn path=/branches/gtk-2-10/; revision=17142
2007-01-14 04:33:53 +00:00
Hans Breuer
b577576981 Merge from trunk:
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-13 22:29:05 +00:00
Pascal Terjan
04f49bb8b1 Merge from trunk:
2007-01-13  Pascal Terjan  <pterjan@linuxfr.org>

	Merge from trunk:

	* gtk/gtknotebook.c (gtk_notebook_draw_focus): fix crasher if
	cur_page is NULL (bug #395326).


svn path=/branches/gtk-2-10/; revision=17138
2007-01-13 21:53:56 +00:00
Žygimantas Beručka
bffd3ede71 Updated Lithuanian translation.
svn path=/branches/gtk-2-10/; revision=17136
2007-01-13 20:51:19 +00:00
Michael Natterer
057fd6e8bd Merge from trunk:
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-12 11:59:43 +00:00
Richard Hult
ae710a1c6f Close the file after it's loaded (bug #395316).
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 14:28:51 +00:00
Kjartan Maraas
01a4cc3a06 Merge fix for making tilde go to $HOME in the location entry. Patch from
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-11 00:55:43 +00:00
Kristian Rietveld
e82ff9da5e refactor to initialize indicator_size to TOGGLE_WIDTH instead of the
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
2007-01-10 17:31:22 +00:00