]> Pileus Git - ~andy/gtk/log
~andy/gtk
19 years agoShrink panes and separators images to MEDIUM.
Matthias Clasen [Sat, 9 Oct 2004 05:52:44 +0000 (05:52 +0000)]
Shrink panes and separators images to MEDIUM.

2004-10-09  Matthias Clasen  <mclasen@redhat.com>

* docs/tools/widgets.c: Shrink panes and separators images to MEDIUM.

19 years agoAdd docs.
Matthias Clasen [Sat, 9 Oct 2004 05:39:22 +0000 (05:39 +0000)]
Add docs.

2004-10-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcellview.c: Add docs.

19 years ago (HTML_IMAGES): Remove a duplicate entry.
Matthias Clasen [Sat, 9 Oct 2004 05:17:05 +0000 (05:17 +0000)]
(HTML_IMAGES): Remove a duplicate entry.

19 years agoFix doc comment.
Matthias Clasen [Sat, 9 Oct 2004 04:52:32 +0000 (04:52 +0000)]
Fix doc comment.

2004-10-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_get_menu): Fix
doc comment.

19 years agoRemove some no longer private headers.
Matthias Clasen [Sat, 9 Oct 2004 04:37:47 +0000 (04:37 +0000)]
Remove some no longer private headers.

2004-10-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/Makefile.am (IGNORE_HFILES): Remove some no longer
private headers.

19 years agoReinstate the accidentally lost addition of
Matthias Clasen [Sat, 9 Oct 2004 04:26:11 +0000 (04:26 +0000)]
Reinstate the accidentally lost addition of

2004-10-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkactiongroup.h:
* gtk/gtkactiongroup.c: Reinstate the accidentally lost addition
of gtk_action_group_translate_string().

19 years agoDeclare gtk_accelerator_get_label.
Matthias Clasen [Sat, 9 Oct 2004 04:05:07 +0000 (04:05 +0000)]
Declare gtk_accelerator_get_label.

2004-10-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkaccelgroup.h: Declare gtk_accelerator_get_label.

19 years agoGDK documentation fixes.
Matthias Clasen [Sat, 9 Oct 2004 03:31:50 +0000 (03:31 +0000)]
GDK documentation fixes.

19 years agoforgotten commit
Matthias Clasen [Fri, 8 Oct 2004 19:01:30 +0000 (19:01 +0000)]
forgotten commit

19 years agoDon't start a drag if we loose the grab.
Matthias Clasen [Fri, 8 Oct 2004 19:00:57 +0000 (19:00 +0000)]
Don't start a drag if we loose the grab.

2004-10-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_grab_notify): Don't start a
drag if we loose the grab.

19 years agoSet the cell renderer to inert mode to avoid bug #154921. This fixes a
Matthias Clasen [Fri, 8 Oct 2004 17:09:18 +0000 (17:09 +0000)]
Set the cell renderer to inert mode to avoid bug #154921. This fixes a

