Commit Graph

6812 Commits

Author SHA1 Message Date
BST 2003 Tony Gale
3e2fbe47b8 Fix missing tag #120713
Tue Aug 26 19:44:02 BST 2003  Tony Gale <gale@gtk.org>

        * docs/faq/gtk-faq.sgml: Fix missing tag #120713
2003-08-26 18:47:08 +00:00
Owen Taylor
e90d1cdb52 === Released 2.2.3 ===
Tue Aug 26 10:01:18 2003  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.2.3 ===
GTK_2_2_3
2003-08-26 18:27:37 +00:00
Guntupalli Karunakar
c3eea233c3 Updated Hindi translation 2003-08-26 16:10:01 +00:00
Owen Taylor
38d974d6a1 Fix variable declaration not at start of block. (#120371, Damien Carbery)
Tue Aug 26 09:57:38 2003  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkkeys-x11.c (update_keymaps): Fix variable
        declaration not at start of block. (#120371, Damien Carbery)

        * NEWS: Bunch of typo fixes from Kristian.
2003-08-26 14:11:15 +00:00
Dafydd Harries
f6646427bb Updated Welsh translation. 2003-08-26 13:11:39 +00:00
Frédéric Crozat
7bf4c0ba2e My firstname is Frederic, not Federico :) 2003-08-26 07:46:06 +00:00
Owen Taylor
0d61cf7cf0 === Released 2.2.3 ===
Mon Aug 25 21:48:34 2003  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.2.3 ===

        * configure.in: Version 2.2.3, interface age 3

        * NEWS: Updated

        * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
        SGML markup fixes.
2003-08-26 04:15:23 +00:00
Owen Taylor
e86529966a Since we add one to the layout's reported width to account for the cursor,
Mon Aug 25 19:55:55 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktextview.c (gtk_text_view_update_layout_width):
        Since we add one to the layout's reported width to
        account for the cursor, we need to subtract one when
        setting the wrap width for the layout. (Fixes infinite
        loop (#120325, Federico Crozat)

        * gtk/gtktextlayout.c (gtk_text_layout_get_line_display):
        Be a bit more careful about rounding when converting
        wrapped width from Pango units to pixels.
2003-08-26 00:06:09 +00:00
Owen Taylor
4b01f3de88 Send the focus on to the parent when there was no focus widget before and
Wed Aug 20 21:26:49 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkplug.c (gtk_plug_focus): Send the focus on
        to the parent when there was no focus widget before
        and no focus widget after - that is, when there are
        no focusable widgets. (#108678, help tracking it
        down from Padraig O'Briain, Federico Mena Quintero, )

        * gtk/gtkxembed.[ch]: Move various shared utilities
        for the XEMBED protocol eused by GtkPlug and GtkSocket
        here.

        * gtk/gtkxembed.[ch] gtkplug.c gtksocket.c: Implement
        a flag bit that is sent with focus mesages to indicate
        that the focus has wrapped around on the toplevel;
        use this bit to catch infinite loops when there is no
        focusable widget at ll in the entire toplevel.

        * tests/testsocket.c (child_read_watch): Remove an
        extraneous unref.

        * gtk/gtkplug.c gtk/gtksocket.c gtk/gtkxembed.h:
        Up XEMBED protocol version to 1, add logic for
        sending the right version in XEMBED_EMBEDDED_NOTIFY.

        * gtk/gtksocket.c (gtk_socket_add_window): Send
        the embedder window in the XEMBED_EMBEDDED_NOTIFY
        as the spec requires.
2003-08-25 21:46:24 +00:00
Owen Taylor
89b3194a02 Don't include page->menu_label - causes various problems, including
Mon Aug 25 17:28:04 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtknotebook.c (gtk_notebook_forall): Don't
        include page->menu_label - causes various problems,
        including #12047.
2003-08-25 21:34:37 +00:00
Kristian Rietveld
aa43d03026 Fixes #115871, reported by Michael Natterer.
Mon Aug 25 23:21:43 2003  Kristian Rietveld  <kris@gtk.org>

	Fixes #115871, reported by Michael Natterer.

	* gtk/gtktreeprivate.h: added GtkTreeSelectMode enum,
	added ctrl_pressed and shift_pressed bitfields,
	(_gtk_tree_selection_internal_select_node): replace GdkModifierType
	arg with GtkTreeSelectMode.

	* gtk/gtktreeselection.c (gtk_tree_selection_set_mode),
	(gtk_tree_selection_select_path), (gtk_tree_selection_unselect_path),
	(_gtk_tree_selection_internal_select_node): all updated for
	GdkModifierType -> GtkTreeSelectMode move.

	* gtk/gtktreeview.c (gtk_tree_view_button_press): set ctrl_pressed
	and shift_pressed around selection handling block,
	(gtk_tree_view_real_select_cursor_row),
	(gtk_tree_view_real_toggle_cursor_row),
	(gtk_tree_view_real_selection_cursor_parent),
	(gtk_tree_view_real_set_cursor): use ctrl_pressed and shift_pressed,
	instead of checking the event state. And also updates for the
	GdkModifierType -> GtkTreeSelectMode move.
2003-08-25 21:25:52 +00:00
Owen Taylor
29a2f31f23 Send the focus on to the parent when there was no focus widget before and
Wed Aug 20 21:26:49 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkplug.c (gtk_plug_focus): Send the focus on
        to the parent when there was no focus widget before
        and no focus widget after - that is, when there are
        no focusable widgets. (#108678, help tracking it
        down from Padraig O'Briain, Federico Mena Quintero, )

        * gtk/gtkxembed.[ch]: Move various shared utilities
        for the XEMBED protocol eused by GtkPlug and GtkSocket
        here.

        * gtk/gtkxembed.[ch] gtkplug.c gtksocket.c: Implement
        a flag bit that is sent with focus mesages to indicate
        that the focus has wrapped around on the toplevel;
        use this bit to catch infinite loops when there is no
        focusable widget at ll in the entire toplevel.

        * tests/testsocket.c (child_read_watch): Remove an
        extraneous unref.

        * gtk/gtkplug.c gtk/gtksocket.c gtk/gtkxembed.h:
        Up XEMBED protocol version to 1, add logic for
        sending the right version in XEMBED_EMBEDDED_NOTIFY.

        * gtk/gtksocket.c (gtk_socket_add_window): Send
        the embedder window in the XEMBED_EMBEDDED_NOTIFY
        as the spec requires.
2003-08-25 21:14:20 +00:00
Owen Taylor
eee5fc14c2 Fix up CapsLock and NumLock handling for non-XKB. Add a special case hack
Mon Aug 25 16:15:41 2003  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkkeys-x11.c: Fix up CapsLock and
        NumLock handling for non-XKB. Add a special case
        hack for NumLock on Sun servers. (Patch from
        Robert Basch, #115819)
2003-08-25 20:20:25 +00:00
Richard Allen
ff9cbaa98a *** empty log message *** 2003-08-25 13:02:30 +00:00
Owen Taylor
2094238a33 Fix some missing initializations of rc_file->directory.
Sun Aug 24 17:00:03 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkrc.c: Fix some missing initializations of
        rc_file->directory.
2003-08-24 21:01:54 +00:00
Owen Taylor
2da6e732ac Fix problem where rc_file->directory wasn't always getting set. (#120549,
Sat Aug 23 21:40:18 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkrc.c (gtk_rc_context_parse_one_file): Fix
        problem where rc_file->directory wasn't always getting
        set. (#120549, Luis Villa)
2003-08-24 02:31:13 +00:00
Andraz Tori
048c7d2076 Updated Slovenian translation 2003-08-23 17:45:39 +00:00
Metin Amiroff
870fcf659e Updated Azerbaijani translation.
2003-08-23  Metin Amiroff <metin@karegen.com>

	* az.po: Updated Azerbaijani translation.
2003-08-23 08:42:48 +00:00
Stanislav Visnovsky
0a8b3b9b9f Updated Slovak translation.
2003-08-22  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>

        * sk.po: Updated Slovak translation.
2003-08-22 16:58:00 +00:00
Changwoo Ryu
50e7636b99 Updated Korean translation.
* ko.po: Updated Korean translation.
2003-08-22 13:47:27 +00:00
Samel Jn Gunnarsson
d821f519de Updated Icelandic translation and added "is" to ALL_LINGUAS.
2003-08-22  Samel Jn Gunnarsson  <sammi@techattack.nu>

	* is.po: Updated Icelandic translation and added
	"is" to ALL_LINGUAS.
2003-08-22 11:21:29 +00:00
Christian Rose
50083c8640 Added "ne" to ALL_LINGUAS. Added Nepali translation by Pawan Chitrakar
2003-08-22  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "ne" to ALL_LINGUAS.
	* po/ne.po: Added Nepali translation by
	Pawan Chitrakar <pawan@nplinux.org>.
2003-08-22 11:09:47 +00:00
Owen Taylor
810d86396d Keep a list of current GtkRcFiles being parsed, not just the directories
Thu Aug 21 16:00:36 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkrc.c: Keep a list of current GtkRcFiles
        being parsed, not just the directories for those
        files. Use that to catch recursion. (Part of
        #114988)
2003-08-21 20:08:17 +00:00
Kristian Rietveld
fe2d7cb957 Fix option menu scrolling (#119821, Owen Taylor).
Thu Aug 21 21:27:45 2003  Kristian Rietveld  <kris@gtk.org>

	Fix option menu scrolling (#119821, Owen Taylor).

	* gtk/gtkmenu.c (gtk_menu_scroll_to): remove logic introduced
	by #80484 and the CLAMP,
	(get_menu_height): new function,
	(gtk_menu_real_move_scroll): sort of moved the CLAMP here to correct
	new_offset to handle page up/down right.
2003-08-21 19:37:09 +00:00
Owen Taylor
6fc502b1c0 Change the interpretation of consumed_modifiers so that it contains: -
Thu Aug 21 15:17:42 2003  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkkeys-x11.c: Change the interpretation
        of consumed_modifiers so that it contains:
         - Modifiers combinations actually found in
           state.
         - Single modifier modifier combinations.
        But not multi-modifier combinations that aren't
        in event->state. Document. (#100439)
2003-08-21 19:23:54 +00:00
Kristian Rietveld
630ec8d2c7 Merge from HEAD.
Thu Aug 21 20:53:46 2003  Kristian Rietveld  <kris@gtk.org>

	Merge from HEAD.

	Slightly modified patch from Yann Rouillard to improve selection
	behavior with the mouse. Fixes #120187.

	* gtk/gtktreeview.c (gtk_tree_view_button_press): only
	select/deselect items on the first button press of button 1,
	expand checks for row_activated to include triple clicks.
2003-08-21 19:06:45 +00:00
Richard Allen
0fd6188b1c *** empty log message *** 2003-08-21 13:31:42 +00:00
Kristian Rietveld
a16bbd60f7 always round approximate digit widths up, to avoid truncation, convert to
Thu Aug 21 01:33:51 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkspinbutton.c (gtk_spin_button_size_request): always round
	approximate digit widths up, to avoid truncation, convert to
	pango pixels when we have the full string width instead of converting
	the approx digit width to pango pixels, take inner border and
	interior focus into account correctly. (Fixes #116368, patch from
	Morten Welinder).
2003-08-20 23:44:16 +00:00
Noah Levitt
c567c77741 Don't look at the same directory twice (in simple cases). (#120342)
2003-08-20  Noah Levitt  <nlevitt@columbia.edu>

	* gtk/queryimmodules.c: Don't look at the same directory twice (in
	simple cases). (#120342)
2003-08-20 22:13:16 +00:00
Kristian Rietveld
23ee4993bc change the type of step to gdouble, since it gets it's data from a gdouble
Wed Aug 20 22:03:25 2003  Kristian Rietveld  <kris@gtk.org>

	* gtk/gtkspinbutton.c (start_spinning): change the type of step
	to gdouble, since it gets it's data from a gdouble (Fixes #113547).
2003-08-20 20:18:30 +00:00
Vincent van Adrighem
d46d14b7b4 Dutch translation updated.
2003-08-20  Vincent van Adrighem  <V.vanAdrighem@dirck.mine.nu>

	* nl.po: Dutch translation updated.
2003-08-20 18:19:17 +00:00
Kjartan Maraas
0eeba3331a Update Norwegian translation.
2003-08-20  Kjartan Maraas  <kmaraas@gnome.org>

	* no.po: Update Norwegian translation.
2003-08-20 11:06:35 +00:00
Dmitry Mastrukov
6731a077b4 ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>. 2003-08-20 09:38:37 +00:00
Owen Taylor
27173a3c33 Substantially rework the handling of status windows:
Mon Aug 18 17:19:12 2003  Owen Taylor  <otaylor@redhat.com>

        * modules/input/gtkimcontextxim.[ch]: Substantially
        rework the handling of status windows:

         - Store the current StatusWindow in the
           GtkIMContextXIM structure and vice-versa, so we
           don't have to hunt the window hierarchy on
           cleanup.
         - Use the Gtkidget hierarchy instead of/or as well
           as the GdkWindow hierarchy when finding the toplevel;
           this helps for things like GtkHandlebox
         - Watch GtkWidget::hierarchy_changed to catch
           changes in the toplevel without changes in the
           GdkWindow (reparenting)
         - Never create the GtkWindow for the status window
           unless we have text to display.
         - Various cleanups, add lots of comments.

        (#115077, much help from Takuro Ashie and Hidetoshi
        Tajima in tracking this down and figuring out a fix.)

        * modules/input/gtkimcontextxim.c (gtk_im_context_xim_focus_in):

        * modules/input/gtkimcontextxim.c: Track the current
        screen for each toplevel so that we show the status
        window on the right screen. (#116340, James Su)

        * modules/input/gtkimcontextxim.c: If create a new IC
        when we currently have the focus, call XSetICFocus()
        on it.

        * modules/input/gtkimcontextxim.c (get_im): Fix bug
        with multiple open screens.
2003-08-19 21:17:31 +00:00
Owen Taylor
8ae6e8e755 Replace client_window field with 'priv' pointer, retaining binary
Tue Aug 19 14:37:46 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkimmulticontext.[ch] (struct _GtkIMMulticontext):
        Replace client_window field with 'priv' pointer,
        retaining binary compatibility.

        * gtk/gtkimmulticontext.c (gtk_im_multicontext_set_slave):
        save use_preedit/cursor_location/focus status and set
        up the new slave appropriately. (#118651, Botond Botyanszki)
2003-08-19 19:24:50 +00:00
Owen Taylor
214a6e2cc4 Don't use impl->position_info.clip_rect for toplevels. (#107068, reported
Tue Aug 19 13:58:50 2003  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkgeometry-x11.c (gdk_window_scroll):
        Don't use impl->position_info.clip_rect for toplevels.
        (#107068, reported by Thomas Mirlacher)
2003-08-19 18:32:42 +00:00
Richard Allen
b79e367d73 *** empty log message *** 2003-08-19 15:38:41 +00:00
Richard Allen
c996a1fe24 Updating is.po 2003-08-19 13:55:50 +00:00
Miloslav Trmac
ee96e9c5d8 Update Czech translation 2003-08-19 12:55:38 +00:00
Dafydd Harries
d8cefed261 Updated Welsh translation. 2003-08-19 05:08:09 +00:00
Kwok-Koon Cheung
86936714ce Updated traditional Chinese translation.
* zh_TW.po: Updated traditional Chinese translation.
2003-08-18 22:38:37 +00:00
Owen Taylor
3e74e28178 Add a fallback for unaligned source data for FORMAT_ARGB_MASK. (#117217)
Mon Aug 18 11:48:51 2003  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkdrawable-x11.c (convert_to_format):
        Add a fallback for unaligned source data for
        FORMAT_ARGB_MASK. (#117217)
2003-08-18 16:02:39 +00:00
Owen Taylor
f17bdf3c87 Rework handling of REBUILD_PNGS, so that we also don't try to REBUILD_PNGS
Mon Aug 18 10:51:57 2003  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Rework handling of REBUILD_PNGS,
        so that we also don't try to REBUILD_PNGS when
        cross-compiling and there is no gdk-pixbuf-csource.
        But give an error if gtk/stock-icons/gtkstockpixbufs.h
        is not in the source tree. (Note that REBUILDS_PNG
        was set backwards before, which is why you always
        had to manually recreate gtkstockpixbufs.h!)

        * gtk/stock-icons/Makefile.am: Don't make
        gtkstockpixbufs.h depend on newly built gdk-pixbuf-csource
        when cross-compiling. (Was already in HEAD branch)
2003-08-18 15:21:11 +00:00
Owen Taylor
c7a71edba6 Add the correct alignment magic for Sun compiler and for GCC to get the
Mon Aug 18 10:25:29 2003  Owen Taylor  <otaylor@redhat.com>

        * gdk-pixdata.c (gdk_pixdata_to_csource): Add the correct
        alignment magic for Sun compiler and for GCC to get
        the strings aligned. (Patch from Brian Cameron, #117217)
2003-08-18 15:17:28 +00:00
Owen Taylor
5e575f2326 Add a missing gtk/ in the path to libgtk.la. (#120080, Benedikt Spranger)
Mon Aug 18 10:19:55 2003  Owen Taylor  <otaylor@redhat.com>

        * gtk+-2.0-uninstalled.pc.in: Add a missing gtk/ in the
        path to libgtk.la. (#120080, Benedikt Spranger)
2003-08-18 14:23:24 +00:00
Richard Allen
ae1ecbdf7f *** empty log message *** 2003-08-18 12:58:17 +00:00
Metin Amiroff
2e214dacdf Updated Azerbaijani translation.
2003-08-18  Metin Amiroff <metin@karegen.com>

	* az.po: Updated Azerbaijani translation.
2003-08-18 10:11:09 +00:00
Sanlig Badral
dc2d6f8123 Updated MN translation 2003-08-17 20:41:46 +00:00
Evandro Fernandes Giovanini
c64d6ea25e Updated Brazilian Portuguese translation.
2003-08-17  Evandro Fernandes Giovanini  <evandrofg@ig.com.br>

        * pt_BR.po: Updated Brazilian Portuguese translation.
2003-08-17 04:08:17 +00:00
Duarte Loreto
df3ba742ae Updated Portuguese translation.
2003-08-16  Duarte Loreto <happyguy_pt@hotmail.com>

	* pt.po: Updated Portuguese translation.
2003-08-16 22:27:32 +00:00