]> Pileus Git - ~andy/gtk/log
~andy/gtk
21 years agominor cleanups, remove refs to gtk_menu_append
GMT 2002 Tony Gale [Sun, 27 Oct 2002 11:44:25 +0000 (11:44 +0000)]
minor cleanups, remove refs to gtk_menu_append

Sun Oct 27 11:41:37 GMT 2002  Tony Gale <gale@gtk.org>

        * docs/tutorial/gtk-tut.sgml:
        minor cleanups, remove refs to gtk_menu_append

        *docs/faq/gtk-faq.sgml: remove ref to gtk_menu_append

21 years agoUpdated Hungarian Translation.
Szabolcs Ban [Sat, 26 Oct 2002 14:22:13 +0000 (14:22 +0000)]
Updated Hungarian Translation.

2002-10-26 Szabolcs Ban <shooby@gnome.hu>

        * hu.po : Updated Hungarian Translation.

21 years agotweak.
Daniel Yacob [Sat, 26 Oct 2002 13:01:14 +0000 (13:01 +0000)]
tweak.

21 years agoChange NAVIGATION_REGION_OVERSHOOT from 50 to 5.
Soeren Sandmann [Fri, 25 Oct 2002 22:33:33 +0000 (22:33 +0000)]
Change NAVIGATION_REGION_OVERSHOOT from 50 to 5.

Fri Oct 25 23:36:30 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkmenu.c: Change NAVIGATION_REGION_OVERSHOOT from 50 to 5.

