]> Pileus Git - ~andy/gtk/log
~andy/gtk
20 years agodon't leak the menu item ID.
Soeren Sandmann [Sat, 17 Jan 2004 11:58:24 +0000 (11:58 +0000)]
don't leak the menu item ID.

Sat Jan 17 12:55:13 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolitem.c (gtk_tool_item_finalize): don't leak the menu
item ID.

20 years agoDon't leak the overflow menu.
Soeren Sandmann [Sat, 17 Jan 2004 11:51:28 +0000 (11:51 +0000)]
Don't leak the overflow menu.

Sat Jan 17 12:37:46 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbar.c (gtk_toolbar_finalize): Don't leak the
overflow menu.

* gtk/gtktoolbar.h (struct _GtkToolbar): Make some fields public.
[#127726]

20 years agoUpdated French translation.
Christophe Merlet [Sat, 17 Jan 2004 10:55:20 +0000 (10:55 +0000)]
Updated French translation.

20 years agoAdded a has_editable field. (_gtk_file_system_model_add_editable): New
Federico Mena Quintero [Sat, 17 Jan 2004 04:34:49 +0000 (04:34 +0000)]
Added a has_editable field. (_gtk_file_system_model_add_editable): New

2004-01-16  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilesystemmodel.c (struct _GtkFileSystemModel): Added a
has_editable field.
(_gtk_file_system_model_add_editable): New function.
(_gtk_file_system_model_remove_editable): New function.
(gtk_file_system_model_get_value): Return appropriate values for
the temporary editable row.
(_gtk_file_system_model_get_info): Handle the editable row.
(_gtk_file_system_model_get_path): Likewise.

* gtk/gtkfilechooserdefault.c (shortcuts_append_bookmarks):
Removed an unused variable.
(toolbar_button_new): Optionally show the button.
(up_button_clicked_cb): Renamed from up_button_cb(), fixed prototype.
(toolbar_create): Add a "New Folder" button for Save mode.
(error_building_filename_dialog): New helper function.
(gtk_file_chooser_default_get_paths): Use error_building_filename_dialog().
(create_file_list): Connect to the "edited" signal of the text
cell renderer.  Store the name column and text renderer in the
impl structure.
(renderer_edited_cb): New callback.
(gtk_file_chooser_default_set_property): Show/hide the "New
folder" button when the save action changes.
(COMPARE_DIRECTORIES): Allow the info values to be NULL.
(COMPARE_DIRECTORIES): Duh, use the list_model, not the
tree_model.
(get_list_file_info): Likewise!
(list_icon_data_func): Handle the path being NULL.
(new_folder_button_clicked): New callback.
(list_name_data_func): If we are on the editable row, set the text
to "Type name of new folder".
(list_selection_changed): Handle the editable row.
(list_mtime_data_func): Likewise.

* gtk/gtkfilesystemunix.c (gtk_file_system_unix_make_path): Return
NULL, not FALSE.
(gtk_file_system_unix_create_folder): Test the result of mkdir() correctly.

20 years agoThe first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and
Matthias Clasen [Fri, 16 Jan 2004 23:10:05 +0000 (23:10 +0000)]
The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and

Fri Jan 16 23:59:01 2004  Matthias Clasen  <maclas@gmx.de>

The first part of the fix for #114351 (see also
gdk-pixbuf/ChangeLog and po/ChangeLog):

* gtk/gtkintl.h:
* gdk-pixbuf/gdk-pixbuf-i18n.h:
* gdk/gdkintl.h: Define P_() for property blurbs and nicks.

