]> Pileus Git - ~andy/gtk/log
~andy/gtk
19 years agoMake PLT-reduction work with gcc4, and don't include everything in
Matthias Clasen [Wed, 16 Mar 2005 03:17:27 +0000 (03:17 +0000)]
Make PLT-reduction work with gcc4, and don't include everything in

2005-03-15  Matthias Clasen  <mclasen@redhat.com>

Make PLT-reduction work with gcc4, and don't include
everything in gdkalias.h:

* gdk/gdk.symbols: Group symbols by header and source file.
* gdk/makegdkalias.pl: Protect definitions by the same
preprocessor symbols used to guard the headers. Move
the alias declarations to a separate file which is
produced when calling makegdkalias.pl -def
* gdk/Makefile.am (gdkaliasdef.c): Add a rule to generate this
file.
* gdk/*.c, gdk/x11/*.c: Include gdkalias.h after the other
headers, include gdkaliasdef.c at the bottom.

19 years agogdk/win32/gdkprivate-win32.h Drop global variable _gdk_root_window, just
Tor Lillqvist [Wed, 16 Mar 2005 02:21:14 +0000 (02:21 +0000)]
gdk/win32/gdkprivate-win32.h Drop global variable _gdk_root_window, just

2005-03-16  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkprivate-win32.h
* gdk/win32/*.c: Drop global variable _gdk_root_window, just call
GetDesktopWindow(). Rename the GdkWindow* _gdk_parent_root to
_gdk_root.

* gdk/win32/gdkwindow-win32.h (GdkWindowImplWin32): Add
toplevel_window_type field.

* gdk/win32/gdkwindow-win32.c: As there is only one root
window in GDK on Win32, we can compare directly to _gdk_root
instead of checking the window type.
(gdk_window_reparent): When reparenting a child of the desktop
clear out the window decorations. Correspondingly, when
reparenting to the desktop, add decorations. As in the X11
backend, save the window type of a toplevel window when
reparenting, in case it is reparented back to toplevel.

19 years agoPrint debugging output only if asked for, not always.
Tor Lillqvist [Wed, 16 Mar 2005 01:38:57 +0000 (01:38 +0000)]
Print debugging output only if asked for, not always.

2005-03-16  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkdisplay-win32.c (_win32_on_clipboard_change): Print
debugging output only if asked for, not always.

* gdk/win32/*.c: Use the %+d%+d format for coordinate pairs in
debugging printout instead of +%d+%d. Misc other additions and
cosmetic improvements to debugging printouts. Use API_CALL() and
GDI_CALL() macros in more places.

* gdk/win32/gdkwindow-win32.c (gdk_window_move, gdk_window_resize,
gdk_window_move_resize): To detect child windows, check whether
the real parent is not the desktop window, instead of relying on
the GDK window type being GDK_WINDOW_CHILD. Foreign GtkPlug
windows have a GDK window type GDK_WINDOW_FOREIGN, but are still
de facto child windows.

19 years agoAdd an example for manually setting up a group of actions.
Matthias Clasen [Tue, 15 Mar 2005 16:33:43 +0000 (16:33 +0000)]
Add an example for manually setting up a group of actions.

2005-03-15  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkradioaction.c (gtk_radio_action_get_group): Add an
example for manually setting up a group of actions.

19 years agoDocument that inline completion requires text-column to be set.
Matthias Clasen [Tue, 15 Mar 2005 15:00:11 +0000 (15:00 +0000)]
Document that inline completion requires text-column to be set.

2005-03-15  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkentrycompletion.c (gtk_entry_completion_class_init):
Document that inline completion requires text-column to be set.
(gtk_entry_completion_compute_prefix): Return NULL if text-column
is not set.

* gtk/gtkentry.c (check_completion_callback): Call
gtk_entry_completion_complete() before inserting the prefix,
otherwise the prefix may depend on (random) state of the
filter model.

19 years agoUpdate spec.
Anders Carlsson [Tue, 15 Mar 2005 13:18:25 +0000 (13:18 +0000)]
Update spec.

2005-03-15  Anders Carlsson  <andersca@imendio.com>

* docs/iconcache.txt:
Update spec.

* gtk/gtkiconcache.c: (find_image_offset),
(_gtk_icon_cache_get_icon_flags), (_gtk_icon_cache_add_icons),
(_gtk_icon_cache_get_icon), (_gtk_icon_cache_get_icon_data):
* gtk/gtkiconcache.h:
Update to be able to fetch pixbuf data and icon metadata.

* gtk/gtkicontheme.c: (theme_lookup_icon), (gtk_icon_info_free),
(icon_info_ensure_scale_and_pixbuf):
Use new cache functions.

* gtk/updateiconcache.c: (foreach_remove_func), (load_icon_data),
(maybe_cache_image_data), (scan_directory), (write_pixdata),
(get_image_meta_data_size), (get_image_pixel_data_size),
(get_image_data_size), (get_single_node_size), (get_bucket_size),
(write_bucket), (main):
Update to write pixbuf data as well as information from .icon
files.

19 years agoNew debugging function. As GetKeyNameText() returns a localized key name
Tor Lillqvist [Tue, 15 Mar 2005 02:07:08 +0000 (02:07 +0000)]
New debugging function. As GetKeyNameText() returns a localized key name

2005-03-15  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkmain-win32.c (_gdk_win32_key_to_string): New
debugging function. As GetKeyNameText() returns a localized key
name we need to convert it to UTF-8.

* gdk/win32/gdkprivate-win32.h: Declare it.

* gdk/win32/gdkevents-win32.c: Use it.

* gdk/win32/gdkwindow-win32.c (gdk_window_new_internal): Fix
handling of children of foreign windows. They should be child
windows from Windows's perspective, even if they are toplevel GDK
windows.

19 years agoMake PLT-reduction work with gcc4, and don't include everything in
Matthias Clasen [Mon, 14 Mar 2005 19:37:00 +0000 (19:37 +0000)]
Make PLT-reduction work with gcc4, and don't include everything in

2005-03-14  Matthias Clasen  <mclasen@redhat.com>

Make PLT-reduction work with gcc4, and don't include
everything in gdk-pixbuf-alias.h:

* gdk-pixbuf.symbols: Group symbols by header and source file.
* /makegdkpixbufalias.pl: Protect definitions by the same
preprocessor symbols used to guard the headers. Move
the alias declarations to a separate file which is
produced when calling makegdkpixbufalias.pl -def
* Makefile.am (gdk-pixbuf-aliasdef.c): Add a rule to generate
this file.
* *.c: Include gdk-pixbuf-alias.h after the other headers,
include gdk-pixbuf-aliasdef.c at the bottom.

19 years agoA further fix for big window support. Now also the test in testgtk works.
Ivan, Wong Yat Cheung [Sat, 12 Mar 2005 22:09:54 +0000 (22:09 +0000)]
A further fix for big window support. Now also the test in testgtk works.

2005-03-13  Ivan, Wong Yat Cheung  <email@ivanwong.info>

* gdk/win32/gdkgeometry-win32.c (gdk_window_scroll): A further fix
for big window support. Now also the test in testgtk works.

19 years agoMake it compile
Matthias Clasen [Sat, 12 Mar 2005 04:21:42 +0000 (04:21 +0000)]
Make it compile

19 years agoDon't crash on style changes. (#169334, Yury Puzis)
Matthias Clasen [Sat, 12 Mar 2005 04:00:12 +0000 (04:00 +0000)]
Don't crash on style changes. (#169334, Yury Puzis)

2005-03-11  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkaboutdialog.c (add_credits_page): Don't crash on
style changes.  (#169334, Yury Puzis)

19 years agoFix the doc comments. (#169967, Masao Mutoh)
Matthias Clasen [Sat, 12 Mar 2005 03:38:31 +0000 (03:38 +0000)]
Fix the doc comments. (#169967, Masao Mutoh)

2005-03-11  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkicontheme.c (gtk_icon_theme_set_custom_theme): Fix
the doc comments.  (#169967, Masao Mutoh)

19 years agoBig window fix for Win32. Big windows are still emulated within 16-bit
Ivan, Wong Yat Cheung [Fri, 11 Mar 2005 23:50:21 +0000 (23:50 +0000)]
Big window fix for Win32. Big windows are still emulated within 16-bit

2005-03-12  Ivan, Wong Yat Cheung  <email@ivanwong.info>

Big window fix for Win32. Big windows are still emulated within
16-bit coordinate limits, though. Big windows now work on NT-based
Windows. (#169989)

* gdk/win32/gdkgc-win32.c (_gdk_win32_gdkregion_to_hrgn): Use
32-bit coordinates.

* gdk/win32/gdkgeometry-win32.c: Largely rewrite.

* gdk/win32/gdkwindow-win32.c: Minor related changes.

19 years agoFix a doc typo. (#169873, Johan Dahlin)
Matthias Clasen [Fri, 11 Mar 2005 04:32:01 +0000 (04:32 +0000)]
Fix a doc typo. (#169873, Johan Dahlin)

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

* gtk/gtkliststore.c (gtk_list_store_insert_with_valuesv):
Fix a doc typo.  (#169873, Johan Dahlin)

19 years agoDon't try to focus the default_widget if there is none. (#169881, Thomas
Matthias Clasen [Fri, 11 Mar 2005 04:28:13 +0000 (04:28 +0000)]
Don't try to focus the default_widget if there is none. (#169881, Thomas

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

* gtk/gtkdialog.c (gtk_dialog_map): Don't
try to focus the default_widget if there is
none.  (#169881, Thomas Leonard)

19 years agogdk-pixbuf-core.h gdk-pixbuf-io.c Implement DLL ABI stablility for
Tor Lillqvist [Thu, 10 Mar 2005 19:13:19 +0000 (19:13 +0000)]
gdk-pixbuf-core.h gdk-pixbuf-io.c Implement DLL ABI stablility for

2005-03-10  Tor Lillqvist  <tml@novell.com>

* gdk-pixbuf-core.h
* gdk-pixbuf-io.c
* gdk-pixbuf.symbols: Implement DLL ABI stablility for
gdk_pixbuf_save() and gdk_pixbuf_savev(). (#167973)

19 years agoRemove inadvertent gail references, require Pango 1.9.0
Manish Singh [Thu, 10 Mar 2005 03:21:28 +0000 (03:21 +0000)]
Remove inadvertent gail references, require Pango 1.9.0

Wed Mar  9 19:20:44 2005  Manish Singh  <yosh@gimp.org>

        * configure.in: Remove inadvertent gail references, require
        Pango 1.9.0

19 years agoBump GLib requirement
Matthias Clasen [Wed, 9 Mar 2005 19:39:50 +0000 (19:39 +0000)]
Bump GLib requirement

19 years agoFix a C99ism. (#169741, Morten Welinder)
Matthias Clasen [Wed, 9 Mar 2005 18:20:04 +0000 (18:20 +0000)]
Fix a C99ism. (#169741, Morten Welinder)

2005-03-09  Matthias Clasen  <mclasen@redhat.com>

* io-gif-animation.c (gdk_pixbuf_gif_anim_frame_composite): Fix
a C99ism.  (#169741, Morten Welinder)

19 years agoTypo fixes. (#169728, Morten Welinder, Owen Taylor)
Matthias Clasen [Wed, 9 Mar 2005 17:47:32 +0000 (17:47 +0000)]
Typo fixes. (#169728, Morten Welinder, Owen Taylor)

2005-03-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkwidget.sgml: Typo fixes.  (#169728,
Morten Welinder, Owen Taylor)

19 years agoFix a typo in the docs. (#169729, Morten Welinder)
Matthias Clasen [Wed, 9 Mar 2005 17:41:31 +0000 (17:41 +0000)]
Fix a typo in the docs. (#169729, Morten Welinder)

2005-03-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwidget.c (gtk_widget_add_mnemonic_label): Fix a typo
in the docs.  (#169729, Morten Welinder)

19 years agoFix a typo.
Matthias Clasen [Wed, 9 Mar 2005 16:19:12 +0000 (16:19 +0000)]
Fix a typo.

2005-03-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkimage.c (gtk_image_class_init): Fix a typo.

19 years agoQueue a resize when the model is unset. (#169528, Tomislav Jonjic)
Matthias Clasen [Wed, 9 Mar 2005 16:09:22 +0000 (16:09 +0000)]
Queue a resize when the model is unset. (#169528, Tomislav Jonjic)

2005-03-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkiconview.c (gtk_icon_view_set_model): Queue a resize
when the model is unset.  (#169528, Tomislav Jonjic)

19 years agoMore of the same.
Matthias Clasen [Wed, 9 Mar 2005 06:15:39 +0000 (06:15 +0000)]
More of the same.

2005-03-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkviewport.c (gtk_viewport_class_init):
* gtk/gtkuimanager.c (gtk_ui_manager_class_init):
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_class_init):
* gtk/gtktipsquery.c (gtk_tips_query_class_init):
* gtk/gtktext.c (gtk_text_class_init):
* gtk/gtkstatusbar.c (gtk_statusbar_class_init):
* gtk/gtkspinbutton.c (gtk_spin_button_class_init):
* gtk/gtktoggleaction.c (gtk_toggle_action_class_init):
* gtk/gtkoptionmenu.c (gtk_option_menu_class_init):
* gtk/gtkoldeditable.c (gtk_old_editable_class_init):
* gtk/gtkmessagedialog.c (gtk_message_dialog_class_init):
* gtk/gtktoolbutton.c (gtk_tool_button_class_init):
* gtk/gtktoolitem.c (gtk_tool_item_class_init):
* gtk/gtkimage.c (gtk_image_class_init):
* gtk/gtkruler.c (gtk_ruler_class_init):
* gtk/gtkiconview.c (gtk_icon_view_class_init):
* gtk/gtkprogressbar.c (gtk_progress_bar_class_init):
* gtk/gtkprogress.c (gtk_progress_class_init):
* gtk/gtkmenu.c (gtk_menu_class_init):
* gtk/gtkscale.c (gtk_scale_class_init):
* gtk/gtkpaned.c (gtk_paned_class_init):
* gtk/gtkhandlebox.c (gtk_handle_box_class_init):
* gtk/gtkfontbutton.c (gtk_font_button_class_init):
* gtk/gtkfontsel.c (gtk_font_selection_class_init):
* gtk/gtkfilesel.c (gtk_file_selection_class_init):
* gtk/gtkentrycompletion.c (gtk_entry_completion_class_init):
* gtk/gtkcurve.c (gtk_curve_class_init):
* gtk/gtkcombo.c (gtk_combo_class_init):
* gtk/gtkcombobox.c (gtk_combo_box_class_init):
* gtk/gtkcolorbutton.c (gtk_color_button_class_init):
* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_class_init):
* gtk/gtkmenuitem.c (gtk_menu_item_class_init):
* gtk/gtkcheckbutton.c (gtk_check_button_class_init):
* gtk/gtktogglebutton.c (gtk_toggle_button_class_init):
* gtk/gtkcellview.c (gtk_cell_view_class_init):
* gtk/gtktoolbar.c (gtk_toolbar_class_init):
* gtk/gtkmenubar.c (gtk_menu_bar_class_init):
* gtk/gtkclist.c (gtk_clist_class_init):
* gtk/gtkctree.c (gtk_ctree_class_init):
* gtk/gtkcolorsel.c (gtk_color_selection_class_init):
* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init):
* gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init):
* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_class_init):
* gtk/gtkcalendar.c (gtk_calendar_class_init):
* gtk/gtkbbox.c (gtk_button_box_class_init):
* gtk/gtktable.c (gtk_table_class_init):
* gtk/gtkaspectframe.c (gtk_aspect_frame_class_init):
* gtk/gtkframe.c (gtk_frame_class_init):
* gtk/gtkaction.c (gtk_action_class_init):
* gtk/gtkaccellabel.c (gtk_accel_label_class_init):
* gtk/gtkaboutdialog.c (gtk_about_dialog_class_init):
* gtk/gtkdialog.c (gtk_dialog_class_init): More of the same.

19 years agoMore canonical property names.
Matthias Clasen [Wed, 9 Mar 2005 06:15:13 +0000 (06:15 +0000)]
More canonical property names.

19 years agox
Matthias Clasen [Wed, 9 Mar 2005 04:04:40 +0000 (04:04 +0000)]
x

2005-03-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktextbuffer.c (gtk_text_buffer_class_init):
* gtk/gtkrange.c (gtk_range_class_init):
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_class_init):
* gtk/gtktexttag.c (gtk_text_tag_class_init):
* gtk/gtktextview.c (gtk_text_view_class_init):
* gtk/gtkscrollbar.c (gtk_scrollbar_class_init):
* gtk/gtknotebook.c (gtk_notebook_class_init):
* gtk/gtkentry.c (gtk_entry_class_init):
* gtk/gtkexpander.c (gtk_expander_class_init):
* gtk/gtkarrow.c (gtk_arrow_class_init):
* gtk/gtkalignment.c (gtk_alignment_class_init):
* gtk/gtkbutton.c (gtk_button_class_init):
* gtk/gtklabel.c (gtk_label_class_init):
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init):
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): x
* gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init):
* gtk/gtktreeview.c (gtk_tree_view_class_init):
* gtk/gtkbox.c (gtk_box_class_init):
* gtk/gtkwindow.c (gtk_window_class_init, gtk_window_class_init):
* gtk/gtkcontainer.c (gtk_container_class_init):
* gtk/gtkwidget.c (gtk_widget_class_init):
* gtk/gtkobject.c (gtk_object_class_init): Use canonical names
when registering param specs.

19 years agoUse canonical form of the name when registering properties.
Matthias Clasen [Wed, 9 Mar 2005 02:49:27 +0000 (02:49 +0000)]
Use canonical form of the name when registering properties.

2005-03-08  Matthias Clasen  <mclasen@redhat.com>

* gdk-pixbuf.c (gdk_pixbuf_class_init): Use canonical
form of the name when registering properties.

19 years agoUse GtkCellRendererCombo (#169607, Mark McLoughlin)
Matthias Clasen [Tue, 8 Mar 2005 16:10:28 +0000 (16:10 +0000)]
Use GtkCellRendererCombo (#169607, Mark McLoughlin)

2005-03-08  Matthias Clasen  <mclasen@redhat.com>

* demos/gtk-demo/editable_cells.c: Use GtkCellRendererCombo
(#169607, Mark McLoughlin)

19 years agoUpdated Danish translation.
Martin Willemoes Hansen [Tue, 8 Mar 2005 10:19:10 +0000 (10:19 +0000)]
Updated Danish translation.

        * da.po: Updated Danish translation.

19 years agoAdd the new attributes to the .symbols files.
Matthias Clasen [Tue, 8 Mar 2005 06:10:31 +0000 (06:10 +0000)]
Add the new attributes to the .symbols files.

19 years agoUse G_GNUC_NULL_TERMINATED where appropriate. (#165682, Marc Meissner)
Matthias Clasen [Tue, 8 Mar 2005 05:52:55 +0000 (05:52 +0000)]
Use G_GNUC_NULL_TERMINATED where appropriate. (#165682, Marc Meissner)

2005-03-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwidget.h:
* gtk/gtktreeview.h:
* gtk/gtktreeviewcolumn.h:
* gtk/gtktextbuffer.h:
* gtk/gtkobject.h:
* gtk/gtkfilechooserdialog.h:
* gtk/gtkdialog.h:
* gtk/gtkcontainer.h:
* gtk/gtkcelllayout.h:
* gtk/gtkaboutdialog.h: Use G_GNUC_NULL_TERMINATED where
appropriate.  (#165682, Marc Meissner)

19 years agoConvert the gdk keyval-keyname tables to a big string + offsets. (#168901)
Matthias Clasen [Tue, 8 Mar 2005 04:35:29 +0000 (04:35 +0000)]
Convert the gdk keyval-keyname tables to a big string + offsets. (#168901)

2005-03-07  Matthias Clasen  <mclasen@redhat.com>

Convert the gdk keyval-keyname tables to a big string
+ offsets. (#168901)

* gdk/gen-keyname-table.pl: Perl script inspired by
pango/tools/gen-color-table.pl to create the
gdk_keys_by_keyval and gdk_keys_by_name tables as lists
of offsets pointing into a big const string.

* gdk/keynames.txt: List of keyval-keyname pairs.
* gdk/keyname-table.h: Generated tables.

* gdk/gdkkeynames.c: Include keyname-table.h and don't
generate the inverse table at runtime.

19 years agoUse a generated table of offsets into a big const string to avoid
Matthias Clasen [Tue, 8 Mar 2005 03:59:45 +0000 (03:59 +0000)]
Use a generated table of offsets into a big const string to avoid

2005-03-07  Matthias Clasen  <mclasen@redhat.com>

* io-xpm.c: Use a generated table of offsets
into a big const string to avoid relocations
in the rgb color table. (#168901, Tommi Komulainen)

* gen-color-table.pl: Script to generate the table,
copied from Owen Taylors script by the same name
in Pango.

* xpm-color-table.h: The generated table.

19 years agoDocument ownership of filters. (#169101, Sebastian Rittau)
Matthias Clasen [Mon, 7 Mar 2005 22:09:13 +0000 (22:09 +0000)]
Document ownership of filters. (#169101, Sebastian Rittau)

2005-03-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooser.c (gtk_file_chooser_add_filter): Document
ownership of filters.  (#169101, Sebastian Rittau)

19 years agoDocument which parameters may be NULL. (#166855, Frank Naumann)
Matthias Clasen [Mon, 7 Mar 2005 22:02:43 +0000 (22:02 +0000)]
Document which parameters may be NULL. (#166855, Frank Naumann)

2005-03-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkstyle.c: Document which parameters may be NULL.
(#166855, Frank Naumann)

19 years agoUpdated Romanian translation by Mişu Moldovan <dumol@go.ro>.
Dan Damian [Sun, 6 Mar 2005 12:45:37 +0000 (12:45 +0000)]
Updated Romanian translation by Mişu Moldovan <dumol@go.ro>.

        * ro.po: Updated Romanian translation by         Mişu Moldovan <dumol@go.ro>.

19 years agoUpdated Romanian translation by Mişu Moldovan <dumol@go.ro>.
Dan Damian [Sat, 5 Mar 2005 16:05:52 +0000 (16:05 +0000)]
Updated Romanian translation by Mişu Moldovan <dumol@go.ro>.

        * ro.po: Updated Romanian translation by         Mişu Moldovan <dumol@go.ro>.

19 years agoUpdated Canadian English translation.
Adam Weinberger [Fri, 4 Mar 2005 22:40:31 +0000 (22:40 +0000)]
Updated Canadian English translation.

* en_CA.po: Updated Canadian English translation.

19 years agoUpdated pt_BR translation
Raphael Higino [Fri, 4 Mar 2005 16:29:50 +0000 (16:29 +0000)]
Updated pt_BR translation

19 years agoUpdated Catalan translation.
Jordi Mallach [Fri, 4 Mar 2005 09:13:03 +0000 (09:13 +0000)]
Updated Catalan translation.

19 years agoURL escape the '+' in gtk+ in the bugzilla URL.
Manish Singh [Fri, 4 Mar 2005 01:01:01 +0000 (01:01 +0000)]
URL escape the '+' in gtk+ in the bugzilla URL.

Thu Mar  3 16:59:44 2005  Manish Singh  <yosh@gimp.org>

        * configure.in: URL escape the '+' in gtk+ in the bugzilla URL.

19 years agoDon't leak the values here. (#169047, Philip Langdale)
Matthias Clasen [Thu, 3 Mar 2005 14:15:14 +0000 (14:15 +0000)]
Don't leak the values here. (#169047, Philip Langdale)

2005-03-03  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtksettings.c (gtk_settings_get_property):
* gtk/gtkrc.c (gtk_rc_parse_assignment): Don't leak
the values here.  (#169047, Philip Langdale)

19 years agoCheck the number of scanned items. (#168906, Morten Welinder)
Matthias Clasen [Thu, 3 Mar 2005 14:02:59 +0000 (14:02 +0000)]
Check the number of scanned items. (#168906, Morten Welinder)

2005-03-03  Matthias Clasen  <mclasen@redhat.com>

* io-xpm.c (pixbuf_create_from_xpm): Check the number
of scanned items.  (#168906, Morten Welinder)

19 years agoDon't warn if a stock icon cannot be found. (#168830, Sven Neumann)
Matthias Clasen [Thu, 3 Mar 2005 13:57:00 +0000 (13:57 +0000)]
Don't warn if a stock icon cannot be found. (#168830, Sven Neumann)

2005-03-03  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
Don't warn if a stock icon cannot be found.  (#168830,
Sven Neumann)

19 years agoMake the gif loader handle oom when loading animations. (#168857, Tommi
Matthias Clasen [Thu, 3 Mar 2005 13:29:01 +0000 (13:29 +0000)]
Make the gif loader handle oom when loading animations. (#168857, Tommi

2005-03-03  Matthias Clasen  <mclasen@redhat.com>

Make the gif loader handle oom when loading
animations.  (#168857, Tommi Komulainen)

* io-gif-animation.c (gdk_pixbuf_gif_anim_frame_composite):
Handle oom by returning NULL.

* io-gif.c (gif_get_lzw): Return an error if composite
returns NULL.

19 years agoAvoid warnings if gtk_widget_reparent() is called at unusual times.
Matthias Clasen [Thu, 3 Mar 2005 06:40:53 +0000 (06:40 +0000)]
Avoid warnings if gtk_widget_reparent() is called at unusual times.

2005-03-03  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwidget.c (gtk_widget_reparent_subwindows):
Avoid warnings if gtk_widget_reparent() is called at
unusual times.  (#168966, Christian Persch)

19 years agoUpdated pt_BR translation
Raphael Higino [Wed, 2 Mar 2005 19:39:23 +0000 (19:39 +0000)]
Updated pt_BR translation

19 years agoCast to avoid const warnings on data structure seeding.
Manish Singh [Tue, 1 Mar 2005 22:25:42 +0000 (22:25 +0000)]
Cast to avoid const warnings on data structure seeding.

Tue Mar  1 14:04:08 2005  Manish Singh  <yosh@gimp.org>

        * gdk/x11/gdkproperty-x11.c (virtual_atom_check_init): Cast to avoid
        const warnings on data structure seeding.

19 years agorevert previous change, maintain ABI.
Manish Singh [Tue, 1 Mar 2005 22:00:03 +0000 (22:00 +0000)]
revert previous change, maintain ABI.

Tue Mar  1 13:53:56 2005  Manish Singh  <yosh@gimp.org>

        * gtk/xdgmime/xdgmime.[ch]: revert previous change, maintain ABI.

19 years agoFix prelighting. (#157392, Vincent Noel, patch by Christian Persch)
Matthias Clasen [Tue, 1 Mar 2005 16:07:04 +0000 (16:07 +0000)]
Fix prelighting. (#157392, Vincent Noel, patch by Christian Persch)

* gtk/gtkmenutoolbutton.c (button_state_changed_cb):
Fix prelighting.  (#157392, Vincent Noel, patch by
Christian Persch)

19 years agoMake icon data caching work again. (#168851, Alexander Larsson)
Matthias Clasen [Tue, 1 Mar 2005 14:59:04 +0000 (14:59 +0000)]
Make icon data caching work again. (#168851, Alexander Larsson)

2005-03-01  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkicontheme.c (theme_lookup_icon): Make
icon data caching work again.  (#168851, Alexander Larsson)

19 years agoRevert the previous change, since it breaks bin compat.
Matthias Clasen [Tue, 1 Mar 2005 14:57:20 +0000 (14:57 +0000)]
Revert the previous change, since it breaks bin compat.

2005-03-01  Matthias Clasen  <mclasen@redhat.com>

* gdk-pixbuf/gdk-pixbuf.c:
* gdk-pixbuf/gdk-pixbuf-features.h.in:
Revert the previous change, since it breaks
bin compat.

19 years agoForgotten file
Matthias Clasen [Tue, 1 Mar 2005 06:43:55 +0000 (06:43 +0000)]
Forgotten file

19 years agogdk/gdkkeyuni.c gdk/gdkpixbuf-drawable.c gdk/gdkrgb.c gdk/x11/gdkdnd-x11.c
Matthias Clasen [Tue, 1 Mar 2005 06:25:55 +0000 (06:25 +0000)]
gdk/gdkkeyuni.c gdk/gdkpixbuf-drawable.c gdk/gdkrgb.c gdk/x11/gdkdnd-x11.c

2005-03-01  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdkkeyuni.c
* gdk/gdkpixbuf-drawable.c
* gdk/gdkrgb.c
* gdk/x11/gdkdnd-x11.c
* gdk/x11/gdkevents-x11.c
* gdk/x11/gdkproperty-x11.c
* gdk/x11/gdkvisual-x11.c
* gdk-pixbuf/gdk-pixbuf.c
* gtk/gtkaction.c
* gtk/gtkbindings.c
* gtk/gtkcolorbutton.c
* gtk/gtkcombo.c
* gtk/gtkcontainer.c
* gtk/gtkfilechooserdefault.c
* gtk/gtkfilesel.c
* gtk/gtkgamma.c
* gtk/gtkiconview.c
* gtk/gtkinputdialog.c
* gtk/gtkitemfactory.c
* gtk/gtkmenu.c
* gtk/gtktextview.c
* gtk/gtktooltips.c
* gtk/gtktreedatalist.c
* gtk/gtkuimanager.c
* gtk/tree_minus.xpm
* gtk/tree_plus.xpm
* gtk/xdgmime/xdgmime.c
* gtk/xdgmime/xdgmime.h:
Move constant data to .rodata.

19 years agoAdd necessary protection
Matthias Clasen [Mon, 28 Feb 2005 18:09:37 +0000 (18:09 +0000)]
Add necessary protection

19 years agoAdd .note.GNU-stack sections to Mark these as not requiring an executable
Matthias Clasen [Mon, 28 Feb 2005 18:01:53 +0000 (18:01 +0000)]
Add .note.GNU-stack sections to Mark these as not requiring an executable

2005-02-28  Matthias Clasen  <mclasen@redhat.com>

* pixops/*.S: Add .note.GNU-stack sections to Mark these as not
requiring an executable stack.

19 years agoFix stack vs heap confusion. (#168690, Torsten Schoenfeld)
Matthias Clasen [Mon, 28 Feb 2005 04:51:56 +0000 (04:51 +0000)]
Fix stack vs heap confusion. (#168690, Torsten Schoenfeld)

2005-02-27  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtktreemodel.sgml: Fix stack vs heap
confusion.  (#168690, Torsten Schoenfeld)

19 years agoImprove the handling of buttons as action proxys. (#165534, Milosz
Matthias Clasen [Mon, 28 Feb 2005 04:43:22 +0000 (04:43 +0000)]
Improve the handling of buttons as action proxys. (#165534, Milosz

2005-02-27  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkaction.c (connect_proxy): Improve the handling
of buttons as action proxys.  (#165534, Milosz Derezynski)

19 years agoFix a typo. (#168646, Vincent Untz)
Matthias Clasen [Mon, 28 Feb 2005 04:33:42 +0000 (04:33 +0000)]
Fix a typo. (#168646, Vincent Untz)

2005-02-27  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtklabel.c (gtk_label_size_request): Fix a typo.
(#168646, Vincent Untz)

19 years agoUnset "focus-on-click" for the save folder combo. (#168688, Sven Neumann)
Matthias Clasen [Mon, 28 Feb 2005 04:25:20 +0000 (04:25 +0000)]
Unset "focus-on-click" for the save folder combo. (#168688, Sven Neumann)

2005-02-27  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserdefault.c (save_folder_combo_create):
Unset "focus-on-click" for the save folder combo.  (#168688,
Sven Neumann)

19 years agoRemove a C++ comment. (#168531, Paul Cornett)
Matthias Clasen [Fri, 25 Feb 2005 19:28:48 +0000 (19:28 +0000)]
Remove a C++ comment. (#168531, Paul Cornett)

2005-02-25  Matthias Clasen  <mclasen@redhat.com>

* demos/testpixbuf.c (main): Remove a C++ comment.  (#168531,
Paul Cornett)

19 years agoDon't leak a path here. (#168443, Morten Welinder)
Matthias Clasen [Fri, 25 Feb 2005 19:14:18 +0000 (19:14 +0000)]
Don't leak a path here. (#168443, Morten Welinder)

2005-02-25  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level): Don't leak a
path here.  (#168443, Morten Welinder)

19 years agoImplement better handling of Wintab tablet context overlap on Win32.
Robert Ögren [Fri, 25 Feb 2005 00:12:32 +0000 (00:12 +0000)]
Implement better handling of Wintab tablet context overlap on Win32.

2005-02-24  Robert Ögren  <gtk@roboros.com>

Implement better handling of Wintab tablet context overlap on
Win32. (#167298)

* gdk/win32/gdkinput-win32.c (_gdk_input_set_tablet_active): New
function that brings any tablet contexts to the top of the overlap
order.
* gdk/win32/gdkinput-win32.h: Declare _gdk_input_set_tablet_active ()
* gdk/win32/gdkevents-win32.c (gdk_event_translate):
Call _gdk_input_set_tablet_active when a window is activated (on
WM_ACTIVATE)

19 years agoDon't leak parent_path. (#168435, Morten Welinder)
Matthias Clasen [Thu, 24 Feb 2005 20:28:26 +0000 (20:28 +0000)]
Don't leak parent_path. (#168435, Morten Welinder)

2005-02-24  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_select_path):
Don't leak parent_path.  (#168435, Morten Welinder)

19 years agoAdd
Søren Sandmann [Thu, 24 Feb 2005 19:34:02 +0000 (19:34 +0000)]
Add

Thu Feb 24 14:20:16 2005  Søren Sandmann  <sandmann@redhat.com>

* gtk/gtkstyle.c: Add

g_return_if_fail (style->depth == gdk_drawable_get_depth(window));

all over the place.

19 years agoConsistently use gtk_tree_row_reference_valid().
Matthias Clasen [Thu, 24 Feb 2005 17:57:07 +0000 (17:57 +0000)]
Consistently use gtk_tree_row_reference_valid().

2005-02-24  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.c: Consistently use gtk_tree_row_reference_valid().
(gtk_combo_box_model_row_deleted): Update the displayed row in
the cell_view.  (#167842, Gustavo Carneiro)

19 years agoFix #167259, reported by Christian Persch:
Matthias Clasen [Thu, 24 Feb 2005 16:37:14 +0000 (16:37 +0000)]
Fix #167259, reported by Christian Persch:

2005-02-24  Matthias Clasen  <mclasen@redhat.com>

        Fix #167259, reported by  Christian Persch:

* gtk/gtkwidget.c (gtk_widget_unparent): Unmap the reparented
widget, even if we avoid the unrealizing.
(gtk_widget_reparent_subwindows): Make reparenting work for
!NO_WINDOW widgets which have other windows which are siblings
of widget->window (as e.g. GtkSpinButton).

19 years agoDon't emit a warning if a parent node is filtered out. (#164726, Olivier
Matthias Clasen [Thu, 24 Feb 2005 14:42:26 +0000 (14:42 +0000)]
Don't emit a warning if a parent node is filtered out. (#164726, Olivier

2005-02-24  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed):
Don't emit a warning if a parent node is filtered out. (#164726,
Olivier Sessink)

19 years agoRevert the last change, since gtk_widget_set_style_internal() already
Matthias Clasen [Thu, 24 Feb 2005 13:39:47 +0000 (13:39 +0000)]
Revert the last change, since gtk_widget_set_style_internal() already

2005-02-23  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtklabel.c (gtk_label_style_set): Revert the last
change, since gtk_widget_set_style_internal() already
queues a resize.

19 years agoQueue a resize, since fonts may have changed. (#164128, Phil Blundell)
Matthias Clasen [Thu, 24 Feb 2005 04:49:37 +0000 (04:49 +0000)]
Queue a resize, since fonts may have changed. (#164128, Phil Blundell)

2005-02-23  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtklabel.c (gtk_label_style_set): Queue a resize, since
fonts may have changed.  (#164128, Phil Blundell)

19 years agoDocument BMP saving support.
Matthias Clasen [Thu, 24 Feb 2005 04:41:35 +0000 (04:41 +0000)]
Document BMP saving support.

2005-02-23  Matthias Clasen  <mclasen@redhat.com>

* gdk-pixbuf-io.c: Document BMP saving support.

* io-bmp.c: Support saving as BMP. (168173, Ivan Wong)

19 years agoFix a typo. (#168173, Ivan Wong)
Matthias Clasen [Thu, 24 Feb 2005 04:27:48 +0000 (04:27 +0000)]
Fix a typo. (#168173, Ivan Wong)

2005-02-23  Matthias Clasen  <mclasen@redhat.com>

* io-ico.c: Fix a typo.  (#168173, Ivan Wong)

19 years agoMove initialization code from _new to _init. (#168249, Murray Cumming)
Matthias Clasen [Thu, 24 Feb 2005 03:46:25 +0000 (03:46 +0000)]
Move initialization code from _new to _init. (#168249, Murray Cumming)

2005-02-23  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkaboutdialog.c (gtk_about_dialog_init)
(gtk_about_dialog_new): Move initialization code from _new to
_init.  (#168249, Murray Cumming)

19 years agoPatch from jorn@nl.linux.org (Jorn Baayen) to notice changes to
Jonathan Blandford [Wed, 23 Feb 2005 22:38:49 +0000 (22:38 +0000)]
Patch from jorn@nl.linux.org (Jorn Baayen) to notice changes to

Wed Feb 23 17:34:01 2005  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtktreeview.c (gtk_tree_view_node_queue_redraw): Patch from
        jorn@nl.linux.org (Jorn Baayen) to notice changes to fixed-height
        widgets.

19 years agoWorkaround for bug in MapVirtualKey(VK_DIVIDE, 0) in some Windows
Tor Lillqvist [Wed, 23 Feb 2005 22:06:38 +0000 (22:06 +0000)]
Workaround for bug in MapVirtualKey(VK_DIVIDE, 0) in some Windows

2005-02-23  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkkeys-win32.c (update_keymap): Workaround for bug in
MapVirtualKey(VK_DIVIDE, 0) in some Windows versions. (#142998)

19 years ago#include <config.h>
Manish Singh [Tue, 22 Feb 2005 21:49:42 +0000 (21:49 +0000)]
#include <config.h>

Tue Feb 22 13:49:09 2005  Manish Singh  <yosh@gimp.org>

        * gtk/updateiconcache.c: #include <config.h>

19 years agoMerged from gtk-2-6:
Federico Mena Quintero [Tue, 22 Feb 2005 19:30:20 +0000 (19:30 +0000)]
Merged from gtk-2-6:

2005-02-22  Federico Mena Quintero  <federico@ximian.com>

Merged from gtk-2-6:

Fix #164940, patch by Ben Maurer and Tommi Komulainen.

* gdk/gdkrgb.c (gdk_rgb_convert_565_d): Constify the "dmp" variable.
(gdk_rgb_convert_565_d): Likewise.
(DM_565): Made a static const precomputed array to avoid
allocating it at runtime.
(gdk_rgb_preprocess_dm_565): #ifdef out.

19 years agoFix links to freedesktop.org specs in the documentation.
Matthias Clasen [Mon, 21 Feb 2005 04:24:48 +0000 (04:24 +0000)]
Fix links to freedesktop.org specs in the documentation.

2005-02-20  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwindow.c:
* gtk/gtkclipboard.c: Fix links to freedesktop.org specs
in the documentation.

19 years agoSet have_render_with_trapezoids to GDK_YES when we have a new enough
Matthias Clasen [Mon, 21 Feb 2005 04:09:18 +0000 (04:09 +0000)]
Set have_render_with_trapezoids to GDK_YES when we have a new enough

2005-02-20  Matthias Clasen  <mclasen@redhat.com>

* gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render_with_trapezoids):
Set have_render_with_trapezoids to GDK_YES when we have
a new enough Render extension.  (#167965,Billy Biggs)

19 years agoUse the timestamp of the last user interaction when focusing the window.
Matthias Clasen [Mon, 21 Feb 2005 03:38:31 +0000 (03:38 +0000)]
Use the timestamp of the last user interaction when focusing the window.

2005-02-20  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwindow.c (gtk_window_present): Use the timestamp of
the last user interaction when focusing the window.  (#166379,
Elijah Newren)

19 years agomake sure expand is initialized, cast to GTK_SEPARATOR_TOOL_ITEM.
Manish Singh [Thu, 17 Feb 2005 22:59:47 +0000 (22:59 +0000)]
make sure expand is initialized, cast to GTK_SEPARATOR_TOOL_ITEM.

Thu Feb 17 14:58:16 2005  Manish Singh  <yosh@gimp.org>

        * gtk/gtkuimanager.c (start_element_handler): make sure expand
        is initialized, cast to GTK_SEPARATOR_TOOL_ITEM.

19 years agoPass gtk_widget_get_toplevel() a GTK_WIDGET.
Manish Singh [Thu, 17 Feb 2005 22:54:37 +0000 (22:54 +0000)]
Pass gtk_widget_get_toplevel() a GTK_WIDGET.

Thu Feb 17 14:52:57 2005  Manish Singh  <yosh@gimp.org>

        * gtk/gtkcombobox.c: Pass gtk_widget_get_toplevel() a GTK_WIDGET.

19 years agoShut up cvs
Manish Singh [Thu, 17 Feb 2005 22:54:10 +0000 (22:54 +0000)]
Shut up cvs

19 years agoUpdated Catalan translation by Xavier Conde Rueda <xaviconde@eresmas.com>.
Jordi Mallach [Thu, 17 Feb 2005 10:13:45 +0000 (10:13 +0000)]
Updated Catalan translation by Xavier Conde Rueda <xaviconde@eresmas.com>.

19 years agoUpdated Catalan translation.
Jordi Mallach [Thu, 17 Feb 2005 10:09:45 +0000 (10:09 +0000)]
Updated Catalan translation.

19 years agoAdd some information about the icon cache format (since I can't locate it
Matthias Clasen [Thu, 17 Feb 2005 03:33:11 +0000 (03:33 +0000)]
Add some information about the icon cache format (since I can't locate it

2005-02-16  Matthias Clasen  <mclasen@redhat.com>

* docs/iconcache.txt: Add some information about the
icon cache format (since I can't locate it at freedesktop.org)

19 years agoUpdated pt_BR translation
Raphael Higino [Wed, 16 Feb 2005 17:03:28 +0000 (17:03 +0000)]
Updated pt_BR translation

19 years agoFixes for #143829, Tommi Komulainen, Christian Persch:
Matthias Clasen [Wed, 16 Feb 2005 16:37:24 +0000 (16:37 +0000)]
Fixes for #143829, Tommi Komulainen, Christian Persch:

2005-02-16  Matthias Clasen  <mclasen@redhat.com>

Fixes for #143829, Tommi Komulainen, Christian Persch:

* gtk/gtktreeview.c (gtk_tree_view_destroy): Remove the
typeselect_flush_timeout when destroying the widgets
it is operating on.
(gtk_tree_view_ensure_interactive_directory): Add the
popup to the window group of the toplevel it belongs to.

* gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget)
(gtk_combo_box_popup): Do the same here.

19 years agoUpdated Xhosa translation.
Adi Attar [Wed, 16 Feb 2005 15:25:56 +0000 (15:25 +0000)]
Updated Xhosa translation.

2005-02-16  Adi Attar  <aattar@cvs.gnome.org>

* xh.po: Updated Xhosa translation.

19 years agoAdd some more info. (#167356, Hubert Sokolowski)
Matthias Clasen [Wed, 16 Feb 2005 03:50:06 +0000 (03:50 +0000)]
Add some more info. (#167356, Hubert Sokolowski)

2005-02-15  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkcalendar.sgml: Add some more
info.  (#167356, Hubert Sokolowski)

19 years agoDon't read over the end of the buffer if '#' appears at the very end.
Matthias Clasen [Wed, 16 Feb 2005 03:38:22 +0000 (03:38 +0000)]
Don't read over the end of the buffer if '#' appears at the very end.

2005-02-15  Matthias Clasen  <mclasen@redhat.com>

* io-pnm.c (pnm_skip_whitespace): Don't read over the end of
the buffer if '#' appears at the very end.  (#167141, Doug Morgan)

19 years agoUpdated Slovak translation.
Marcel Telka [Tue, 15 Feb 2005 19:53:56 +0000 (19:53 +0000)]
Updated Slovak translation.

2005-02-15  Marcel Telka  <marcel@telka.sk>

* sk.po: Updated Slovak translation.

19 years agoKill --enable-ansi (#164394)
Matthias Clasen [Tue, 15 Feb 2005 03:25:09 +0000 (03:25 +0000)]
Kill --enable-ansi (#164394)

2005-02-14  Matthias Clasen  <mclasen@redhat.com>

* configure.in: Kill --enable-ansi  (#164394)

19 years agoUpdated Persian translation.
Roozbeh Pournader [Mon, 14 Feb 2005 15:14:43 +0000 (15:14 +0000)]
Updated Persian translation.

2005-02-14  Roozbeh Pournader  <roozbeh@farsiweb.info>

* fa.po: Updated Persian translation.

19 years agoFixing some mistakes in last commit
Raphael Higino [Fri, 11 Feb 2005 18:42:51 +0000 (18:42 +0000)]
Fixing some mistakes in last commit

19 years agoStop scrolling when the pathbar goes away. (#167094, Rodney Dawes)
Matthias Clasen [Fri, 11 Feb 2005 17:30:33 +0000 (17:30 +0000)]
Stop scrolling when the pathbar goes away. (#167094, Rodney Dawes)

2005-02-11  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkpathbar.c (gtk_path_bar_finalize): Stop scrolling
when the pathbar goes away.  (#167094, Rodney Dawes)
(change_icon_theme): Use GTK_ICON_SIZE_MENU here as
well  (Vincent Noel)

19 years agoFix a reference. Sorry about that, Vincent & Vincent
Matthias Clasen [Fri, 11 Feb 2005 14:25:13 +0000 (14:25 +0000)]
Fix a reference. Sorry about that, Vincent & Vincent

19 years agoUpdated Serbian translation.
Danilo Šegan [Fri, 11 Feb 2005 12:53:54 +0000 (12:53 +0000)]
Updated Serbian translation.

19 years agoUpdated Serbian translations.
Danilo Šegan [Fri, 11 Feb 2005 12:25:39 +0000 (12:25 +0000)]
Updated Serbian translations.

19 years agoSupport vertical menubars (#166632):
Matthias Clasen [Fri, 11 Feb 2005 07:15:11 +0000 (07:15 +0000)]
Support vertical menubars (#166632):

2005-02-11  Matthias Clasen  <mclasen@redhat.com>

Support vertical menubars  (#166632):

* gtk/gtkenums.h (GtkPackDirection): New enumeration for pack
directions, with values for left-to-right, right-to-left,
top-to-bottom and bottom-to-top.

* gtk/gtk.symbols:
* gtk/gtkmenubar.h:
* gtk/gtkmenubar.c: Add two properties, pack-direction and
child-pack-direction, which specify how children and
grandchildren of a menubar are packed, with getters and setters.

* gtk/gtkmenubar.c (gtk_menu_bar_set_property):
(gtk_menu_bar_get_property): Implement set_property and get_property.

* gtk/gtkmenubar.c (gtk_menu_bar_size_request):
(gtk_menu_bar_size_allocate): Take pack direction into account.

* gtk/gtkmenubar.c (gtk_menu_bar_move_current): Implement
move_current here move all the menubar-specific direction
tweaking from the generic menushell implementation here.

* gtk/gtkmenu.c (gtk_menu_move_current): Move  menu-specific
direction tweaking from the generic menushell implementation here.

* gtk/gtkmenuitem.c (gtk_menu_item_size_request):
(gtk_menu_bar_size_allocate): Take pack direction into account.

* gtk/gtkimagemenuitem.c (gtk_image_menu_item_size_request)
(gtk_image_menu_item_size_allocate):
(gtk_image_menu_item_toggle_size_request): Take child pack
direction into account and pack the image vertically if
necessary.

* gtk/gtkmenushell.c (gtk_menu_shell_real_select_item):
Set the submenu direction to left-right for menuitems in
vertical menubars.
(gtk_real_menu_shell_move_current): Simplify by moving
direction tweaking to menu- and menubar-specific
implementations. Take pack direction into account when
doing fallbacks.

* tests/testmenubars.c: Test menubars in various packing
direction combinations.

* tests/Makefile.am (noinst_PROGRAMS): Add testmenubars.