]> Pileus Git - ~andy/gtk/log
~andy/gtk
22 years agoSwitch style of stamp file usage.
Owen Taylor [Sat, 2 Mar 2002 19:11:47 +0000 (19:11 +0000)]
Switch style of stamp file usage.

Sat Mar  2 13:26:58 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/Makefile.am: Switch style of stamp file usage.

        * gtk/Makefile.am gtk/typeutils.[ch]: Switch all the exported
        enumeration/fags TYPE variables over to macros for get_type() functions,
        for lazy definition and to get rid of expensive relocations.

        * gtk/gtkiconfactory.[ch] gtk/gtkselection.[ch] gtk/gtkstyle.[ch]
        gtk/gtktextiter.[ch] gtk/gtktexttag.[ch] gtk/gtktreemodel.[ch]
        gtk/gtktypeutils.[ch] gtk/gtkwidget.[ch]: Switch boxed type
        definitions over manually coded get_type() functions.

        * gtk/gtk.def: Updates for above

        * gtk/{genmarshal.pl,makeenums.awk,makeenums.h,maketypes.awk}:
        Remove from CVS, no longer used.

        * configure.in: Remove checks for awk.

22 years agoupdated German translation.
Sven Neumann [Sat, 2 Mar 2002 13:41:06 +0000 (13:41 +0000)]
updated German translation.

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

* de.po: updated German translation.

22 years agofix typo.
Tim Janik [Sat, 2 Mar 2002 03:55:00 +0000 (03:55 +0000)]
fix typo.

Sat Mar  2 04:44:10 2002  Tim Janik  <timj@gtk.org>

        * gtk/gtkaccelgroup.c (gtk_accel_group_connect_by_path): fix typo.

22 years agoset first_cell to FALSE after first iteration
Kristian Rietveld [Fri, 1 Mar 2002 23:08:31 +0000 (23:08 +0000)]
set first_cell to FALSE after first iteration

Fri Mar  1 23:59:35 2002  Kristian Rietveld  <kris@gtk.org>

        * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_size): set
        first_cell to FALSE after first iteration

        * gtk/gtktreeview.c (validate_visible_area): reduce usage of
        GTK_RBNODE_GET_HEIGHT, check for node != NULL,
        (gtk_tree_view_top_row_to_dy): remove call to gtk_adjustment_changed
        (gtk_tree_view_search_iter): select iter after scrolling

22 years agoRemove unneeded Win32 stuff inside #ifdef G_OS_WIN32. (Leftover from when
Tor Lillqvist [Fri, 1 Mar 2002 22:41:57 +0000 (22:41 +0000)]
Remove unneeded Win32 stuff inside #ifdef G_OS_WIN32. (Leftover from when

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

* gtk/gtkitemfactory.c: Remove unneeded Win32 stuff inside #ifdef
G_OS_WIN32. (Leftover from when gtkitemfactory.c handled files.)

22 years agogdk/gdkkeys.c (gdk_keyval_convert_case) If the keyval to be converted is
Tor Lillqvist [Fri, 1 Mar 2002 22:09:27 +0000 (22:09 +0000)]
gdk/gdkkeys.c (gdk_keyval_convert_case) If the keyval to be converted is

2002-03-01  Tor Lillqvist  <tml@iki.fi>