* gdk/gdkdisplaymanager.c:
* gdk-pixbuf/gdk-pixbuf.c:
* modules/input/gtkimcontextxim.c:
* gtk/*.c:  Mark property blurbs and nicks with P_().

* po/Makefile.in.in: Add --keyword=P_ to the xgettext
invocation, since property blurbs and nicks are
now marked with P_().

20 years agoFix #130969.
Federico Mena Quintero [Fri, 16 Jan 2004 19:18:28 +0000 (19:18 +0000)]
Fix #130969.

2004-01-16  Federico Mena Quintero  <federico@ximian.com>

Fix #130969.

* gtk/gtkcellrenderer.h (struct _GtkCellRendererClass): Added an
editing_canceled signal.

* gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): Create the
"editing-canceled" signal.
(gtk_cell_renderer_editing_canceled): New function.

* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_editing_done):
Call gtk_cell_renderer_editing_canceled().

20 years agoDo not allow setting select_multiple when in Save mode. (set_list_model):
Federico Mena Quintero [Fri, 16 Jan 2004 05:12:21 +0000 (05:12 +0000)]
Do not allow setting select_multiple when in Save mode. (set_list_model):

2004-01-16  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_set_property): Do not allow setting
select_multiple when in Save mode.
(set_list_model): No need to nullify the list_model and
sort_model.
(gtk_file_chooser_default_get_paths): Handle folder mode as well.
(get_paths_foreach): Likewise.

* gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Clarify
documentation about folder mode.
(gtk_file_chooser_get_uri): Likewise.

20 years agoNew get_volume_for_path() method. (struct _GtkFileSystemIface): Finally
Federico Mena Quintero [Fri, 16 Jan 2004 03:35:33 +0000 (03:35 +0000)]
New get_volume_for_path() method. (struct _GtkFileSystemIface): Finally

2004-01-16  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilesystem.h (struct _GtkFileSystemIface): New
get_volume_for_path() method.
(struct _GtkFileSystemIface): Finally removed the list_roots() and
get_root_info() methods, and the "roots-changed" signal.

* gtk/gtkfilesystem.c (gtk_file_system_get_volume_for_path): New
function.
(gtk_file_system_list_roots): Removed.
(gtk_file_system_get_root_info): Removed.

* gtk/gtkfilesystemunix.c
(gtk_file_system_unix_get_volume_for_path): Implement.
(get_root_volume): New helper function.
(gtk_file_system_unix_list_volumes): Use get_root_volume().
(gtk_file_system_unix_list_roots): Removed.
(gtk_file_system_unix_get_root_info): Removed.

* gtk/gtkfilesystemmodel.c (_gtk_file_system_model_new): Don't
accept a NULL root_path.
(struct _GtkFileSystemModel): Add a field to remember the
root_path.
(_gtk_file_system_model_new): Store the root_path in the model
structure.
(find_and_ref_path): Stop going up the hierarchy at the root_path
of the model.  Also, don't return prematurely when walking up the
hierarchy.

* gtk/gtkfilechooserdefault.c (create_file_list): Sigh, restore
the rules_hint.
(struct _GtkFileChooserDefault): Added a current_volume_path field.
(set_tree_model): New function; create the folder tree model here.
(create_folder_tree): Don't create the model here.
(set_list_model): Set the show_hidden flag on the list model.

20 years agoUpdated Albanian translation
Laurent Dhima [Fri, 16 Jan 2004 01:32:16 +0000 (01:32 +0000)]
Updated Albanian translation

* sq.po: Updated Albanian translation

20 years agoUpdated
Laurent Dhima [Fri, 16 Jan 2004 01:30:40 +0000 (01:30 +0000)]
Updated

20 years agoReturn the index of the newly inserted page. (#130986, Olexiy Avramchenko)
Matthias Clasen [Thu, 15 Jan 2004 23:04:43 +0000 (23:04 +0000)]
Return the index of the newly inserted page. (#130986, Olexiy Avramchenko)

Fri Jan 16 00:04:43 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtknotebook.h:
* gtk/gtknotebook.c (gtk_notebook_append_page):
* gtk/gtknotebook.c (gtk_notebook_append_page_menu):
* gtk/gtknotebook.c (gtk_notebook_prepend_page):
* gtk/gtknotebook.c (gtk_notebook_prepend_page_menu):
* gtk/gtknotebook.c (gtk_notebook_insert_page):
* gtk/gtknotebook.c (gtk_notebook_insert_page_menu): Return the
index of the newly inserted page.  (#130986, Olexiy Avramchenko)

20 years agoMove the old chapters about 1.2 and 2.0 changes to Federicos new
Matthias Clasen [Thu, 15 Jan 2004 22:54:18 +0000 (22:54 +0000)]
Move the old chapters about 1.2 and 2.0 changes to Federicos new

Thu Jan 15 23:54:46 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtk-docs.sgml: Move the old chapters about 1.2 and 2.0
changes to Federicos new 'migrating' part.

20 years agoInserting a 'newly-allocated' to hint that the list should be freed after
Matthias Clasen [Thu, 15 Jan 2004 22:15:39 +0000 (22:15 +0000)]
Inserting a 'newly-allocated' to hint that the list should be freed after

Thu Jan 15 23:17:14 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkuimanager.c (gtk_ui_manager_get_toplevels): Inserting
a 'newly-allocated' to hint that the list should be freed after
use.

20 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Thu, 15 Jan 2004 12:49:25 +0000 (12:49 +0000)]
Translation updated by Tino Meinen.

2004-01-15  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

20 years agoUpdate Czech translation
Miloslav Trmac [Thu, 15 Jan 2004 12:20:30 +0000 (12:20 +0000)]
Update Czech translation

20 years agomove grab_focus to after handling the button presses in the TreeView to
Jonathan Blandford [Thu, 15 Jan 2004 00:12:23 +0000 (00:12 +0000)]
move grab_focus to after handling the button presses in the TreeView to

Wed Jan 14 18:01:52 2004  Jonathan Blandford  <jrb@gnome.org>

        * gtk/gtktreeview.c (gtk_tree_view_button_press): move grab_focus
        to after handling the button presses in the TreeView to avoid
        getting multiple selection_changes()

20 years agoUpdated Serbian translation.
Danilo Šegan [Wed, 14 Jan 2004 23:39:01 +0000 (23:39 +0000)]
Updated Serbian translation.

20 years ago/tmp/cvs2BtS1V
Christian Neumair [Wed, 14 Jan 2004 21:24:09 +0000 (21:24 +0000)]
/tmp/cvs2BtS1V

20 years agoUpdate Irish translations
Alastair McKinstry [Wed, 14 Jan 2004 21:09:53 +0000 (21:09 +0000)]
Update Irish translations

20 years agoDocumentation fix. (#131335, Theppitak Karoonboonyanan)
Matthias Clasen [Wed, 14 Jan 2004 20:14:30 +0000 (20:14 +0000)]
Documentation fix. (#131335, Theppitak Karoonboonyanan)

Wed Jan 14 21:16:20 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkimcontext.c: Documentation fix.  (#131335, Theppitak
Karoonboonyanan)

20 years agoDon't leak name and stock_id. (#131358, Morten Welinder)
Matthias Clasen [Wed, 14 Jan 2004 20:10:27 +0000 (20:10 +0000)]
Don't leak name and stock_id. (#131358, Morten Welinder)

Wed Jan 14 21:00:49 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel):
Don't leak name and stock_id.  (#131358, Morten Welinder)

20 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Wed, 14 Jan 2004 16:59:52 +0000 (16:59 +0000)]
Updated Spanish translation.

2004-01-14  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

20 years agoUpdates to Section 5
GMT 2004 Tony Gale [Wed, 14 Jan 2004 13:08:55 +0000 (13:08 +0000)]
Updates to Section 5

Wed Jan 14 13:07:30 GMT 2004  Tony Gale <gale@gtk.org>

        * docs/faq/gtk-faq.sgml: Updates to Section 5

20 years agoAdd a writable group property to align with the GtkRadioButton API.
Matthias Clasen [Wed, 14 Jan 2004 01:33:53 +0000 (01:33 +0000)]
Add a writable group property to align with the GtkRadioButton API.

Wed Jan 14 02:34:57 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkradioaction.c: Add a writable group property to align
with the GtkRadioButton API.  (#129166, Olivier Andrieu)

20 years agoUpdated Norwegian translation.
Kjartan Maraas [Tue, 13 Jan 2004 21:13:05 +0000 (21:13 +0000)]
Updated Norwegian translation.

2004-01-13  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian translation.

20 years agoTranslation updated by Kees van den Broek.
Vincent van Adrighem [Tue, 13 Jan 2004 15:57:23 +0000 (15:57 +0000)]
Translation updated by Kees van den Broek.

2004-01-13  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Kees van den Broek.

20 years agoUpdate info on using autoconf
GMT 2004 Tony Gale [Tue, 13 Jan 2004 14:50:35 +0000 (14:50 +0000)]
Update info on using autoconf

Tue Jan 13 14:48:27 GMT 2004  Tony Gale <gale@gtk.org>

        * docs/faq/gtk-faq.sgml: Update info on using autoconf

20 years agoUpdate Czech translation
Miloslav Trmac [Tue, 13 Jan 2004 14:06:30 +0000 (14:06 +0000)]
Update Czech translation

20 years agoUpdated Serbian translation.
Danilo Šegan [Tue, 13 Jan 2004 09:01:43 +0000 (09:01 +0000)]
Updated Serbian translation.

20 years agoAdjust to the new connect_proxy signals.
Jody Goldberg [Mon, 12 Jan 2004 22:45:45 +0000 (22:45 +0000)]
Adjust to the new connect_proxy signals.

Mon Jan 12 23:40:34 2004  Matthias Clasen  <maclas@gmx.de>

* tests/testmerge.c: Adjust to the new connect_proxy signals.

* gtk/gtkuimanager.c
* gtk/gtkactiongroup.c
* gtk/gtkaction.c: Move the connect_proxy and disconnect_proxy signals
from GtkAction to GtkActionGroup and proxy it on GtkUIManager. This
removes the confusion between the disconnect_/connect_proxy signals
and the (unrelated) virtual functions of the same name and aligns
the setup with the pre_/post_activate signals.

2004-01-12  Jody Goldberg <jody@gnome.org>

* gtk/gtkaction.c (connect_proxy) : only connect activate for menus
  with no submenus otherwise it looks like we activate every time a
  submenu opens.

2004-01-10  Jody Goldberg <jody@gnome.org>

* gtk/gtkuimanager.c (d) : Add a debug macro to quiet the spew.
s/merge_signals/ui_manager_signals/ for readability.
(gtk_ui_manager_class_init) : add pre_activate and post_activate
  signals.
(cb_proxy_pre_activate) : new.
(cb_proxy_post_activate) : new.
(gtk_ui_manager_insert_action_group) : connect the proxies for
  GtkActionGroup::pre/post_activate
(gtk_ui_manager_remove_action_group) : disconnect them.

* gtk/gtkactiongroup.c (gtk_action_group_class_init) : add
  'sensitive', and 'visible' properties.  Also add pre_activate and
  post_activate signals to help deal with activations at a higher
  level (eg GtkUIManager)
(gtk_action_group_init) : init sensitive and visible
(gtk_action_group_set_property) : add sensitive and visible
(gtk_action_group_get_property) : add sensitive and visible
(gtk_action_group_get_sensitive) : new.
(gtk_action_group_get_visible) : new.
(cb_set_action_sensitivity) : new with minor optimization that only
  signals sensitivity changes if the action could possibly change.
(cb_set_action_visiblility) : ditto.
(gtk_action_group_set_sensitive) : new.  walk the actions directly
  rather than using notify::sensitive because that is simpler, easier
  to read, and more efficient.
(gtk_action_group_set_visible) : ditto.
(gtk_action_group_add_action) : Each action can only be in 1 group,
  set GtkAction::action_group.
(gtk_action_group_remove_action) : clear it.
(gtk_action_group_add_toggle_actions_full) : warning suppression.
(gtk_action_group_add_radio_actions_full) : warning suppression.
(_gtk_action_group_emit_pre_activate) : new protected routine for use
  by GtkAction.
(_gtk_action_group_emit_post_activate) : ditto.

* gtk/gtkaction.c (gtk_action_class_init) : add 'action_group' property.
(gtk_action_init) : initialize it.
(gtk_action_get_property) : get.
(gtk_action_set_property) : set it via
(gtk_action_set_action_group) : new function.
(gtk_action_sync_sensitivity) : new routine to sync proxy sensitivity
  with the logical sensitivity (action & group) rather than the simple
  action::sensitivity.
(gtk_action_sync_visible) : use gtk_action_is_visible to handle
  logical visibility (action & group) rather than the simple
  action::visible.  Use widget show/hide directly.
(connect_proxy) : handle the custom sensitivity handler.
  Make the TOOL_BUTTON signals more general and support TOOL_ITEM
  directly, with special cases for TOOL_BUTTON.  Still not especially
  good it might be useful to handle label/use_underline by parmspec
  lookup.  Those are likely to be implemented by custom types, and are
  assumed to exist in GtkToolItem.
(disconnect_proxy) : disconnect the new sensitivity handler.
(_gtk_action_emit_activate) : add pre/post signals.
(gtk_action_activate) : use logical sensitivity.
(gtk_action_is_sensitive) : logical sensitivity.
(gtk_action_get_sensitive) : actual sensitivity.
(closure_accel_activate) : use logical sensitivity.

20 years agoRemove accidentially committed debug spew.
Matthias Clasen [Sun, 11 Jan 2004 23:08:13 +0000 (23:08 +0000)]
Remove accidentially committed debug spew.

Mon Jan 12 00:10:20 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkuimanager.c: Remove accidentially committed debug spew.

20 years agoUpdated Portuguese translation.
Duarte Loreto [Sun, 11 Jan 2004 01:35:51 +0000 (01:35 +0000)]
Updated Portuguese translation.

2004-01-11  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated Portuguese translation.

20 years agoRemove accidentally committed notification stuff.
Matthias Clasen [Sun, 11 Jan 2004 01:05:42 +0000 (01:05 +0000)]
Remove accidentally committed notification stuff.

Sun Jan 11 01:55:07 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkaccelmap.c: Remove accidentally committed notification stuff.
(gtk_accel_map_lock_path):
(gtk_accel_map_unlock_path): Path locking can now be nested, a missing
entry is silently created during lock_path(), and treated as an error
during unlock_path(). These changes have been requested by Tim Janik.

20 years agoUpdated Norwegian translation.
Kjartan Maraas [Sat, 10 Jan 2004 14:12:07 +0000 (14:12 +0000)]
Updated Norwegian translation.

2004-01-10  Kjartan Maraas  <kmaraas@gnome.org>

* no.po: Updated Norwegian translation.

2004-01-10  Danilo Šegan  <dsegan@gmx.net>

20 years agoUpdated Serbian translation.
Danilo Šegan [Fri, 9 Jan 2004 23:14:36 +0000 (23:14 +0000)]
Updated Serbian translation.

20 years ago2004.01.09 Arafat Medini <lumina@silverpen.de>
Arafat Medini [Fri, 9 Jan 2004 21:43:59 +0000 (21:43 +0000)]
2004.01.09 Arafat Medini <lumina@silverpen.de>

2004.01.09  Arafat Medini <lumina@silverpen.de>

        * ar.po: Updated Arabic translation

20 years agoIntroduce a new parser state for accelerator elements to avoid misparsing
Matthias Clasen [Fri, 9 Jan 2004 21:22:38 +0000 (21:22 +0000)]
Introduce a new parser state for accelerator elements to avoid misparsing

Fri Jan  9 22:23:45 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkuimanager.c: Introduce a new parser state for
accelerator elements to avoid misparsing files containing
such elements.  (#131035, Morten Welinder)

20 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Fri, 9 Jan 2004 21:01:52 +0000 (21:01 +0000)]
Translation updated by Tino Meinen.

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

* nl.po: Translation updated by Tino Meinen.

20 years ago#include <unistd.h> for unlink()
Manish Singh [Fri, 9 Jan 2004 20:00:14 +0000 (20:00 +0000)]
#include <unistd.h> for unlink()

Fri Jan  9 11:58:47 2004  Manish Singh  <yosh@gimp.org>

        * gdk-pixbuf/gdk-pixbuf-io.c: #include <unistd.h> for unlink()

20 years agoUpdate Czech translation
Miloslav Trmac [Fri, 9 Jan 2004 17:44:11 +0000 (17:44 +0000)]
Update Czech translation

20 years agoupdate GtkEntry filter code example
GMT 2004 Tony Gale [Fri, 9 Jan 2004 15:29:38 +0000 (15:29 +0000)]
update GtkEntry filter code example

Fri Jan  9 15:28:21 GMT 2004  Tony Gale <gale@gtk.org>

        * docs/faq/gtk-faq.sgml: update GtkEntry filter code example

20 years agoUpdated Mongolian translation.
Sanlig Badral [Fri, 9 Jan 2004 00:47:55 +0000 (00:47 +0000)]
Updated Mongolian translation.

20 years agoNew function to obtain a list of toplevel widgets constructed by the ui
Matthias Clasen [Thu, 8 Jan 2004 23:37:34 +0000 (23:37 +0000)]
New function to obtain a list of toplevel widgets constructed by the ui

Fri Jan  9 00:34:57 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkuimanager.h:
* gtk/gtkuimanager.c (gtk_ui_manager_get_toplevels): New function to
obtain a list of toplevel widgets constructed by the ui manager.

* gtk/gtkuimanager.h (GtkUIManagerItemType): Change to flags, so that
the values can be combined for gtk_ui_manager_get_toplevels().

* tests/testmerge.c: Add a "Dump toplevels" button to test
gtk_ui_manager_get_toplevels().

20 years agoDon't use bitwise operators on booleans. (#130923, reported by Telsa
Matthias Clasen [Thu, 8 Jan 2004 21:01:21 +0000 (21:01 +0000)]
Don't use bitwise operators on booleans. (#130923, reported by Telsa

Thu Jan  8 22:01:14 2004  Matthias Clasen  <maclas@gmx.de>

* queryloaders.c (loader_sanity_check): Don't use bitwise operators
on booleans.  (#130923, reported by Telsa Gwynne, fix by Dave Jones)

20 years agoUpdated Korean translation.
Changwoo Ryu [Thu, 8 Jan 2004 15:13:53 +0000 (15:13 +0000)]
Updated Korean translation.

* ko.po: Updated Korean translation.

20 years agoFix a couple of small mistakes in previous commit.
Dafydd Harries [Thu, 8 Jan 2004 07:25:46 +0000 (07:25 +0000)]
Fix a couple of small mistakes in previous commit.

20 years agoWelsh translation update by Rhys Jones <rhys@sucs.org> and myself.
Dafydd Harries [Thu, 8 Jan 2004 07:22:46 +0000 (07:22 +0000)]
Welsh translation update by Rhys Jones <rhys@sucs.org> and myself.

20 years agoFix link in deprecation note.
Matthias Clasen [Wed, 7 Jan 2004 23:12:32 +0000 (23:12 +0000)]
Fix link in deprecation note.

Thu Jan  8 00:14:02 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/tmpl/gtkmain.sgml (gtk_input_add_full): Fix link in deprecation
note.

20 years agoAdd entry_completion.c
Matthias Clasen [Wed, 7 Jan 2004 22:19:51 +0000 (22:19 +0000)]
Add entry_completion.c

Wed Jan  7 23:20:06 2004  Matthias Clasen  <maclas@gmx.de>

* demos/gtk-demo/Makefile.am (demos): Add entry_completion.c

* demos/gtk-demo/entry_completion.c: New demo for GtkEntryCompletion
by Anders Carlsson  (#130464).

20 years agoChange the return value from gint to gboolean. (#130718, reported by
Matthias Clasen [Wed, 7 Jan 2004 22:06:07 +0000 (22:06 +0000)]
Change the return value from gint to gboolean. (#130718, reported by

Wed Jan  7 23:07:28 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkmain.h:
* gtk/gtkmain.c (gtk_events_pending): Change the return value from
gint to gboolean.  (#130718, reported by Johannes Weißl)

20 years agoRemove the redundant name and stock_id parameters, adjust all callers.
Matthias Clasen [Wed, 7 Jan 2004 22:02:02 +0000 (22:02 +0000)]
Remove the redundant name and stock_id parameters, adjust all callers.

Wed Jan  7 23:03:32 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkactiongroup.h:
* gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel):
Remove the redundant name and stock_id parameters, adjust all callers.

20 years agoAdd creation functions for actions.
Matthias Clasen [Wed, 7 Jan 2004 21:54:33 +0000 (21:54 +0000)]
Add creation functions for actions.

Wed Jan  7 22:20:20 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkaction.h:
* gtk/gtkaction.c (gtk_action_new):
* gtk/gtktoggleaction.h:
* gtk/gtktoggleaction.c (gtk_toggle_action_new):
* gtk/gtkradioaction.h:
* gtk/gtkradioaction.c (gtk_radio_action_new): Add creation
functions for actions.

* gtk/gtkactiongroup.c (gtk_action_group_add_actions_full):
(gtk_action_group_add_toggle_actions_full):
(gtk_action_group_add_radio_actions_full): and use the
new functions here.  (#125322, Patch by Jeff Frank)

20 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Wed, 7 Jan 2004 21:29:03 +0000 (21:29 +0000)]
Translation updated by Tino Meinen.

2004-01-07  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

20 years agoFix a bug reference.
Matthias Clasen [Wed, 7 Jan 2004 20:54:44 +0000 (20:54 +0000)]
Fix a bug reference.

20 years agoFix grammar of docs.
Matthias Clasen [Wed, 7 Jan 2004 20:44:07 +0000 (20:44 +0000)]
Fix grammar of docs.

Wed Jan  7 21:42:49 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkaccelmap.c (gtk_accel_map_lock_path): Fix grammar of
docs.

20 years agoadd REMOVABLE column to the shortcuts_model.
Jan Arne Petersen [Wed, 7 Jan 2004 17:07:18 +0000 (17:07 +0000)]
add REMOVABLE column to the shortcuts_model.

2004-01-07  Jan Arne Petersen  <jpetersen@uni-bonn.de>

        * gtk/gtkfilechooserdefault.c: (shortcuts_insert_path),
        (shortcuts_append_home), (shortcuts_append_desktop),
        (shortcuts_append_paths), (shortcuts_add_volumes),
        (shortcuts_append_bookmarks), (create_shortcuts_model),
        (gtk_file_chooser_default_add_shortcut_folder): add REMOVABLE column
        to the shortcuts_model.

        (remove_bookmark_button_clicked_cb),
        (bookmarks_check_remove_sensitivity): use REMOVABLE column to check if
        bookmarks can be removed. Fixes #129873

20 years agoMarkup fixes - Federico
Federico Mena Quintero [Wed, 7 Jan 2004 03:34:22 +0000 (03:34 +0000)]
Markup fixes - Federico

20 years agoEscape an ampersand in the documentation comment, and hack around an empty
Federico Mena Quintero [Wed, 7 Jan 2004 03:31:21 +0000 (03:31 +0000)]
Escape an ampersand in the documentation comment, and hack around an empty

2004-01-06  Federico Mena Quintero  <federico@ximian.com>

* gdk-pixbuf-io.c (gdk_pixbuf_save): Escape an ampersand in the
documentation comment, and hack around an empty line in the code
example so that gtk-doc won't put a <para> due to it.

20 years agoLink to the documentation section on image data.
Federico Mena Quintero [Wed, 7 Jan 2004 03:17:17 +0000 (03:17 +0000)]
Link to the documentation section on image data.

2004-01-06  Federico Mena Quintero  <federico@ximian.com>

* gdk-pixbuf.c (gdk_pixbuf_get_pixels): Link to the documentation
section on image data.

20 years agoAdded a section on how to compute pixel offsets for
Federico Mena Quintero [Wed, 7 Jan 2004 03:16:10 +0000 (03:16 +0000)]
Added a section on how to compute pixel offsets for

2004-01-06  Federico Mena Quintero  <federico@ximian.com>

* gdk-pixbuf/tmpl/gdk-pixbuf.sgml: Added a section on how to
compute pixel offsets for gdk_pixbuf_get_pixels().

20 years agoFix example in documentation comment. Fixes #130701.
Federico Mena Quintero [Wed, 7 Jan 2004 02:26:35 +0000 (02:26 +0000)]
Fix example in documentation comment. Fixes #130701.

2004-01-06  Federico Mena Quintero  <federico@ximian.com>

* gdk-pixdata.c (gdk_pixbuf_new_from_inline): Fix example in
documentation comment.  Fixes #130701.

20 years agoMake s, S, Control-S, p, P, Control-P, i, I, Control-I test
Matthias Clasen [Wed, 7 Jan 2004 01:59:11 +0000 (01:59 +0000)]
Make s, S, Control-S, p, P, Control-P, i, I, Control-I test

Wed Jan  7 02:50:55 2004  Matthias Clasen  <maclas@gmx.de>

* demos/testpixbuf-save.c: Make s, S, Control-S, p, P, Control-P,
i, I, Control-I test gdk_pixbuf_save(), gdk_pixbuf_save_to_buffer()
and gdk_pixbuf_save_to_callback() with jpeg, png and ico formats,
respectively. Tests #82203.

20 years agoDocument GdkPixbufSaveFunc.
Matthias Clasen [Wed, 7 Jan 2004 01:58:40 +0000 (01:58 +0000)]
Document GdkPixbufSaveFunc.

Wed Jan  7 01:56:33 2004  Matthias Clasen  <maclas@gmx.de>

* gdk-pixbuf/tmpl/file-saving.sgml: Document GdkPixbufSaveFunc.

* gdk-pixbuf/gdk-pixbuf-sections.txt: Add GdkPixbufSaveFunc,
gdk_pixbuf_save_to_callback, gdk_pixbuf_save_to_callbackv,
gdk_pixbuf_save_to_buffer and gdk_pixbuf_save_to_bufferv.

20 years agoNew public API to save pixbufs to non-file locations. (#82203, Tim Evans)
Matthias Clasen [Wed, 7 Jan 2004 01:57:42 +0000 (01:57 +0000)]
New public API to save pixbufs to non-file locations. (#82203, Tim Evans)

Wed Jan  7 02:41:14 2004  Matthias Clasen  <maclas@gmx.de>

* gdk-pixbuf-io.c (gdk_pixbuf_save_to_bufferv):
* gdk-pixbuf-io.c (gdk_pixbuf_save_to_buffer):
* gdk-pixbuf-io.c (gdk_pixbuf_save_to_callbackv):
* gdk-pixbuf-io.c (gdk_pixbuf_save_to_callback): New public API
to save pixbufs to non-file locations.  (#82203, Tim Evans)

* gdk-pixbuf.h:
* gdk_pixbuf.def: Declare the new public API.

* gdk-pixbuf-io.h: Add save_to_callback to the module interface.

* io-jpeg.c:
* io-png.c: Implement save_to_callback.

* gdk-pixbuf-io.c (gdk_pixbuf_savev):
* gdk-pixbuf-io.c (gdk_pixbuf_save): Update documentation.

* gdk-pixbuf-io.c (gdk_pixbuf_real_save): Support saving via
image_module->save_to_callback.

* gdk-pixbuf-io.c (gdk_pixbuf_real_save_to_callback): New generic
save_to_callback function which falls back to image_module->save
on a temp file.

20 years agoMake it possible to call gdk_pixbuf_loader_set_size (loader, 0, 0) by
Matthias Clasen [Wed, 7 Jan 2004 00:26:58 +0000 (00:26 +0000)]
Make it possible to call gdk_pixbuf_loader_set_size (loader, 0, 0) by

Wed Jan  7 01:17:36 2004  Matthias Clasen  <maclas@gmx.de>

* gdk-pixbuf-loader.c (gdk_pixbuf_loader_size_func):
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_set_size):
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_init): Make it possible
to call gdk_pixbuf_loader_set_size (loader, 0, 0) by changing
the initial values of priv->width/height to -1.

* io-tiff.c (tiff_image_parse):
* io-ras.c (RAS2State):
* io-pnm.c (gdk_pixbuf__pnm_image_load_increment):
* io-pcx.c (gdk_pixbuf__pcx_load_increment):
* io-jpeg.c (gdk_pixbuf__jpeg_image_load_increment):
* io-png.c (png_info_callback):
* io-ico.c (DecodeHeader):
* io-bmp.c (DecodeHeader): Call size_func once the size is known,
even if the module can't make use of the scaling information. If
size_func returns 0, don't allocate a pixbuf and return, if
necessary with an error.

* gdk-pixbuf.h:
* gdk-pixbuf-io.c (gdk_pixbuf_get_file_info): A new function
to determine the type and size of an image file without loading
it completely.  (#53725)

20 years agoCall gtk_tool_item_set_visible_vertical for PROP_VISIBLE_VERTICAL.
Jody Goldberg [Tue, 6 Jan 2004 20:39:48 +0000 (20:39 +0000)]
Call gtk_tool_item_set_visible_vertical for PROP_VISIBLE_VERTICAL.

2004-01-06  Jody Goldberg <jody@gnome.org>

* gtk/gtktoolitem.c (gtk_tool_item_set_property) : Call
  gtk_tool_item_set_visible_vertical for PROP_VISIBLE_VERTICAL.

20 years agoUse 0777 as the mode for mkdir() and let the umask do the right thing.
Federico Mena Quintero [Tue, 6 Jan 2004 20:34:47 +0000 (20:34 +0000)]
Use 0777 as the mode for mkdir() and let the umask do the right thing.

2004-01-06  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilesel.c (gtk_file_selection_create_dir_confirmed): Use
0777 as the mode for mkdir() and let the umask do the right
thing.  Fixes #121819.

20 years agog_path_skip_root() can return NULL; handle this. Fixes #129565.
Federico Mena Quintero [Tue, 6 Jan 2004 20:20:43 +0000 (20:20 +0000)]
g_path_skip_root() can return NULL; handle this. Fixes #129565.

2004-01-06  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilesystemunix.c (filename_is_root): g_path_skip_root()
can return NULL; handle this.  Fixes #129565.

20 years agoUpdate Czech translation
Miloslav Trmac [Tue, 6 Jan 2004 16:51:03 +0000 (16:51 +0000)]
Update Czech translation

20 years agocorrected the wrong date in ChangeLog.
Roozbeh Pournader [Tue, 6 Jan 2004 13:57:08 +0000 (13:57 +0000)]
corrected the wrong date in ChangeLog.

20 years agoRemoved space that proceeded the end-of-sentence punctuation. Fixes:
Alexander Winston [Tue, 6 Jan 2004 13:52:51 +0000 (13:52 +0000)]
Removed space that proceeded the end-of-sentence punctuation. Fixes:

2004-01-06  Alexander Winston  <alexander.winston@comcast.net>

* gtk/gtkfilesel.c: (gtk_file_selection_delete_file): Removed space
that proceeded the end-of-sentence punctuation. Fixes: #130353.

20 years agoOops, call shortcuts_add_bookmarks() here.
Federico Mena Quintero [Tue, 6 Jan 2004 05:13:31 +0000 (05:13 +0000)]
Oops, call shortcuts_add_bookmarks() here.

2004-01-05  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (shortcuts_append_bookmarks): Oops,
call shortcuts_add_bookmarks() here.
(remove_bookmark_button_clicked_cb): Ahem, fetch the selected
iter.
(shortcuts_append_paths): Don't display error dialogs here.
(create_file_list): Remove the @#$% rules hint.

20 years agoNew helper function. (toolbar_create): Do not use a toolbar widget, just
Federico Mena Quintero [Tue, 6 Jan 2004 04:18:42 +0000 (04:18 +0000)]
New helper function. (toolbar_create): Do not use a toolbar widget, just

2004-01-05  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (toolbar_button_new): New helper
function.
(toolbar_create): Do not use a toolbar widget, just an hbox
instead.  Add the bookmarks buttons and the current folder label
here.
(create_filename_entry_and_filter_combo): Create the filter combo
here.
(filter_create): Don't show the filter combo initially.
(up_button_cb): Renamed from toolbar_up_cb().
(create_shortcuts_buttons): Removed.

20 years agoUpdated Swedish translation.
Christian Rose [Tue, 6 Jan 2004 01:16:53 +0000 (01:16 +0000)]
Updated Swedish translation.

2004-01-06  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

20 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Mon, 5 Jan 2004 20:50:25 +0000 (20:50 +0000)]
Translation updated by Tino Meinen.

2004-01-05  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

20 years agoUpdated Serbian translation, added missing file to POTFILES.in.
Danilo Šegan [Mon, 5 Jan 2004 20:24:59 +0000 (20:24 +0000)]
Updated Serbian translation, added missing file to POTFILES.in.

20 years agoand a bit more.
Murray Cumming [Mon, 5 Jan 2004 18:28:09 +0000 (18:28 +0000)]
and a bit more.

20 years agoAdded <public> documentation to the struct, as suggested by Owen Taylor.
Murray Cumming [Mon, 5 Jan 2004 18:24:08 +0000 (18:24 +0000)]
Added <public> documentation to the struct, as suggested by Owen Taylor.

2004-01-05  Murray Cumming  <murrayc@usa.net>

        * gdk/gdkimage.h: Added <public> documentation to the struct, as
        suggested by Owen Taylor.

20 years agoChange API so group is a GtkRadioButton, not a GtkWidget.
Soeren Sandmann [Sun, 4 Jan 2004 20:00:30 +0000 (20:00 +0000)]
Change API so group is a GtkRadioButton, not a GtkWidget.

Sun Jan  4 15:29:04 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkradiotoolbutton.[ch]
(gtk_radio_tool_button_new_with_stock_from_widget): Change API so
group is a GtkRadioButton, not a GtkWidget.

20 years agoCVS_SILENT
Görkem Çetin [Sun, 4 Jan 2004 19:48:39 +0000 (19:48 +0000)]
CVS_SILENT

20 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Sun, 4 Jan 2004 17:10:08 +0000 (17:10 +0000)]
Translation updated by Tino Meinen.

2004-01-04  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

20 years agouse SWP_NOACTIVATE in gdk_window_set_keep_(above|below) to make DND work
Hans Breuer [Sun, 4 Jan 2004 15:45:56 +0000 (15:45 +0000)]
use SWP_NOACTIVATE in gdk_window_set_keep_(above|below) to make DND work

2004-01-04  Hans Breuer  <hans@breuer.org>

* gdk/win32/gdkwindow-win32.c : use SWP_NOACTIVATE in
gdk_window_set_keep_(above|below) to make DND work again.
Thanks to Alif Wahid for noticing.

* gdk/gdk.def : update externals

* gtk/gtkfilesystemwin32.c : adapt to GtkFileSystemIFace changes

* gtk/gtk-stock.[hc] gtk/gtkiconfactory.c
  gtk/stock-icons/Makefile.am gtk/stock-icons/makefile.msc :
  gtk/stock-icons/stock_harddisk_16.png
  gtk/stock-icons/stock_harddisk_24.png
Harddisk stock icons for file system implementations. Beside
FLOPPY and CDROM there is now HARDDISK, probably some
GTK_STOCK_NETWORK would be useful, but I could not find one.

20 years agoUpdated Norwegian Nynorsk translation.
Åsmund Skjæveland [Sun, 4 Jan 2004 13:35:10 +0000 (13:35 +0000)]
Updated Norwegian Nynorsk translation.

2004-01-04  Åsmund Skjæveland  <aasmunds@fys.uio.no>

* nn.po: Updated Norwegian Nynorsk translation.

20 years agoTurn the pixbuf attributes into (construct-only, but always readable)
Matthias Clasen [Sat, 3 Jan 2004 23:45:06 +0000 (23:45 +0000)]
Turn the pixbuf attributes into (construct-only, but always readable)

Sun Jan  4 00:44:57 2004  Matthias Clasen  <maclas@gmx.de>

* gdk-pixbuf.c (gdk_pixbuf_class_init): Turn the pixbuf
attributes into (construct-only, but always readable)
properties.  (#130196)

* gdk-pixbuf-data.c (gdk_pixbuf_new_from_data): Set properties
in g_object_new().

20 years agoUpdate freedesktop.org clipboard doc link. Patch from Andrew Moise
Manish Singh [Sat, 3 Jan 2004 19:43:54 +0000 (19:43 +0000)]
Update freedesktop.org clipboard doc link. Patch from Andrew Moise

Sat Jan  3 11:39:42 2004  Manish Singh  <yosh@gimp.org>

        * gtk/gtkclipboard.c: Update freedesktop.org clipboard doc link.
        Patch from Andrew Moise (#130462).

20 years agoUpdated Persian translation.
Roozbeh Pournader [Sat, 3 Jan 2004 14:21:33 +0000 (14:21 +0000)]
Updated Persian translation.

2004-01-03  Roozbeh Pournader  <roozbeh@sharif.edu>

* fa.po: Updated Persian translation.

20 years agoUpdated Portuguese translation.
Duarte Loreto [Sat, 3 Jan 2004 02:42:54 +0000 (02:42 +0000)]
Updated Portuguese translation.

2004-01-03  Duarte Loreto <happyguy_pt@hotmail.com>

* pt.po: Updated Portuguese translation.

20 years agoadd visible_horizontal, visible_vertical. (gtk_action_class_init) : here.
Jody Goldberg [Fri, 2 Jan 2004 23:14:28 +0000 (23:14 +0000)]
add visible_horizontal, visible_vertical. (gtk_action_class_init) : here.

2004-01-01  Jody Goldberg <jody@gnome.org>

* gtk/gtkaction.c (_GtkActionPrivate) : add visible_horizontal,
  visible_vertical.
(gtk_action_class_init) : here.
(gtk_action_init) : here.
(gtk_action_set_property) : here.
(gtk_action_get_property) : here.
(connect_proxy) : and here.

2003-12-30  Jody Goldberg <jody@gnome.org>

* gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel) :  new
  utility routine for use in derived GtkActions with the replicated code
  from.
(gtk_action_group_add_actions_full) : here.
(gtk_action_group_add_toggle_actions_full) : here.
(gtk_action_group_add_radio_actions_full) : and here.

2003-12-24  Jody Goldberg <jody@gnome.org>

* gtk/gtkactiongroup.h : Add some const to the char * in
  GtkActionEntry*.  We're reccomending people pass static strings to
  them, and not freeing them.  This stems to flood of warnings that
  result.
* gtk/gtkactiongroup.c (gtk_action_group_add_actions_full) : change
  temp vars to const to match above.
(gtk_action_group_add_toggle_actions_full) : ditto.
(gtk_action_group_add_radio_actions_full) : ditto.

20 years agoUpdated Estonian translation.
Tõivo Leedjärv [Fri, 2 Jan 2004 21:56:30 +0000 (21:56 +0000)]
Updated Estonian translation.

2004-01-02  Tõivo Leedjärv  <toivo@linux.ee>

        * et.po: Updated Estonian translation.

20 years agoUpdated French translation.
Christophe Merlet [Fri, 2 Jan 2004 18:52:39 +0000 (18:52 +0000)]
Updated French translation.

20 years agoUpdated Serbian translation.
Danilo Šegan [Fri, 2 Jan 2004 15:16:43 +0000 (15:16 +0000)]
Updated Serbian translation.

20 years agoUpdated Italian translation.
Alessio Frusciante [Fri, 2 Jan 2004 11:34:49 +0000 (11:34 +0000)]
Updated Italian translation.

20 years agoAdded "bn" to ALL_LINGUAS. Added Bangla translation by of Ankur group
Taneem Ahmed [Fri, 2 Jan 2004 02:58:30 +0000 (02:58 +0000)]
Added "bn" to ALL_LINGUAS. Added Bangla translation by of Ankur group

2004-01-01  Taneem Ahmed  <taneem@bengalinux.org>

* configure.in: Added "bn" to ALL_LINGUAS.
* po/bn.po: Added Bangla translation by
of Ankur group <gnome-translation@bengalinux.org>.

20 years agoChanges to support week_start values other than 0 and 1, e.g. 6 will let
Matthias Clasen [Fri, 2 Jan 2004 01:52:04 +0000 (01:52 +0000)]
Changes to support week_start values other than 0 and 1, e.g. 6 will let

Fri Jan  2 02:50:11 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcalendar.c (gtk_calendar_compute_days):
* gtk/gtkcalendar.c (gtk_calendar_paint_day_names):
* gtk/gtkcalendar.c (gtk_calendar_init): Changes to support
week_start values other than 0 and 1, e.g. 6 will let weeks start
on Saturday.  (#130353, Roozbeh Pournader)

20 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Thu, 1 Jan 2004 19:17:29 +0000 (19:17 +0000)]
Updated Spanish translation.

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

* es.po: Updated Spanish translation.

20 years agoUpdated Persian translation.
Roozbeh Pournader [Thu, 1 Jan 2004 17:41:08 +0000 (17:41 +0000)]
Updated Persian translation.

2004-01-01  Roozbeh Pournader  <roozbeh@sharif.edu>

* fa.po: Updated Persian translation.

20 years agoUpdated Persian translation.
Roozbeh Pournader [Thu, 1 Jan 2004 15:43:41 +0000 (15:43 +0000)]
Updated Persian translation.

2004-01-01  Roozbeh Pournader  <roozbeh@sharif.edu>

* fa.po: Updated Persian translation.

20 years agoUpdated Norwegian Nynorsk translation.
Åsmund Skjæveland [Thu, 1 Jan 2004 13:31:27 +0000 (13:31 +0000)]
Updated Norwegian Nynorsk translation.

2004-01-01  Åsmund Skjæveland  <aasmunds@fys.uio.no>

* nn.po: Updated Norwegian Nynorsk translation.

20 years ago*** empty log message ***
Denis Lackovic [Thu, 1 Jan 2004 10:32:18 +0000 (10:32 +0000)]
*** empty log message ***

20 years agoUpdate Czech translation
Miloslav Trmac [Thu, 1 Jan 2004 01:56:25 +0000 (01:56 +0000)]
Update Czech translation