Commit Graph

5839 Commits

Author SHA1 Message Date
Matthias Clasen
c1a16ec063 Don't start a drag on double click. (#98189)
* gtk/gtkstatusbar.c (gtk_statusbar_button_press): Don't start
	a drag on double click.  (#98189)
2002-11-10 22:42:40 +00:00
Daniel Yacob
dcbacacfd4 Adding am to LINGUAS_ALL list. 2002-11-10 02:47:51 +00:00
Dmitry Mastrukov
cdb6103689 ru.po: Updated Russian translation. 2002-11-09 07:24:47 +00:00
Dmitry Mastrukov
b6a15f21e2 ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>. 2002-11-09 07:22:40 +00:00
Dmitry Mastrukov
4329dc904a be.po: Updated Belarusian translation from Belarusian team <i18n@infonet.by>. 2002-11-09 05:42:54 +00:00
Owen Taylor
e72974371a ==== Released 2.0.8 ====
Fri Nov  8 14:44:43 2002  Owen Taylor  <otaylor@redhat.com>

        * ==== Released 2.0.8 ====

        * configure.in: Version 2.0.8, interface, binary age 8.

        * NEWS: Updated.
GTK_2_0_8
2002-11-08 21:31:30 +00:00
Owen Taylor
055e32ece3 Escape invalid filename before printing it out, since it isn't a valid
Thu Nov  7 18:09:42 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfilesel.c (open_new_dir): Escape invalid
        filename before printing it out, since it isn't
        a valid UTF-8 string. (#94676)
2002-11-07 23:24:52 +00:00
Tor Lillqvist
4b5ca53b32 Call UpdateWindow() after scrolling or moving/resizing the window. This
2002-11-07  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkgeometry-win32.c (gdk_window_copy_area_scroll,
	_gdk_window_move_resize_child): Call UpdateWindow() after
	scrolling or moving/resizing the window. This causes a WM_PAINT
	message to be sent to the window procedure. Improves scrolling a
	lot, for instance in testgtk's "scrolled windows" dialog or
	gtk-demo's "Text Widget".

	Without calling UpdateWindow(), Windows generates a WM_PAINT only
	when there is no other message in the queue. Thus, while you keep
	moving the scrollbar slider and generating mouse messages, no
	WM_PAINT messages are sent.
2002-11-07 22:58:42 +00:00
Owen Taylor
b407d73073 Don't try to use render if we can't get a picture for the drawable. (Fixes
Thu Nov  7 17:18:06 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_pixbuf):
        Don't try to use render if we can't get a picture for
        the drawable. (Fixes #97220, reported by
        Jamie Zawinski)

        * gtk/gtkimage.c: Force requisition calculation
        when we get a expose prior to size_request().
        (#91711, reported by Sven Neumann, debugging
        help from Matthias Clasen, Soeren Sandmann)
2002-11-07 22:39:56 +00:00
Owen Taylor
9061e6eceb Back out last change, should have gone in on HEAD.
Thu Nov  7 14:59:43 2002  Owen Taylor  <otaylor@redhat.com>

        * tests/testcalendar.c: Back out last change, should have gone in
        on HEAD.
2002-11-07 20:01:06 +00:00
Owen Taylor
85051bd972 Use g_date_strftime(), fixing #74745. (Alper Ersoy)
Thu Nov  7 14:51:31 2002  Owen Taylor  <otaylor@redhat.com>

        * tests/testcalendar.c (calendar_date_to_string):
        Use g_date_strftime(), fixing #74745. (Alper Ersoy)
2002-11-07 19:54:42 +00:00
Owen Taylor
cfc4004862 Fix trailing semicolon on macro, clean up a bit.
Wed Nov  6 15:19:53 2002  Owen Taylor  <otaylor@redhat.com>

        * io-gif.c (CHECK_LZW_SP): Fix trailing semicolon on macro,
        clean up a bit.
2002-11-06 20:25:54 +00:00
Simos Xenitellis
8e5a93108b Updated Greek translation 2002-11-06 17:48:01 +00:00
Owen Taylor
9cb0020230 Fix LZWP_SP typo. (#97758, Akira Tagoh)
Tue Nov  5 14:03:08 2002  Owen Taylor  <otaylor@redhat.com>

        * io-gif.c: Fix LZWP_SP typo. (#97758, Akira Tagoh)
2002-11-05 19:08:15 +00:00
Simos Xenitellis
2dbb188a5e Updated Greek translation 2002-11-05 15:21:37 +00:00
Daniel Yacob
d600a38627 tweak. 2002-11-05 05:17:18 +00:00
Owen Taylor
908364e30d ==== Released 2.0.7 ====
Mon Nov  4 16:55:37 2002  Owen Taylor  <otaylor@redhat.com>

        * ==== Released 2.0.7 ====

        * configure.in: Version 2.0.7, interface, binary 7.

        * NEWS: Updates.
GTK_2_0_7
2002-11-04 22:52:41 +00:00
Kjartan Maraas
650ade3e2d Updated Norwegian (bokml) translation.
2002-11-04  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Updated Norwegian (bokml) translation.
2002-11-04 22:27:50 +00:00
Stanislav Visnovsky
45e74e7742 Updated Slovak translation.
2002-11-04  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>

	* sk.po: Updated Slovak translation.
2002-11-04 17:16:02 +00:00
Sven Neumann
981f7c3269 removed redundant code that did nothing, caused a compiler warning and is
2002-11-04  Sven Neumann  <sven@gimp.org>

	* io-bmp.c (DecodeHeader): removed redundant code that did nothing,
	caused a compiler warning and is also not in the HEAD branch.
2002-11-04 11:08:23 +00:00
Takayuki KUSANO
ff92fd244a Updated Japanese translation.
* ja.po: Updated Japanese translation.
2002-11-04 03:20:10 +00:00
Tor Lillqvist
57d5b11d24 Lots of changes to the Win32 backend:
2002-11-03  Tor Lillqvist  <tml@iki.fi>

	Lots of changes to the Win32 backend:

	One big improvement is that scrolling of windows with background
	pixmaps now works much better. (This can be seen in for instance
	testgtk's "text" test.) Blitting inside a window
	(gdk_draw_drawable) also works much better now (can also seen in
	the "text" test).

	Another major change is we don't (try to) do guffaw scrolling as
	there is no static window gravity on Windows. Guffaw scrolling
	would be unnecessary anyway, as there is the ScrollWindow()
	API. This improves the behaviour of the Text Widget demo in
	gtk-demo a lot. But I have no idea how the lack of static win
	gravity should be handled in other places where the X11 code uses
	it. Especially _gdk_window_move_resize_child().

	Big windows still don't work correctly, I assume.
l
	Another vague area is the translate_queue. I don't think the queue
	items actually ever gets used, at least not in the code as of now.

	There is still some problem in expose handling. By moving an
	obscuring window back and forth over testgtk's main window, for
	instance, every now and then you typically get narrow vertical or
	horizontal strips of pixels that haven't been properly redrawn
	after being exposed. A fencepost error somewhere?

	* gdk/win32/gdkevents-win32.c: Cast known GdkWindowObjects
	directly instead of using GDK_WINDOW_OBJECT(). Remove unused
	latin_locale_loaded variable.

	(_gdk_win32_get_next_tick): New function. Used to make sure
	timestamps of events are always increasing, both in events
	generated from the window procedure and in events gotten via
	PeekMessage(). Not sure whether this is actually useful, but it
	seemed as a good idea.

	(real_window_procedure): Don't use a local GdkEventPrivate
	variable. Don't attempt any compression of configure or expose
	events here, handled elsewhere.

	(erase_background): Accumulate window offsets when traversing up
	the parent chain for GDK_PARENT_RELATIVE_BG, in order to get
	correct alignment of background pixmaps. Don't fill with
	BLACK_BRUSH if GDK_NO_BG.

	(gdk_event_get_graphics_expose): A bit more verbose debugging output.

	(gdk_event_translate): Use _gdk_win32_get_next_tick(). In the
	WM_PAINT handler, call GetUpdateRgn() before calling BeginPaint()
	and EndPaint() (which empty the update region).

	* gdk/win32/gdkdnd-win32.c
	* gdk/win32/gdkinput-win32.c:
	Use _gdk_win32_get_next_tick().

	* gdk/win32/gdkfont-win32.c: Use %p to print HFONTs.

	(gdk_text_size): Remove, unused.

	* gdk/win32/gdkgeometry-win32.c
	(_gdk_windowing_window_queue_antiexpose): Always return FALSE for
	now, until figured out whether antiexposes actually can work on
	Win32.

	(gdk_window_copy_area_scroll): Scroll also children with the
	ScrollWindowEx() call. No need to call gdk_window_move() on the
	children.

	(gdk_window_scroll): Don't do guffaw scrolling.

	(gdk_window_compute_position): Fix typo, used win32_y where x was
	intended.

	(gdk_window_queue_append): Use GetTickCount() for serial number,
	not GetMessageTime(), which can be very far back.

	* gdk/win32/gdkwindow-win32.c (gdk_window_gravity_works): Remove,
	we know that there is no such thing on Windows.

	(gdk_window_set_static_bit_gravity,
	gdk_window_set_static_win_gravity): Ditto, remove, they didn't do
	anything anyway.

	(_gdk_windowing_window_init, gdk_window_foreign_new): Call
	_gdk_window_init_position() like in the X11 backend.

	(gdk_window_reparent): Don't call the now nonexistent
	gdk_window_set_static_win_gravity(). No idea what should be done
	instead.

	(gdk_window_get_geometry): The returned x and y should be relative
	to parent. Used to be always zero..

	(gdk_window_set_static_gravities): Return FALSE if trying to set
	static gravity.

	* gdk/win32/gdkdrawable-win32.c (_gdk_win32_draw_tiles):
	Rewrite. Make static. Must take tile origin parameters, too.

	(gdk_win32_draw_rectangle): Pass the tile/stipple origin to
	_gdk_win32_draw_tiles(). Remove #if 0 code.

	(blit_inside_window): Don't call ScrollDC(), that didn't work at
	all like I thought. A simple call to BitBlt() is enough.

	* gdk/win32/gdkcolor-win32.c (gdk_win32_color_to_string,
	gdk_win32_print_paletteentries, gdk_win32_print_system_palette,
	gdk_win32_print_hpalette)
	* gdk/win32/gdkdrawable-win32.c (gdk_win32_drawable_description)
	* gdk/win32/gdkevents-win32.c (gdk_win32_message_name):
	Move all debugging helper functions to gdkmain-win32.c.

	* gdk/win32/gdkmain-win32.c: (gdk_win32_lbstyle_to_string,
	gdk_win32_pstype_to_string, gdk_win32_psstyle_to_string,
	gdk_win32_psendcap_to_string, gdk_win32_psjoin_to_string): New
	debugging functions.

	(static_printf): Helper function for the above. sprintfs into a
	static circular buffer, return value should be used "soon".

	* gdk/win32/gdkgc-win32.c: Use above debugging functions.

	* gdk/win32/gdkprivate-win32.h: Declare new functions, remove
	obsoleted ones.
2002-11-03 22:55:08 +00:00
Kristian Rietveld
fe87e35ac8 Bah, and of course I broke something ...
Sun Nov  3 21:26:20 2002  Kristian Rietveld  <kris@gtk.org>

        Bah, and of course I broke something ...

        * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): fix
        up the mess I caused with my commit of Oct 23 fixing #50263, things
        should be fine now.
2002-11-03 20:16:37 +00:00
Owen Taylor
f794cb4259 Remove check for winsock.h since it might show up on Linux+Wine. Instead
Sun Nov  3 13:03:29 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfilesel.c configure.in: Remove check for
        winsock.h since it might show up on Linux+Wine.
        Instead just conditionalize of G_OS_WIN32.
        (#97396, Gaute Lindkvist)
2002-11-03 18:18:31 +00:00
Dmitry Mastrukov
a89315e38e be.po: Updated Belarusian translation from Belarusian team <i18n@infonet.by>. 2002-11-03 04:41:23 +00:00
Daniel Yacob
ca9070915a tweak. 2002-11-03 04:39:58 +00:00
Kristian Rietveld
a2de78cfea check if width isn't zero instead of calc_width ...
Sun Nov  3 01:27:40 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size):
        check if width isn't zero instead of calc_width ...
2002-11-03 00:13:07 +00:00
Kristian Rietveld
6a6f059c99 Merge fest from HEAD, note that only a selection of bug fixes on HEAD got
Sun Nov  3 01:22:01 2002  Kristian Rietveld  <kris@gtk.org>

        Merge fest from HEAD, note that only a selection of bug fixes on
        HEAD got committed to stable.

        #94868, reported and testcase provided by Daniel Elstner.
        * gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node):
        free anchor if applicable.

        #92014, fixed with help of detailed traces from Morten Welinder.
        * gtk/gtkliststore.c (gtk_list_store_remove_silently): free the
        actual link after the node has been removed.

        * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_column_finalize):
        free the cell_list and the child if it exists.

        #85858, #85859, #85860, #85872, reported by David L. Cooper II.
        * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
        s/guint/GtkCellRendererState/.

        * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render):
        ditto.

        * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render),
        (gtk_cell_renderer_toggle_activate): ditto.

        * gtk/gtkliststore.c (gtk_list_store_get_flags): a
        s/guint/GtkTreeModelFlags/ on the return type.

        #93629, fixes a really evil GtkTreeModelSort bug. Reported and
        testcase by Hans Petter Jansson.
        * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed): if we
        are swapping two rows (re-insertion on row_changed), also *emit*
        a rows_reordered signal. oops.

        #96851, reported by Jorn Baayen.
        * gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_model): remove
        the second ref command on the child_model, we only have to ref it
        once here. (#96851, reported by Jorn Baayen).

        #50263, reported by Havoc Pennington.
        * gtk/gtktreeselection.c (model_changed): new function,
        (gtk_tree_selection_selected_foreach): monitor changes in the model,
        bail out if the model has been changed from the foreach func.
2002-11-03 00:10:23 +00:00
Daniel Yacob
5f15e342f9 Updated Amharic translation. 2002-11-02 05:28:58 +00:00
Changwoo Ryu
4465f7aabd Updated Korean translation.
2002-11-02  Changwoo Ryu  <cwryu@debian.org>

	* ko.po: Updated Korean translation.
2002-11-02 03:37:34 +00:00
Christian Neumair
0a86c2230e Updated German translation. 2002-11-01 14:49:54 +00:00
Matthias Clasen
6f97292648 The label is "Folders" now, not "Directories". (#97224, Vitaly Tishkov)
* gtk/tmpl/gtkfilesel.sgml: The label is "Folders" now, not
	"Directories".  (#97224, Vitaly Tishkov)
2002-10-31 23:42:39 +00:00
Matthias Clasen
188b3d5f38 use GTK_SELECTION_SINGLE, not GTK_SELECT_SINGLE. (#96516, Erik Grinaker)
* gtk/tree_widget.sgml (select): use GTK_SELECTION_SINGLE, not
	GTK_SELECT_SINGLE.  (#96516, Erik Grinaker)
2002-10-31 23:35:35 +00:00
German Poo-Caaman~o
360c357f8f Updated spanish translation by Juan Manual Garcia Molina
2002-10-30  German Poo-Caaman~o <gpoo@ubiobio.cl>

	* es.po: Updated spanish translation by Juan Manual Garcia Molina
			<juanma_gm@wanadoo.es>
2002-10-31 01:19:46 +00:00
Yuri Syrota
574f875146 Updated Ukrainian translation 2002-10-30 19:01:54 +00:00
Yuri Syrota
aeeaede190 Updated Ukrainian translation 2002-10-30 15:18:46 +00:00
Yuri Syrota
f4b56d140c Updated Ukrainian translation 2002-10-30 15:11:22 +00:00
Daniel Yacob
bfe6864c03 tweaks. 2002-10-29 14:16:52 +00:00
Pablo Saratxaga
866096d039 fixed syntax error 2002-10-29 13:55:57 +00:00
Tor Lillqvist
71737f4d14 Don't call GetWindowLong for GWL_EXSTYLE, the extended window style wasn't
2002-10-28  Tor Lillqvist  <tml@iki.fi>

	* gdk/win32/gdkwindow-win32.c (gdk_window_set_decorations,
	gdk_window_set_functions): Don't call GetWindowLong for
	GWL_EXSTYLE, the extended window style wasn't used or
	changed. After setting the window style with SetWindowLong, call
	SetWindowPos with the SWP_FRAMECHANGED flag for the window to
	actually be updated, as Platform SDK docs say one should. (#95812,
	huzheng)
2002-10-28 20:41:47 +00:00
Peteris Krisjanis
34579a11b3 2002-10-28 Peteris Krisjanis <peteris.krisjanis@os.lv> Updated Latvian translation 2002-10-28 15:07:30 +00:00
Peteris Krisjanis
a9a49698fc 2002-10-28 Peteris Krisjanis <peteris.krisjanis@os.lv> * lv.po: Updated Latvian translation 2002-10-28 14:52:28 +00:00
Yanko Kaneti
8188594b73 Updated Bulgarian translation.
2002-10-27  Yanko Kaneti <yaneti@declera.com>

        * bg.po: Updated Bulgarian translation.
2002-10-27 11:22:45 +00:00
Ole Laursen
3582604c0e Updated Danish translation.
2002-10-26  Ole Laursen  <olau@hardworking.dk>

	* da.po: Updated Danish translation.
2002-10-26 20:23:36 +00:00
Daniel Yacob
f1867cd355 Adding (for real this time) Amharic translation. 2002-10-26 13:06:48 +00:00
Jordi Mallach
62fdaec47e Updated Catalan translation. 2002-10-25 14:09:39 +00:00
Stanislav Brabec
864fd11cdf Updated Czech translation from Michal Bukovjan <bukm@centrum.cz>.
2002-10-25  Stanislav Brabec  <sbrabec@suse.cz>

	* cs.po: Updated Czech translation from Michal Bukovjan
	<bukm@centrum.cz>.
2002-10-25 12:12:25 +00:00
Dmitry Mastrukov
dd219a5112 be.po: Added Belorusian (be) translation to ALL_LINGUAS 2002-10-25 10:13:14 +00:00
Dmitry Mastrukov
eb9862f889 be.po: Added Belorusian translation from Ales Nyakhaychyk <i18n@infonet.by>. 2002-10-25 10:09:38 +00:00
Daniel Yacob
e17b6d1a2e Adding Amharic Translation. 2002-10-25 01:12:52 +00:00