]> Pileus Git - ~andy/gtk/log
~andy/gtk
21 years agoReformulate doc comments to work around gtk-doc limitations.
Matthias Clasen [Fri, 8 Nov 2002 23:21:35 +0000 (23:21 +0000)]
Reformulate doc comments to work around gtk-doc limitations.

* gdk/x11/gdkfont-x11.c (gdk_text_extents_wc):
(gdk_text_extents):
* gdk/gdkfont.c (gdk_string_extents): Reformulate doc comments to
work around gtk-doc limitations.

21 years agoAdd in a awful hack to force gdkenumtypes.h to be updated before building
Owen Taylor [Fri, 8 Nov 2002 23:14:53 +0000 (23:14 +0000)]
Add in a awful hack to force gdkenumtypes.h to be updated before building

Fri Nov  8 18:04:16 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/{linux-fb,win32,11}/Makefile.am: Add in a awful
        hack to force gdkenumtypes.h to be updated before
        building the subdir. (#86587)

21 years agoAccess window->screen through a function so we can provide an informative
Owen Taylor [Fri, 8 Nov 2002 23:03:36 +0000 (23:03 +0000)]
Access window->screen through a function so we can provide an informative

Fri Nov  8 17:49:54 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwindow.c (gtk_window_check_screen): Access
        window->screen through a function so we can provide
        an informative warning window window->screen is NULL.
        (#85703)

21 years agoRTL flipping for check menu items.
Matthias Clasen [Fri, 8 Nov 2002 22:38:13 +0000 (22:38 +0000)]
RTL flipping for check menu items.

* gtk/gtkcheckmenuitem.c
(gtk_real_check_menu_item_draw_indicator): RTL flipping for check
menu items.

21 years agoPut into #ifdef DO_BLINK to avoid an unused static function. (#97965)
Matthias Clasen [Fri, 8 Nov 2002 22:34:38 +0000 (22:34 +0000)]
Put into #ifdef DO_BLINK to avoid an unused static function. (#97965)

* tests/testtext.c (blink_timeout): Put into #ifdef DO_BLINK to
avoid an unused static function.  (#97965)

* gtk/gtktextiter.c (backward_line_leaving_caches_unmodified):
* gtk/gtkstyle.c (radio_aa_bits):
(draw_spin_entry_shadow): #if-0-out unused static functions and
variables.  (#97965)

* gtk/gtktextview.c (text_window_get_allocation):
* gtk/gtkcolorsel.c (gtk_color_selection_get_palette_size):
(gtk_color_selection_get_palette_color):
(gtk_color_selection_unset_palette_color): Remove unused static
functions.  (#97965)

* gtk/gtkcolorsel.c
(gtk_color_selection_set_change_palette_with_screen_hook): Fix doc
comment.

21 years agoUse g_get_application_name() instead of g_get_prgname() as the default
Owen Taylor [Fri, 8 Nov 2002 22:29:33 +0000 (22:29 +0000)]
Use g_get_application_name() instead of g_get_prgname() as the default

Fri Nov  8 17:08:54 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkwindow-x11.c (gdk_window_new): Use
        g_get_application_name() instead of g_get_prgname()
        as the default window title when set.

        * gdk/x11/gdkwindow-x11.c gdk/x11/gdkdisplay-x11.[ch]:x
        Set g_get_application_name() as the title for the
        leader window the first time we create a window
        pointing to it.

        * tests/testgtk.c (main): Call g_set_application_name();

        * configure.in (GDK_PIXBUF_VERSION): Require GLib-2.1.3

21 years agoImprove drawing of RTL submenu indicators.
Matthias Clasen [Fri, 8 Nov 2002 21:55:43 +0000 (21:55 +0000)]
Improve drawing of RTL submenu indicators.

* gtk/gtkstyle.c (gtk_default_draw_arrow): Improve drawing of RTL
submenu indicators.

21 years agoFix drawing of RTL optionmenus by flipping the indicator_spacing.
Matthias Clasen [Fri, 8 Nov 2002 21:53:31 +0000 (21:53 +0000)]
Fix drawing of RTL optionmenus by flipping the indicator_spacing.

* gtk/gtkoptionmenu.c (gtk_option_menu_paint): Fix drawing of RTL
optionmenus by flipping the indicator_spacing.

21 years agoadd testmenus.c, a program to test menus when items are dynamically added
Soeren Sandmann [Fri, 8 Nov 2002 20:16:43 +0000 (20:16 +0000)]
add testmenus.c, a program to test menus when items are dynamically added

Fri Nov  8 21:15:25 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* tests/Makefile.am: add testmenus.c, a program to test menus when
items are dynamically added and removed.

21 years agodocs/reference/gdk/tmpl/dnd.sgml docs/reference/gdk/tmpl/drawing.sgml
Soeren Sandmann [Fri, 8 Nov 2002 19:41:50 +0000 (19:41 +0000)]
docs/reference/gdk/tmpl/dnd.sgml docs/reference/gdk/tmpl/drawing.sgml

Fri Nov  8 20:14:52 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* docs/reference/gdk/tmpl/dnd.sgml
docs/reference/gdk/tmpl/drawing.sgml
docs/reference/gdk/tmpl/gdk-unused.sgml
docs/reference/gdk/tmpl/gdkdisplay.sgml
docs/reference/gdk/tmpl/general.sgml
docs/reference/gdk/tmpl/input_devices.sgml
docs/reference/gdk/tmpl/selections.sgml
docs/reference/gtk/tmpl/gtkcellrenderer.sgml
docs/reference/gtk/tmpl/gtkcurve.sgml
docs/reference/gtk/tmpl/gtkdnd.sgml
docs/reference/gtk/tmpl/gtkitemfactory.sgml
docs/reference/gtk/tmpl/gtkmenu.sgml
docs/reference/gtk/tmpl/gtkoldeditable.sgml
docs/reference/gtk/tmpl/gtkoptionmenu.sgml
docs/reference/gtk/tmpl/gtkpreview.sgml
docs/reference/gtk/tmpl/gtkselection.sgml
docs/reference/gtk/tmpl/gtksocket.sgml
docs/reference/gtk/tmpl/gtkstyle.sgml
docs/reference/gtk/tmpl/gtktextbuffer.sgml
docs/reference/gtk/tmpl/gtktreemodel.sgml
docs/reference/gtk/tmpl/gtkwidget.sgml gdk/gdk.h gdk/gdkdisplay.c
gdk/gdkdisplay.h gdk/gdkdnd.h gdk/gdkdraw.c gdk/gdkdrawable.h
gdk/gdkinput.h gdk/gdkselection.h gdk/x11/gdkdisplay-x11.c
gdk/x11/gdkdnd-x11.c gdk/x11/gdkselection-x11.c gtk/gtkcurve.h
gtk/gtkdnd.h gtk/gtkitemfactory.c gtk/gtkitemfactory.h
gtk/gtkmenu.h gtk/gtkoldeditable.c gtk/gtkoldeditable.h
gtk/gtkoptionmenu.h gtk/gtkplug.c gtk/gtkplug.h gtk/gtkpreview.h
gtk/gtkrange.h gtk/gtkselection.c gtk/gtkselection.h
gtk/gtksocket.c gtk/gtksocket.h gtk/gtkstyle.c gtk/gtkstyle.h
gtk/gtktextlayout.c gtk/gtktextlayout.h gtk/gtktreemodel.c
gtk/gtktreemodel.h gtk/gtkwidget.h

Trivial s/foo/foo_/ fixes to make gtk.h includable with -Wshadow
without warnings. (#91680)

21 years agofix compilation
Eric Warmenhoven [Fri, 8 Nov 2002 00:19:24 +0000 (00:19 +0000)]
fix compilation

Thu Nov  7 16:13:41 2002  Eric Warmenhoven <eric@warmenhoven.org>

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

* gdk/linux-fb/gdkmain-fb.c: prevent segfaults on shutdown

21 years agoNote that get_pango_context() is not "until death does us part", but
Owen Taylor [Fri, 8 Nov 2002 00:00:58 +0000 (00:00 +0000)]
Note that get_pango_context() is not "until death does us part", but

Thu Nov  7 18:50:38 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwidget.c (gtk_widget_get_pango_context): Note
        that get_pango_context() is not "until death does us
        part", but "until the screen changes".

        * gtk/gtkwidget.c (gtk_widget_create_pango_context): Add
        a MULTIHEAD warning.

        * gtk/gtkwidget.c (do_screen_change): Clear pango context
        for widget if set.

21 years agoEscape invalid filename before printing it out, since it isn't a valid
Owen Taylor [Thu, 7 Nov 2002 23:20:32 +0000 (23:20 +0000)]
Escape invalid filename before printing it out, since it isn't a valid

Thu Nov  7 18:09:42 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfilesel.c (open_new_dir): Escape invalid
        filename before printing it out, since it isn't
        a valid UTF-8 string. (#94676)

21 years agoDon't try to use render if we can't get a picture for the drawable. (Fixes
Owen Taylor [Thu, 7 Nov 2002 22:27:22 +0000 (22:27 +0000)]
Don't try to use render if we can't get a picture for the drawable. (Fixes

Thu Nov  7 17:18:06 2002  Owen Taylor  <otaylor@redhat.com>

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

        * gtk/gtkimage.c: Force requisition calculation
        when we get a expose prior to size_request().
        (#91711, reported by Sven Neumann, debugging
        help from Matthias Clasen, Soeren Sandmann)

21 years agoFix misplaced display_grab()/display_ungrab(); they shouldn't have been
Owen Taylor [Thu, 7 Nov 2002 21:49:13 +0000 (21:49 +0000)]
Fix misplaced display_grab()/display_ungrab(); they shouldn't have been

Thu Nov  7 16:45:54 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkx.h: Fix misplaced display_grab()/display_ungrab();
        they shouldn't have been deprecated.

21 years agoUse g_return_val_if_fail in this non-void function. (gdk_init_check):
Matthias Clasen [Thu, 7 Nov 2002 21:05:52 +0000 (21:05 +0000)]
Use g_return_val_if_fail in this non-void function. (gdk_init_check):

* gdk/gdk.c (gdk_display_open_default_libgtk_only): Use
g_return_val_if_fail in this non-void function.
(gdk_init_check): Remove unused variable.

21 years agoIf called when fontsel->face is NULL, just return "Sans 10". (#82745,
Owen Taylor [Thu, 7 Nov 2002 20:46:03 +0000 (20:46 +0000)]
If called when fontsel->face is NULL, just return "Sans 10". (#82745,

Thu Nov  7 15:42:12 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfontsel.c (gtk_font_selection_get_font_description):
        If called when fontsel->face is NULL, just return
        "Sans 10". (#82745, Vitaly Tishkov)

21 years agoUse '_' not '-' in signal name to be consistent with what we do elsewhere
Owen Taylor [Thu, 7 Nov 2002 20:32:27 +0000 (20:32 +0000)]
Use '_' not '-' in signal name to be consistent with what we do elsewhere

Thu Nov  7 15:29:43 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkimcontextsimple.c (check_hex): Use '_'
        not '-' in signal name to be consistent with
        what we do elsewhere (#97151, TOKUNAGA Hiroyuki)

21 years agoGenerate GdkDisplayManager signal and properties docs.
Matthias Clasen [Thu, 7 Nov 2002 20:24:09 +0000 (20:24 +0000)]
Generate GdkDisplayManager signal and properties docs.

21 years agoGenerate GdkDisplayManager documentation.
Matthias Clasen [Thu, 7 Nov 2002 20:20:29 +0000 (20:20 +0000)]
Generate GdkDisplayManager documentation.

21 years agoUse g_date_strftime(), fixing #74745. (Alper Ersoy)
Owen Taylor [Thu, 7 Nov 2002 20:11:47 +0000 (20:11 +0000)]
Use g_date_strftime(), fixing #74745. (Alper Ersoy)

Thu Nov  7 14:51:31 2002  Owen Taylor  <otaylor@redhat.com>

        * tests/testcalendar.c (calendar_date_to_string):
        Use g_date_strftime(), fixing #74745. (Alper Ersoy)

21 years agoDon't suppress GdkPixbufLoader signal documentation.
Matthias Clasen [Thu, 7 Nov 2002 20:01:53 +0000 (20:01 +0000)]
Don't suppress GdkPixbufLoader signal documentation.

21 years agoCheck for NULL children, #97913.
Anders Carlsson [Thu, 7 Nov 2002 19:53:49 +0000 (19:53 +0000)]
Check for NULL children, #97913.

2002-11-07  Anders Carlsson  <andersca@gnu.org>

* gtk/gtkhpaned.c: (gtk_hpaned_size_allocate):
* gtk/gtkvpaned.c: (gtk_vpaned_size_allocate):
Check for NULL children, #97913.

21 years agoAdd a snap_edge_set property to deal with the fact that we have an unset
Owen Taylor [Thu, 7 Nov 2002 19:35:37 +0000 (19:35 +0000)]
Add a snap_edge_set property to deal with the fact that we have an unset

Thu Nov  7 14:24:45 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkhandlebox.c: Add a snap_edge_set property to
        deal with the fact that we have an unset state for
        the snap_edge property. (Reported by Matthias Clasen
        #97505)

21 years agoAdd ::screen-changed signal.
Owen Taylor [Thu, 7 Nov 2002 17:59:04 +0000 (17:59 +0000)]
Add ::screen-changed signal.

Thu Nov  7 12:53:08 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwidget.[ch] gtk/gtkwindow.c gtk/gtkinvisible.c:
        Add ::screen-changed signal.

        * gtk/gtkfontsel.c gtk/gtktoolbar.c: Use ::screen-changed
        signal to simplify logic.

21 years agoAdd resize grips test.
Anders Carlsson [Thu, 7 Nov 2002 10:06:07 +0000 (10:06 +0000)]
Add resize grips test.

2002-11-07  Anders Carlsson  <andersca@gnu.org>

* tests/testgtk.c (create_resize_grips): Add resize grips test.

21 years agoFix trailing semicolon on macro, clean up a bit.
Owen Taylor [Wed, 6 Nov 2002 20:26:27 +0000 (20:26 +0000)]
Fix trailing semicolon on macro, clean up a bit.

Wed Nov  6 15:19:53 2002  Owen Taylor  <otaylor@redhat.com>

        * io-gif.c (CHECK_LZW_SP): Fix trailing semicolon on macro,
        clean up a bit.

21 years agoForgotten ChangeLog
Matthias Clasen [Tue, 5 Nov 2002 23:57:26 +0000 (23:57 +0000)]
Forgotten ChangeLog

21 years agoReindent
Matthias Clasen [Tue, 5 Nov 2002 22:58:28 +0000 (22:58 +0000)]
Reindent

21 years agoFix leaked pixbuf reference (#96823, Morten Welinder)
Owen Taylor [Tue, 5 Nov 2002 19:18:56 +0000 (19:18 +0000)]
Fix leaked pixbuf reference (#96823, Morten Welinder)

Tue Nov  5 14:16:17 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk-pixbuf-loader.c (gdk_pixbuf_loader_close): Fix
        leaked pixbuf reference (#96823, Morten Welinder)

21 years agoBah, and of course I broke something ...
Kristian Rietveld [Sun, 3 Nov 2002 20:12:00 +0000 (20:12 +0000)]
Bah, and of course I broke something ...

Sun Nov  3 21:26:20 2002  Kristian Rietveld  <kris@gtk.org>

        Bah, and of course I broke something ...

        * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): fix
        up the mess I caused with my commit of Oct 23 fixing #50263, things
        should be fine now.

21 years agomore docs.
Jonathan Blandford [Sun, 3 Nov 2002 18:25:05 +0000 (18:25 +0000)]
more docs.

Sun Nov  3 13:23:51 2002  Jonathan Blandford  <jrb@gnome.org>

* gtk/tmpl/gtkcellrenderer.sgml: more docs.

21 years agoRemove check for winsock.h since it might show up on Linux+Wine. Instead
Owen Taylor [Sun, 3 Nov 2002 18:17:53 +0000 (18:17 +0000)]
Remove check for winsock.h since it might show up on Linux+Wine. Instead

Sun Nov  3 13:03:29 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfilesel.c configure.in: Remove check for
        winsock.h since it might show up on Linux+Wine.
        Instead just conditionalize of G_OS_WIN32.
        (#97396, Gaute Lindkvist)

21 years agobe.po: Updated Belarusian translation from Belarusian team <i18n@infonet.by>.
Dmitry Mastrukov [Sun, 3 Nov 2002 04:41:05 +0000 (04:41 +0000)]
be.po: Updated Belarusian translation from Belarusian team <i18n@infonet.by>.

21 years agotook out the useless check for refs->list (#97353, reported by Morten
Kristian Rietveld [Sun, 3 Nov 2002 00:26:35 +0000 (00:26 +0000)]
took out the useless check for refs->list (#97353, reported by Morten

Sun Nov  3 01:39:20 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreemodel.c (release_row_references): took out the useless
        check for refs->list (#97353, reported by Morten Welinder).

        * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size):
        check if width isn't zero instead of calc_width ...

21 years agoremove the second ref command on the child_model, we only have to ref it
Kristian Rietveld [Sat, 2 Nov 2002 22:34:58 +0000 (22:34 +0000)]
remove the second ref command on the child_model, we only have to ref it

Sat Nov  2 23:48:52 2002  Kristian Rietveld  <kris@gtk.org>

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

21 years agoAutomatic RTL flipping for handleboxes.
Matthias Clasen [Sat, 2 Nov 2002 19:49:02 +0000 (19:49 +0000)]
Automatic RTL flipping for handleboxes.

21 years ago=== Released 2.1.2 ===
Owen Taylor [Sat, 2 Nov 2002 18:55:18 +0000 (18:55 +0000)]
=== Released 2.1.2 ===

Sat Nov  2 13:47:09 2002  Owen Taylor  <otaylor@redhat.com>

        * === Released 2.1.2 ===

        * NEWS: Update.

21 years agoRemove rules for generation of version.xml, which was causing make to
Owen Taylor [Sat, 2 Nov 2002 18:18:50 +0000 (18:18 +0000)]
Remove rules for generation of version.xml, which was causing make to

Sat Nov  2 12:46:16 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk-pixbuf/Makefile.am: Remove rules for generation
        of version.xml, which was causing make to always
        rebuild the HTML file, and didn't seem to be used.

        * gtk/tmpl/gtkliststore.sgml: SGML fixes.

21 years agoclean up the wording.
Jonathan Blandford [Sat, 2 Nov 2002 13:43:01 +0000 (13:43 +0000)]
clean up the wording.

Sat Nov  2 08:41:47 2002  Jonathan Blandford  <jrb@gnome.org>

* gtk/tmpl/gtktreestore.sgml: clean up the wording.

* gtk/tmpl/gtkliststore.sgml: Add an example and clean up the
wording.

21 years agoAdd startup notification hooks - mostly based on patch by Havoc Pennington
Owen Taylor [Sat, 2 Nov 2002 05:37:04 +0000 (05:37 +0000)]
Add startup notification hooks - mostly based on patch by Havoc Pennington

Sat Nov  2 00:22:33 2002  Owen Taylor  <otaylor@redhat.com>

        Add startup notification hooks - mostly based on patch
        by Havoc Pennington in #96772.

        * gdk/gdk.h gdk/x11/gdkdisplay-x11.c
        gdk/{win32,linux-fb}/gdkmain-*.c: (gdk_notify_startup_complete):
        new function that indicates an application has finished starting
        up.

        * gdk/x11/gdkmain-x11.c gdk/x11/gdkdisplay-x11.c
        (_gdk_windowing_set_default_display): store value of
        DESKTOP_STARTUP_ID on the default screen, and clear it from the
        environment.

        * gdk/x11/gdkdisplay-x11.c:
        Set _NET_STARTUP_ID hint on display's group leader window.

        * gtk/gtkwindow.c (gtk_window_set_auto_startup_notification):
        function to toggle whether we automatically broadcast that we've
        started up, after mapping the first toplevel window.
        (gtk_window_map): call gdk_screen_notify_startup_complete() by
        default, unless enabled by above.

        * gtk/gtkmain.c gtk/gtkcombo.c gtk/gtktoolbar.c:
        Couple of warning fixes.

21 years agoAdd a mnemonic to the "selection" label. (More of #74267)
Owen Taylor [Sat, 2 Nov 2002 03:54:18 +0000 (03:54 +0000)]
Add a mnemonic to the "selection" label. (More of #74267)

Fri Nov  1 21:03:59 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkfilesel.c: Add a mnemonic to the "selection"
        label. (More of #74267)

        * configure.in: Version 2.1.2

        * NEWS: Updates.

21 years agoAutomatic RTL flipping for some more widgets.
Matthias Clasen [Sat, 2 Nov 2002 00:18:14 +0000 (00:18 +0000)]
Automatic RTL flipping for some more widgets.

21 years agoMore doc comments moved inline.
Matthias Clasen [Fri, 1 Nov 2002 00:45:32 +0000 (00:45 +0000)]
More doc comments moved inline.

21 years agoThe label is "Folders" now, not "Directories". (#97224, Vitaly Tishkov)
Matthias Clasen [Fri, 1 Nov 2002 00:02:05 +0000 (00:02 +0000)]
The label is "Folders" now, not "Directories". (#97224, Vitaly Tishkov)

* gtk/tmpl/gtkfilesel.sgml: The label is "Folders" now, not
"Directories".  (#97224, Vitaly Tishkov)
* gtk/tmpl/gtkrc.sgml: Fix a link. Add (minimal) docs for setting
style properties from rc files. More needed !!

21 years agoFix from Nam SungHyun for crashes when tooltips->active_tips_data is NULL.
Owen Taylor [Thu, 31 Oct 2002 22:43:00 +0000 (22:43 +0000)]
Fix from Nam SungHyun for crashes when tooltips->active_tips_data is NULL.

Thu Oct 31 17:41:12 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktooltips.c (gtk_tooltips_update_screen): Fix
        from Nam SungHyun for crashes when tooltips->active_tips_data
        is NULL.

21 years agoAdd a --screen option for setting the default screen. (Based on a patch
Owen Taylor [Thu, 31 Oct 2002 21:12:23 +0000 (21:12 +0000)]
Add a --screen option for setting the default screen. (Based on a patch

Thu Oct 31 12:40:39 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdk.[ch] gdk/gdkglobals.c gdk/gdkinternals.h
        gdk/{x11,win32,linux-fb}/gdkscreen-{x11,win32,linux-fb}.c:
        Add a --screen option for setting the default screen.
        (Based on a patch from Balamurali Viswanathan, #81145)

        * gdk/gdk.c gdkdisplay.h gtk/gtkmain.c: Add
        gdk_display_open_default_libgtk_only(), so gtk_init_check()
        and gdk_init_check() can share the same behavior w.r.t.
        --screen.

        * gdk/gdk.[ch]: Make gdk_get_display_arg_name() G_CONST_RETURN.

        * gdk/x11/gdkselection-x11.c (gdk_selection_property_get):
        Suppress a spurious warning.

        * tests/testgtkrc: Remove someleft-over commented out
        includes that could be confusing.

21 years agoDocument --screen.
Owen Taylor [Thu, 31 Oct 2002 21:10:47 +0000 (21:10 +0000)]
Document --screen.

Wed Oct 30 16:50:42 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/running.sgml: Document --screen.

21 years agoMove g_free() call to before return.
Padraig O'Briain [Thu, 31 Oct 2002 17:04:00 +0000 (17:04 +0000)]
Move g_free() call to before return.

* gtk/gtktoolbar.c (gtk_toolbar_insert_stock): Move g_free()
call to before return.

21 years agoAdjust for current gtk-engines.
Matthias Clasen [Tue, 29 Oct 2002 22:27:28 +0000 (22:27 +0000)]
Adjust for current gtk-engines.

* tests/testgtkrc: Adjust for current gtk-engines.

21 years agodoc comment fixes.
Matthias Clasen [Tue, 29 Oct 2002 21:27:17 +0000 (21:27 +0000)]
doc comment fixes.

21 years agosmall doc fixes.
Matthias Clasen [Tue, 29 Oct 2002 19:55:44 +0000 (19:55 +0000)]
small doc fixes.

21 years agoChange NAVIGATION_REGION_OVERSHOOT back to 50, and create stay-up regions
Soeren Sandmann [Tue, 29 Oct 2002 19:44:59 +0000 (19:44 +0000)]
Change NAVIGATION_REGION_OVERSHOOT back to 50, and create stay-up regions

Tue Oct 29 20:39:16 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkmenu.c: Change NAVIGATION_REGION_OVERSHOOT back to 50,
and create stay-up regions by flipping a fourth quadrant triangle
as appropriate.

21 years agoDon't call GetWindowLong for GWL_EXSTYLE, the extended window style wasn't
Tor Lillqvist [Mon, 28 Oct 2002 20:48:40 +0000 (20:48 +0000)]
Don't call GetWindowLong for GWL_EXSTYLE, the extended window style wasn't

2002-10-28  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkwindow-win32.c (gdk_window_set_decorations,
gdk_window_set_functions): Don't call GetWindowLong for
GWL_EXSTYLE, the extended window style wasn't used or
changed. After setting the window style with SetWindowLong, call
SetWindowPos with the SWP_FRAMECHANGED flag for the window to
actually be updated, as Platform SDK docs say one should. (#95812,
huzheng)

21 years agoAdded Belorusian (be) to ALL_LINGUAS
Dmitry Mastrukov [Mon, 28 Oct 2002 00:31:23 +0000 (00:31 +0000)]
Added Belorusian (be) to ALL_LINGUAS

21 years agoAdded Belorusian translation from Ales Nyakhaychyk <i18n@infonet.by>
Dmitry Mastrukov [Mon, 28 Oct 2002 00:27:52 +0000 (00:27 +0000)]
Added Belorusian translation from Ales Nyakhaychyk <i18n@infonet.by>

21 years agoThis fixes a scrolling bug. Shouldn't cause problems, but you never know
Kristian Rietveld [Sun, 27 Oct 2002 14:53:54 +0000 (14:53 +0000)]
This fixes a scrolling bug. Shouldn't cause problems, but you never know

Sun Oct 27 15:58:30 2002  Kristian Rietveld  <kris@gtk.org>

        This fixes a scrolling bug. Shouldn't cause problems, but you
        never know ... (#81627, testcase by Timo Sirainen).

        * gtk/gtktreeview.c (validate_visible_area): add a temporary
        implemention for non use_align, always update dy and ->top_row
        if we scroll here,
        (gtk_tree_view_clamp_node_visible): reimplement using
        _scroll_to_cell (#73895).

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.