* gtk/gtkfilechooserdefault.c (renderer_edited_cb): Set the cell
renderer to inert mode to avoid bug #154921.  This fixes a crash
which would otherwise occur if the editing is stopped for the second
time.  (#154767, Manuel Baena García)

19 years agoAdd a new debug flag, geometry, to debug size allocation.
Matthias Clasen [Fri, 8 Oct 2004 15:26:02 +0000 (15:26 +0000)]
Add a new debug flag, geometry, to debug size allocation.

2004-10-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkdebug.h:
* gtk/gtkwidget.c (gtk_widget_size_allocate): Add a new debug
flag, geometry, to debug size allocation.

19 years agoSet cell data unconditionally. (#152562, Federico Mena Quintero)
Matthias Clasen [Fri, 8 Oct 2004 14:42:39 +0000 (14:42 +0000)]
Set cell data unconditionally. (#152562, Federico Mena Quintero)

2004-10-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_button_press): Set cell data
unconditionally.  (#152562, Federico Mena Quintero)

19 years agoAlso update smart separators if the visibility of a menuitem with a
Matthias Clasen [Fri, 8 Oct 2004 05:00:34 +0000 (05:00 +0000)]
Also update smart separators if the visibility of a menuitem with a

2004-10-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkuimanager.c (update_node): Also update smart separators
if the visibility of a  menuitem with a submenu changes.  (#153791,
Christian Persch)

19 years agoShare the three copies of get_borders() under the name
Matthias Clasen [Fri, 8 Oct 2004 04:24:45 +0000 (04:24 +0000)]
Share the three copies of get_borders() under the name

2004-10-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkentry.h:
* gtk/gtkentry.c:
* gtk/gtkentrycompletion.c:
* gtk/gtkspinbutton.c: Share the three copies of get_borders()
under the name _gtk_entry_get_borders().  (#116368, Owen Taylor)

19 years agoInclude gtkeventbox.h. (#154798, Morten Welinder)
Matthias Clasen [Fri, 8 Oct 2004 03:04:25 +0000 (03:04 +0000)]
Include gtkeventbox.h. (#154798, Morten Welinder)

* gtk/gtkfilechooserdefault.c: Include gtkeventbox.h.
(#154798, Morten Welinder)

19 years agoUpdating pt_BR translation
Raphael Higino [Thu, 7 Oct 2004 13:34:36 +0000 (13:34 +0000)]
Updating pt_BR translation

19 years agoDon't free info too early. (#154703, Morten Welinder)
Matthias Clasen [Thu, 7 Oct 2004 05:03:19 +0000 (05:03 +0000)]
Don't free info too early. (#154703, Morten Welinder)

2004-10-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserdefault.c (check_is_folder): Don't free
info too early.  (#154703, Morten Welinder)

19 years agoReduce rounding error. (#154658, John Cupitt)
Matthias Clasen [Thu, 7 Oct 2004 03:44:58 +0000 (03:44 +0000)]
Reduce rounding error. (#154658, John Cupitt)

2004-10-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkpaned.c (gtk_paned_compute_position): Reduce rounding
error.  (#154658, John Cupitt)

19 years agoClear the iter instead of returning it unmodified. (#154186, Jonathan
Matthias Clasen [Wed, 6 Oct 2004 18:51:03 +0000 (18:51 +0000)]
Clear the iter instead of returning it unmodified. (#154186, Jonathan

2004-10-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeselection.c (gtk_tree_selection_get_selected): Clear
the iter instead of returning it unmodified. (#154186, Jonathan Blandford)

19 years agoPop up the completions again after tab. (#147700, Jens Bech Madsen)
Matthias Clasen [Wed, 6 Oct 2004 18:20:03 +0000 (18:20 +0000)]
Pop up the completions again after tab. (#147700, Jens Bech Madsen)

2004-10-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_focus): Pop up
the completions again after tab.  (#147700, Jens Bech Madsen)

19 years agoSet the cursor before changing the selection to make the file chooser
Matthias Clasen [Wed, 6 Oct 2004 17:06:35 +0000 (17:06 +0000)]
Set the cursor before changing the selection to make the file chooser

2004-10-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_search_iter): Set the cursor
before changing the selection to make the file chooser preview
update work better.  (#143826, Tommi Komulainen)

19 years agoReplace a really gross way of rounding to a specified number of digits.
Matthias Clasen [Wed, 6 Oct 2004 05:11:36 +0000 (05:11 +0000)]
Replace a really gross way of rounding to a specified number of digits.

2004-10-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkrange.c (gtk_range_real_change_value): Replace a really
gross way of rounding to a specified number of digits.  (#145232,
Peter Zelezny, patch by Soeren Sandmann)

19 years agoClarify documentation for selection modes. (#154188, Jonathan Blandford,
Matthias Clasen [Wed, 6 Oct 2004 04:28:42 +0000 (04:28 +0000)]
Clarify documentation for selection modes. (#154188, Jonathan Blandford,

2004-10-06  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkenums.sgml: Clarify documentation for selection
modes.  (#154188, Jonathan Blandford, new wording proposed by
Owen Taylor)

19 years agocheck the iteration window variable, not just the window passed in. fixes
4 [Tue, 5 Oct 2004 23:05:13 +0000 (23:05 +0000)]
check the iteration window variable, not just the window passed in. fixes

Wed Oct  6 00:45:04 2004    <timj@birnet.org>

        * gdk/gdkwindow.c (gdk_window_is_viewable): check the iteration window
        variable, not just the window passed in. fixes #145270.

19 years agoreverted my last change and applied owen's leaner conditional flag update
Tim Janik [Tue, 5 Oct 2004 19:02:49 +0000 (19:02 +0000)]
reverted my last change and applied owen's leaner conditional flag update

Tue Oct  5 21:00:54 2004  Tim Janik  <timj@gtk.org>

        * gtk/gtkwidget.c (gtk_widget_size_allocate): reverted my last change
        and applied owen's leaner conditional flag update which should be good
        enough to preserve resizing flag invariants.

19 years agoUpdate
Matthias Clasen [Tue, 5 Oct 2004 18:42:58 +0000 (18:42 +0000)]
Update

19 years agofixup conflict indicators
Tim Janik [Tue, 5 Oct 2004 17:31:10 +0000 (17:31 +0000)]
fixup conflict indicators

19 years agoremoved redundant gtk_entry_get_layout() decl.
Tim Janik [Tue, 5 Oct 2004 17:30:03 +0000 (17:30 +0000)]
removed redundant gtk_entry_get_layout() decl.

Tue Oct  5 19:29:06 2004  Tim Janik  <timj@gtk.org>

        * gtk/gtkentry.h: removed redundant gtk_entry_get_layout() decl.

19 years agoGo back to not scaling up at all. Less magic.
Matthias Clasen [Tue, 5 Oct 2004 17:06:00 +0000 (17:06 +0000)]
Go back to not scaling up at all. Less magic.

2004-10-05  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkicontheme.c (icon_info_ensure_scale_and_pixbuf): Go back to
not scaling up at all. Less magic.

19 years agoif REQUEST_NEEDED is still set on ::size-allocate, another size-request
Tim Janik [Tue, 5 Oct 2004 15:10:50 +0000 (15:10 +0000)]
if REQUEST_NEEDED is still set on ::size-allocate, another size-request

Tue Oct  5 17:06:26 2004  Tim Janik  <timj@gtk.org>

        * gtk/gtkwidget.c (gtk_widget_size_allocate): if REQUEST_NEEDED is still
        set on ::size-allocate, another size-request has been queued since
        ::size-request and needs to be requeued.

19 years agorename the activate-menu signal to show-menu as discussed in bug #153873.
Paolo Borelli [Tue, 5 Oct 2004 14:19:54 +0000 (14:19 +0000)]
rename the activate-menu signal to show-menu as discussed in bug #153873.

2004-10-05  Paolo Borelli  <pborelli@katamail.com>

* gtk/gtkmenutoolbutton.c: rename the activate-menu signal to
show-menu as discussed in bug #153873.

19 years agoSet action_name. (#154526, John Finlay)
Matthias Clasen [Tue, 5 Oct 2004 14:12:24 +0000 (14:12 +0000)]
Set action_name. (#154526, John Finlay)

2004-10-05  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Set
action_name.  (#154526, John Finlay)

19 years agoReturn a new reference to an existing GdkWindow if one already exists.
Matthias Clasen [Tue, 5 Oct 2004 05:40:42 +0000 (05:40 +0000)]
Return a new reference to an existing GdkWindow if one already exists.

2004-10-05  Matthias Clasen  <mclasen@redhat.com>

* gdk/x11/gdkwindow-x11.c (gdk_window_foreign_new_for_display):
Return a new reference to an existing GdkWindow if one already
exists.  (#151378, Gustavo Carneiro)

19 years agoAdd gtk_accelerator_get_label().
Matthias Clasen [Tue, 5 Oct 2004 05:18:16 +0000 (05:18 +0000)]
Add gtk_accelerator_get_label().

2004-10-05  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk-sections.txt: Add gtk_accelerator_get_label().

19 years agoProvide access to the string representation of accelerators used in
Matthias Clasen [Tue, 5 Oct 2004 05:17:22 +0000 (05:17 +0000)]
Provide access to the string representation of accelerators used in

2004-10-05  Matthias Clasen  <mclasen@redhat.com>

Provide access to the string representation of accelerators used
in GtkAccelLabel.  (#154068, John Spray)

* gtk/gtkaccelgroup.h:
* gtk/gtkaccelgroup.c (gtk_accelerator_get_label): New function
to return the accelerator label used in GtkAccelLabel.
(gtk_accelerator_name): Update docs to point to
gtk_accelerator_get_label().
* gtk/gtkaccellabel.h:
* gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label):
New auxiliary function which creates the string representing the
accelerator.

19 years agoFix bug reporter name
Matthias Clasen [Tue, 5 Oct 2004 04:38:38 +0000 (04:38 +0000)]
Fix bug reporter name

19 years agoResize the popup if a new model is set. (#154129, Bernd Damian)
Matthias Clasen [Tue, 5 Oct 2004 04:37:29 +0000 (04:37 +0000)]
Resize the popup if a new model is set. (#154129, Bernd Damian)

2004-10-05  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.c (gtk_combo_box_set_model): Resize the
popup if a new model is set.  (#154129, Bernd Damian)

19 years agoMake the code work as intended for unthemed icons; don't scale them up too
Matthias Clasen [Tue, 5 Oct 2004 03:18:22 +0000 (03:18 +0000)]
Make the code work as intended for unthemed icons; don't scale them up too

2004-10-04  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkicontheme.c (icon_info_ensure_scale_and_pixbuf):
Make the code work as intended for unthemed icons; don't scale
them up too much. Allow to scale them down, and do so
exactly.  (#154142, Ross Burton)
(gtk_icon_info_load_icon): Amend docs.

19 years agoImprove docs. (#154504, Dave Cook)
Matthias Clasen [Tue, 5 Oct 2004 02:52:26 +0000 (02:52 +0000)]
Improve docs. (#154504, Dave Cook)

2004-10-04  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcelllayout.c (gtk_cell_layout_clear): Improve
docs.  (#154504, Dave Cook)

19 years agoOnly set using_themed_icon if we actually got an icon list from the theme.
Matthias Clasen [Mon, 4 Oct 2004 15:16:57 +0000 (15:16 +0000)]
Only set using_themed_icon if we actually got an icon list from the theme.

2004-10-04  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwindow.c (gtk_window_realize_icon): Only set
using_themed_icon if we actually got an icon list from the
theme.  (#154472, Morten Welinder)

19 years agoRef the new icons before unreffing the old ones. (#154468, Morten
Matthias Clasen [Mon, 4 Oct 2004 14:52:45 +0000 (14:52 +0000)]
Ref the new icons before unreffing the old ones. (#154468, Morten

2004-10-04  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwindow.c (gtk_window_set_icon_list):
(gtk_window_set_default_icon_list): Ref the new
icons before unreffing the old ones.  (#154468, Morten Welinder)

19 years agoRef the new icons before unreffing the old ones. (#154468, Morten
Matthias Clasen [Mon, 4 Oct 2004 14:47:03 +0000 (14:47 +0000)]
Ref the new icons before unreffing the old ones. (#154468, Morten

2004-10-04  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwindow.c (gtk_window_set_icon_list): Ref the new icons
before unreffing the old ones.  (#154468, Morten Welinder)

19 years agoReset pointers pointing to the old model. (#154350)
Matthias Clasen [Mon, 4 Oct 2004 03:33:59 +0000 (03:33 +0000)]
Reset pointers pointing to the old model. (#154350)

2004-10-03  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkiconview.c (gtk_icon_view_set_model): Reset pointers
pointing to the old model.  (#154350)

19 years agoDon't leak the sizes array. (#154310, Christian Persch)
Matthias Clasen [Mon, 4 Oct 2004 03:09:49 +0000 (03:09 +0000)]
Don't leak the sizes array. (#154310, Christian Persch)

2004-10-03  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwindow.c (icon_list_from_theme): Don't leak the
sizes array.  (#154310, Christian Persch)

19 years agoUpdated British English translation.
David Lodge [Sun, 3 Oct 2004 21:55:03 +0000 (21:55 +0000)]
Updated British English translation.

2004-10-03  David Lodge <dave@cirt.net>

        * en_GB.po: Updated British English translation.

19 years agoSet sort_indicator to FALSE when appropriate. (#153714, Reinout van
Matthias Clasen [Sun, 3 Oct 2004 06:12:09 +0000 (06:12 +0000)]
Set sort_indicator to FALSE when appropriate. (#153714, Reinout van

2004-10-03  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeviewcolumn.c
(gtk_tree_view_column_setup_sort_column_id_callback):
Set sort_indicator to FALSE when appropriate.  (#153714,
Reinout van Schouwen)

19 years agoFix positioning near the monitor boundaries. (#154341, Ken Harris)
Matthias Clasen [Sun, 3 Oct 2004 05:19:52 +0000 (05:19 +0000)]
Fix positioning near the monitor boundaries. (#154341, Ken Harris)

2004-10-03  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_search_position_func):
Fix positioning near the monitor boundaries.  (#154341,
Ken Harris)

19 years agoUpdated Czech translation.
Miloslav Trmac [Sun, 3 Oct 2004 00:48:26 +0000 (00:48 +0000)]
Updated Czech translation.

2004-10-03  Miloslav Trmac  <mitr@volny.cz>

* cs.po: Updated Czech translation.

19 years agodeactivate the menu before setiing it to something else. Bug #153887.
Paolo Borelli [Sat, 2 Oct 2004 10:10:11 +0000 (10:10 +0000)]
deactivate the menu before setiing it to something else. Bug #153887.

2004-10-01  Paolo Borelli  <pborelli@katamail.com>

* gtk/gtkmenutoolbutton.c: deactivate the menu before setiing it
to something else. Bug #153887.

19 years agoUpdated Canadian English translation.
Adam Weinberger [Sat, 2 Oct 2004 00:19:38 +0000 (00:19 +0000)]
Updated Canadian English translation.

* en_CA.po: Updated Canadian English translation.

19 years agoFix bug #150790:
Matthias Clasen [Fri, 1 Oct 2004 21:39:01 +0000 (21:39 +0000)]
Fix bug #150790:

2004-10-01  Matthias Clasen  <mclasen@redhat.com>

Fix bug #150790:

* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): Fix the
calculation of x_offset when ellipsized and in RTL mode.
(gtk_cell_renderer_text_render): Fix the calculation of the layout
width when ellipsized.

19 years agoSet _gdk_input_ignore_wintab to FALSE, thus enabling tablet input by
Tor Lillqvist [Fri, 1 Oct 2004 19:53:55 +0000 (19:53 +0000)]
Set _gdk_input_ignore_wintab to FALSE, thus enabling tablet input by

2004-10-01  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkglobals-win32.c: Set _gdk_input_ignore_wintab to
FALSE, thus enabling tablet input by default.

* gdk/win32/gdkmain-win32.c (_gdk_windowing_args): Accept the
--use-wintab option again (but without effect, as this is now the
default, see above). (#153788)

* modules/input/gtkimcontextime.c: Numerous changes.

Remove the ifdef UNICODE conditionals. Always use the
wide-character Imm* API. It is present also in Windows 98 and
Me. (Not Windows 95, but I think we don't care about that.) Using
the multibyte API wouldn't work anyway on systems where the system
codepage doesn't support the language the user uses an IME for, so
for instance I wouldn't be able to test this module on my English
Windows 2000 although I do have C, J and K IMEs available.

Guard against IMM not being active, always check ImmGetContext()
returning NULL. Work to some extent even without any IME. Fixes
#153800 at least partially.

* modules/input/imime.c (ime_info): Rename to "ime" to match the
naming pattern of other input modules. Make it default for
ja:ko:zh only.

19 years agoAdd a comment regarding cell renderers to the docs.
Matthias Clasen [Fri, 1 Oct 2004 19:00:47 +0000 (19:00 +0000)]
Add a comment regarding cell renderers to the docs.

2004-10-01  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.c (gtk_combo_box_set_model): Add a comment regarding
cell renderers to the docs.

19 years agoSilently ignore info being NULL. This is unavoidable with the current
Matthias Clasen [Fri, 1 Oct 2004 18:56:14 +0000 (18:56 +0000)]
Silently ignore info being NULL. This is unavoidable with the current

2004-10-01  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes):
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_clear_attributes):
Silently ignore info being NULL. This is unavoidable with the
current design where we have every implementation of layout_clear
call layout_clear_attributes, and also delegate calls to dependent
cell layouts.  (#154191, Martyn Russell)

19 years agoFix the spelling of Inuktitut in several places. (#154176, John Austin)
Matthias Clasen [Fri, 1 Oct 2004 13:40:14 +0000 (13:40 +0000)]
Fix the spelling of Inuktitut in several places. (#154176, John Austin)

2004-10-01  Matthias Clasen  <mclasen@redhat.com>

* modules/input/iminuktitut.c: Fix the spelling of Inuktitut
in several places.  (#154176, John Austin)

19 years agoexit on close.
Paolo Borelli [Thu, 30 Sep 2004 14:46:21 +0000 (14:46 +0000)]
exit on close.

2004-09-30  Paolo Borelli  <pborelli@katamail.com>

* tests/testellipsize.c: exit on close.

19 years agoAdd Q_ to the keywords recognized by xgettext. (#154062, Damon Chaplin)
Matthias Clasen [Wed, 29 Sep 2004 22:48:28 +0000 (22:48 +0000)]
Add Q_ to the keywords recognized by xgettext. (#154062, Damon Chaplin)

2004-09-29  Matthias Clasen  <mclasen@redhat.com>

* Makefile.in.in: Add Q_ to the keywords recognized by
xgettext.  (#154062, Damon Chaplin)

19 years agoMake --g-fatal-warnings a G_OPTION_ARG_NONE, since it doesn't take an
Matthias Clasen [Wed, 29 Sep 2004 22:29:21 +0000 (22:29 +0000)]
Make --g-fatal-warnings a G_OPTION_ARG_NONE, since it doesn't take an

2004-09-29  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmain.c: Make --g-fatal-warnings a G_OPTION_ARG_NONE,
since it doesn't take an argument.

19 years agoRemove trailing semicolon on G_END_DECLS
Christopher Blizzard [Wed, 29 Sep 2004 15:08:39 +0000 (15:08 +0000)]
Remove trailing semicolon on G_END_DECLS

2004-09-29  Christopher Blizzard  <blizzard@redhat.com>

       * gtk/gtkmenutoolbutton.h: Remove trailing semicolon on
       G_END_DECLS

19 years agoadd a GtkMenuToolButton.
Paolo Borelli [Wed, 29 Sep 2004 06:48:00 +0000 (06:48 +0000)]
add a GtkMenuToolButton.

2004-09-29  Paolo Borelli  <pborelli@katamail.com>

* tests/testtoolbar.c: add a GtkMenuToolButton.

19 years agoUpdated traditional Chinese translation by GNOME HK Team
Kwok-Koon Cheung [Wed, 29 Sep 2004 05:54:51 +0000 (05:54 +0000)]
Updated traditional Chinese translation by GNOME HK Team

* zh_TW.po: Updated traditional Chinese translation by GNOME HK Team

19 years agoHandle an empty icon view gracefully. (#152486)
Matthias Clasen [Wed, 29 Sep 2004 05:29:31 +0000 (05:29 +0000)]
Handle an empty icon view gracefully. (#152486)

2004-09-29  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkiconview.c (gtk_icon_view_move_cursor_left_right)
(gtk_icon_view_move_cursor_start_end)
(gtk_icon_view_move_cursor_page_up_down)
(gtk_icon_view_move_cursor_up_down): Handle an empty icon
view gracefully.  (#152486)

19 years agoAdd bug reference.
Matthias Clasen [Wed, 29 Sep 2004 05:07:28 +0000 (05:07 +0000)]
Add bug reference.

19 years agoSkip selectable labels when looking for the initial focus widget.
Matthias Clasen [Wed, 29 Sep 2004 05:04:31 +0000 (05:04 +0000)]
Skip selectable labels when looking for the initial focus widget.

2004-09-29  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkdialog.c (gtk_dialog_map): Skip selectable labels when
looking for the initial focus widget.

* gtk/gtklabel.c (gtk_label_focus): Remove to put selectable labels
in the regular focus chain again.

19 years agoDon't reuse insensitive pixbufs across multiple rows. (#153984, Milosz
Matthias Clasen [Tue, 28 Sep 2004 19:10:39 +0000 (19:10 +0000)]
Don't reuse insensitive pixbufs across multiple rows. (#153984, Milosz

2004-09-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render): Don't
reuse insensitive pixbufs across multiple rows.  (#153984, Milosz
Derezynski)

19 years agoUse gtk_get_option_group() to obtain an option group with correctly set
Matthias Clasen [Tue, 28 Sep 2004 04:22:04 +0000 (04:22 +0000)]
Use gtk_get_option_group() to obtain an option group with correctly set

2004-09-28  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmain.c (gtk_parse_args): Use gtk_get_option_group()
to obtain an option group with correctly set pre- and post-
parse hooks, instead of manually calling the hooks. This fixes
a problem with setting the program class in the gdk preparse
hook.  (#153788, Robert Ögren)

19 years agoFix #153082:
Matthias Clasen [Mon, 27 Sep 2004 18:40:42 +0000 (18:40 +0000)]
Fix #153082:

2004-09-27  Matthias Clasen  <mclasen@redhat.com>

Fix #153082:

* gtk/gtkmain.c (do_pre_parse_initialization): Don't call gdk_parse_args()
here, we don't want to parse args twice.
(gtk_init_with_args): Add the ugid check here as well.
(gtk_parse_args): Add the gdk options to the main option group as well.

19 years agoadd the GtkMenuToolButton widget discussed in bug #151441.
Paolo Borelli [Mon, 27 Sep 2004 18:37:33 +0000 (18:37 +0000)]
add the GtkMenuToolButton widget discussed in bug #151441.

2004-09-27  Paolo Borelli  <pborelli@katamail.com>

* gtk/Makefile.am:
* gtk/gtk.h:
* gtk/gtkmenutoolbutton.[ch]: add the GtkMenuToolButton widget
discussed in bug #151441.

* docs/reference/gtk/gtk-docs.sgml:
* docs/reference/gtk/gtk-sections.txt:
* docs/reference/gtk/gtk.types:
* docs/reference/gtk/tmpl/gtkmenutoolbutton.sgml: docs for the
new widget.

19 years agoEmit ::finished-loading.
Matthias Clasen [Mon, 27 Sep 2004 16:51:18 +0000 (16:51 +0000)]
Emit ::finished-loading.

2004-09-27  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilesystemunix.c (gtk_file_folder_unix_list_children):
Emit ::finished-loading.

19 years agoAdded Iranian Azerbaijani (az_IR) to ALL_LINUGAS. added Iranian
Roozbeh Pournader [Mon, 27 Sep 2004 12:32:14 +0000 (12:32 +0000)]
Added Iranian Azerbaijani (az_IR) to ALL_LINUGAS. added Iranian

2004-09-27  Roozbeh Pournader  <roozbeh@farsiweb.info>

* configure.in: Added Iranian Azerbaijani (az_IR) to ALL_LINUGAS.
* po/az_IR.po, po-properties/az_IR.po: added Iranian Azerbaijani
translation by Amir Hedayaty <amir@bamdad.org>.

19 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Mon, 27 Sep 2004 10:04:10 +0000 (10:04 +0000)]
Translation updated by Tino Meinen.

2004-09-27  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

19 years agoFix typo in docs. (#153811, Billy Biggs)
Matthias Clasen [Mon, 27 Sep 2004 04:13:37 +0000 (04:13 +0000)]
Fix typo in docs. (#153811, Billy Biggs)

2004-09-27  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_append_column): Fix typo in
docs.  (#153811, Billy Biggs)

19 years agoFix an oversight.
Matthias Clasen [Mon, 27 Sep 2004 04:11:02 +0000 (04:11 +0000)]
Fix an oversight.

19 years agoOnly need a bit for need_timer.
Matthias Clasen [Mon, 27 Sep 2004 04:09:50 +0000 (04:09 +0000)]
Only need a bit for need_timer.

2004-09-27  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkpathbar.h (struct _GtkPathBar): Only need a bit for
need_timer.

19 years agoAdd a missing _ to the name of the has_secondary_backward_stepper
Matthias Clasen [Mon, 27 Sep 2004 03:43:55 +0000 (03:43 +0000)]
Add a missing _ to the name of the has_secondary_backward_stepper

2004-09-26  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtknotebook.c (gtk_notebook_class_init): Add a missing _
to the name of the has_secondary_backward_stepper property.
Noticed by Michèle Garoche.

19 years agoadd missing structures.
Jonathan Blandford [Sun, 26 Sep 2004 06:14:55 +0000 (06:14 +0000)]
add missing structures.

Sun Sep 26 02:06:43 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtkpathbar.h (struct _GtkPathBar): add missing structures.

19 years agoScroll to make the current folder visible. (#152921)
Matthias Clasen [Sun, 26 Sep 2004 05:54:59 +0000 (05:54 +0000)]
Scroll to make the current folder visible. (#152921)

2004-09-26  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkpathbar.c (gtk_path_bar_check_parent_path): Scroll
to make the current folder visible.  (#152921)

19 years agoRevert the button state to !button_down, if we're missing the release
Matthias Clasen [Sun, 26 Sep 2004 05:47:11 +0000 (05:47 +0000)]
Revert the button state to !button_down, if we're missing the release

2004-09-26  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkbutton.c: Revert the button state to !button_down,
if we're missing the release event due to grab shadowing
or insensitivation.

* gtk/gtkpathbar.c: Make the slider buttons scroll.

19 years agoRemove debug spew. (bookmarks_check_remove_sensitivity): Don't free an
Matthias Clasen [Sun, 26 Sep 2004 05:39:34 +0000 (05:39 +0000)]
Remove debug spew. (bookmarks_check_remove_sensitivity): Don't free an

2004-09-26  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserdefault.c (shortcuts_remove_rows): Remove
debug spew.
(bookmarks_check_remove_sensitivity): Don't free an uninitialized
pointer.

19 years agoRemove debug spew.
Matthias Clasen [Sun, 26 Sep 2004 05:32:27 +0000 (05:32 +0000)]
Remove debug spew.

2004-09-26  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserdefault.c (shortcuts_remove_rows): Remove
debug spew.

19 years agocursor_pos is in characters, not bytes. (#153332, Owen Taylor)
Matthias Clasen [Sun, 26 Sep 2004 04:23:56 +0000 (04:23 +0000)]
cursor_pos is in characters, not bytes. (#153332, Owen Taylor)

2004-09-26  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkimcontext.c (gtk_im_context_get_preedit_string):
cursor_pos is in characters, not bytes.  (#153332, Owen Taylor)

19 years agoSet lcSysOrgX and lcSysOrgY from device instead of hardcoding to 0, a
Robert Ögren [Sat, 25 Sep 2004 20:24:04 +0000 (20:24 +0000)]
Set lcSysOrgX and lcSysOrgY from device instead of hardcoding to 0, a

2004-09-25  Robert Ögren  <gtk@roboros.com>

* gdk/win32/gdkinput-win32.c (gdk_input_wintab_init): Set
lcSysOrgX and lcSysOrgY from device instead of hardcoding to 0,
a further fix for bug #145467.

19 years agoDon't access attr[-1]. (#153628, Padraig O'Briain)
Matthias Clasen [Sat, 25 Sep 2004 04:31:22 +0000 (04:31 +0000)]
Don't access attr[-1]. (#153628, Padraig O'Briain)

2004-09-25  Matthias Clasen  <mclasen@x1-6-00-50-fc-70-9f-e0>

* gtk/gtktextiter.c (inside_word_func): Don't access
attr[-1].  (#153628, Padraig O'Briain)

19 years agoadded .cvsignore files to shut up CVS
Sven Neumann [Fri, 24 Sep 2004 22:24:20 +0000 (22:24 +0000)]
added .cvsignore files to shut up CVS

19 years agoUpdated Canadian English translation.
Adam Weinberger [Fri, 24 Sep 2004 17:43:32 +0000 (17:43 +0000)]
Updated Canadian English translation.

* en_CA.po: Updated Canadian English translation.

19 years agoAdd some tooltips.
Matthias Clasen [Thu, 23 Sep 2004 19:39:39 +0000 (19:39 +0000)]
Add some tooltips.

2004-09-23  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserdefault.c: Add some tooltips.

19 years agoRemove unnecessary g_return_if_fail()s from virtual functions. (#153469,
Matthias Clasen [Wed, 22 Sep 2004 20:39:56 +0000 (20:39 +0000)]
Remove unnecessary g_return_if_fail()s from virtual functions. (#153469,

2004-09-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkrange.c (gtk_range_map, gtk_range_unmap):
* gtk/gtkbutton.c (gtk_button_map, gtk_button_unmap): Remove
unnecessary g_return_if_fail()s from virtual functions.  (#153469,
(Tristan Van Berkom)

19 years agoDon't leak cursors. (#153468, Christian Persch)
Matthias Clasen [Wed, 22 Sep 2004 20:33:15 +0000 (20:33 +0000)]
Don't leak cursors. (#153468, Christian Persch)

2004-09-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkaboutdialog.c (gtk_about_dialog_finalize): Don't leak
cursors.  (#153468, Christian Persch)

19 years agoDon't leak old_text. (#153467, Christian Persch)
Matthias Clasen [Wed, 22 Sep 2004 20:26:34 +0000 (20:26 +0000)]
Don't leak old_text. (#153467, Christian Persch)

2004-09-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_key_press): Don't leak old_text.
(#153467, Christian Persch)

19 years agoDon't use bitops on booleans. (gtk_file_chooser_default_should_respond):
Matthias Clasen [Wed, 22 Sep 2004 20:17:53 +0000 (20:17 +0000)]
Don't use bitops on booleans. (gtk_file_chooser_default_should_respond):

2004-09-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserdefault.c (selection_check_foreach_cb): Don't use
bitops on booleans.
(gtk_file_chooser_default_should_respond): Make it easier to
select folders in SELECT_FOLDER mode.

19 years agoDon't use bitops on booleans.
Matthias Clasen [Wed, 22 Sep 2004 19:32:13 +0000 (19:32 +0000)]
Don't use bitops on booleans.

2004-09-22  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserdefault.c (selection_check_foreach_cb): Don't use
bitops on booleans.

19 years agoDon't leak the frame pixbuf.
Matthias Clasen [Wed, 22 Sep 2004 04:55:19 +0000 (04:55 +0000)]
Don't leak the frame pixbuf.

Wed Sep 22 00:52:44 2004  Matthias Clasen  <mclasen@redhat.com>

* demos/gtk-demo/pixbufs.c (do_pixbufs): Don't leak the frame
pixbuf.

19 years ago#include <config.h> for HAVE_MALLINFO define, other minor cleanups.
Manish Singh [Tue, 21 Sep 2004 23:53:27 +0000 (23:53 +0000)]
#include <config.h> for HAVE_MALLINFO define, other minor cleanups.

Tue Sep 21 16:55:38 2004  Manish Singh  <yosh@gimp.org>

        * tests/testtreemodel.c: #include <config.h> for HAVE_MALLINFO define,
        other minor cleanups.

19 years agoremove now unused arg variables.
Manish Singh [Tue, 21 Sep 2004 23:35:18 +0000 (23:35 +0000)]
remove now unused arg variables.

Tue Sep 21 16:27:19 2004  Manish Singh  <yosh@gimp.org>

        * gdk/gdk.c: remove now unused arg variables.

        * gdk/gdkinternals.h: declare _gdk_windowing_init ().

        * gtk/gtkmain.c (do_pre_parse_initialization): call gdk_parse_args ()
        here instead of gdk_pre_parse_libgtk_only (). Should fix #153082.

19 years agoDon't assert that current_focus != NULL, just return FALSE.
Matthias Clasen [Tue, 21 Sep 2004 20:36:31 +0000 (20:36 +0000)]
Don't assert that current_focus != NULL, just return FALSE.

2004-09-21  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_should_respond):
Don't assert that current_focus != NULL, just return FALSE.

19 years agoGive the path bar arrows some more space.
Matthias Clasen [Tue, 21 Sep 2004 20:20:09 +0000 (20:20 +0000)]
Give the path bar arrows some more space.

2004-09-21  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkpathbar.c (gtk_path_bar_size_request): Give the path
bar arrows some more space.

19 years agoCheck for mallinfo.
Matthias Clasen [Tue, 21 Sep 2004 18:03:57 +0000 (18:03 +0000)]
Check for mallinfo.

2004-09-21  Matthias Clasen  <mclasen@redhat.com>

* configure.in: Check for mallinfo.

* tests/testtreemodel.c: Only include malloc.h if HAVE_MALLINFO
is defined.  (#153168, Darren Creutz)

19 years agoFix typos in signal docs. (#153224, John Finlay)
Matthias Clasen [Tue, 21 Sep 2004 17:42:39 +0000 (17:42 +0000)]
Fix typos in signal docs. (#153224, John Finlay)

2004-09-21  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkactiongroup.c: Fix typos in signal docs.  (#153224,
John Finlay)

19 years agoDon't return FALSE from a void function. (#153185, Joel Fredrikson)
Matthias Clasen [Mon, 20 Sep 2004 23:47:38 +0000 (23:47 +0000)]
Don't return FALSE from a void function. (#153185, Joel Fredrikson)

Mon Sep 20 19:27:48 2004  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserdefault.c (shortcuts_activate_iter): Don't
return FALSE from a void function.  (#153185, Joel Fredrikson)