* gdk/gdkkeys.c (gdk_keyval_convert_case)
* gdk/x11/gdkkeys-x11.c (gdk_keyval_convert_case): If the keyval
to be converted is one of those that consist of a Unicode
character plus our special flag bit, use the
g_unichar_to{lower,upper} functions (Bug#73112).

* gdk/gdkkeys.c (gdk_keyval_convert_case): Drop the #ifdefs for
the GDK keysym symbols. As we include gdkkeysyms.h, we know they
are there. And if GDK keysyms some day are added/removed, this
function needs changes, too, anyway.

22 years agoFix some reported (but not significant) UMR's from purify. (#73160, Morten
Owen Taylor [Fri, 1 Mar 2002 22:01:51 +0000 (22:01 +0000)]
Fix some reported (but not significant) UMR's from purify. (#73160, Morten

Fri Mar  1 17:00:28 2002  Owen Taylor  <otaylor@redhat.com>

* gdk/gdkpolyreg-generic.c: Fix some reported (but not significant)
UMR's from purify. (#73160, Morten Welinder)

22 years agoInitialize the scrollbar spacing variable in the class to -1, and then
Owen Taylor [Fri, 1 Mar 2002 21:53:22 +0000 (21:53 +0000)]
Initialize the scrollbar spacing variable in the class to -1, and then

Fri Mar  1 16:48:19 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkscrolledwindow.c: Initialize the scrollbar spacing
variable in the class to -1, and then take that to mean
"default" (3) rather than putting 3 in the class directly.
This gives us some wiggle room to make it a per-instance
rather than a per-class property later.

22 years agoreplace uses of test -e with more portable test -f
jacob berkman [Fri, 1 Mar 2002 20:03:06 +0000 (20:03 +0000)]
replace uses of test -e with more portable test -f

2002-03-01  jacob berkman  <jacob@ximian.com>

* Makefile.am (install-data-hook):
(dist-hook): replace uses of test -e with more portable test -f

22 years agoDon't delete forward across line boundaries when in overwrite mode.
Owen Taylor [Fri, 1 Mar 2002 19:50:43 +0000 (19:50 +0000)]
Don't delete forward across line boundaries when in overwrite mode.

Fri Mar  1 14:49:35 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtktextview.c (gtk_text_view_commit_text): Don't delete
forward across line boundaries when in overwrite mode.
(#73145, reported by Ettore Perazzoli)

22 years agoFix signed-unsigned error that was accidentally causing negative values to
Owen Taylor [Fri, 1 Mar 2002 15:41:59 +0000 (15:41 +0000)]
Fix signed-unsigned error that was accidentally causing negative values to

Fri Mar  1 10:31:14 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtknotebook.c (gtk_notebook_reorder_child):
Fix signed-unsigned error that was accidentally causing
negative values to append, do it intentionally. Fix docs
to say that negative values append. (Alexey A. Malyshev,
#73108)

22 years agoAdd note about gtk_notebook_reorder_child().
Owen Taylor [Fri, 1 Mar 2002 15:40:12 +0000 (15:40 +0000)]
Add note about gtk_notebook_reorder_child().

Fri Mar  1 10:35:15 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/changes-2.0.sgml: Add note about gtk_notebook_reorder_child().

22 years agogtk+/gtk/gtkitemfactory.c fixed a little type in docs for
Alexey Malyshev [Fri, 1 Mar 2002 14:46:38 +0000 (14:46 +0000)]
gtk+/gtk/gtkitemfactory.c fixed a little type in docs for

2002-03-01 Alexey Malyshev <maa@sparc.spb.su>

        * gtk+/gtk/gtkitemfactory.c
fixed a little type in docs for gtk_notebook_set_show_border()

22 years agoReally make it work for paths with underline accelerators. (#69247)
Owen Taylor [Fri, 1 Mar 2002 14:12:56 +0000 (14:12 +0000)]
Really make it work for paths with underline accelerators. (#69247)

Fri Mar  1 09:05:19 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkitemfactory.c (gtk_item_factory_delete_entries):
        Really make it work for paths with underline accelerators. (#69247)

22 years agoUpdated Slovak translation.
Stanislav Visnovsky [Fri, 1 Mar 2002 12:07:24 +0000 (12:07 +0000)]
Updated Slovak translation.

2002-03-01  Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>

* sk.po: Updated Slovak translation.

22 years agoUpdated Ukrainian translation
Yuri Syrota [Fri, 1 Mar 2002 07:44:30 +0000 (07:44 +0000)]
Updated Ukrainian translation

22 years agofree the tab array for custom tabs, reported by Paolo Maggi #72980
Havoc Pennington [Fri, 1 Mar 2002 04:39:00 +0000 (04:39 +0000)]
free the tab array for custom tabs, reported by Paolo Maggi #72980

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

* gtk/gtktextview.c (gtk_text_view_finalize): free the tab array
for custom tabs, reported by Paolo Maggi #72980

22 years agoinclude gdkkeysysms.h if compiling gdk_keyval_convert_case.
Owen Taylor [Fri, 1 Mar 2002 01:05:11 +0000 (01:05 +0000)]
include gdkkeysysms.h if compiling gdk_keyval_convert_case.

Thu Feb 28 19:55:01 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkkeys.c: include gdkkeysysms.h if
        compiling gdk_keyval_convert_case.

        * gtk/gtkmenubar.c (gtk_menu_bar_cycle_focus): Implement
        <Control>Tab <Control><Shift>Tab to cycle between
        all menu bars in a toplevel once one is up.

        * tests/testgtk.c: Add a second menubar, this
        example is already full of crack anyways.

        * gtk/gtkmenushell.c (gtk_menu_shell_key_press): Padd
        unhandled events up to the parent menu shell.

        * gtk/gtkmenuitem.c (gtk_menu_item_select_timeout): Only
        pop up the menu if the parent menu shell is still active.

        * gtk/gtkcontainer.[ch] (_gtk_container_focus_sort): Add a
        old_focus argument, export privately.

22 years agoAdd missing NULL check.
Darin Adler [Thu, 28 Feb 2002 23:46:18 +0000 (23:46 +0000)]
Add missing NULL check.

* gtk/gtkfilesel.c: (open_new_dir): Add missing NULL check.

22 years agoRemove the event_mask, it is now in GdkWindowObject.
Tor Lillqvist [Thu, 28 Feb 2002 23:38:55 +0000 (23:38 +0000)]
Remove the event_mask, it is now in GdkWindowObject.

2002-03-01  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkwindow-win32.h (struct _GdkWindowImplWin32): Remove
the event_mask, it is now in GdkWindowObject.

* gdk/win32/gdkwindow-win32.c: Change accordingly. Set the
GDK_STRUCTURE_MASK in gdk_window_set_events(), as it is always set
in gdk_window_new(), too. (Bug#72921)

* gdk/win32/gdkevents-win32.c: Change accordingly here, too.
(vk_from_char): New function, calculates the virtual keycode
corresponding to the char in a WM_CHAR message.
(build_keypress_event, build_keyrelease_event): Use it.
(build_keypress_event): Call ImmReleaseContext() after using the
input context. This might plug a memory or resource leak.
(build_key_event_state): Remove #if 0 code.
(gdk_event_translate): Actually, it would be preferrable to always
handle just the WM_KEYDOWN and WM_KEYUP messages, not WM_CHAR at
all, and thus drop the contorted logic with ignore_wm_char etc.

* gdk/win32/gdkkeys-win32.c: (gdk_keymap_get_entries_for_keyval):
Debugging output.
(gdk_keymap_translate_keyboard_state): Return correct value. (But
_gtk_key_hash_lookup() doesn't check the return value...)

22 years agoUpdated Slovenian translation
Andraz Tori [Thu, 28 Feb 2002 23:35:45 +0000 (23:35 +0000)]
Updated Slovenian translation

22 years agoUpdated Finnish translation.
Pauli Virtanen [Thu, 28 Feb 2002 23:31:46 +0000 (23:31 +0000)]
Updated Finnish translation.

2002-03-01  Pauli Virtanen  <pauli.virtanen@hut.fi>

* fi.po: Updated Finnish translation.

22 years agoInitialize private->event_mask from attributes we retrieved for the
Owen Taylor [Thu, 28 Feb 2002 21:09:04 +0000 (21:09 +0000)]
Initialize private->event_mask from attributes we retrieved for the

Thu Feb 28 14:49:08 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkwindow-x11.c (gdk_window_foreign_new): Initialize
        private->event_mask from attributes we retrieved for
        the window.

22 years agoThis change went in a week ago, but I apparently didn't commit the
Havoc Pennington [Thu, 28 Feb 2002 19:51:13 +0000 (19:51 +0000)]
This change went in a week ago, but I apparently didn't commit the
ChangeLog entry.

2002-02-22  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.

22 years agoUpdated Danish translation.
Ole Laursen [Thu, 28 Feb 2002 19:09:09 +0000 (19:09 +0000)]
Updated Danish translation.

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

* da.po: Updated Danish translation.

22 years agoMove the call to correct_total() to the right spot. (#72732)
Matthias Clasen [Thu, 28 Feb 2002 18:47:38 +0000 (18:47 +0000)]
Move the call to correct_total() to the right spot. (#72732)

* pixops/pixops.c (tile_make_weights): Move the call to
correct_total() to the right spot. (#72732)

22 years agoUpdated Estonian translation.
Tõivo Leedjärv [Thu, 28 Feb 2002 17:34:47 +0000 (17:34 +0000)]
Updated Estonian translation.

2002-02-28  Tõivo Leedjärv  <leedjarv@interest.ee>

        * et.po: Updated Estonian translation.

22 years agoUpdated French translation.
Christophe Merlet [Thu, 28 Feb 2002 15:40:25 +0000 (15:40 +0000)]
Updated French translation.

22 years agoUpdated Polish translation by GNOME PL Team <translators@gnome.pl>
Chyla Zbigniew [Thu, 28 Feb 2002 15:31:55 +0000 (15:31 +0000)]
Updated Polish translation by GNOME PL Team <translators@gnome.pl>

22 years agobeautified configure --help output.
Sven Neumann [Thu, 28 Feb 2002 10:15:55 +0000 (10:15 +0000)]
beautified configure --help output.

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

* configure.in: beautified configure --help output.

22 years agoUpdated French translation.
Christophe Merlet [Thu, 28 Feb 2002 08:52:57 +0000 (08:52 +0000)]
Updated French translation.

22 years agoMove bdfcursor.c from libgdk_win32_la_SOURCES to EXTRA_DIST.
Tor Lillqvist [Thu, 28 Feb 2002 00:49:36 +0000 (00:49 +0000)]
Move bdfcursor.c from libgdk_win32_la_SOURCES to EXTRA_DIST.

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

* gdk/win32/Makefile.am: Move bdfcursor.c from
libgdk_win32_la_SOURCES to EXTRA_DIST.

* gdk/win32/gdkgc-win32.c (gdk_win32_colormap_color_pack): In the
bitmap case, use just the LSB of the pixel value. Does this match
X11 semantics? Or should it be pixel!=0?

22 years agoed Feb 27 19:16:50 2002 Owen Taylor <otaylor@redhat.com>
Owen Taylor [Thu, 28 Feb 2002 00:26:51 +0000 (00:26 +0000)]
ed Feb 27 19:16:50 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/x11/gdkwindow-x11.c (gdk_window_new):
        * gdk/x11/gdkwindow-x11.c (gdk_window_get_events):
        * gdk/x11/gdkwindow-x11.c (gdk_window_set_events):
        * gdk/win32/gdkwindow-win32.c (gdk_window_set_events):
        * gdk/win32/gdkwindow-win32.c (gdk_window_new):
        * gdk/gdkwindow.h (struct _GdkWindowObject):
        * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_events):
        Save the window's event mask in window->event_mask.

        * gdk/gdkwindow.c (gdk_window_process_updates_internal): Only
        generate expose events if GDK_EXPOSE_MASK is included
        window->event_mask. (#54506)

22 years agoUpdated Swedish translation.
Christian Rose [Thu, 28 Feb 2002 00:22:28 +0000 (00:22 +0000)]
Updated Swedish translation.

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

* sv.po: Updated Swedish translation.

22 years agoAllow focus-change events to be sent to unrealized widgets; they aren't
Owen Taylor [Wed, 27 Feb 2002 23:53:29 +0000 (23:53 +0000)]
Allow focus-change events to be sent to unrealized widgets; they aren't

Wed Feb 27 18:50:29 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkwidget.c (gtk_widget_event): Allow focus-change
        events to be sent to unrealized widgets; they aren't
        really normal events in that they have anything to
        do with widget->window. (#72914)

22 years agoUpdated Slovenian translation
Andraz Tori [Wed, 27 Feb 2002 23:45:22 +0000 (23:45 +0000)]
Updated Slovenian translation

22 years agoUse {} not () to group around string assigned to char[]. (#72767, Tomas
Owen Taylor [Wed, 27 Feb 2002 23:45:05 +0000 (23:45 +0000)]
Use {} not () to group around string assigned to char[]. (#72767, Tomas

Wed Feb 27 18:33:04 2002  Owen Taylor  <otaylor@redhat.com>

* gdk-pixdata.c (gdk_pixdata_to_csource): Use {} not
() to group around string assigned to char[]. (#72767,
Tomas Ögren)

22 years agoSplit big VARIABLES variable that was causing overlong lines into 6
Owen Taylor [Wed, 27 Feb 2002 23:44:13 +0000 (23:44 +0000)]
Split big VARIABLES variable that was causing overlong lines into 6

Wed Feb 27 18:39:25 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/stock-icons/Makefile.am: Split big VARIABLES variable
        that was causing overlong lines into 6 variables with 20
        in each one.

22 years agoUpdated German translation.
Christian Meyer [Wed, 27 Feb 2002 23:43:57 +0000 (23:43 +0000)]
Updated German translation.

22 years agoMark <Control>, <Shift>, <Release>, <Alt> for translation.
Owen Taylor [Wed, 27 Feb 2002 23:16:48 +0000 (23:16 +0000)]
Mark <Control>, <Shift>, <Release>, <Alt> for translation.

Wed Feb 27 18:01:03 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkaccellabel.c (gtk_accelerator_name) po/POTFILES.in: Mark
        <Control>, <Shift>, <Release>, <Alt> for translation.

        * gtk/gtkfontsel.c: Mark PREVIEW_TEXT for translation.
        (Vlad Harchev, #53223)

22 years agoif CAN_FOCUS reserve focus_line_width + focus_line_pad extra space and
Owen Taylor [Wed, 27 Feb 2002 22:41:33 +0000 (22:41 +0000)]
if CAN_FOCUS reserve focus_line_width + focus_line_pad extra space and

Wed Feb 27 17:32:09 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkrange.c (gtk_range_get_props): if CAN_FOCUS
        reserve focus_line_width + focus_line_pad extra
        space and draw the focus in that space. #72027.

22 years agominor code cleanup
Soeren Sandmann [Wed, 27 Feb 2002 22:09:03 +0000 (22:09 +0000)]
minor code cleanup

Wed Feb 27 23:02:55 2002  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkhandlebox.c (gtk_handle_box_realize): minor code cleanup

22 years agoDon't reserve space for border when the shadow type for the menubar is
Owen Taylor [Wed, 27 Feb 2002 21:57:27 +0000 (21:57 +0000)]
Don't reserve space for border when the shadow type for the menubar is

Wed Feb 27 14:58:12 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkmenubar.c (gtk_menu_bar_size_request/allocate):
        Don't reserve space for border when the shadow type
        for the menubar is "none". (#61843)

        * gtk/gtkmenubar.c (gtk_menu_bar_size_allocate): Fix
        offset for right-justified menu items.

22 years agoGo back to old style of drawing children over the bevel. (#58615)
Owen Taylor [Wed, 27 Feb 2002 19:48:30 +0000 (19:48 +0000)]
Go back to old style of drawing children over the bevel. (#58615)

Wed Feb 27 14:45:21 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Go
        back to old style of drawing children over the bevel.
        (#58615)

22 years agoAdd ko and zh to the locales where this is the default.
Owen Taylor [Wed, 27 Feb 2002 19:09:35 +0000 (19:09 +0000)]
Add ko and zh to the locales where this is the default.

Wed Feb 27 14:08:26 2002  Owen Taylor  <otaylor@redhat.com>

        * modules/input/imxim.c: Add ko and zh to the locales
        where this is the default.

22 years agoRegister all stock icons "unscaled" so that we don't have icons only
Owen Taylor [Wed, 27 Feb 2002 17:35:58 +0000 (17:35 +0000)]
Register all stock icons "unscaled" so that we don't have icons only

Wed Feb 27 12:34:21 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkiconfactory.c: Register all stock icons
"unscaled" so that we don't have icons only available
at some sizes. (#68896)

Wed Feb 27 11:59:05 2002  Owen Taylor  <otaylor@redhat.com>

Some ASCII vs. locale fixes from Darin Adler (#55837)

* gtk/gtkcombo.c (gtk_combo_find): Implement real
case-insensitive comparison using g_utf8_casefold().

* gtk/gtkaccellabel.c (gtk_accel_label_refetch): Fix
assignment of gunichar to char by replacing g_unichar_totitle
with g_ascii_toupper ... the contents would only be ascii
here anyways.

* gdk/x11/gdkim-x11.c (_gdk_x11_initialize_locale)
* gtk/gtkfontsel.c (gtk_font_selection_show_available_fonts):
Replace a calls to g_strcasecmp() with g_ascii_strcasecmp().

22 years agonew file
Hans Breuer [Wed, 27 Feb 2002 16:37:04 +0000 (16:37 +0000)]
new file

2002-02-27  Hans Breuer  <hans@breuer.org>

* demos/gtk-demo/makefile.msc.in : new file

* gdk-pixbuf/gtk-pixbuf.rc.in : new file to include
  version resource
* gdk-pixbuf/makefile.msc : create and use gdk-pixbuf.res

* gdk/win32/gdkkeys-win32.c : handle undefined LANG_URDU,
(gdk_keyval_name) : fix endless looping

* gtk/gtkfilesel.c : translate_win32_path() static
* gtk/queryimmodules : print_escaped(), query_module() static

* gtk/makefile.msc.in : added gtkkeyhash, build gtk-win32.res

* gtk/stock-icons/makefile.msc : regenerated from directory
listing (almost all filenames changed)

22 years agoAfter computing the clamped value, actually set it. (#62639, Sergey
Owen Taylor [Wed, 27 Feb 2002 15:43:43 +0000 (15:43 +0000)]
After computing the clamped value, actually set it. (#62639, Sergey

Wed Feb 27 10:34:46 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkrange.c (gtk_range_set_range): After computing
the clamped value, actually set it. (#62639, Sergey Kuzminov)

22 years agoClean up the code so < 0 == end wasn't just a side effect, remove most of
Owen Taylor [Wed, 27 Feb 2002 03:35:05 +0000 (03:35 +0000)]
Clean up the code so < 0 == end wasn't just a side effect, remove most of

Tue Feb 26 22:22:37 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkbox.c (gtk_box_reorder_child): Clean up
the code so < 0 == end wasn't just a side effect,
remove most of the manual linked list manipulation
code in favor of g_list_* functions.

Tue Feb 26 22:01:59 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/tmpl/gtkbox.sgml: Fix docs to correspond to the code -
negative @position indicates the end of the list.

22 years agoRemove these files from CVS so we more-or-less current versions from
Owen Taylor [Wed, 27 Feb 2002 02:54:40 +0000 (02:54 +0000)]
Remove these files from CVS so we more-or-less current versions from

Tue Feb 26 21:44:01 2002  Owen Taylor  <otaylor@redhat.com>

        * config.status config.guess: Remove these files
        from CVS so we more-or-less current versions from
        automake --add-missing. (Reported by Finlay Dobbie,
        #60342)

        * gdk/gdkkeyuni.c: Shouldn't map KP_Enter to '\n',
        or KP_Tab to \t' since we don't map the corresponding
        main keyboard characters in that way. (#61561,
        Padraig O'Briain)

22 years agoShouldn't map KP_Enter to '\n', or KP_Tab to \t' since we don't map the
Owen Taylor [Wed, 27 Feb 2002 02:43:09 +0000 (02:43 +0000)]
Shouldn't map KP_Enter to '\n', or KP_Tab to \t' since we don't map the

Tue Feb 26 21:35:31 2002  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkkeyuni.c: Shouldn't map KP_Enter to '\n',
        or KP_Tab to \t' since we don't map the corresponding
        main keyboard characters in that way. (#61561,
        Padraig O'Briain)

22 years agoCall gtk_combo_set_popdown_strings() in case the combo is up currently.
Owen Taylor [Wed, 27 Feb 2002 00:47:11 +0000 (00:47 +0000)]
Call gtk_combo_set_popdown_strings() in case the combo is up currently.

Tue Feb 26 19:45:29 2002  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkcombo.c (gtk_combo_set_popdown_strings):
Call gtk_combo_set_popdown_strings() in case
the combo is up currently. (#63535, Skip Montaro)

22 years agoSwitch control-home/end and home/end with the idea that scrolled windows
Owen Taylor [Wed, 27 Feb 2002 00:41:10 +0000 (00:41 +0000)]
Switch control-home/end and home/end with the idea that scrolled windows

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

        * gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init):
        Switch control-home/end and home/end with
        the idea that scrolled windows more typically contain
        vertical sets of controls and to correspond to the bindings
        in GtkTreeView.

22 years agoChain up before drawing the scale values so that the number is drawn in
Owen Taylor [Wed, 27 Feb 2002 00:37:35 +0000 (00:37 +0000)]
Chain up before drawing the scale values so that the number is drawn in

Tue Feb 26 19:32:42 2002  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtk[hv]vscale.c (gtk_[hv]scale_expose): Chain
        up before drawing the scale values so that the number
        is drawn in the right place instead of one step
        back. (#61743, patch from Satyajit Kanungo)

22 years agoFixed Swedish translation.
Christian Rose [Wed, 27 Feb 2002 00:29:31 +0000 (00:29 +0000)]
Fixed Swedish translation.

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

* sv.po: Fixed Swedish translation.

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.