]> Pileus Git - ~andy/gtk/log
~andy/gtk
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)

19 years agoAdd a boolean ::displace-focus style property and apply child displacement
Matthias Clasen [Mon, 20 Sep 2004 14:43:18 +0000 (14:43 +0000)]
Add a boolean ::displace-focus style property and apply child displacement

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

* gtk/gtkbutton.c (gtk_button_class_init): Add a boolean ::displace-focus
style property and apply child displacement to the focus rectangle
if it is TRUE.  (#141170, Soeren Sandmann)

19 years agoChange from 50 to 20 to make the menus scroll faster.
Søren Sandmann [Sun, 19 Sep 2004 22:01:43 +0000 (22:01 +0000)]
Change from 50 to 20 to make the menus scroll faster.

Sun Sep 19 23:56:18 2004  Søren Sandmann  <sandmann@redhat.com>

* gtk/gtkmenu.c (MENU_SCROLL_TIMEOUT2): Change from 50 to 20 to
make the menus scroll faster.

19 years agoUpdated Canadian English translation.
Adam Weinberger [Sun, 19 Sep 2004 20:41:35 +0000 (20:41 +0000)]
Updated Canadian English translation.

* en_CA.po: Updated Canadian English translation.

19 years agoBump version
Matthias Clasen [Sun, 19 Sep 2004 06:14:13 +0000 (06:14 +0000)]
Bump version

19 years ago2.5.3
Matthias Clasen [Sun, 19 Sep 2004 05:40:00 +0000 (05:40 +0000)]
2.5.3

19 years agoMerged from 2.4:
Federico Mena Quintero [Sat, 18 Sep 2004 20:13:05 +0000 (20:13 +0000)]
Merged from 2.4:

2004-09-18  Federico Mena Quintero  <federico@ximian.com>

Merged from 2.4:

* gtk/gtkfilesystem.h: Removed the GTK_FILE_PATH() and
GTK_IS_FILE_PATH() macros.  They are not supposed to exist, as
GtkFilePath is not an object.  And they never worked, anyway.

19 years agoMake numeric pad enter activate the selected completion entry. Fix bug
Marco Pesenti Gritti [Sat, 18 Sep 2004 10:17:23 +0000 (10:17 +0000)]
Make numeric pad enter activate the selected completion entry. Fix bug

2004-09-18  Marco Pesenti Gritti  <marco@gnome.org>

        * gtk/gtkentry.c: (gtk_entry_completion_key_press):

        Make numeric pad enter activate the selected completion
        entry. Fix bug 143486 reported by Edd Dumbill.

19 years agoUpdating pt_BR translation
Raphael Higino [Fri, 17 Sep 2004 22:14:54 +0000 (22:14 +0000)]
Updating pt_BR translation

19 years agoUpdates
Matthias Clasen [Fri, 17 Sep 2004 19:21:37 +0000 (19:21 +0000)]
Updates

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

* NEWS: Updates

19 years agoScroll to the selected row. (#143868, Christian Persch)
Matthias Clasen [Fri, 17 Sep 2004 19:05:45 +0000 (19:05 +0000)]
Scroll to the selected row. (#143868, Christian Persch)

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

* gtk/gtkfilechooserdefault.c (select_func): Scroll to the selected
row.  (#143868, Christian Persch)

19 years agoRemove leftover debug code.
Matthias Clasen [Fri, 17 Sep 2004 18:13:26 +0000 (18:13 +0000)]
Remove leftover debug code.

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

* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): Remove
leftover debug code.

Improve the behaviour of the file chooser in save mode. Fixes bugs
#151031, #151608, #151994 reported by Owen Taylor and Alexander
Larsson.

* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_set_property):
(location_entry_create): Propagate the action to the file
chooser entries.
(gtk_file_chooser_default_should_respond): Switch folders if
the user enters a directory name in the entry and clear the entry
after switching folders.
(gtk_file_chooser_default_should_respond, shortcuts_row_activated_cb):
Move focus to the file list when activating a shortcut.
(gtk_file_chooser_default_should_respond): Handle the case where the
user clicks on "Save" after selecting a folder in the file list.

* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_set_property):
Propagate the action to the file chooser entries.

* gtk/gtkfilechooserentry.h:
* gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_set_action):
(_gtk_file_chooser_entry_get_action): New functions to propagate
the GtkFileChooserAction of the file chooser to the file chooser
entry.
(check_completion_callback): If we are in save mode, only do
inline completion for directories.

19 years agoAdd an example to the docs.
Jonathan Blandford [Fri, 17 Sep 2004 15:20:31 +0000 (15:20 +0000)]
Add an example to the docs.

Fri Sep 17 11:20:03 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtklabel.c (gtk_label_set_markup): Add an example to the
        docs.

19 years agoWarn if a UTF8_STRING or text/plain;charset=utf-8 roperty contains invalid
Matthias Clasen [Fri, 17 Sep 2004 03:23:32 +0000 (03:23 +0000)]
Warn if a UTF8_STRING or text/plain;charset=utf-8 roperty contains invalid