21 years agoAlways switch to the page with the focused tab label. (#82108, Matt
Owen Taylor [Fri, 25 Oct 2002 21:59:10 +0000 (21:59 +0000)]
Always switch to the page with the focused tab label. (#82108, Matt

Fri Oct 25 17:56:24 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtknotebook.c (gtk_notebook_switch_focus_tab):
        Always switch to the page with the focused tab
        label. (#82108, Matt Wilson.)

21 years agoDon't handle button 2/3 on the tabs. (#82118, Matt Wilson.)
Owen Taylor [Fri, 25 Oct 2002 21:50:19 +0000 (21:50 +0000)]
Don't handle button 2/3 on the tabs. (#82118, Matt Wilson.)

Fri Oct 25 17:46:18 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtknotebook.c (gtk_notebook_button_press):
        Don't handle button 2/3 on the tabs. (#82118,
        Matt Wilson.)

21 years agoDon't insert mnemonics for stock items (#72918, reported by Mikael
Owen Taylor [Fri, 25 Oct 2002 21:36:55 +0000 (21:36 +0000)]
Don't insert mnemonics for stock items (#72918, reported by Mikael

Fri Oct 25 17:32:44 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktoolbar.c: Don't insert mnemonics for stock
        items (#72918, reported by Mikael Hallendal)

21 years agoFix sensitivity of file operation buttons and buttons inside fileop
Owen Taylor [Fri, 25 Oct 2002 19:59:41 +0000 (19:59 +0000)]
Fix sensitivity of file operation buttons and buttons inside fileop

Fri Oct 25 14:51:34 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfilesel.c: Fix sensitivity of file operation
        buttons and buttons inside fileop dialogs to update
        properly based on the contents of the entries.
        (#74267, based on part of a patch from Muktha
        Narayan)

        * gtk/gtkitemfactory.c (gtk_item_factory_create_item):
        Warn if loading <ImageItem> image fails.

        * tests/testgtk.c: Fix data for "apple" inline pixbuf
        to be valid.

21 years agoFix sensitivity of file operation buttons and buttons inside fileop
Owen Taylor [Fri, 25 Oct 2002 19:57:48 +0000 (19:57 +0000)]
Fix sensitivity of file operation buttons and buttons inside fileop

Fri Oct 25 14:51:34 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfilesel.c: Fix sensitivity of file operation
        buttons and buttons inside fileop dialogs to update
        properly based on the contents of the entries.
        (#74267, based on part of a patch from Muktha
        Narayan)

21 years agoNew GtkPaned keyboard navigation. (Shift-)F8 now cycles the available
Soeren Sandmann [Fri, 25 Oct 2002 16:28:14 +0000 (16:28 +0000)]
New GtkPaned keyboard navigation. (Shift-)F8 now cycles the available

Fri Oct 25 18:17:39 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkpaned.[ch]: New GtkPaned keyboard navigation. (Shift-)F8
now cycles the available handles instead of toggling focus on and
off. Fixes #87160, reported by Calum Benson.

21 years agoWarn if loading <ImageItem> image fails.
Owen Taylor [Fri, 25 Oct 2002 15:00:55 +0000 (15:00 +0000)]
Warn if loading <ImageItem> image fails.

Fri Oct 25 10:50:37 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkitemfactory.c (gtk_item_factory_create_item):
        Warn if loading <ImageItem> image fails.

        * tests/testgtk.c: Fix data for "apple" inline pixbuf
        to be valid.

21 years agoupdated
Marius Andreiana [Fri, 25 Oct 2002 11:46:25 +0000 (11:46 +0000)]
updated

2002-10-25  Marius Andreiana <marius galuna.ro>

        * ro.po: updated

21 years agotweak!
Daniel Yacob [Fri, 25 Oct 2002 01:44:41 +0000 (01:44 +0000)]
tweak!

21 years agoheader tweak.
Daniel Yacob [Fri, 25 Oct 2002 01:16:17 +0000 (01:16 +0000)]
header tweak.

21 years agoAdding Amharic Translation.
Daniel Yacob [Fri, 25 Oct 2002 01:12:53 +0000 (01:12 +0000)]
Adding Amharic Translation.

21 years agoFix doc comment.
Matthias Clasen [Fri, 25 Oct 2002 00:01:15 +0000 (00:01 +0000)]
Fix doc comment.

* gdk/x11/gdkcursor-x11.c: Fix doc comment.

* gdk/gdkdnd.c: Add missing includes.

21 years agoMore API docs moved inline.
Matthias Clasen [Thu, 24 Oct 2002 21:24:20 +0000 (21:24 +0000)]
More API docs moved inline.

21 years agoDocumentation updates.
Matthias Clasen [Wed, 23 Oct 2002 23:15:58 +0000 (23:15 +0000)]
Documentation updates.

21 years agoRemove redundant doc comments.
Matthias Clasen [Wed, 23 Oct 2002 21:03:35 +0000 (21:03 +0000)]
Remove redundant doc comments.

21 years agos/NULL/0/ on the g_signal_emit lines to fix up yesterdays commit (reported
Kristian Rietveld [Wed, 23 Oct 2002 14:54:27 +0000 (14:54 +0000)]
s/NULL/0/ on the g_signal_emit lines to fix up yesterdays commit (reported

Wed Oct 23 17:06:02 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreemodel.c: s/NULL/0/ on the g_signal_emit lines to
        fix up yesterdays commit (reported by Morten Welinder).

21 years agoWhen popping up the list without any selected items, hack the focus on the
Owen Taylor [Wed, 23 Oct 2002 00:45:18 +0000 (00:45 +0000)]
When popping up the list without any selected items, hack the focus on the

Tue Oct 22 20:02:22 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkcombo.c: When popping up the list without
        any selected items, hack the focus on the list to
        avoid triggering a bug in GtkList when clicking
        on focused-but-not-selected items (#86700,
        Zimler Attila, Matthias Clasen) and to keep
        GtkWindow from selecting the first item.

        * tests/testgtk.c (create_list): Make the initial
        setting of the selection mode correspond to the option
        menu.

21 years agoAnother feature to create truly ugly TreeViews!: style properties for the
Kristian Rietveld [Tue, 22 Oct 2002 23:05:29 +0000 (23:05 +0000)]
Another feature to create truly ugly TreeViews!: style properties for the

Wed Oct 23 01:03:43 2002  Kristian Rietveld  <kris@gtk.org>

        Another feature to create truly ugly TreeViews!: style properties
        for the even/odd colors used for row hinting. (#71595, reported
        by Owen Taylor).

        * gtk/gtktreeview.c (gtk_tree_view_class_init): add even_row_color
        and odd_row_color style properties.

        * gtk/gtkstyle.c (get_darkened_gc): support darken_count == 0 case,
        (gtk_default_draw_flat_box): rework cell coloring code to support
        user-provided even/odd row colors.

Wed Oct 23 01:01:52 2002  Kristian Rietveld  <kris@gtk.org>

        Cache signal IDs to speed up signal emission. This is a good speedup
        because GtkTreeModel emits a big number of signals.

        * gtk/gtktreemodel.c (gtk_tree_model_base_init): save IDs returned
        by g_signal_new,
        (gtk_tree_model_row_changed): use g_signal_emit instead of
        g_signal_emit_by_name,
        (gtk_tree_model_row_inserted): ditto,
        (gtk_tree_model_row_has_child_toggled): ditto,
        (gtk_tree_model_row_deleted): ditto,
        (gtk_tree_model_rows_reordered): ditto.

Wed Oct 23 00:56:15 2002  Kristian Rietveld  <kris@gtk.org>

        * 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.
        (#50263, reported by Havoc Pennington).

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

21 years agoCheck for stack overflow throughout. (#91808, Elliot Lee)
Matthias Clasen [Tue, 22 Oct 2002 22:41:58 +0000 (22:41 +0000)]
Check for stack overflow throughout. (#91808, Elliot Lee)

* io-gif.c (lzw_read_byte): Check for stack overflow throughout.
(#91808, Elliot Lee)

21 years agoGdk API doc updates.
Matthias Clasen [Tue, 22 Oct 2002 22:11:22 +0000 (22:11 +0000)]
Gdk API doc updates.

21 years agoMultihead safety fixes, handle displays being closed. (#81651, based on
Owen Taylor [Tue, 22 Oct 2002 21:05:47 +0000 (21:05 +0000)]
Multihead safety fixes, handle displays being closed. (#81651, based on

Tue Oct 22 16:37:12 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktooltips.c: Multihead safety fixes, handle
        displays being closed. (#81651, based on patch
        from Erwann Chenede)

        * gtk/gtktoolbar.c (gtk_toolbar_init): Fix typo
        from the last commit.

21 years agoFix handling of getting the default style/icon size from the correct
Owen Taylor [Tue, 22 Oct 2002 20:00:31 +0000 (20:00 +0000)]
Fix handling of getting the default style/icon size from the correct

Tue Oct 22 15:55:08 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktoolbar.c: Fix handling of getting the
        default style/icon size from the correct
        GtkSettings. (#82184, reported by Vitaly Tishkov,
        help from Soeren Sandmann)

21 years agoActively monitor the screen of the parent. (#80281)
Owen Taylor [Tue, 22 Oct 2002 19:54:40 +0000 (19:54 +0000)]
Actively monitor the screen of the parent. (#80281)

Tue Oct 22 15:32:31 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwindow.c: Actively monitor the screen of the
        parent. (#80281)

        * gtk/gtkentry.c: Fix missing prototype from the
        last commit.

21 years agoReset the layout, since it holds a reference to the font on a particular
Owen Taylor [Tue, 22 Oct 2002 19:50:27 +0000 (19:50 +0000)]
Reset the layout, since it holds a reference to the font on a particular

Tue Oct 22 15:46:09 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkentry.c (gtk_entry_unrealize): Reset the
        layout, since it holds a reference to the font on
        a particular screen.

21 years agoInclude config.h (#96441, Morten Welinder)
Owen Taylor [Tue, 22 Oct 2002 19:17:02 +0000 (19:17 +0000)]
Include config.h (#96441, Morten Welinder)

Tue Oct 22 15:13:59 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkimmulticontext.c: Include config.h
        (#96441, Morten Welinder)

21 years agoWhen compiling our on fnmatch.c, #define fnmatch _gtk_fnmatch (#92890,
Owen Taylor [Tue, 22 Oct 2002 19:08:25 +0000 (19:08 +0000)]
When compiling our on fnmatch.c, #define fnmatch _gtk_fnmatch (#92890,

Tue Oct 22 15:03:41 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/fnmatch.h: When compiling our on fnmatch.c,
        #define fnmatch _gtk_fnmatch (#92890, Jacob Berkman)

21 years agoProduce C-m, not C-j for return. Handle Escape.
Owen Taylor [Tue, 22 Oct 2002 19:04:51 +0000 (19:04 +0000)]
Produce C-m, not C-j for return. Handle Escape.

Fri Oct 18 16:47:02 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkevents-x11.c (translate_key_event): Produce
        C-m, not C-j for return. Handle Escape.

21 years agoIt is called GtkStatusbar, not GtkStatusBar. This was changed accidentally
Matthias Clasen [Tue, 22 Oct 2002 18:04:44 +0000 (18:04 +0000)]
It is called GtkStatusbar, not GtkStatusBar. This was changed accidentally

* gtk/gtkstatusbar.c (gtk_statusbar_get_type):
(gtk_statusbar_class_init): It is called GtkStatusbar, not
GtkStatusBar. This was changed accidentally during deprecation
cleanup and caused links in the API docs to break.  (#96390)

21 years agoReturn "" for entry->invisible_char == 0, otherwise N copies of
Owen Taylor [Mon, 21 Oct 2002 19:04:18 +0000 (19:04 +0000)]
Return "" for entry->invisible_char == 0, otherwise N copies of

Mon Oct 21 14:04:39 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkentry.c (gtk_entry_get_public_chars): Return
        "" for entry->invisible_char == 0, otherwise N copies
        of entry->invisible_char. (#95486, Vitaly Tishkov)

        * gtk/gtkentry.c: Fix a bunch of places where entry->text
        instead of layout->text was being used for computation
        of offsets/indices in the layout. Using layout->text
        is necessary because when the entry is invisible, it
        doesn't correspond to entry->text.

21 years agoUpdated Norwegian (bokmål) translation.
Kjartan Maraas [Mon, 21 Oct 2002 10:44:16 +0000 (10:44 +0000)]
Updated Norwegian (bokmål) translation.

2002-10-21  Kjartan Maraas  <kmaraas@gnome.org>

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

21 years agogtkmenu.c, gtkmenubar.c, gtkmenuitem.c, gtkmenushell.c, gtkmenushell.h,
Soeren Sandmann [Sun, 20 Oct 2002 22:29:57 +0000 (22:29 +0000)]
gtkmenu.c, gtkmenubar.c, gtkmenuitem.c, gtkmenushell.c, gtkmenushell.h,

Sun Oct 20 23:58:03 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtkmenu.c, gtkmenubar.c, gtkmenuitem.c, gtkmenushell.c,
gtkmenushell.h, gtkmenushell.h

- make the delay before submenus appear below menu bars a
  GtkSetting
- make the delay before submenus pops up a GtkSetting
- make the stay up triangle slightly larger
- don't pop up the first submenu immediately.
- make the default delay for submenus 225 ms, and 0 for menubars.
- make the default delay before popping down inside the stay-up
  triangle 1000 ms

Fixes #74950

21 years ago Support the Netscape application extension for gif animations (#95060):
Matthias Clasen [Sun, 20 Oct 2002 22:16:58 +0000 (22:16 +0000)]
Support the Netscape application extension for gif animations (#95060):

21 years agoAdd a scrollbar_spacing style property (#81396, based on a patch from
Owen Taylor [Sun, 20 Oct 2002 19:08:17 +0000 (19:08 +0000)]
Add a scrollbar_spacing style property (#81396, based on a patch from

Sun Oct 20 14:58:02 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init):
        Add a scrollbar_spacing style property (#81396, based
        on a patch from Anders Carlsson)

21 years agoUpdate for latest gtk-doc changes.
Matthias Clasen [Sat, 19 Oct 2002 23:39:36 +0000 (23:39 +0000)]
Update for latest gtk-doc changes.

21 years agomake configure checks for Xrandr and Xinerama extensions less noisy
Jeremy Katz [Sat, 19 Oct 2002 16:13:36 +0000 (16:13 +0000)]
make configure checks for Xrandr and Xinerama extensions less noisy

2002-10-19  Jeremy Katz  <katzj@redhat.com>

       * configure.in: make configure checks for Xrandr and Xinerama
       extensions less noisy (#95858)

21 years agoHandle Return and KP_Enter.
Owen Taylor [Fri, 18 Oct 2002 20:49:35 +0000 (20:49 +0000)]
Handle Return and KP_Enter.

Fri Oct 18 16:47:02 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkevents-x11.c (translate_key_event): Handle
        Return and KP_Enter.

21 years agoReset use_text_format to %TRUE for a %NULL text string. (#94157, once
Owen Taylor [Fri, 18 Oct 2002 19:40:27 +0000 (19:40 +0000)]
Reset use_text_format to %TRUE for a %NULL text string. (#94157, once

Fri Oct 18 15:38:50 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkprogressbar.c (gtk_progress_bar_set_text):
        Reset use_text_format to %TRUE for a %NULL text string.
        (#94157, once again).

21 years agoFix use of uninitialized variable.
Owen Taylor [Fri, 18 Oct 2002 19:26:43 +0000 (19:26 +0000)]
Fix use of uninitialized variable.

Thu Oct 17 17:17:05 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkcheckbutton.c (gtk_check_button_size_request):
        Fix use of uninitialized variable.

Thu Oct 17 14:38:37 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkaccellabel.c (gtk_accel_label_expose_event):
        Align the baseline of the accelerator label with the
        first baseline of the main label of the menu item. (#76593)

Wed Oct 16 18:25:24 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkevents-x11.c (translate_key_event):
        Use gdk_keymap_translate_keyboard_state() rather than
        XLookupString() to get the keysymbol, since XLookupString
        can confuse the input method handling. (#93575)

        * gdk/x11/gdkkeys-x11.c: Rewrite the handling of
        key translation for the non-XKB case to properly
        handle Shift_Lock, Caps_Lock, Num_Lock according
        to the Xlib spec. (#67066)

21 years agoUpdate the docs for the event->key.string to say that @string is
Owen Taylor [Fri, 18 Oct 2002 19:14:54 +0000 (19:14 +0000)]
Update the docs for the event->key.string to say that @string is

Fri Oct 18 15:13:24 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/tmpl/event_structs.sgml: Update the docs for
        the event->key.string to say that @string is deprecated.

21 years agofix compiler warnings
Havoc Pennington [Thu, 17 Oct 2002 21:48:30 +0000 (21:48 +0000)]
fix compiler warnings

2002-10-17  Havoc Pennington  <hp@redhat.com>

* gtk/gtkwindow.c (gtk_window_compute_configure_request): fix
compiler warnings

21 years agofix typo to make it compile
Soeren Sandmann [Thu, 17 Oct 2002 20:39:31 +0000 (20:39 +0000)]
fix typo to make it compile

Thu Oct 17 22:37:57 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkwindow.c (get_center_monitor_of_window): fix typo to make
it compile

21 years agoadd g_return_if_fail for monitor number <= 0
Havoc Pennington [Thu, 17 Oct 2002 20:24:03 +0000 (20:24 +0000)]
add g_return_if_fail for monitor number <= 0

2002-10-16  Havoc Pennington  <hp@redhat.com>

* gdk/x11/gdkscreen-x11.c (gdk_screen_get_monitor_geometry): add
g_return_if_fail for monitor number <= 0

* gtk/gtkmenu.c (gtk_menu_position): handle case where pointer
is outside the screen.

* gtk/gtkwindow.c (get_monitor_center): factor out
the code to position a window in center
(gtk_window_compute_configure_request): use here
(gtk_window_constrain_position): use here, the
code here wasn't multihead-aware

* gdk/x11/gdkevents-x11.c (get_real_window): function to
return the window the event describes, rather than the window
that received the event.
(gdk_event_translate): use result of that function for
filling in GdkEvent::window, which only matters for
MapNotify/UnmapNotify and ConfigureNotify, in practice.

Unbreaks various things using SubstructureNotifyMask.

21 years agoMake the widgets work reasonably when they don't have children -- draw the
Owen Taylor [Thu, 17 Oct 2002 20:20:52 +0000 (20:20 +0000)]
Make the widgets work reasonably when they don't have children -- draw the

Thu Oct 17 16:13:28 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkcheckbutton.c gtk/gtkradiobutton.c: Make
        the widgets work reasonably when they don't have
        children -- draw the focus around the indicator,
        and position the indicator symmetrically.
        (#74830, Dave Camp)

        * tests/testgtk.c: Add no-child portions to check and radio
        button tests.

21 years agoTake arrows into account when clamping the offset. Fixes #95758.
Soeren Sandmann [Thu, 17 Oct 2002 20:09:39 +0000 (20:09 +0000)]
Take arrows into account when clamping the offset. Fixes #95758.

Thu Oct 17 22:09:05 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkmenu.c (gtk_menu_scroll_to): Take arrows into
account when clamping the offset. Fixes #95758.

21 years agoFix from Phil Blundell for compiling without Xkb. (#95909)
Owen Taylor [Wed, 16 Oct 2002 19:20:57 +0000 (19:20 +0000)]
Fix from Phil Blundell for compiling without Xkb. (#95909)

Wed Oct 16 15:19:44 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkkeys-x11.c: Fix from Phil Blundell for
        compiling without Xkb. (#95909)

21 years agoMake 'filled' arguments for draw_arc/polygon/rectangle gboolean not gint.
Owen Taylor [Wed, 16 Oct 2002 18:41:42 +0000 (18:41 +0000)]
Make 'filled' arguments for draw_arc/polygon/rectangle gboolean not gint.

Wed Oct 16 14:32:43 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkdrawable.h gdk/gdkdraw.c gdk/gdkpixmap.c
        gdk/gdkwindow.c gdk/x11/gdkdrawable-x11.c
        gdk/win32/gdkdrawable-win32.c gdk/linux-fb/gdkdrawable-fb2.c
        gdk/linux-fb/gdkprivate-fb.h:
        Make 'filled' arguments for draw_arc/polygon/rectangle
        gboolean not gint. (#94976)

21 years agoMake tear-off menuitems obey the "selected_shadow_type" style property.
Soeren Sandmann [Wed, 16 Oct 2002 15:13:43 +0000 (15:13 +0000)]
Make tear-off menuitems obey the "selected_shadow_type" style property.

Wed Oct 16 17:11:46 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktearoffmenuitem.c (gtk_tearoff_menu_item_paint): Make
tear-off menuitems obey the "selected_shadow_type" style property.

21 years agoDon't use connect_swapped() when the function being connected has a
Owen Taylor [Tue, 15 Oct 2002 21:27:45 +0000 (21:27 +0000)]
Don't use connect_swapped() when the function being connected has a

Tue Oct 15 17:25:47 2002  Owen Taylor  <otaylor@redhat.com>

        * modules/input/gtkimcontextxim.c (get_im): Don't use
        connect_swapped() when the function being connected
        has a non-swapped signature.

21 years agoInitialize info->ics to NULL. (Hidetoshi Tajima.)
Owen Taylor [Tue, 15 Oct 2002 13:56:27 +0000 (13:56 +0000)]
Initialize info->ics to NULL. (Hidetoshi Tajima.)

Tue Oct 15 09:54:54 2002  Owen Taylor  <otaylor@redhat.com>

        * modules/input/gtkimcontextxim.c (get_im): Initialize
        info->ics to NULL. (Hidetoshi Tajima.)

        * modules/input/gtkimcontextxim.c (status_window_get):
        Call set_resizable on the window, not on the structure.

21 years ago=== Released 2.1.1 ===
Owen Taylor [Mon, 14 Oct 2002 23:53:44 +0000 (23:53 +0000)]
=== Released 2.1.1 ===

Mon Oct 14 19:17:34 2002  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.1.1 ===

21 years agoAdd some missing files.
Owen Taylor [Mon, 14 Oct 2002 23:38:33 +0000 (23:38 +0000)]
Add some missing files.

Mon Oct 14 19:34:26 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/Makefile.am (content_files)
          gdk-pixbuf/Makefile.am (content_files): Add some missing
        files.

21 years agoUpdate.
Owen Taylor [Mon, 14 Oct 2002 23:22:58 +0000 (23:22 +0000)]
Update.

Mon Oct 14 19:16:16 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtk-sections.txt: Update.

        * gdk/tmpl/images.sgml gtk/tmpl/gtkmain.sgml
        gtk/tmpl/gtkselection.sgml: Remove docs that were moved
        the the C files.

21 years agoVersion 2.1.1, interface age 0, binary age 101.
Owen Taylor [Mon, 14 Oct 2002 22:57:38 +0000 (22:57 +0000)]
Version 2.1.1, interface age 0, binary age 101.

Mon Oct 14 18:50:59 2002  Owen Taylor  <otaylor@redhat.com>

        * configure.in: Version 2.1.1, interface age 0, binary age 101.

        * NEWS: Updates

21 years agoBehaviour change, apply changes if the entry of the editable gets a focus
Kristian Rietveld [Mon, 14 Oct 2002 22:50:18 +0000 (22:50 +0000)]
Behaviour change, apply changes if the entry of the editable gets a focus

Tue Oct 15 00:53:14 2002  Kristian Rietveld  <kris@gtk.org>

        Behaviour change, apply changes if the entry of the editable gets
        a focus out event (#82405).

        * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
        new function,
        (gtk_cell_renderer_text_start_editing): stop editing and apply
        changes on focus-out.

Tue Oct 15 00:47:35 2002  Kristian Rietveld  <kris@gtk.org>

        Fixes an *evil* GtkTreeModelSort bug, #93629.

        * gtk/gtktreemodel.c (release_row_references): return if the
        refs->list is NULL.

        * 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.

Tue Oct 15 00:45:03 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtkliststore.c (gtk_list_store_remove_silently): free
        the actual link after the node has been removed (#92014).

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

Tue Oct 15 00:40:25 2002  Kristian Rietveld  <kris@gtk.org>

        Don't accept drops if the model has been sorted, #93758)

        * gtk/gtkliststore.c (gtk_list_store_row_drop_possible): return
        FALSE if the list has been sorted.

        * gtk/gtktreestore.c (gtk_tree_store_row_drop_possible): check
        if drag_dest is a TreeStore, return FALSE if the tree has been
        sorted.

Tue Oct 15 00:33:59 2002  Kristian Rietveld  <kris@gtk.org>

        Compiler warning fixage, (#85858, #85859, #85860, #85872)

        * gtk/gtkcellrendererpixbuf (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.

21 years agoDist the xml/*.xml, not sgml/*.sgml. (#95678, Owen Taylor)
Matthias Clasen [Mon, 14 Oct 2002 21:51:55 +0000 (21:51 +0000)]
Dist the xml/*.xml, not sgml/*.sgml. (#95678, Owen Taylor)

* gdk-pixbuf/Makefile.am (dist-hook):
* gdk/Makefile.am (dist-hook):
* gtk/Makefile.am (dist-hook): Dist the xml/*.xml, not
sgml/*.sgml.  (#95678, Owen Taylor)

21 years ago- Make GtkXIMInfo structures per-screen (they were a mix between
Owen Taylor [Mon, 14 Oct 2002 19:19:08 +0000 (19:19 +0000)]
- Make GtkXIMInfo structures per-screen (they were a mix between

Mon Oct 14 15:10:34 2002  Owen Taylor  <otaylor@redhat.com>

        * modules/input/gtkimcontextxim.c:
        - Make GtkXIMInfo structures per-screen (they were
          a mix between per-display and per-context before)
        - Make signal connections info->settings one-per-info
         - Handle a GdkDisplay being closed, by destroying
          all XIC, calling XCloseIM on the XIM. (#87482)

21 years agoAdapt to latest gtk-doc changes.
Matthias Clasen [Mon, 14 Oct 2002 00:11:00 +0000 (00:11 +0000)]
Adapt to latest gtk-doc changes.

21 years agoDeprecation cleanup
Manish Singh [Sun, 13 Oct 2002 23:56:31 +0000 (23:56 +0000)]
Deprecation cleanup

Sun Oct 13 16:55:49 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkdnd.c gtk/gtkradiobutton.[ch]: Deprecation cleanup

        * gtk/Makefile.am: Added disable deprecation flags

        * demos/pixbuf-init.c demos/gtk-demo/changedisplay.c: minor clean up

21 years agoDeprecation cleanup
Manish Singh [Sun, 13 Oct 2002 23:22:33 +0000 (23:22 +0000)]
Deprecation cleanup

Sun Oct 13 16:20:41 2002  Manish Singh  <yosh@gimp.org>

        * tests/pixbuf-randomly-modified.c tests/prop-editor.c
        tests/testcalendar.c tests/testdnd.c tests/testgtk.c tests/testinput.c
        tests/testmultidisplay.c tests/testmultiscreen.c tests/testrgb.c
        tests/testselection.c tests/testsocket.c tests/testsocket_common.c
        tests/testtext.c tests/testtextbuffer.c tests/testtreecolumns.c
        tests/testtreeedit.c tests/testtreeflow.c tests/testtreefocus.c
        tests/testtreesort.c tests/testtreeview.c tests/testxinerama.c
        tests/treestoretest.c: Deprecation cleanup

        * tests/Makefile.am: Added disable deprecation flags

21 years agoDeprecation cleanup
Manish Singh [Sun, 13 Oct 2002 20:44:18 +0000 (20:44 +0000)]
Deprecation cleanup

Sun Oct 13 13:43:16 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkcurve.[ch] gtk/gtkgamma.[ch] gtk/gtklayout.[ch]
        gtk/gtkwidget.[ch] modules/input/gtkimcontextxim.c
        modules/input/imam-et.c modules/input/imcyrillic-translit.c
        modules/input/imhangul.c modules/input/iminuktitut.c
        modules/input/imipa.c modules/input/imthai-broken.c
        modules/input/imti-er.c modules/input/imti-et.c
        modules/input/imviqr.c: Deprecation cleanup

        * modules/input/Makefile.am: Added disable deprecation flags

21 years agoDeprecation cleanup
Manish Singh [Sun, 13 Oct 2002 19:34:42 +0000 (19:34 +0000)]
Deprecation cleanup

Sun Oct 13 12:29:15 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkcolorsel.[ch] gtk/gtkcombo.[ch] gtk/gtkplug.[ch]
        gtk/gtksocket.[ch] gtk/gtktreeview.[ch] gtk/gtktreeviewcolumn.[ch]:
        Deprecation cleanup

        * gtk/gtkcolorseldialog.c: make window not resizable (lost
        accidently in the previous cleanup)

21 years agoMake tooltip window not resizable. Fixes #95675.
Soeren Sandmann [Sun, 13 Oct 2002 18:30:49 +0000 (18:30 +0000)]
Make tooltip window not resizable. Fixes #95675.

Sun Oct 13 20:20:51 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktooltips.c (gtk_tooltips_force_window): Make tooltip
window not resizable. Fixes #95675.

21 years agoDocumentation fixes.
Soeren Sandmann [Sun, 13 Oct 2002 17:17:14 +0000 (17:17 +0000)]
Documentation fixes.

Sun Oct 13 18:50:14 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtkmenu.c, gtkmenu.sgml, gtkitemfactory.c, gdkwindow.c,
gtkwindow.c, gtkpaned.sgml, gtkdialog.c, gtkbox.h, gtkbutton.sgml,
gtktreemodel.sgml,gtktable.sgml, gtktable.c:

Documentation fixes.

#85719, #90759, #95169, Owen Taylor;
#89221, Yao Zhang, Matthias Clasen;
#95592, Joost Faassen;
#92637, Vitaly Tishkov;
#94616, Ben Martin;
#94772, sbaillie@bigpond.net.au;

21 years agoDon't invalidate a widget if it or one of its ancestors isn't mapped.
Soeren Sandmann [Sun, 13 Oct 2002 15:42:28 +0000 (15:42 +0000)]
Don't invalidate a widget if it or one of its ancestors isn't mapped.

Sun Oct 13 17:41:53 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkwidget.c (gtk_widget_queue_clear_area): Don't invalidate
a widget if it or one of its ancestors isn't mapped.

21 years agoremove references to non-existing properties GtkWindow::allow_shrink and
Soeren Sandmann [Sun, 13 Oct 2002 15:24:40 +0000 (15:24 +0000)]
remove references to non-existing properties GtkWindow::allow_shrink and

Sun Oct 13 17:21:15 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* tests/testgtk.c (window_controls), tests/testgtk.c
(create_tooltips): remove references to non-existing properties
GtkWindow::allow_shrink and GtkWidget::width

21 years agouse GTK_IS_RADIO_MENU_ITEM instead of comparing the type directly. This
Manish Singh [Sat, 12 Oct 2002 22:45:08 +0000 (22:45 +0000)]
use GTK_IS_RADIO_MENU_ITEM instead of comparing the type directly. This

Sat Oct 12 15:44:29 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkitemfactory.c: use GTK_IS_RADIO_MENU_ITEM instead
        of comparing the type directly. This handles possible subclasses
        too. (Recommended by Tim Janik)

21 years agoDeprecation cleanup
Manish Singh [Fri, 11 Oct 2002 22:57:11 +0000 (22:57 +0000)]
Deprecation cleanup

Fri Oct 11 15:56:20 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkaccellabel.[ch] gtk/gtkaccessible.[ch] gtk/gtkbutton.[ch]
        gtk/gtkcheckbutton.[ch] gtk/gtkcolorseldialog.[ch] gtk/gtkdialog.[ch]
        gtk/gtkhandlebox.[ch] gtk/gtkinputdialog.[ch] gtk/gtkmessagedialog.[ch]
        gtk/gtktearoffmenuitem.[ch] gtk/gtktogglebutton.[ch]: Deprecation
        cleanup

21 years agoLots of trivial doc fixes.
Matthias Clasen [Fri, 11 Oct 2002 20:36:21 +0000 (20:36 +0000)]
Lots of trivial doc fixes.

21 years agoDocumentation updates.
Matthias Clasen [Fri, 11 Oct 2002 01:04:45 +0000 (01:04 +0000)]
Documentation updates.

21 years agoDocumentation updates.
Matthias Clasen [Fri, 11 Oct 2002 00:46:39 +0000 (00:46 +0000)]
Documentation updates.

21 years agoDocumentation improvements.
Matthias Clasen [Thu, 10 Oct 2002 23:42:57 +0000 (23:42 +0000)]
Documentation improvements.

21 years agoDeprecation cleanup
Manish Singh [Thu, 10 Oct 2002 22:20:48 +0000 (22:20 +0000)]
Deprecation cleanup

Thu Oct 10 15:13:48 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkimcontext.[ch] gtk/gtkimcontextsimple.[ch] gtk/gtkimmodule.c
        gtk/gtkimmulticontext.[ch] gtk/gtktreestore.[ch]: Deprecation
        cleanup

21 years agoDeprecation cleanup
Manish Singh [Thu, 10 Oct 2002 22:00:09 +0000 (22:00 +0000)]
Deprecation cleanup

Thu Oct 10 14:58:47 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkaccelgroup.c gtk/gtkarrow.[ch] gtk/gtkeventbox.[ch]
        gtk/gtkiconfactory.c gtk/gtkinvisible.[ch] gtk/gtktextchild.c:
        Deprecation cleanup

21 years agoDeprecation cleanup
Manish Singh [Thu, 10 Oct 2002 21:45:41 +0000 (21:45 +0000)]
Deprecation cleanup

Thu Oct 10 14:41:05 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtktextbtree.c gtk/gtktextbuffer.c gtk/gtktextdisplay.c
        gtk/gtktextlayout.c gtk/gtktextmark.c gtk/gtktexttag.[ch]
        gtk/gtktexttagtable.c gtk/gtktextutil.c gtk/gtktextview.[ch]:
        Deprecation cleanup

21 years agoPrivately export _gtk_scrolled_window_get_scrollbar_spacing().
Owen Taylor [Thu, 10 Oct 2002 18:46:10 +0000 (18:46 +0000)]
Privately export _gtk_scrolled_window_get_scrollbar_spacing().

Thu Oct 10 14:35:31 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkscrolledwindow.[ch]: Privately export
        _gtk_scrolled_window_get_scrollbar_spacing().

        * gtk/gtkcombo.c: Properly account from scrollbar
        spacing when computing the size of the popup window.
        (#84955, Marco Pesenti Gritti)

21 years agoDeprecation cleanup
Manish Singh [Thu, 10 Oct 2002 01:02:25 +0000 (01:02 +0000)]
Deprecation cleanup

Wed Oct  9 17:40:13 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkaccelmap.c gtk/gtkfixed.[ch] gtk/gtkkeyhash.c gtk/gtkmenu.c
        gtk/gtkobject.c gtk/gtkoldeditable.c gtk/gtkrc.c gtk/gtkspinbutton.[ch]
        gtk/gtktable.[ch] gtk/gtkthemes.c: Deprecation cleanup

21 years agoDeprecation cleanup
Manish Singh [Wed, 9 Oct 2002 23:55:27 +0000 (23:55 +0000)]
Deprecation cleanup

Wed Oct  9 16:52:53 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkclipboard.[ch] gtk/gtkeditable.[ch] gtk/gtkgc.c
        gtk/gtkoptionmenu.[ch] gtk/gtkselection.c gtk/gtksizegroup.[ch]:
        Deprecation cleanup

21 years agoDeprecation cleanup
Manish Singh [Wed, 9 Oct 2002 22:25:18 +0000 (22:25 +0000)]
Deprecation cleanup

Wed Oct  9 15:23:48 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkadjustment.[ch] gtk/gtkalignment.[ch] gtk/gtkentry.[ch]
        gtk/gtkhsv.[ch] gtk/gtktooltips.[ch]: Deprecation cleanup

21 years agoDeprecation cleanup
Manish Singh [Wed, 9 Oct 2002 22:11:08 +0000 (22:11 +0000)]
Deprecation cleanup

Wed Oct  9 15:07:08 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkbindings.[ch] gtk/gtkcalendar.[ch] gtk/gtkfilesel.[ch]
        gtk/gtkfontsel.[ch] gtk/gtkitem.[ch] gtk/gtkitemfactory.[ch]:
        Deprecation cleanup

21 years agoAdd GO_FORWARD and GO_BACK with both left and right arrows depending on
Owen Taylor [Wed, 9 Oct 2002 21:38:43 +0000 (21:38 +0000)]
Add GO_FORWARD and GO_BACK with both left and right arrows depending on

Wed Oct  9 17:06:21 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkiconfactory.c (add_size_and_dir_with_fallback):
        Add GO_FORWARD and GO_BACK with both left and right
        arrows depending on the direction. (#92211,
        Kenneth Christiansen)

        * tests/testgtk.c (create_flipping): Add forward/back button
        pairs in default, RTL, LTR configurations.

21 years agoFix bug ID.
Stanislav Brabec [Wed, 9 Oct 2002 15:35:56 +0000 (15:35 +0000)]
Fix bug ID.

21 years agoAdded support for hungarian characters (addition to bug #91258). Only via
Stanislav Brabec [Wed, 9 Oct 2002 14:15:15 +0000 (14:15 +0000)]
Added support for hungarian characters (addition to bug #91258). Only via

2002-10-09  Stanislav Brabec  <sbrabec@suse.cz>

* gtk/gtkimcontextsimple.c: Added support for hungarian characters
(addition to bug #91258). Only via dead keys, because compose key
combinations in X are erratic.

21 years agoDeprecation cleanup
Manish Singh [Wed, 9 Oct 2002 00:38:22 +0000 (00:38 +0000)]
Deprecation cleanup

Tue Oct  8 17:34:26 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkmain.c gtk/gtkscrolledwindow.[ch] gtk/gtksettings.c
        gtk/gtkstatusbar.[ch] gtk/gtkstyle.c gtk/gtktoolbar.[ch]
        gtk/gtkviewport.[ch] gtk/gtkwindow.[ch]: Deprecation cleanup

21 years agoDeprecation cleanup
Manish Singh [Tue, 8 Oct 2002 23:07:02 +0000 (23:07 +0000)]
Deprecation cleanup

Tue Oct  8 15:25:53 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkhpaned.[ch] gtk/gtkpaned.[ch] gtk/gtkprogress.[ch]
        gtk/gtkprogressbar.[ch] gtk/gtkvpaned.[ch]: Deprecation cleanup

21 years agorestore gtkobject.h #include so we don't break backwards compat.
Manish Singh [Tue, 8 Oct 2002 21:51:56 +0000 (21:51 +0000)]
restore gtkobject.h #include so we don't break backwards compat.

Tue Oct  8 14:49:56 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtktreemodel.h: restore gtkobject.h #include so we don't
        break backwards compat.

21 years agoPatch from Takuro Ashie to fix updating of open_ims list. (#95150)
Owen Taylor [Tue, 8 Oct 2002 13:50:34 +0000 (13:50 +0000)]
Patch from Takuro Ashie to fix updating of open_ims list. (#95150)

Tue Oct  8 09:41:43 2002  Owen Taylor  <otaylor@redhat.com>

        * Patch from Takuro Ashie to fix updating of open_ims
        list. (#95150)

21 years agoMove out of HAVE_XKB. (#95129, Phil Blundell)
Owen Taylor [Tue, 8 Oct 2002 13:27:04 +0000 (13:27 +0000)]
Move out of HAVE_XKB. (#95129, Phil Blundell)

Mon Oct  7 19:44:45 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkkeys-x11.c (_gdk_keymap_keys_changed): Move
        out of HAVE_XKB. (#95129, Phil Blundell)

21 years agofix compilation
Eric Warmenhoven [Tue, 8 Oct 2002 02:19:09 +0000 (02:19 +0000)]
fix compilation

Mon Oct  7 19:14:24 2002  Eric Warmenhoven <eric@warmenhoven.org>

* gdk/linux-fb/gdkwindow-fb.c: fix compilation

* gdk/linux-fb/gdkmain-fb.c: better display mode setting

21 years agoFree the private data. (#84903, Matthias Clasen)
Owen Taylor [Mon, 7 Oct 2002 22:52:35 +0000 (22:52 +0000)]
Free the private data. (#84903, Matthias Clasen)

Mon Oct  7 18:50:46 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkcolorsel.c (gtk_color_selection_finalize):
        Free the private data. (#84903, Matthias Clasen)

21 years agoNew file. Move gdk_drag_find_window(), gdk_drag_get_protocol() here.
Owen Taylor [Mon, 7 Oct 2002 22:43:26 +0000 (22:43 +0000)]
New file. Move gdk_drag_find_window(), gdk_drag_get_protocol() here.

Mon Oct  7 15:48:44 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkdnd.c Makefile.am gdk/x11/gdkdnd-x11.c
        gdk/fb/gdkdnd-fb.c gdk/win32/gdkdnd-win32.c: New file.
        Move gdk_drag_find_window(), gdk_drag_get_protocol() here.

21 years agoAllow the slider to be set all the way to the edge, and if that happens,
Owen Taylor [Mon, 7 Oct 2002 22:33:43 +0000 (22:33 +0000)]
Allow the slider to be set all the way to the edge, and if that happens,

Mon Oct  7 18:21:39 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtk[hv]paned.c gtk/gtkpaned.c: Allow the slider
        to be set all the way to the edge, and if that happens,
        use gtk_widget_set_child_visible() to hide the
        appropriate child. (#72784, request from Darin Adler)

21 years agoUse a pixbuf to set the drag icon, combine code to create drag icons
Owen Taylor [Mon, 7 Oct 2002 21:53:59 +0000 (21:53 +0000)]
Use a pixbuf to set the drag icon, combine code to create drag icons

Mon Oct  7 16:28:11 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkcolorsel.c (palette_drag_begin): Use
        a pixbuf to set the drag icon, combine code
        to create drag icons (Fixes #80092, #80093)

        * gtk/gtkcolorsel.c (get_screen_color): Don't warn
        on failure to grab keyboard/mouse. (#80085)

        * gtk/gtkcolorsel.c (palette_press): Return FALSE,
        so DND initiation is possible.

        * gtk/gtkcolorsel.c (palette_release): Set the color
        from the palette on release, not press.

        * tests/testgtk.c (create_color_selection): Use
        gtk_widget_show_all()

21 years agoAdd gdk_drag_find_window_for_screen(), so that we can interpret x_root /
Owen Taylor [Mon, 7 Oct 2002 20:03:15 +0000 (20:03 +0000)]
Add gdk_drag_find_window_for_screen(), so that we can interpret x_root /

Mon Oct  7 15:48:44 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkdnd.[ch] gdk/x11/gdkdnd-x11.c: Add
        gdk_drag_find_window_for_screen(), so that we can
        interpret x_root / y_root relative to the correct screen.

        * gdk/gdkdnd.c Makefile.am gdk/x11/gdkdnd-x11.c
        gdk/fb/gdkdnd-fb.c gdk/win32/gdkdnd-win32.c: New file.
        Move gdk_drag_find_window(), gdk_drag_get_protocol() here.

        * gtk/gtkdnd.c: Handle drags between screens; use
        a fallback icon for icons set as windows/pixmaps,
        move the drag icon between displays for icons set as
        pixbufs.

        * gdk/x11/gdkkeys-x11.c (update_keymaps): Fix infinite
        loop from last change.

21 years ago- Replace GdkPointerHooks with a multihead-safe GdkDisplayPointerHooks,
Owen Taylor [Mon, 7 Oct 2002 19:42:49 +0000 (19:42 +0000)]
- Replace GdkPointerHooks with a multihead-safe GdkDisplayPointerHooks,

Mon Oct  7 15:10:00 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkdisplay.[ch] gdk/gdkinternals.h
        gdk/gdkwindow.[ch] gdk/linux-fb/gdkwindow-fb.c
        gdk/win32/gdkwindow-win32.c gdk/x11/gdkwindow-x11.c:

        - Replace GdkPointerHooks with a multihead-safe
          GdkDisplayPointerHooks, leave GdkPointerHooks
          around for singlehead.
        - Add gdk_display_get_pointer() to get the pointer
          location with the screen it is on.

        * gdk/gdk.def gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch]:
        Change gdk_screen_get_window_at_pointer() to
        gdk_display_get_window_at_pointer().

        * gtk/gtktreeview.c demos/gtk-demo/changedisplay.c
        tests/testgtk.c: Use gdk_display_get_window_at_pointer(),
        not gdk_screen_get_window_at_pointer().

        * gtk/gtkcolorsel.c: Fix grabbing color to be multihead
        safe.

        * gtk/gtkwidget.c: Allow gtk_widget_push_colormap (NULL).
        since it is useful for writing code that doesn't
        know the dcurrent state but needs a clean colormap.

        * gtk/gtkrc.c: When loading the settings for a particular
        screen, only reset toplevels on that screen.

        * gtk/gtkiconfactory.h: Fix #ifdef GTK_MULTIHEAD_SAFE
        that should have been #ifndef GTK_MULTIHEAD_SAFE.

21 years agoDeprecation cleanup
Manish Singh [Mon, 7 Oct 2002 19:10:39 +0000 (19:10 +0000)]
Deprecation cleanup

Mon Oct  7 11:59:33 2002  Manish Singh  <yosh@gimp.org>

        * gtk/gtkliststore.[ch] gtk/gtktreedatalist.[ch] gtk/gtktreednd.c
        gtk/gtktreemodel.[ch] gtk/gtktreemodelsort.[ch]
        gtk/gtktreeselection.[ch] gtk/gtktreesortable.[ch]
        gtk/gtktreestore.[ch]: Deprecation cleanup

21 years agoFix some prototypes that had () instead of (void).
Owen Taylor [Mon, 7 Oct 2002 18:59:42 +0000 (18:59 +0000)]
Fix some prototypes that had () instead of (void).

Mon Oct  7 14:51:21 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkx.h: Fix some prototypes that had
        () instead of (void).