]> Pileus Git - ~andy/gtk/log
~andy/gtk
22 years agoMake sure Page_Up, Page_Down get those names, not Prior, Next.
Owen Taylor [Wed, 27 Feb 2002 00:24:11 +0000 (00:24 +0000)]
Make sure Page_Up, Page_Down get those names, not Prior, Next.

Tue Feb 26 19:16:28 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/win32/gdkkeys-win32.c (gdk_keyval_name):
        * gdk/x11/gdkkeys-x11.c (gdk_keyval_name):
        Make sure Page_Up, Page_Down get those names, not Prior,
        Next.

22 years agoue Feb 26 18:58:49 2002 Owen Taylor <otaylor@redhat.com>
Owen Taylor [Wed, 27 Feb 2002 00:05:01 +0000 (00:05 +0000)]
ue Feb 26 18:58:49 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkaccelgroup.c (gtk_accelerator_set_default_mod_mask):
        OR in the three default modifiers to any value passed
        in by the caller, so that the caller won't break the
        the default bindings. (#70142, Jody Goldberg, though he
        wasn't in favor of this particular way of solving it.)

22 years agoAppend mnemonics rather than prepending them so that the order is
Owen Taylor [Tue, 26 Feb 2002 23:56:26 +0000 (23:56 +0000)]
Append mnemonics rather than prepending them so that the order is

Tue Feb 26 18:47:44 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwindow.c (gtk_window_add_mnemonic): Append
        mnemonics rather than prepending them so that the
        order is typically forward rather than typically
        backward. (Partial fix for #52395)

22 years agoDraw arrows better (without extra baseline)
Soeren Sandmann [Tue, 26 Feb 2002 23:50:14 +0000 (23:50 +0000)]
Draw arrows better (without extra baseline)

Wed Feb 27 00:45:39 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkarrow.c, gtk/gtkmenuitem.c, gtk/gtkrange.c
gtk/gtkspinbutton.c gtk/gtkstyle.c: Draw arrows better (without
extra baseline)

22 years agoDisplay any "g_unicode_isgraph()" char literally, not just latin1.
Owen Taylor [Tue, 26 Feb 2002 23:46:23 +0000 (23:46 +0000)]
Display any "g_unicode_isgraph()" char literally, not just latin1.

Tue Feb 26 18:38:17 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkaccellabel.c (gtk_accel_label_refetch):
Display any "g_unicode_isgraph()" char literally,
not just latin1. (#65679)

22 years agoDon't to focus insensitive widgets. (#68203)
Owen Taylor [Tue, 26 Feb 2002 23:06:34 +0000 (23:06 +0000)]
Don't to focus insensitive widgets. (#68203)

Tue Feb 26 18:01:10 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwidget.c (gtk_widget_grab_focus): Don't
        to focus insensitive widgets. (#68203)

        * gtk/gtkentry.c (gtk_entry_state_changed): Clear any
        current selection if we become insensitive. (#68203)

        * gtk/gtkentry.c (gtk_entry_grab_focus): Don't
        select the text if the entry isn't editable. (#67203)

        * gtk/gtkentry.c: Activate keybindings when not editable,
        but supress keybindings that change the text. (#65848, #68203)

        * gtk/gtkentry.c (gtk_entry_set_property): Reset the
        IM context for the entry when it is made not editable.

22 years agoEmit ::color_changed every time we notify current_color. (Brute force fix
Owen Taylor [Tue, 26 Feb 2002 22:16:06 +0000 (22:16 +0000)]
Emit ::color_changed every time we notify current_color. (Brute force fix

Tue Feb 26 17:04:44 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkcolorsel.c (update_color): Emit ::color_changed
        every time we notify current_color. (Brute force
        fix for #72470, Matthias Clasen). Some fixes to improve
        reentrancy.

22 years agouse the cursor position _after_ deleting the text as the position to
Owen Taylor [Tue, 26 Feb 2002 20:10:52 +0000 (20:10 +0000)]
use the cursor position _after_ deleting the text as the position to

Tue Feb 26 15:04:33 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkentry.c (gtk_entry_enter_text): use
        the cursor position _after_ deleting the text
        as the position to insert at. (#72717, Jan Mynarik)

22 years agogtk/gtktreemodel.c misprints in documentation for
Vitaly Tishkov [Tue, 26 Feb 2002 19:18:28 +0000 (19:18 +0000)]
gtk/gtktreemodel.c misprints in documentation for

2002-02-26            Vitaly Tishkov       <tvv@sparc.spb.su>

        * gtk/gtktreemodel.c
misprints in documentation for gtk_tree_row_reference_inserted()
        and gtk_tree_path_new () are fixed

22 years agotake into account that a path from a rowref can be NULL. (#72623 and
Kristian Rietveld [Tue, 26 Feb 2002 18:56:53 +0000 (18:56 +0000)]
take into account that a path from a rowref can be NULL. (#72623 and

Tue Feb 26 19:47:16 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreeview.c (validate_visible_area): take into account
        that a path from a rowref can be NULL. (#72623 and #72650)

        * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_render_or_focus):
        let focus_rectangle be the same as cell_area for empty cells (#69900)

22 years agoFix double free.
Owen Taylor [Tue, 26 Feb 2002 16:56:58 +0000 (16:56 +0000)]
Fix double free.

Tue Feb 26 11:51:56 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkkeyhash.c (_gtk_key_hash_remove_entry): Fix
        double free.

22 years agoHandle a keyval of 0, by returning an empty list. (#72617, Kevin Breit)
Owen Taylor [Tue, 26 Feb 2002 15:52:20 +0000 (15:52 +0000)]
Handle a keyval of 0, by returning an empty list. (#72617, Kevin Breit)

Tue Feb 26 10:38:14 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkkeyhash.c (_gtk_key_hash_lookup_keyval): Handle
        a keyval of 0, by returning an empty list. (#72617,
        Kevin Breit)

22 years agoFix #72586. Silently accept empty tree. (gtk_tree_view_collapse_all):
Richard Hult [Tue, 26 Feb 2002 15:14:42 +0000 (15:14 +0000)]
Fix #72586. Silently accept empty tree. (gtk_tree_view_collapse_all):

2002-02-26  Richard Hult  <rhult@codefactory.se>

* gtk/gtktreeview.c (gtk_tree_view_expand_all): Fix
#72586. Silently accept empty tree.
(gtk_tree_view_collapse_all): Likewise.

22 years agoUpdated Slovenian translation
Andraz Tori [Tue, 26 Feb 2002 15:01:29 +0000 (15:01 +0000)]
Updated Slovenian translation

22 years agoUpdated Slovak translation.
Stanislav Visnovsky [Tue, 26 Feb 2002 14:25:57 +0000 (14:25 +0000)]
Updated Slovak translation.

2002-02-26  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>

* sk.po: Updated Slovak translation.

22 years agoUpdated Slovenian translation
Andraz Tori [Tue, 26 Feb 2002 11:51:27 +0000 (11:51 +0000)]
Updated Slovenian translation

22 years agoUpdated Slovenian translation
Andraz Tori [Tue, 26 Feb 2002 11:49:34 +0000 (11:49 +0000)]
Updated Slovenian translation

22 years agoFixed Swedish translation.
Christian Rose [Tue, 26 Feb 2002 10:41:18 +0000 (10:41 +0000)]
Fixed Swedish translation.

2002-02-26  Christian Rose  <menthos@menthos.com>

* sv.po: Fixed Swedish translation.

22 years agoA couple of name changes.
Tor Lillqvist [Tue, 26 Feb 2002 07:09:48 +0000 (07:09 +0000)]
A couple of name changes.

2002-02-26  Tor Lillqvist  <tml@iki.fi>

* gtk/gtk.def: A couple of name changes.

22 years agoFix double set of bindings for page-up/down. (#72605, Tor Lillquist)
Owen Taylor [Tue, 26 Feb 2002 03:23:45 +0000 (03:23 +0000)]
Fix double set of bindings for page-up/down. (#72605, Tor Lillquist)

Mon Feb 25 22:10:47 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init): Fix
double set of bindings for page-up/down. (#72605, Tor Lillquist)

* gtk/gtkmenu.c (gtk_menu_key_press): Remove consumed modiifers
when setting up accelerator to make accelerators look prettier.
(#65416, Guillermo S. Romero)

22 years agoImplement the functions that until now just were non-functional stubs. For
Tor Lillqvist [Tue, 26 Feb 2002 01:18:27 +0000 (01:18 +0000)]
Implement the functions that until now just were non-functional stubs. For

2002-02-26  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkkeys-win32.c: Implement the functions that until
now just were non-functional stubs. For "hardware keycodes", we
use Windows virtual keycodes. Not scancodes, although that at
first might seem more low-level and a better match to X11
keycodes.

The Windows API is really mixed up and confused with respect to
scancodes and virtual keycodes. (Surprised?) Some scancodes are
generated by two keys on the keyboard (!), and although the
keyboard messages do have a flag to indicate which key the user
pressed, other API that take a scan code as input don't let you
specify which actual key you mean.

(update_keymap): Function to build a X11-like representation of
the keyboard. Each key has four keysyms: two levels (nonshifted
and shifted) and two groups (normal and with AltGr).

(gdk_keymap_get_direction): Use the codepage corresponding to the
thread's input locale, not the system codepage.

* gdk/win32/gdkglobals-win32.c
* gdk/win32/gdkmain-win32.c
* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkwindow-win32.h
* gdk/win32/gdkwindow-win32.c: Remove the input_locale and
charset_info fields from GdkWindowImplWin32. Input locale is
per-thread in Windows, and as GDK on Windows really only works
when the GDI interaction all happens in just one thread anyway,
this state can be global. Use globals _gdk_input_locale and
_gdk_input_codepage instead. Set these based on the thread's input
locale (keyboard layout, or which IME is active).

* gdk/win32/gdkevents-win32.c: Set the group and hardware_keycode
fields in GDK key events. On input locale change messages, set
the global state variables, and inform update_keymap() that it
has to rebuild the keymap.

22 years agoImplement the functions that until now just were non-functional stubs. For
Tor Lillqvist [Tue, 26 Feb 2002 01:17:58 +0000 (01:17 +0000)]
Implement the functions that until now just were non-functional stubs. For

2002-02-26  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkkeys-win32.c: Implement the functions that until
now just were non-functional stubs. For "hardware keycodes", we
use Windows virtual keycodes. Not scancodes, although that at
first might seem more low-level and a better match to X11
keycodes.

The Windows API is really mixed up and confused with respect to
scancodes and virtual keycodes. (Surprised?) Some scancodes are
generated by two keys on the keyboard (!), and although the
keyboard messages do have a flag to indicate which key the user
pressed, other API that take a scan code as input don't let you
specify which actual key you mean.

(update_keymap): Function to build a X11-like representation of
the keyboard. Each key has four keysyms: two levels (nonshifted
and shifted) and two groups (normal and with AltGr).

(gdk_keymap_get_direction): Use the codepage corresponding to the
thread's input locale, not the system codepage.

* gdk/win32/gdkglobals.h
* gdk/win32/gdkmain-win32.c
* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkwindow-win32.h
* gdk/win32/gdkwindow-win32.c: Remove the input_locale and
charset_info fields from GdkWindowImplWin32. Input locale is
per-thread in Windows, and as GDK on Windows really only works
when the GDI interaction all happens in just one thread anyway,
this state can be global. Use globals _gdk_input_locale and
_gdk_input_codepage instead. Set these based on the thread's input
locale (keyboard layout, or which IME is active).

* gdk/win32/gdkevents-win32.c: Set the group and hardware_keycode
fields in GDK key events. On input locale change messages, set
the global state variables, and inform update_keymap() that it
has to rebuild the keymap.

22 years agoFix typos in pkg-config invokations. (#72476)
Matthias Clasen [Tue, 26 Feb 2002 00:44:36 +0000 (00:44 +0000)]
Fix typos in pkg-config invokations. (#72476)

* docs/tutorial/gtk-tut.sgml: Fix typos in pkg-config
invokations.  (#72476)

Fixes for #72478:

* gtk/tmpl/gtkprogressbar.sgml: Add note about new GtkProgressBar
API to introduction.

* gtk/gtk-sections.txt: Reorder GtkProgressBar functions to move
undeprecated API to top.

22 years agoUpdated Slovenian translation
Andraz Tori [Tue, 26 Feb 2002 00:31:54 +0000 (00:31 +0000)]
Updated Slovenian translation

22 years agoSet the keyboard-mode flag before popping up the tooltip so that pop it up
Owen Taylor [Tue, 26 Feb 2002 00:05:59 +0000 (00:05 +0000)]
Set the keyboard-mode flag before popping up the tooltip so that pop it up

Mon Feb 25 18:59:27 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktooltips.c (start_keyboard_mode): Set the keyboard-mode
        flag before popping up the tooltip so that pop it up
        in the right place. (#71917, Narayani Pattipati)

22 years agocall _gtk_tree_view_column_cell_set_dirty when visible, so this column
Kristian Rietveld [Mon, 25 Feb 2002 21:20:25 +0000 (21:20 +0000)]
call _gtk_tree_view_column_cell_set_dirty when visible, so this column

Mon Feb 25 22:11:34 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_visible): call
        _gtk_tree_view_column_cell_set_dirty when visible, so this column
        gets some space allocated. (#70996)

        * gtk/gtkliststore.c (gtk_list_store_get_path): add simple
        optimization for the tail case
        (gtk_list_store_real_set_value): remove unneeded _get_path calls

22 years agoFix precendence problem. (Sven Neumann)
Owen Taylor [Mon, 25 Feb 2002 17:48:32 +0000 (17:48 +0000)]
Fix precendence problem. (Sven Neumann)

Mon Feb 25 12:47:25 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
        Fix precendence problem. (Sven Neumann)

22 years agoUpdated Swedish translation.
Christian Rose [Mon, 25 Feb 2002 09:35:40 +0000 (09:35 +0000)]
Updated Swedish translation.

2002-02-25  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

22 years agoConvert over to using an GtkInvisible - selections don't work properly
Owen Taylor [Mon, 25 Feb 2002 05:12:14 +0000 (05:12 +0000)]
Convert over to using an GtkInvisible - selections don't work properly

Sun Feb 24 23:23:28 2002  Owen Taylor  <otaylor@redhat.com>

* tests/testselection.c (main): Convert over to using
an GtkInvisible - selections don't work properly
with now NO_WINDOW GtkToggleButton. (Example really
should be using GtkClipboard.)

* gdk/x11/gdkselection-x11.c (gdk_selection_property_get):
Fix  problems if sizeof(GdkAtom) != sizeof(Atom). (Unlikely)

* gdk/x11/gdkproperty-x11.c (gdk_property_get): Set
actual_length when converting atoms as well.
(Gregory Merchan, #72074)

22 years agoadd dx/dy to child allocation, don't subtract them. Also, copy code from
Havoc Pennington [Mon, 25 Feb 2002 04:55:56 +0000 (04:55 +0000)]
add dx/dy to child allocation, don't subtract them. Also, copy code from

2002-02-24  Havoc Pennington  <hp@pobox.com>

* gtk/gtktextview.c (gtk_text_view_value_changed): add dx/dy to
child allocation, don't subtract them. Also, copy code from CList
to recursively adjust the child allocation, instead of just
adjusting immediate children. #69115

22 years agochange to pass in the cursor direction always, not just when we need an
Havoc Pennington [Mon, 25 Feb 2002 04:19:05 +0000 (04:19 +0000)]
change to pass in the cursor direction always, not just when we need an

2002-02-24  Havoc Pennington  <hp@pobox.com>

* gtk/gtkstyle.c (_gtk_draw_insertion_cursor): change to pass in
the cursor direction always, not just when we need an arrow, so we
can flip the cursor around its axis for RTL. Resolves #72372

* gtk/gtkentry.c (gtk_entry_draw_cursor): update for
draw_insertion_cursor change

* gtk/gtklabel.c (gtk_label_draw_cursor): ditto

* gtk/gtktextdisplay.c (gtk_text_layout_draw): ditto

22 years agoAlways NULL out bg_pixmap, even when it used to be None or parent
Alexander Larsson [Mon, 25 Feb 2002 04:00:37 +0000 (04:00 +0000)]
Always NULL out bg_pixmap, even when it used to be None or parent

2002-02-24  Alexander Larsson  <alla@lysator.liu.se>

* gdk/x11/gdkwindow-x11.c (gdk_window_set_background):
Always NULL out bg_pixmap, even when it used to be None
or parent relative.

22 years agoparent_class variable was GtkObjectClass instead of GObjectClass
Havoc Pennington [Mon, 25 Feb 2002 02:47:19 +0000 (02:47 +0000)]
parent_class variable was GtkObjectClass instead of GObjectClass

2002-02-24  Havoc Pennington  <hp@pobox.com>

* gtk/gtktextbuffer.c (parent_class): parent_class variable was
GtkObjectClass instead of GObjectClass

* gtk/gtktextview.c (widget_to_buffer): fix this the way
buffer_to_widget was fixed, to avoid duplicating
the code that computes text_window->allocation.x/y

22 years agoFix off-by-one error. (Pointed out by Anders Carlsson)
Owen Taylor [Mon, 25 Feb 2002 02:23:00 +0000 (02:23 +0000)]
Fix off-by-one error. (Pointed out by Anders Carlsson)

Sun Feb 24 21:18:20 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtksocket.c (gtk_socket_end_embedding): Fix
off-by-one error. (Pointed out by Anders Carlsson)

22 years agoForgotten ChangeLog.
Matthias Clasen [Mon, 25 Feb 2002 01:51:27 +0000 (01:51 +0000)]
Forgotten ChangeLog.

22 years agoMore GTK+ 2.0 updates.
Matthias Clasen [Mon, 25 Feb 2002 01:47:44 +0000 (01:47 +0000)]
More GTK+ 2.0 updates.

* docs/tutorial/gtk-tut.sgml, docs/tutorial/images/*, examples/*: More
 GTK+ 2.0 updates.

* docs/tutorial/Makefile.am: build and dist the new tutorial, not
the old Linuxdoc one.

22 years agofree iter before going to done
Kristian Rietveld [Mon, 25 Feb 2002 00:14:07 +0000 (00:14 +0000)]
free iter before going to done

Mon Feb 25 01:14:26 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktextlayout.c (find_display_line_above): free iter before
        going to done

        * gtk/gtktreeview.c (validate_visible_area): free above_path,
        (set_destination_row): free path before returning,
        (gtk_tree_view_set_drag_dest_row): free current_dest

22 years agoTake border width into account.
Owen Taylor [Sun, 24 Feb 2002 19:56:14 +0000 (19:56 +0000)]
Take border width into account.

Sun Feb 24 14:15:45 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktextview.c (widget_to_buffer): Take border
        width into account.

        * gtk/gtklabel.c (get_label_wrap_width): Don't use GdkFont
        to compute wrap width ... GdkFont will pull in X11 core
        fonts.

22 years agoUpdated for release.
Matthias Warkus [Sun, 24 Feb 2002 18:43:49 +0000 (18:43 +0000)]
Updated for release.

22 years agoUpdated Malay Translation.
Hasbullah Bin Pit [Sun, 24 Feb 2002 09:38:54 +0000 (09:38 +0000)]
Updated Malay Translation.

2002-02-24  Hasbullah Bin Pit <sebol@ikhlas.com>

* ms.po: Updated Malay Translation.

22 years agoReleased 1.3.15.
Owen Taylor [Sun, 24 Feb 2002 06:05:50 +0000 (06:05 +0000)]
Released 1.3.15.

Sun Feb 24 00:06:58 2002  Owen Taylor  <otaylor@redhat.com>

        * Released 1.3.15.

        * configure.in: Version 1.3.15, binary, interface age 0.

        * NEWS: Updates

        * configure.in: Update version requirements.

22 years agoSanity check default font family name and size.
Owen Taylor [Sun, 24 Feb 2002 05:05:15 +0000 (05:05 +0000)]
Sanity check default font family name and size.

Sat Feb 23 22:37:23 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkstyle.c (gtk_style_init): Sanity check default
        font family name and size.

        * gtk/gtkwindow.c (gtk_window_set_default_size): Remove
        incorrect comment about the geometry widget.

        * gtk/gtkwindow.c (gtk_window_move_resize): Unset the
        gtk_window_resize)() information once we've set the size
        once, to avoid it coming back next time we queue a resize.
        (#72359)

        * gtk/gtkwindow.c (gtk_window_move_resize): Remove
        setthing of ->need_default_size from here, Havoc
        says that it should correspond more or less exactly
        to GTK_WIDGET_MAPPED (window).

22 years agoDocument gtk_tree_path_new_root(), gtk_tree_model_get_iter_root() as
Owen Taylor [Sun, 24 Feb 2002 04:45:31 +0000 (04:45 +0000)]
Document gtk_tree_path_new_root(), gtk_tree_model_get_iter_root() as

Sat Feb 23 23:39:14 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/tmpl/gtktreemodel.sgml: Document gtk_tree_path_new_root(),
        gtk_tree_model_get_iter_root() as compatibility macros.

        * gtk/gtk-sections.txt: Updates.

22 years agoat Feb 23 23:00:48 2002 Jonathan Blandford <jrb@redhat.com>
Jonathan Blandford [Sun, 24 Feb 2002 04:18:44 +0000 (04:18 +0000)]
at Feb 23 23:00:48 2002  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreemodel.h: add () to function macros as per owen's
request.

* gtk/gtkfontsel.c: (gtk_font_selection_select_best_style),
(gtk_font_selection_show_available_sizes),
(gtk_font_selection_set_font_name):
* gtk/gtktreemodel.c: (gtk_tree_model_get_iter_first),
(gtk_tree_model_foreach):
* gtk/gtktreemodelsort.c: (gtk_tree_model_sort_sort_level),
(gtk_tree_model_sort_build_level):
* gtk/gtktreeselection.c: (gtk_tree_selection_selected_foreach):
* gtk/gtktreeview.c: (validate_visible_area),
(gtk_tree_view_focus_to_cursor), (gtk_tree_view_set_model),
(gtk_tree_view_map_expanded_rows), (gtk_tree_view_search_move),
(gtk_tree_view_search_init):
* tests/testtreeview.c: (run_automated_tests): change iter_root
to iter_first

22 years agochange new_root to new_first to avoid confusion.
Jonathan Blandford [Sun, 24 Feb 2002 03:43:08 +0000 (03:43 +0000)]
change new_root to new_first to avoid confusion.

Sat Feb 23 22:10:52 2002  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreemodel.c (gtk_tree_path_new_first): change new_root to
new_first to avoid confusion.
(gtk_tree_model_get_iter_first): ditto.

22 years agogtk/gtksettings.c gtk/gtkstyle.c: Patch from Richard Hestilow to add a
Owen Taylor [Sun, 24 Feb 2002 02:24:51 +0000 (02:24 +0000)]
gtk/gtksettings.c gtk/gtkstyle.c: Patch from Richard Hestilow to add a

Sat Feb 23 20:59:05 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkstyle.c gtk/gtkrc.[ch]: gtk/gtksettings.c gtk/gtkstyle.c:
        Patch from Richard Hestilow to add a gtk-font-name GtkSetting.

        * gdk/x11/gdkevents-x11.c: Add Gtk/FontName XSETTING.

22 years agoMove inclusion of <windows.h> before inclusion of <winsock.h>, to actually
Tor Lillqvist [Sun, 24 Feb 2002 02:09:16 +0000 (02:09 +0000)]
Move inclusion of <windows.h> before inclusion of <winsock.h>, to actually

2002-02-24  Tor Lillqvist  <tml@iki.fi>

* gtk/gtkfilesel.c: Move inclusion of <windows.h> before inclusion
of <winsock.h>, to actually get STRICT prototypes for Win32
API. Include glib.h early to get G_OS_WIN32 and G_WITH_CYGWIN.
Don't declare static functions that aren't defined if !HAVE_PWD_H
or if G_OS_WIN32.
(win32_gtk_add_drives_to_dir_list): Remove #if 0 code, reindent.
(gtk_file_selection_get_selections): Don't crash if nothing has
been selected.

22 years agoImplement accelerator propagation using a custom XEMBED_GTK_KEY_GRAB
Owen Taylor [Sun, 24 Feb 2002 01:52:14 +0000 (01:52 +0000)]
Implement accelerator propagation using a custom XEMBED_GTK_KEY_GRAB

Sat Feb 23 20:33:29 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkplug.[ch] gtk/gtksocket.[ch] gtk/xembed.h: Implement
        accelerator propagation using a custom XEMBED_GTK_KEY_GRAB
        XEMBED_GTK_KEY_UNGRAB pair of messages.

        * gtk/gtkwindow.[ch]: private export _gtk_window_keys_foreach().

        * gtk/gtkplug.c (gtk_plug_set_is_child): Clear focus and default
        widgets.

22 years agochange gravity of start/end marks so that text added at either end of the
Havoc Pennington [Sun, 24 Feb 2002 00:38:59 +0000 (00:38 +0000)]
change gravity of start/end marks so that text added at either end of the

2002-02-23  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextbuffer.c (save_range): change gravity of start/end
marks so that text added at either end of the range doesn't end up
inside the range.
(gtk_text_buffer_real_insert_range): fix to handle pasting a range
into itself. #71412

22 years agoDidn't refind node when it was NULL. Bug found by Tor Lillqvist.
Jonathan Blandford [Sun, 24 Feb 2002 00:19:20 +0000 (00:19 +0000)]
Didn't refind node when it was NULL. Bug found by Tor Lillqvist.

Sat Feb 23 19:05:34 2002  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (validate_visible_area): Didn't refind node
when it was NULL.  Bug found by Tor Lillqvist.

22 years agoSet also group in the key press/release events, always to zero for now.
Tor Lillqvist [Sat, 23 Feb 2002 23:51:19 +0000 (23:51 +0000)]
Set also group in the key press/release events, always to zero for now.

2002-02-24  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkevents-win32.c (build_keypress_event,
build_keyrelease_event, gdk_event_translate): Set also group in
the key press/release events, always to zero for now.

22 years agoAlpha-pad icons so they get the correct size.
Anders Carlsson [Sat, 23 Feb 2002 23:46:24 +0000 (23:46 +0000)]
Alpha-pad icons so they get the correct size.

2002-02-24  Anders Carlsson  <andersca@gnu.org>

* gtk/stock-icons/stock_dialog_error_48.png:
* gtk/stock-icons/stock_sort_ascending_16.png:
* gtk/stock-icons/stock_undelete_24.png:
* gtk/stock-icons/stock_sort_descending_16.png:
Alpha-pad icons so they get the correct size.

22 years agoPatch from Matthias Clasen to remove some excessive ::changed signals for
Owen Taylor [Sat, 23 Feb 2002 22:18:27 +0000 (22:18 +0000)]
Patch from Matthias Clasen to remove some excessive ::changed signals for

Sat Feb 23 16:52:38 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkentry.c: Patch from Matthias Clasen to remove some
        excessive ::changed signals for GtkEntry. (#53130)

22 years agoInclude the gtkrc files for themes.
Tor Lillqvist [Sat, 23 Feb 2002 22:13:17 +0000 (22:13 +0000)]
Include the gtkrc files for themes.

2002-02-23  Tor Lillqvist  <tml@iki.fi>

* gtk-zip.sh.in: Include the gtkrc files for themes.

22 years agoRename strikeout to strikethrough.
Anders Carlsson [Sat, 23 Feb 2002 22:00:13 +0000 (22:00 +0000)]
Rename strikeout to strikethrough.

2002-02-23  Anders Carlsson  <andersca@gnu.org>

* gtk/Makefile.am (HTML_IMAGES): Rename strikeout to
strikethrough.

22 years agoRegister 16x16 versions of most icons.
Anders Carlsson [Sat, 23 Feb 2002 21:59:43 +0000 (21:59 +0000)]
Register 16x16 versions of most icons.

2002-02-23  Anders Carlsson  <andersca@gnu.org>

* gtk/gtkiconfactory.c (get_default_icons): Register 16x16
versions of most icons.

* gtk/stock-icons: Add 16x16 versions
of most icons.

22 years agodelay scrolling until we try to draw the window.
Jonathan Blandford [Sat, 23 Feb 2002 21:53:04 +0000 (21:53 +0000)]
delay scrolling until we try to draw the window.

Wed Feb 20 16:44:05 2002  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_scroll_to_cell): delay
scrolling until we try to draw the window.

* gtk/gtktreeview.c (validate_visible_area): Implement
scroll_to_cell.

22 years agoAdd missing gtk_file_selection_get_select_multiple. Remove
Tor Lillqvist [Sat, 23 Feb 2002 21:47:59 +0000 (21:47 +0000)]
Add missing gtk_file_selection_get_select_multiple. Remove

2002-02-23  Tor Lillqvist  <tml@iki.fi>

* gtk/gtk.def: Add missing gtk_file_selection_get_select_multiple.
Remove gtk_tree_view_column_cell_* entry points that were made
private.

22 years agoMake button draw depressed whenever the user clicks / activates it,
Owen Taylor [Sat, 23 Feb 2002 20:47:03 +0000 (20:47 +0000)]
Make button draw depressed whenever the user clicks / activates it,

Sat Feb 23 15:43:46 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktogglebutton.c: Make button draw depressed whenever
        the user clicks / activates it, whether it's off/on/inconsistent.

22 years agoMassive padding addition to class structures.
Owen Taylor [Sat, 23 Feb 2002 20:22:05 +0000 (20:22 +0000)]
Massive padding addition to class structures.

Sat Feb 23 11:54:12 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/*.h gdk/*.h: Massive padding addition to class structures.

        * gtk/gtktextmark.h: Fix a FIXME about G_CONST_RETURN.

22 years agoApplied patch from Thomas Leonard to make stepper click to scroll take
Owen Taylor [Sat, 23 Feb 2002 14:46:21 +0000 (14:46 +0000)]
Applied patch from Thomas Leonard to make stepper click to scroll take

Fri Feb 22 20:28:18 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkrange.c: Applied patch from Thomas Leonard to make
        stepper click to scroll take effect immediately, rather than after
        a delay (#67649).

        * gtk/gtkrange.c: Remove right-click == step in trough since it
        isn't a useful binding and it's a large area to hit accidentally.
        (Leave it on the steppers since its more useful there and less
        likely to do accidentally.)

22 years agoUpdated Norwegian (bokmål) translation.
Kjartan Maraas [Sat, 23 Feb 2002 13:35:56 +0000 (13:35 +0000)]
Updated Norwegian (bokmål) translation.

2002-02-23  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian (bokmål) translation.

22 years agoUpdated Danish translation.
Ole Laursen [Sat, 23 Feb 2002 13:13:36 +0000 (13:13 +0000)]
Updated Danish translation.

2002-02-23  Ole Laursen  <olau@hardworking.dk>

* da.po: Updated Danish translation.

22 years agoAdded Welsh file
Pablo Saratxaga [Sat, 23 Feb 2002 13:00:24 +0000 (13:00 +0000)]
Added Welsh file

22 years agolower case the key_val. (gtk_accel_group_connect_by_path) : ditto.
Jody Goldberg [Sat, 23 Feb 2002 07:56:41 +0000 (07:56 +0000)]
lower case the key_val. (gtk_accel_group_connect_by_path) : ditto.

2002-02-23  Jody Goldberg <jody@gnome.org>

* gtk/gtkaccelgroup.c (gtk_accel_group_connect) : lower case the
  key_val.
(gtk_accel_group_connect_by_path) : ditto.
(gtk_accel_group_disconnect_key) : ditto.

* gtk/gtkwidget.c (gtk_widget_real_key_release_event) : simplify.
(gtk_widget_real_key_press_event) : ditto.

22 years agoDocumented undocumented functions.
Jonathan Blandford [Sat, 23 Feb 2002 07:05:55 +0000 (07:05 +0000)]
Documented undocumented functions.

Sat Feb 23 00:28:47 2002  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreeviecolumn.c: Documented undocumented functions.

22 years agoDocumented undocumented functions.
Jonathan Blandford [Sat, 23 Feb 2002 05:45:40 +0000 (05:45 +0000)]
Documented undocumented functions.

Sat Feb 23 00:28:47 2002  Jonathan Blandford  <jrb@redhat.com>

* gtk/gtktreemodel.c: Documented undocumented functions.

22 years agohonor min_width and max_width while resizing columns (pointed out by Jorn
Kristian Rietveld [Sat, 23 Feb 2002 02:13:10 +0000 (02:13 +0000)]
honor min_width and max_width while resizing columns (pointed out by Jorn

Sat Feb 23 03:10:20 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreeview.c (gtk_tree_view_key_press): honor min_width and
        max_width while resizing columns (pointed out by Jorn Baayen)

22 years agoPatch from Matthias Clasen (#54488)
Owen Taylor [Sat, 23 Feb 2002 00:36:49 +0000 (00:36 +0000)]
Patch from Matthias Clasen (#54488)

Fri Feb 22 19:17:46 2002  Owen Taylor  <otaylor@redhat.com>

        Patch from Matthias Clasen (#54488)

        * gtk/gtkwindow.c: Set/unset HAS_FOCUS flags here,
        and do ::has-focus notifications.

        * gtk/gtkclist.c gtk/gtkentry.c gtk/gtksocket.c
        gtk/gtktext.c gtk/gtktextview.c gtk/gtkwidget.c:
        Remove unecessary focus_in/out handles and unecessary
        flag setting.

        * gtk/gtkwidget.c: Adda missing notification on ::parent.

22 years agoFixes for AIX compilation from Miroslaw Dobrzanski-Neumann, #72182.
Owen Taylor [Sat, 23 Feb 2002 00:13:17 +0000 (00:13 +0000)]
Fixes for AIX compilation from Miroslaw Dobrzanski-Neumann, #72182.

Fri Feb 22 18:36:45 2002  Owen Taylor  <otaylor@redhat.com>

Fixes for AIX compilation from Miroslaw Dobrzanski-Neumann,
#72182.

* demos/gtk-demo/main.c gtk/gtktreeview.c gtk/gtktoolbar.c
gtk/gtkpaned.c gtk/gtkobject.c gtk/gtkcontainer.c
gtk/gtkcolorsel.c gtk/gtkcellrender.c gdk/x11/xsettings-client.h:
Squash trailing commas on enumerations.

* gdk/gdktypes.h: Drop GDK_RELEASE_MASK to 1 << 30 instead
of 1 << 31 to work around AIX compiler problem. (C standard
seems to imply that compiler is required to use an unsigned
type for the enum value in this case.)

* gdk/gdkpixbuf-drawable.c: Fix lvalue casts.

* gtk/gtkwindow.h: Fix use of enum types for bitfields ...
compilers may choose to use a signed type for bitfields.

22 years agoLet's mention the bug number
Kristian Rietveld [Fri, 22 Feb 2002 23:40:52 +0000 (23:40 +0000)]
Let's mention the bug number

22 years agoleave threads before returning
Kristian Rietveld [Fri, 22 Feb 2002 23:37:56 +0000 (23:37 +0000)]
leave threads before returning

Sat Feb 23 00:34:01 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreeview.c (validate_rows_handler): leave threads before
        returning

22 years agoRename icons.
Anders Carlsson [Fri, 22 Feb 2002 21:48:06 +0000 (21:48 +0000)]
Rename icons.

2002-02-22  Anders Carlsson  <andersca@gnu.org>

* gtk/stock-icons/*: Rename icons.

* gtk/stock-icons/Makefile.am: Update for new icon names.

* gtk/gtkiconfactory.c (init_icon_sizes): Set the
GTK_ICON_SIZE_BUTTON size to be 20x20.
(get_default_icons): Change stock names.

2002-02-22  Anders Carlsson  <andersca@gnu.org>

* gtk/Makefile.am (HTML_IMAGES): Update for name changes.

22 years agoadd last_single_clicked and last_single_clicked_2 rowrefs and add
Kristian Rietveld [Fri, 22 Feb 2002 21:36:48 +0000 (21:36 +0000)]
add last_single_clicked and last_single_clicked_2 rowrefs and add

Fri Feb 22 22:39:59 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreeprivate.h: add last_single_clicked and
        last_single_clicked_2 rowrefs and add disable_popdown to the
        bitfield

        * gtk/gtktreeview.c (gtk_tree_view_destroy): add destroy stuff
        for two new rowrefs
        (gtk_tree_view_button_press): add some 'advanced' button handling,
        so double click is being handled right (double click madness was
        discovered by Anders Carlsson)

        * gtk/gtktreeview.c (gtk_tree_view_set_property): add missing
        break
        (gtk_tree_view_class_init): default value of headers_visible
        should be TRUE (both pointed out by Damon Chaplin, #71986)

        * gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search):
        connect to populate_popup,
        (gtk_tree_view_search_disable_popdown): new function,
        (gtk_tree_view_real_search_enable_popdown): ditto,
        (gtk_tree_view_search_enable_popdown): ditto,
        (gtk_tree_view_search_dialog_destroy): check for
        gtk-tree-view-popdown-disabled (#71868)

        * gtk/gtktreeview.c (gtk_tree_view_set_reorderable): move
        ->priv->reorderable assignment to bottom. (#72122)

22 years agosubtract 1 from line endpoint, to avoid cursor dirt in the text widget.
Havoc Pennington [Fri, 22 Feb 2002 17:16:59 +0000 (17:16 +0000)]
subtract 1 from line endpoint, to avoid cursor dirt in the text widget.

2002-02-22  Havoc Pennington  <hp@redhat.com>

* gtk/gtkstyle.c (_gtk_draw_insertion_cursor): subtract 1 from
line endpoint, to avoid cursor dirt in the text widget.
zero-width lines appear to draw the endpoint always. #67999

22 years agoimplement more cleanly by using text_window->allocation.x/y instead of
Havoc Pennington [Fri, 22 Feb 2002 16:12:13 +0000 (16:12 +0000)]
implement more cleanly by using text_window->allocation.x/y instead of

2002-02-22  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextview.c (buffer_to_widget): implement more cleanly by
using text_window->allocation.x/y instead of recomputing it.
Fixes a bug caused by leaving out the border width here.

22 years agocall gtk_size_group_queue_resize to avoid invalidating the widget every
Havoc Pennington [Fri, 22 Feb 2002 15:55:14 +0000 (15:55 +0000)]
call gtk_size_group_queue_resize to avoid invalidating the widget every

2002-02-22  Havoc Pennington  <hp@redhat.com>

* gtk/gtktextview.c (changed_handler): call
gtk_size_group_queue_resize to avoid invalidating the widget every
time its requisition changes. Instead we use the btree invalid
lines to know what to redraw. Fixes #71429

22 years agoremove conflict marker
Søren Sandmann Pedersen [Fri, 22 Feb 2002 13:35:03 +0000 (13:35 +0000)]
remove conflict marker

22 years agofeedback when check and radio buttons are depressed.
Soeren Sandmann [Fri, 22 Feb 2002 13:34:28 +0000 (13:34 +0000)]
feedback when check and radio buttons are depressed.

Fri Feb 22 14:08:38 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkradiobutton.c, gtk/gtkcheckbutton.c, gtkbutton.h,
gtktogglebutton.c: feedback when check and radio buttons are
depressed.

22 years agoremove C++-commented debug spew, reported by David L. Cooper
Havoc Pennington [Fri, 22 Feb 2002 02:00:57 +0000 (02:00 +0000)]
remove C++-commented debug spew, reported by David L. Cooper

2002-02-21  Havoc Pennington  <hp@pobox.com>

* gdk-pixbuf-loader.c (gdk_pixbuf_loader_load_module): remove
C++-commented debug spew, reported by David L. Cooper

22 years agos/columns/rows/ in docs. (#70199)
Matthias Clasen [Fri, 22 Feb 2002 00:26:54 +0000 (00:26 +0000)]
s/columns/rows/ in docs. (#70199)

* gtk/gtktreeview.c (gtk_tree_view_set_reorderable):
s/columns/rows/ in docs.  (#70199)

* gtk/gtktreestore.c (gtk_tree_store_insert): s/before/after/ in
docs. (#71852, #68405)

* gtk/gtkcalendar.c (gtk_calendar_select_day): Correct a comment.

* gtk/tmpl/gtksignal.sgml, gtk/tmpl/gtkimage.sgml: s/%d/%%d/ in
examples.  (#71479)

* gtk/tmpl/gtkmenu.sgml: Document gtk_menu_set_active as
quasi-private.  (#69788)

* gtk/tmpl/gtkcalendar.sgml: Document month as zero-based and
selected_day as one-based.  (#57169)

22 years agoadd keynav handling for unselect all, focus column header, change focus
Kristian Rietveld [Thu, 21 Feb 2002 22:15:14 +0000 (22:15 +0000)]
add keynav handling for unselect all, focus column header, change focus

Thu Feb 21 23:02:29 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreeview.[ch]: add keynav handling for unselect all,
        focus column header, change focus with arrow keys in column headers,
        column reordering, column resizing, small try to fix page up/down
        (this fixes #70889, and fixes a great deal of #53580)

22 years agoAdd GDK_ISO_Next_Group/Prev_Group/Level3_Shift/ First_Group/Last_Group to
Owen Taylor [Thu, 21 Feb 2002 22:03:09 +0000 (22:03 +0000)]
Add GDK_ISO_Next_Group/Prev_Group/Level3_Shift/ First_Group/Last_Group to

Thu Feb 21 16:51:17 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Add
        GDK_ISO_Next_Group/Prev_Group/Level3_Shift/
        First_Group/Last_Group to list of invalid accelerators.
        (A lot more that should be added, but probably would
        want a range mechanism. These are the ones found in
        the standard XFree86 config files.)

        * gtk/gtkbindings.c (gtk_bindings_activate): Fix problem
        that broke bindings for menus.

        * gtk/gtkwindow.[ch]: Export _gtk_window_activate_key()
        privately.

        * gtk/gtkmenushell.c (gtk_menu_shell_key_press): Use
        _gtk_window_activate_key(), gtk_bindings_activate_event().

22 years agoRemove some workarounds for +/= and shift key handling.
Owen Taylor [Thu, 21 Feb 2002 17:29:01 +0000 (17:29 +0000)]
Remove some workarounds for +/= and shift key handling.

Thu Feb 21 12:24:22 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkctree.c (gtk_ctree_class_init): Remove some workarounds
        for +/= and shift key handling.

22 years agoImplement "fuzzy" key binding lookups; allow matches on key and level but
Owen Taylor [Thu, 21 Feb 2002 17:14:10 +0000 (17:14 +0000)]
Implement "fuzzy" key binding lookups; allow matches on key and level but

Wed Feb 20 14:26:47 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkkeyhash.[ch]: Implement "fuzzy" key binding lookups;
        allow matches on key and level but not group. Also, implement
        ignoring "consumed modifiers correctly."

        * gtk/gtkaccelgroup.c gtk/gtkbindings.c: Convert to using
        GtkKeyHash.

        * gtk/gtkdebug.h gtk/gtkmain.c: Support GTK_DEBUG=keybindings

        * gdk/x11/gdkevents-x11.c (gdk_event_translate): Fill in
        the group for key release events as well as key press events.

        * gdk/gdkkeys.h gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
        Rename unused_modifiers to consumed_modifiers, make the docs and
        non-Xkb implementation match the Xkb implementation.

        * gdk/linux-fb/gdkkeyboard-fb.c gdk/win32/gdkkeys-win32.c: Propagate
        doc and parameter name changes.

        * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
        XkbTranslateKeyCode doesn't handle LockMask, we need to handle
        it ourselves.

        * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Force
        <Shift>Tab to give GDK_ISO_Left_Tab, since we need consistency
        to allow dealing with ISO_Left_Tab.

        * gtk/gtkwindow.c gtk/gtktextview.c gtk/gtkscrolledwindow.c
        gtk/gtkpaned.c gtk/gtkcombo.c  gtk/gtknotebook.c:
        Remove inappropriate uses of GDK_ISO_Left_Tab. (GDK_ISO_Left_Tab
        or <Shift>Tab both are equivalent as a binding specifier.)

        * gtk/gtkbutton.c (gtk_button_class_init): Make ::activate
        GTK_RUN_ACTION, so you can bind an accelerator to it.

        * gtk/gtklabel.c (gtk_label_set_uline_text_internal): Call
        gdk_unicode_to_keyval on the mnemonic character.

        * tests/testgtk.c: Add a test for the new fuzzy key binding matching.

22 years agoUpdated.
Fatih Demir [Thu, 21 Feb 2002 14:44:51 +0000 (14:44 +0000)]
Updated.

22 years agoinconsitent files are .pngs too
jacob berkman [Thu, 21 Feb 2002 07:10:02 +0000 (07:10 +0000)]
inconsitent files are .pngs too

2002-02-21  jacob berkman  <jacob@ximian.com>

* gtk/theme-bits/Makefile.am (EXTRA_DIST): inconsitent files are
.pngs too

22 years agoSet the property as type ATOM_PAIR, not ATOM. (#72074, Gregory Merchan.)
Owen Taylor [Thu, 21 Feb 2002 03:00:40 +0000 (03:00 +0000)]
Set the property as type ATOM_PAIR, not ATOM. (#72074, Gregory Merchan.)

Wed Feb 20 21:52:13 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkselection.c (gtk_selection_request): Set the property
        as type ATOM_PAIR, not ATOM. (#72074, Gregory Merchan.)

        * gdk/x11/gdk{property,selecton}-x11.c: Auto-convert properties
        of type ATOM_PAIR as well as properties of type ATOM.

22 years agoscreenshots of examples.
Matthias Clasen [Thu, 21 Feb 2002 00:40:16 +0000 (00:40 +0000)]
screenshots of examples.

* docs/tutorial/images/*.png: screenshots of examples.

* docs/tutorial/gtk-tut.sgml: remove deprecated widgets, add
screenshots, fix chapters 1-4 for GTK+ 2.0.

* demos/gtk-demo/Makefile.am (INCLUDES): add -DGDK_PIXBUF_DISABLE_DEPRECATED.

22 years agoMany cleanups and fixes. Draw exclusively in expose handler. Feedback when
Soeren Sandmann [Wed, 20 Feb 2002 23:36:28 +0000 (23:36 +0000)]
Many cleanups and fixes. Draw exclusively in expose handler. Feedback when

Thu Feb 21 00:31:41 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkspinbutton.c: Many cleanups and fixes. Draw exclusively
in expose handler. Feedback when buttons are depressed.

* gtk/gtkstyle.c: update for changes in gtkspinbutton.c. Fix
spinbuttons for RTL langauges.

22 years agonew radio buttons. handle inconsistent state for check- and radiobuttons.
Soeren Sandmann [Wed, 20 Feb 2002 22:09:25 +0000 (22:09 +0000)]
new radio buttons. handle inconsistent state for check- and radiobuttons.

Wed Feb 20 23:00:08 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkstyle.c: new radio buttons. handle inconsistent state for
check- and radiobuttons.

* gtk/theme-bits/check-13-inconsistent.png,
gtk/theme-bits/radio-13-inconsistent.png: new files

* gtk/theme-bits/radio-13.png: new radio buttons

* gtk/theme-bits/Makefile.am (EXTRA_DIST): add new
-inconsistent.png files

22 years agoAdd a XSETTING mapping for gtk-can-change-accels. (#70218, Thomas
Owen Taylor [Wed, 20 Feb 2002 21:22:22 +0000 (21:22 +0000)]
Add a XSETTING mapping for gtk-can-change-accels. (#70218, Thomas

Wed Feb 20 16:19:49 2002  Owen Taylor  <otaylor@redhat.com>

* gdk/x11/gdkevents-x11.c: Add a XSETTING mapping for
gtk-can-change-accels. (#70218, Thomas Leonard.)

22 years agocheck handler_id before disconnecting the signal handler since it might
Sven Neumann [Wed, 20 Feb 2002 11:56:17 +0000 (11:56 +0000)]
check handler_id before disconnecting the signal handler since it might

2002-02-20  Sven Neumann  <sven@gimp.org>

* gtk/gtkcolorsel.c (gtk_color_selection_finalize): check
handler_id before disconnecting the signal handler since it might
have never been connected if the GtkColorSelection is destroyed
before it was realized.

22 years agoFold back Svens g_signal fixes from the examples.
Matthias Clasen [Wed, 20 Feb 2002 01:40:15 +0000 (01:40 +0000)]
Fold back Svens g_signal fixes from the examples.

* docs/tutorial/gtk-tut.sgml: Fold back Svens g_signal fixes from
the examples.

* docs/tutorial/gtk-tut.sgml, examples/progressbar/progressbar.c,
examples/progressbar/Makefile: Make the progressbar example
deprecation-clean.

22 years agogtk/gtk-sections.txt updated for treeviewcolumn changes.
Sven Neumann [Tue, 19 Feb 2002 23:22:05 +0000 (23:22 +0000)]
gtk/gtk-sections.txt updated for treeviewcolumn changes.

2002-02-20  Sven Neumann  <sven@gimp.org>

* gtk/gtk-sections.txt
* gtk/tmpl/gtktreeviewcolumn.sgml: updated for treeviewcolumn changes.

22 years agoAnother fix -- get bug number right *grumble*
Kristian Rietveld [Tue, 19 Feb 2002 21:24:17 +0000 (21:24 +0000)]
Another fix -- get bug number right *grumble*

22 years agofixing ChangeLog
Kristian Rietveld [Tue, 19 Feb 2002 21:19:48 +0000 (21:19 +0000)]
fixing ChangeLog

22 years agonew function (gtk_tree_view_column_create_button): use g_signal_* instead
Kristian Rietveld [Tue, 19 Feb 2002 21:16:49 +0000 (21:16 +0000)]
new function (gtk_tree_view_column_create_button): use g_signal_* instead

Tue Feb 19 22:10:59 2002  Kristian Rietveld  <kris@gtk.org>

        * gtktreeviewcolumn.c (gtk_tree_view_column_mnemonic_activate): new
        function
        (gtk_tree_view_column_create_button): use g_signal_* instead of
        gtk_signal_*, hook up _mnemonic_activate callback
        (gtk_tree_view_column_update_button): use
        gtk_label_set_text_width_mnemonic instead of gtk_label_set_text
        (#69095)

        * gtktreeview.c (gtk_tree_view_class_init): remove key bindings
        for C-f and C-b, let treeview search use C-f (instead of C-s)
        (#61886)

        * gtkrc.key.emacs: add some GtkTreeView bindings

22 years agofix bug (skipping all black pixels).
Soeren Sandmann [Tue, 19 Feb 2002 19:59:37 +0000 (19:59 +0000)]
fix bug (skipping all black pixels).

Tue Feb 19 20:56:32 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/theme-bits/decompose-bits.c (do_part): fix bug (skipping all
black pixels).

22 years agofinish conversion to g_signal_* functions by using G_OBJECT and G_CALLBACK
Sven Neumann [Tue, 19 Feb 2002 19:47:16 +0000 (19:47 +0000)]
finish conversion to g_signal_* functions by using G_OBJECT and G_CALLBACK

2002-02-19  Sven Neumann  <sven@gimp.org>

* examples/*/*.c: finish conversion to g_signal_* functions by
using G_OBJECT and G_CALLBACK and other assorted changes.