Thu Sep 16 23:20:05 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkselection.c (selection_get_text_plain):
* gdk/x11/gdkselection-x11.c (make_list): Warn if a UTF8_STRING
or text/plain;charset=utf-8 roperty contains invalid
UTF-8.  (#152845, Owen Taylor)

19 years agoForgotten ChangeLog
Matthias Clasen [Fri, 17 Sep 2004 02:37:21 +0000 (02:37 +0000)]
Forgotten ChangeLog

19 years agoFix #152760, Christian Persch:
Matthias Clasen [Thu, 16 Sep 2004 19:09:29 +0000 (19:09 +0000)]
Fix #152760, Christian Persch:

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

Fix #152760, Christian Persch:

* gtk/gtkaboutdialog.c (gtk_about_dialog_finalize): Don't free
private data.
(gtk_about_dialog_set_translator_credits): Recommend the msg
id translator-credits.
(display_credits_dialog): Show translator credits if they're
translated, not if they're untranslated.

19 years agoload images at normal size.
Jonathan Blandford [Thu, 16 Sep 2004 06:16:38 +0000 (06:16 +0000)]
load images at normal size.

Thu Sep 16 02:07:56 2004  Jonathan Blandford  <jrb@gnome.org>

        * docs/tools/widgets.c (create_icon_view): load images at normal
        size.

        * docs/reference/gtk/images/*png: Update shots.

19 years agoru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.
Dmitry Mastrukov [Thu, 16 Sep 2004 04:34:24 +0000 (04:34 +0000)]
ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.

19 years agoAdd constrained sizing to the widgets. This gives us all images running
Jonathan Blandford [Thu, 16 Sep 2004 04:34:21 +0000 (04:34 +0000)]
Add constrained sizing to the widgets. This gives us all images running

Thu Sep 16 00:33:11 2004  Jonathan Blandford  <jrb@gnome.org>

        * docs/tools/widgets.c (new_widget_info): Add constrained sizing
        to the widgets.  This gives us all images running the same size,
        which will make the table layout look better.

19 years agoUpdated Spanish transalation.
Francisco Javier F. Serrador [Wed, 15 Sep 2004 22:01:06 +0000 (22:01 +0000)]
Updated Spanish transalation.

2004-09-16  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish transalation.

19 years agoRemove bogus code that tried to do what the X11 backend does in its
Tor Lillqvist [Wed, 15 Sep 2004 18:37:45 +0000 (18:37 +0000)]
Remove bogus code that tried to do what the X11 backend does in its

2004-09-15  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkwindow-win32.c (gdk_window_get_frame_extents):
Remove bogus code that tried to do what the X11 backend does in
its version of this function. There are no "frame windows" (for
toplevel window decoration) on Windows. The desktop ("root")
window is not the parent of a toplevel window. (#152481)

19 years agoUpdates.
Matthias Clasen [Wed, 15 Sep 2004 17:15:11 +0000 (17:15 +0000)]
Updates.

19 years ago*** empty log message ***
Matthias Clasen [Wed, 15 Sep 2004 14:33:00 +0000 (14:33 +0000)]
*** empty log message ***

19 years agoAdd accel label, file button and icon view.
Matthias Clasen [Wed, 15 Sep 2004 05:03:24 +0000 (05:03 +0000)]
Add accel label, file button and icon view.

Wed Sep 15 01:01:11 2004  Matthias Clasen  <maclas@gmx.de>

* docs/reference/gtk/images/accel-label.png:
* docs/reference/gtk/images/file-button.png:
* docs/reference/gtk/images/icon-view.png:
* gtk/visual_index.xml:
* gtk/Makefile.am (HTML_IMAGES): Add accel label, file button
and icon view.

19 years agoDocument --disable-visibility.
Matthias Clasen [Wed, 15 Sep 2004 02:14:20 +0000 (02:14 +0000)]
Document --disable-visibility.

Tue Sep 14 22:13:51 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/building.sgml: Document --disable-visibility.

19 years agoNew option --disable-visibility to disable the use of ELF visibility
Matthias Clasen [Wed, 15 Sep 2004 02:03:58 +0000 (02:03 +0000)]
New option --disable-visibility to disable the use of ELF visibility

Tue Sep 14 22:01:49 2004  Matthias Clasen  <maclas@gmx.de>

* configure.in: New option --disable-visibility to disable
the use of ELF visibility attributes for PLT reduction.

* gtk/makegtkalias.pl:
* gdk/makegdkalias.pl: Respect the DISABLE_VISIBILITY
define.

19 years agoCall gtk_tool_item_rebuild_menu().
Søren Sandmann [Tue, 14 Sep 2004 21:40:41 +0000 (21:40 +0000)]
Call gtk_tool_item_rebuild_menu().

Tue Sep 14 23:20:56 2004  Søren Sandmann  <sandmann@redhat.com>

* gtk/gtkaction.c (connect_proxy): Call
gtk_tool_item_rebuild_menu().

* gtk/gtktoolitem.c (gtk_tool_item_class_init): Update
documentation for GtkToolItem::create_menu_proxy.

* gtk/gtktoolitem.c (gtk_tool_item_rebuild_menu): New
API to make the toolbar update itself when the proxy menu item
for a tool item changes.

* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): Call
gtk_tool_item_rebuild_menu here()

* gtk/gtktoolbutton.c (gtk_tool_button_construct_contents):
Remove redundant check for need_label.

19 years agoDocument GdkEventOwnerChange and GdkOwnerChange.
Matthias Clasen [Tue, 14 Sep 2004 21:12:22 +0000 (21:12 +0000)]
Document GdkEventOwnerChange and GdkOwnerChange.

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

* gdk/tmpl/event_structs.sgml: Document GdkEventOwnerChange and
GdkOwnerChange.

* gdk/tmpl/rgb.sgml: Document gdk_rgb_colormap_ditherable().

19 years agoRemove an unused variable, spotted by Morten Welinder.
Matthias Clasen [Tue, 14 Sep 2004 20:26:25 +0000 (20:26 +0000)]
Remove an unused variable, spotted by Morten Welinder.

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

* gtk/gtkmain.c (do_post_parse_initialization): Remove an unused
variable, spotted by Morten Welinder.

19 years agoFix a typo
Matthias Clasen [Tue, 14 Sep 2004 20:10:06 +0000 (20:10 +0000)]
Fix a typo

19 years agoCopy code from queryloaders.c which turns backslashes in slashes on win32.
Matthias Clasen [Tue, 14 Sep 2004 20:02:47 +0000 (20:02 +0000)]
Copy code from queryloaders.c which turns backslashes in slashes on win32.

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

* gtk/queryimmodules.c (escape_string): Copy code from queryloaders.c
which turns backslashes in slashes on win32.  (#152608, Kazuki IWAMOTO)

19 years agoSet the cursor to the first selected row instead of always to the first
Matthias Clasen [Tue, 14 Sep 2004 19:37:48 +0000 (19:37 +0000)]
Set the cursor to the first selected row instead of always to the first

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

* gtk/gtktreeview.c (gtk_tree_view_focus_to_cursor): Set the cursor
to the first selected row instead of always to the first row if there
is no cursor.  (#143270, Jean Bréfort)

* tests/testfilechooser.c (main): Fix a few typos.

19 years agoHandle 4-channel pixbufs when saving to jpeg.
Matthias Clasen [Mon, 13 Sep 2004 23:34:34 +0000 (23:34 +0000)]
Handle 4-channel pixbufs when saving to jpeg.

19 years agoChange the default expander size to 12 to compensate for the recent change
Matthias Clasen [Mon, 13 Sep 2004 18:25:48 +0000 (18:25 +0000)]
Change the default expander size to 12 to compensate for the recent change

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

* gtk/gtkexpander.c:
* gtk/gtktreeview.c: Change the default expander size to 12 to compensate
for the recent change to gtk_default_draw_expander().

* gtk/gtkstyle.c (gtk_default_draw_expander): Use a linewidth of one
for expander sizes up to 16.

19 years agoResize the popup if the model is replaced. (#152333)
Matthias Clasen [Mon, 13 Sep 2004 17:34:54 +0000 (17:34 +0000)]
Resize the popup if the model is replaced. (#152333)

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

* gtk/gtkentrycompletion.c (gtk_entry_completion_get_model): Resize the
popup if the model is replaced.  (#152333)

19 years agofix gtk_range_real_change_value args. Addresses part of #152518.
Manish Singh [Mon, 13 Sep 2004 16:09:37 +0000 (16:09 +0000)]
fix gtk_range_real_change_value args. Addresses part of #152518.

Mon Sep 13 09:11:53 2004  Manish Singh  <yosh@gimp.org>

        * gtk/gtkrange.c: fix gtk_range_real_change_value args. Addresses part
        of #152518.

19 years agoFix some problems reported by Morten Welinder:
Matthias Clasen [Mon, 13 Sep 2004 16:00:00 +0000 (16:00 +0000)]
Fix some problems reported by Morten Welinder:

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

Fix some problems reported by Morten Welinder:

* gtk/gtkfilesystem.c: Include gtkmodules.h, not gtkmain.h, since
the modules stuff moved.

* gtk/gtkmain.c (gtk_arg_no_debug_cb): Add a missing return

* gtk/gtksettings.c: Add missing include.
(settings_update_modules): Remove an unused variable.

19 years agoImprove positioning of entry completion popup.
Matthias Clasen [Mon, 13 Sep 2004 14:20:12 +0000 (14:20 +0000)]
Improve positioning of entry completion popup.

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

* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
Improve positioning of entry completion popup.

19 years agoImprove positioning of entry completion popup.
Matthias Clasen [Mon, 13 Sep 2004 14:15:03 +0000 (14:15 +0000)]
Improve positioning of entry completion popup.

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

* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
Improve positioning of entry completion popup.

19 years agoUse the short prefix "IA__" for aliases instead of the long suffix
Matthias Clasen [Thu, 9 Sep 2004 19:44:24 +0000 (19:44 +0000)]
Use the short prefix "IA__" for aliases instead of the long suffix

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

* gtk/makegtkalias.pl:
* gdk/makegdkalias.pl: Use the short prefix "IA__" for
aliases instead of the long suffix "__internal_alias".

19 years agoTypo fix.
Matthias Clasen [Thu, 9 Sep 2004 13:52:16 +0000 (13:52 +0000)]
Typo fix.

19 years agoUpdate sensitivity of the "Select all" button.
Matthias Clasen [Thu, 9 Sep 2004 12:46:25 +0000 (12:46 +0000)]
Update sensitivity of the "Select all" button.

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

* tests/testfilechooser.c (main): Update sensitivity of the "Select all"
button.

19 years agoMake dropping of expandable items look nicer.
Soeren Sandmann [Wed, 8 Sep 2004 16:40:31 +0000 (16:40 +0000)]
Make dropping of expandable items look nicer.

Wed Sep  8 18:38:08 2004  Soeren Sandmann  <sandmann@redhat.com>

Make dropping of expandable items look nicer.

* gtk/gtktoolbar.c (gtk_toolbar_set_drop_highlight_item): Make
placeholder expand if highlight item is expanding.

* gtk/gtktoolbar.c (toolbar_content_set_expand): New function.

* gtk/gtktoolbar.c (toolbar_content_get_expand): Return TRUE only
if the item is not disappering.

19 years agoUpdated Canadian English translation.
Adam Weinberger [Tue, 7 Sep 2004 20:52:17 +0000 (20:52 +0000)]
Updated Canadian English translation.

* en_CA.po: Updated Canadian English translation.

19 years agoUse the proper node type for placeholders in toolbars. (#151963, Olivier
Matthias Clasen [Tue, 7 Sep 2004 17:33:07 +0000 (17:33 +0000)]
Use the proper node type for placeholders in toolbars. (#151963, Olivier

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

* gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Use the proper node type
for placeholders in toolbars.  (#151963, Olivier Andrieu)

19 years agoDraw expanders a bit better.
Matthias Clasen [Tue, 7 Sep 2004 16:16:09 +0000 (16:16 +0000)]
Draw expanders a bit better.

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

* gtk/gtkstyle.c (gtk_default_draw_expander): Draw expanders a bit
better.

19 years agoAdd descriptions for the commandline arguments. The actual descriptions
Matthias Clasen [Sun, 5 Sep 2004 21:15:58 +0000 (21:15 +0000)]
Add descriptions for the commandline arguments. The actual descriptions

Sun Sep  5 17:14:16 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkmain.c:
* gdk/gdk.c:
* gdk/x11/gdkmain-x11.c:
* gdk/win32/gdkmain-win32.c: Add descriptions for the
commandline arguments. The actual descriptions are mostly
taken from libbonoboui, so translators should be able to
copy existing translations from there.

19 years agoAdd new functions
Anders Carlsson [Sun, 5 Sep 2004 15:14:21 +0000 (15:14 +0000)]
Add new functions

2004-09-05  Anders Carlsson  <andersca@gnome.org>

* gdk/gdk.symbols:
* gtk/gtk.symbols:
Add new functions

2004-09-05  Anders Carlsson  <andersca@gnome.org>

* gdk/gdk.c: (gdk_arg_class_cb), (gdk_arg_name_cb),
(gdk_add_option_entries_libgtk_only), (gdk_pre_parse_libgtk_only),
(gdk_parse_args):
* gdk/gdk.h:
* gdk/gdkinternals.h:
* gdk/linux-fb/gdkmain-fb.c: (_gdk_windowing_init):
* gdk/win32/gdkmain-win32.c: (_gdk_windowing_init):
* gdk/x11/gdkdisplay-x11.c: (gdk_display_open):
* gdk/x11/gdkmain-x11.c: (_gdk_windowing_init):
* gtk/gtkmain.c: (gtk_arg_debug_cb), (gtk_arg_no_debug_cb),
(gtk_arg_module_cb), (gtk_arg_warnings_cb),
(do_pre_parse_initialization), (do_post_parse_initialization),
(pre_parse_hook), (post_parse_hook), (gtk_get_option_group),
(gtk_init_with_args), (gtk_parse_args):
* gtk/gtkmain.h:
Make gtk argument parsing use goption. Add gtk_get_option_group and
gtk_init_with_args.

* tests/testtreemodel.c: (main):
Use gtk_init_with_args.

19 years agoMake gtk argument parsing use goption. Add gtk_get_option_group and
Anders Carlsson [Sun, 5 Sep 2004 15:09:55 +0000 (15:09 +0000)]
Make gtk argument parsing use goption. Add gtk_get_option_group and

2004-09-05  Anders Carlsson  <andersca@gnome.org>

* gdk/gdk.c: (gdk_arg_class_cb), (gdk_arg_name_cb),
(gdk_add_option_entries_libgtk_only), (gdk_pre_parse_libgtk_only),
(gdk_parse_args):
* gdk/gdk.h:
* gdk/gdkinternals.h:
* gdk/linux-fb/gdkmain-fb.c: (_gdk_windowing_init):
* gdk/win32/gdkmain-win32.c: (_gdk_windowing_init):
* gdk/x11/gdkdisplay-x11.c: (gdk_display_open):
* gdk/x11/gdkmain-x11.c: (_gdk_windowing_init):
* gtk/gtkmain.c: (gtk_arg_debug_cb), (gtk_arg_no_debug_cb),
(gtk_arg_module_cb), (gtk_arg_warnings_cb),
(do_pre_parse_initialization), (do_post_parse_initialization),
(pre_parse_hook), (post_parse_hook), (gtk_get_option_group),
(gtk_init_with_args), (gtk_parse_args):
* gtk/gtkmain.h:
Make gtk argument parsing use goption. Add gtk_get_option_group and
gtk_init_with_args.

* tests/testtreemodel.c: (main):
Use gtk_init_with_args.

19 years agoupdated by Misu Moldovan
Marius Andreiana [Sun, 5 Sep 2004 11:18:46 +0000 (11:18 +0000)]
updated by Misu Moldovan

2004-09-05  Marius Andreiana <marius galuna.ro>

        * ro.po: updated by Misu Moldovan

19 years agoupdated
Marius Andreiana [Sun, 5 Sep 2004 09:32:48 +0000 (09:32 +0000)]
updated

2004-09-05  Marius Andreiana <marius galuna.ro>

        * ro.po: updated

19 years agoAllow sorting of tree models to be turned off again. (#151139, Torsten
Matthias Clasen [Sun, 5 Sep 2004 05:06:05 +0000 (05:06 +0000)]
Allow sorting of tree models to be turned off again. (#151139, Torsten

Sun Sep  5 01:04:01 2004  Matthias Clasen  <maclas@gmx.de>

Allow sorting of tree models to be turned off
again.  (#151139, Torsten Schoenfeld)

* gtk/gtktreesortable.h:
Add GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID.

* gtk/gtktreestore.c (gtk_tree_store_sort):
* gtk/gtkliststore.c (gtk_list_store_sort): Don't sort if
the list store is not sorted.

19 years agoFix the Solaris Xinerama checks. (#151754)
Matthias Clasen [Sun, 5 Sep 2004 03:39:07 +0000 (03:39 +0000)]
Fix the Solaris Xinerama checks. (#151754)

Sat Sep  4 23:37:56 2004  Matthias Clasen  <maclas@gmx.de>

* configure.in: Fix the Solaris Xinerama checks.  (#151754)

19 years agoDon't refuse to delete text in passwords. (#151723, Owen Taylor)
Matthias Clasen [Sun, 5 Sep 2004 03:00:54 +0000 (03:00 +0000)]
Don't refuse to delete text in passwords. (#151723, Owen Taylor)

  Sat Sep  4 22:45:49 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkentry.c (gtk_entry_backspace): Don't refuse to delete
text in passwords.  (#151723, Owen Taylor)

19 years agoRevert accidental change from Aug 02 that removed a flush of the X
Søren Sandmann [Sat, 4 Sep 2004 15:07:16 +0000 (15:07 +0000)]
Revert accidental change from Aug 02 that removed a flush of the X

Sat Sep  4 16:51:00 2004  Søren Sandmann  <sandmann@redhat.com>

* gdk/x11/gdkevents-x11.c (gdk_event_prepare): Revert accidental
change from Aug 02 that removed a flush of the X connection from
gdk_event_prepare() causing applications to get stuck. (#151732,
Richard Hoelscher).

19 years agoDon't print out attributes for the <ui> root node. (#151752, Lorenzo Gil
Matthias Clasen [Sat, 4 Sep 2004 02:55:13 +0000 (02:55 +0000)]
Don't print out attributes for the <ui> root node. (#151752, Lorenzo Gil

Fri Sep  3 22:45:03 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkuimanager.c (print_node): Don't print out attributes
for the <ui> root node.  (#151752, Lorenzo Gil Sánchez)

19 years agoAccelerate the animation when it has been running for a while. (#143647).
Søren Sandmann [Sat, 4 Sep 2004 00:44:04 +0000 (00:44 +0000)]
Accelerate the animation when it has been running for a while. (#143647).

Sat Sep  4 02:38:57 2004  Søren Sandmann  <sandmann@redhat.com>

* gtk/gtktoolbar.c (position): Accelerate the animation when it
has been running for a while. (#143647).

19 years agoList the three theme gtkrc files separately, zip doesn't do anything if
Tor Lillqvist [Fri, 3 Sep 2004 01:27:57 +0000 (01:27 +0000)]
List the three theme gtkrc files separately, zip doesn't do anything if

2004-09-03  Tor Lillqvist  <tml@iki.fi>

* gtk-zip.sh.in: List the three theme gtkrc files separately, zip
doesn't do anything if one of the files on its command line
doesn't exist.

Handle changes of screen resolution on Win32. (#151581, reported by
Arjohn Kampman)

* gdk/win32/gdkwindow-win32.c (_gdk_windowing_window_init,
_gdk_root_window_size_init): Factor out setting the root window's
size (as the size of the union of all monitors) to a new function.

* gdk/win32/gdkdisplay-win32.c (gdk_display_open,
_gdk_monitor_init): Factor out the monitor query to a new
function.

* gdk/win32/gdkprivate-win32.h: Declare above new functions.

* gdk/win32/gdkevents-win32.c (gdk_event_translate,
handle_display_change): Handle WM_DISPLAYCHANGE by calling the
above two functions, and emitting the "size_changed" signal on our
(only) GdkScreen.

19 years agoUpdated Canadian English translation.
Adam Weinberger [Thu, 2 Sep 2004 03:38:22 +0000 (03:38 +0000)]
Updated Canadian English translation.

* en_CA.po: Updated Canadian English translation.

19 years agoDocument the return value.
Matthias Clasen [Wed, 1 Sep 2004 21:26:35 +0000 (21:26 +0000)]
Document the return value.

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

* gtk/gtkcombobox.c (gtk_combo_box_get_popup_accessible):
Document the return value.

19 years agoUpdates.
Matthias Clasen [Wed, 1 Sep 2004 21:21:34 +0000 (21:21 +0000)]
Updates.

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

* gdk/gdk-sections.txt: Updates.

19 years agoAlign argument names with source.
Matthias Clasen [Wed, 1 Sep 2004 21:08:12 +0000 (21:08 +0000)]
Align argument names with source.

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

* gdk-pixbuf-core.h: Align argument names with source.

19 years agoAdd some missing declarations.
Matthias Clasen [Wed, 1 Sep 2004 21:06:09 +0000 (21:06 +0000)]
Add some missing declarations.

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

* gdk-pixbuf/gdk-pixbuf-sections.txt: Add some missing
declarations.

19 years agoMention that modules can also be specified in a setting.
Matthias Clasen [Wed, 1 Sep 2004 20:41:46 +0000 (20:41 +0000)]
Mention that modules can also be specified in a setting.

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

* gtk/running.sgml: Mention that modules can also
be specified in a setting.

19 years agoMake it possible to specify additional modules to load via a setting.
Matthias Clasen [Wed, 1 Sep 2004 20:30:24 +0000 (20:30 +0000)]
Make it possible to specify additional modules to load via a setting.

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

Make it possible to specify additional modules to load
via a setting.  (#117236, Alex Graveley)

* gtk/gtkmodules.h:
* gtk/gtkmodules.c: New files which contain the module
handling code which was previously in gtkmain.[hc].
Additionally, the code now looks for the gtk-modules
setting, which can specify additional modules to load.

* gtk/gtkmain.c:
* gtk/gtkmain.h: Remove all the module handling code.

* gtk/gtkdebug.h: Add a debug flag for modules.

* gtk/gtk.h: Include gtkmodules.h

* gtk/Makefile.am (gtk_public_h_sources): Add gtkmodules.h
(gtk_c_sources): Add gtkmodules.c

* gtk/gtksettings.c: Add the gtk-modules setting.

* gdk/x11/gdkevents-x11.c: Add the Gtk/Modules XSetting.

19 years agoMake sure children of the toolbar are given positive dimensions. (149540,
Søren Sandmann [Wed, 1 Sep 2004 17:55:09 +0000 (17:55 +0000)]
Make sure children of the toolbar are given positive dimensions. (149540,

Wed Sep  1 19:11:44 2004  Søren Sandmann  <sandmann@redhat.com>

* gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Make sure
children of the toolbar are given positive dimensions. (149540,
Felipe Heidrich).

19 years agoProtect the unistd.h include by HAVE_UNISTD_H.
Matthias Clasen [Wed, 1 Sep 2004 16:42:09 +0000 (16:42 +0000)]
Protect the unistd.h include by HAVE_UNISTD_H.

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

* gtk/gtkfilesystemunix.c:
* gtk/gtkfilechooserbutton.c: Protect the unistd.h include
by HAVE_UNISTD_H.

19 years agoMake accel labels ellipsize correctly. (#151559, Christian Persch)
Matthias Clasen [Wed, 1 Sep 2004 06:39:59 +0000 (06:39 +0000)]
Make accel labels ellipsize correctly. (#151559, Christian Persch)

Wed Sep  1 02:38:48 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkaccellabel.c (gtk_accel_label_expose_event): Make
accel labels ellipsize correctly.  (#151559, Christian Persch)

19 years agoDon't leak the iter of a running animation. (#151542)
Matthias Clasen [Wed, 1 Sep 2004 04:57:02 +0000 (04:57 +0000)]
Don't leak the iter of a running animation. (#151542)

Wed Sep  1 00:55:56 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkimage.c (gtk_image_clear): Don't leak the iter
of a running animation.  (#151542)

19 years agoMake "ms-windows" the default theme on Win32.
Matthias Clasen [Wed, 1 Sep 2004 03:41:35 +0000 (03:41 +0000)]
Make "ms-windows" the default theme on Win32.

Tue Aug 31 23:40:29 2004  Matthias Clasen  <maclas@gmx.de>

* gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting): Make
"ms-windows" the default theme on Win32.

19 years agoOnly start a drag if the left button is pressed. (#151490, Frederic
Matthias Clasen [Wed, 1 Sep 2004 03:25:57 +0000 (03:25 +0000)]
Only start a drag if the left button is pressed. (#151490, Frederic

Tue Aug 31 23:24:49 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcalendar.c (gtk_calendar_main_button): Only start
a drag if the left button is pressed.  (#151490, Frederic Croszat)

19 years agoRemove debug spew.
Matthias Clasen [Wed, 1 Sep 2004 03:21:30 +0000 (03:21 +0000)]
Remove debug spew.

Tue Aug 31 23:20:58 2004  Matthias Clasen  <maclas@gmx.de>

* gdk/x11/gdkdnd-x11.c (gdk_drop_finish): Remove debug spew.

19 years agoconstrain cell area to passed in cell_area, #147867
Jonathan Blandford [Tue, 31 Aug 2004 21:15:51 +0000 (21:15 +0000)]
constrain cell area to passed in cell_area, #147867

Tue Aug 31 17:07:41 2004  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtktreeviewcolumn.c
        (gtk_tree_view_column_cell_process_action): constrain cell area to
        passed in cell_area, #147867

        * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): if
        ellipsizing, get_size is only 3 chars wide.

        * docs/tree-column-sizing.png: Add Matthias's excellent image.

19 years agoOn Win32, do not produce tablet motion or button events while a window is
Robert Ögren [Tue, 31 Aug 2004 19:13:24 +0000 (19:13 +0000)]
On Win32, do not produce tablet motion or button events while a window is

2004-08-28  Robert Ögren  <gtk@roboros.com>

On Win32, do not produce tablet motion or button events while a
window is being moved or resized. (#151090, reported by Shaneyfelt)

* gdk/win32/gdkprivate-win32.h
* gdk/win32/gdkglobals-win32.c
* gdk/win32/gdkevents-win32.c: Rename the variable resizing to
_sizemove_in_progress and make it extern.

* gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Ignore
motion and button events if _sizemove_in_progress is true.

19 years agoUpdated Arabic Translation
Arafat Medini [Mon, 30 Aug 2004 22:41:15 +0000 (22:41 +0000)]
Updated Arabic Translation

2004-08-31  Arafat Medini  <lumina@silverpen.de>

* ar.po: Updated Arabic Translation

19 years agoMake the ms-windows theme engine build with mingw.
Tor Lillqvist [Mon, 30 Aug 2004 20:58:57 +0000 (20:58 +0000)]
Make the ms-windows theme engine build with mingw.

2004-08-30  Tor Lillqvist  <tml@iki.fi>

Make the ms-windows theme engine build with mingw.

* configure.in: Expand also modules/engines/ms-windows/Theme/
Makefile and .../Theme/gtk-2.0/Makefile.

* modules/engines/ms-windows/Makefile.am: Adapt for building
inside the GTK sources.

* modules/engines/ms-windows/*.c: Use "foo.h" style includes for
GTK and GDK headers. Use correct path for gdkwin32.h header.

* modules/engines/ms-windows/msw_style.c: Don't use deprecated GDK
API.

* modules/engines/ms-windows/xp_theme_defs.h
* modules/engines/ms-windows/xp_theme.c: Move definitions of TMT_*
to xp_theme.c, as they are neither in mingw's nor Platform
SDK's tmschema.h.

* modules/engines/ms-windows/xp_theme.c: Define _WIN32_WINNT as
0x0501 to get the necesssary stuff from mingw's uxtheme.h.

19 years agoIntegrate the ms-windows theme engine (better known as Wimp) into the
Matthias Clasen [Mon, 30 Aug 2004 14:20:00 +0000 (14:20 +0000)]
Integrate the ms-windows theme engine (better known as Wimp) into the

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

Integrate the ms-windows theme engine (better known as Wimp)
into the autotools build. Wimp (http://gtk-wimp.sourceforge.net/)
was written by Raymond Penners and Dom Lachowicz. The Wimp 0.6.2
sources have been added to the GTK+ source tree in
modules/engines/ms-windows, and there is a ChangeLog detailing
the history of Wimp. (#109615, Havoc Pennington)

* configure.in: Generate modules/engines/Makefile and
modules/engines/ms-windows/Makefile.

* modules/Makefile.am (SUBDIRS): Add engines.

* modules/engines/Makefile.am: Compile ms-windows for win32.

19 years agoMake it compile.
Matthias Clasen [Mon, 30 Aug 2004 13:16:39 +0000 (13:16 +0000)]
Make it compile.

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

* gtk/gtktextview.c (gtk_text_view_delete_surrounding_handler): Make it compile.

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

Fix #151112, Olexiy Avramchenko:

* gtk/gtktreeview.c (gtk_tree_view_search_entry_flush_timeout):
* gtk/gtkiconview.c (scroll_timeout, layout_callback)
(gtk_icon_view_item_accessible_idle_do_action):
* gtk/gtkcombobox.c (list_popup_resize_idle, popdown_idle)
(popup_idle): Protect idle callbacks and timeouts with
GDK_THREADS_ENTER/_LEAVE.

* gtk/gtkfilechooserbutton.c (update_dialog_idle): New function to
call update_dialog() from an idle with the necessary protection.

19 years agoChanges to make sure input methods respect the editability of entries and
Matthias Clasen [Mon, 30 Aug 2004 05:39:49 +0000 (05:39 +0000)]
Changes to make sure input methods respect the editability of entries and

Mon Aug 30 01:34:42 2004  Matthias Clasen  <maclas@gmx.de>

Changes to make sure input methods respect the editability
of entries and text views. #114173, Noah Levitt.

* gtk/gtkentry.c (popup_targets_received): Make the Input
Methods menuitem insensitive if we're not editable.

* gtk/gtkentry.c (gtk_entry_delete_surrounding_cb):
* gtk/gtkentry.c (gtk_entry_preedit_changed_cb):
* gtk/gtkentry.c (gtk_entry_commit_cb): Don't change anything
if we're not editable.

* gtk/gtkentry.c (gtk_entry_focus_out):
* gtk/gtkentry.c (gtk_entry_focus_in): Only send focus_in and
focus_out to the im context if we're editable.

* gtk/gtkentry.c (gtk_entry_set_property): Reset the im context
if the entry just became non-editable.

* gtk/gtktextview.c (gtk_text_view_delete_surrounding_handler):
Use gtk_text_buffer_delete_interactive() to not delete
non-editable portions of text.

19 years agoLink with -limm32.
Tor Lillqvist [Mon, 30 Aug 2004 04:53:23 +0000 (04:53 +0000)]
Link with -limm32.

2004-08-30  Tor Lillqvist  <tml@iki.fi>

* modules/input/Makefile.am (im_ime_la_LIBADD): Link with -limm32.

* modules/input/gtkimcontextime.c: Use quotes in #includes, to
find headers when building inside GTK+ sources.

19 years agoUpdated Nepali Translation
Pawan Chitrakar [Sun, 29 Aug 2004 13:02:22 +0000 (13:02 +0000)]
Updated Nepali Translation

2004-08-29  Pawan Chitrakar  <pawan@nplinux.org>

* ne.po: Updated Nepali Translation

19 years agoAdd drop_failed, like in the X11 backend. Nothing sets it, though.
Tor Lillqvist [Fri, 27 Aug 2004 23:38:06 +0000 (23:38 +0000)]
Add drop_failed, like in the X11 backend. Nothing sets it, though.

2004-08-27  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkdnd-win32.c (GdkDragContextPrivateWin32): Add
drop_failed, like in the X11 backend. Nothing sets it, though.
(gdk_drag_drop_succeeded): Copy from X11 backend.

19 years agoUpdated Ukrainian translation.
Maxim Dziumanenko [Fri, 27 Aug 2004 11:17:50 +0000 (11:17 +0000)]
Updated Ukrainian translation.

2004-08-27  Maxim Dziumanenko <mvd@mylinux.com.ua>

* Updated Ukrainian translation.

19 years agoDon't crash if model is not set. Noted by Mariano Suarez-Alvarez.
Matthias Clasen [Fri, 27 Aug 2004 03:59:05 +0000 (03:59 +0000)]
Don't crash if model is not set. Noted by Mariano Suarez-Alvarez.

Thu Aug 26 23:58:11 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_key_press): Don't crash
if model is not set. Noted by Mariano Suarez-Alvarez.

19 years agoProvide information about how an adjustment change in a range widget
Matthias Clasen [Fri, 27 Aug 2004 02:54:12 +0000 (02:54 +0000)]
Provide information about how an adjustment change in a range widget

Thu Aug 26 22:44:12 2004  Matthias Clasen  <maclas@gmx.de>

Provide information about how an adjustment change in a range
widget happened. Add a "slider-moved" signal which reports how
a user is interacting with the range, whether they are clicking
on a stepper or the trough, or dragging the slider.  (#133263,
Thomas Fitzsimmons)

* gtk/gtkmarshalers.list: Add signal type BOOLEAN:ENUM,DOUBLE.
* gtk/gtkrange.c (gtk_range_class_init): Add "change-value"
signal.
(gtk_range_internal_set_value): Rename to
gtk_range_real_change_value.  Add GtkScrollType parameter.  Emit
the change-value signal when the range's value changes.
(update_slider_position, gtk_range_scroll_event, step_back,
step_forward, page_back, page_forward, scroll_begin,
scroll_end): Change gtk_range_internal_set_value to
gtk_range_real_change_value.
* gtk/gtkrange.h (struct _GtkRangeClass): Declare change_value
function.