]> Pileus Git - ~andy/gtk/log
~andy/gtk
19 years agoRemove unnecessary checks. (#148175, Morten Welinder)
Matthias Clasen [Fri, 23 Jul 2004 14:45:50 +0000 (14:45 +0000)]
Remove unnecessary checks. (#148175, Morten Welinder)

Fri Jul 23 10:28:43 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreeview.c (gtk_tree_view_finalize):
* gtk/gtkradioaction.c (gtk_radio_action_finalize):
* gtk/gtkfontsel.c (gtk_font_selection_finalize):
* gtk/gtkcellview.c (gtk_cell_view_finalize):
* gtk/gtkcalendar.c (gtk_calendar_finalize):
* gtk/gtkactiongroup.c (gtk_action_group_finalize): Remove
unnecessary checks.  (#148175, Morten Welinder)

19 years agoUpdated Brazilian Portuguese translation done by Afonso Celso Medina
Gustavo Maciel Dias Vieira [Thu, 22 Jul 2004 15:07:26 +0000 (15:07 +0000)]
Updated Brazilian Portuguese translation done by Afonso Celso Medina

2004-07-22  Gustavo Maciel Dias Vieira  <gustavo@sagui.org>

        * pt_BR.po: Updated Brazilian Portuguese translation done by
        Afonso Celso Medina <afmedina@uol.com.br>.

19 years agoForgotten file.
Matthias Clasen [Thu, 22 Jul 2004 14:55:53 +0000 (14:55 +0000)]
Forgotten file.

19 years agoup
Amanpreet Singh Alam [Thu, 22 Jul 2004 08:34:31 +0000 (08:34 +0000)]
up

19 years agoAdd a new :ellipsize property which controls ellipsization of the rendered
Matthias Clasen [Thu, 22 Jul 2004 05:45:19 +0000 (05:45 +0000)]
Add a new :ellipsize property which controls ellipsization of the rendered

Thu Jul 22 01:42:16 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
Add a new :ellipsize property which controls ellipsization of the
rendered text.  (#144835, Vincent Untz, patch by Jonathan Blandford
and Anders Carlsson

* gtk/gtkfilechooserdefault.c (create_file_list): Use ellipsization
for the name column.

19 years agoAdd additional accessability relations. (#141804, Padraig O'Briain)
Matthias Clasen [Thu, 22 Jul 2004 05:27:18 +0000 (05:27 +0000)]
Add additional accessability relations. (#141804, Padraig O'Briain)

Thu Jul 22 01:21:28 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkfontsel.c (gtk_font_selection_init): Add additional
accessability relations.  (#141804,  Padraig O'Briain)

19 years agoAvoid compiler warnings.
Matthias Clasen [Thu, 22 Jul 2004 05:16:58 +0000 (05:16 +0000)]
Avoid compiler warnings.

19 years agoru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.
Dmitry Mastrukov [Thu, 22 Jul 2004 05:13:12 +0000 (05:13 +0000)]
ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.

19 years agoRequire Pango 1.5.1 (for ellipsisation).
Matthias Clasen [Thu, 22 Jul 2004 05:06:39 +0000 (05:06 +0000)]
Require Pango 1.5.1 (for ellipsisation).

Thu Jul 22 01:05:16 2004  Matthias Clasen  <maclas@gmx.de>

* configure.in: Require Pango 1.5.1 (for ellipsisation).

* gtk/gtklabel.h:
* gtk/gtklabel.c (gtk_label_class_init): Add a new :ellipsise
property which controls ellipsisation of the label.  (#125250,
Tim Van Wassenhove, patch by James M. Cape)

* tests/testellipsise.c: Simple test for ellipsisation.

19 years agoDon't leak the list store. (#148135, Crispin Flowerday)
Matthias Clasen [Thu, 22 Jul 2004 03:00:48 +0000 (03:00 +0000)]
Don't leak the list store. (#148135, Crispin Flowerday)

Wed Jul 21 22:54:33 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_new_text):
Don't leak the list store.  (#148135, Crispin Flowerday)

19 years agoDon't leak the list store. (#148134, Crispin Flowerday)
Matthias Clasen [Thu, 22 Jul 2004 02:48:11 +0000 (02:48 +0000)]
Don't leak the list store. (#148134, Crispin Flowerday)

* gtk/gtkcombobox.c (gtk_combo_box_new_text): Don't leak the
list store.  (#148134, Crispin Flowerday)

19 years agoDon't leak the menu. (#148110, Tommi Komulainen)
Matthias Clasen [Thu, 22 Jul 2004 02:36:54 +0000 (02:36 +0000)]
Don't leak the menu. (#148110, Tommi Komulainen)

Wed Jul 21 22:35:47 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcellview.c (gtk_cell_view_finalize): Don't leak the
menu.  (#148110, Tommi Komulainen)

19 years agoDon't leak tree model and tree row reference. (#148125, Crispin Flowerday)
Matthias Clasen [Thu, 22 Jul 2004 02:26:07 +0000 (02:26 +0000)]
Don't leak tree model and tree row reference. (#148125, Crispin Flowerday)

Wed Jul 21 22:24:10 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcellview.c (gtk_cell_view_finalize): Don't leak
tree model and tree row reference.  (#148125, Crispin Flowerday)

19 years agoDon't leak models. (#148128, Tommi Komulainen)
Matthias Clasen [Thu, 22 Jul 2004 02:19:19 +0000 (02:19 +0000)]
Don't leak models. (#148128, Tommi Komulainen)

Wed Jul 21 22:17:06 2004  Matthias Clasen  <maclas@gmx.de>

* tests/testcombo.c (main): Don't leak models.  (#148128,
Tommi Komulainen)

19 years agoDon't leak the adjustments. (#148089, Tommi Komulainen)
Matthias Clasen [Thu, 22 Jul 2004 01:28:33 +0000 (01:28 +0000)]
Don't leak the adjustments. (#148089, Tommi Komulainen)

Wed Jul 21 21:26:08 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkviewport.c (viewport_set_adjustment): Don't leak
the adjustments.  (#148089, Tommi Komulainen)

19 years agoDon't leak the adjustments. (#148073, Tommi Komulainen)
Matthias Clasen [Thu, 22 Jul 2004 01:22:54 +0000 (01:22 +0000)]
Don't leak the adjustments. (#148073, Tommi Komulainen)

Wed Jul 21 21:20:21 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreeview.c (gtk_tree_view_destroy): Don't leak
the adjustments.  (#148073, Tommi Komulainen)

19 years agoDon't leak the arrow. (#148064, Tommi Komulainen)
Matthias Clasen [Thu, 22 Jul 2004 01:08:53 +0000 (01:08 +0000)]
Don't leak the arrow. (#148064, Tommi Komulainen)

Wed Jul 21 21:04:50 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktoolbar.c (gtk_toolbar_finalize): Don't leak the
arrow.  (#148064, Tommi Komulainen)

19 years agoUpdated Uzbek translation by Mashrab Kuvatov
Christian Rose [Wed, 21 Jul 2004 21:29:00 +0000 (21:29 +0000)]
Updated Uzbek translation by Mashrab Kuvatov

2004-07-21  Christian Rose  <menthos@menthos.com>

* po/uz.po, po-properties/uz.po: Updated Uzbek translation
by Mashrab Kuvatov <kmashrab@sat.physik.uni-bremen.de>.

19 years agoUse the new text target functionality in GtkTargetList instead of
Matthias Clasen [Wed, 21 Jul 2004 16:53:55 +0000 (16:53 +0000)]
Use the new text target functionality in GtkTargetList instead of

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

* gtk/gtkcalendar.c: Use the new text target functionality
in GtkTargetList instead of hardcoding a subset of text targets.

19 years agoupdated hindi translation
Guntupalli Karunakar [Wed, 21 Jul 2004 08:58:49 +0000 (08:58 +0000)]
updated hindi translation

19 years agoApply patches to unmaintained pieces of software...
Matthias Clasen [Wed, 21 Jul 2004 03:28:42 +0000 (03:28 +0000)]
Apply patches to unmaintained pieces of software...

19 years agoHook up gtk-menu-bar-accel to an XSetting, Gtk/MenuBarAccel. (#120859,
Matthias Clasen [Wed, 21 Jul 2004 03:12:38 +0000 (03:12 +0000)]
Hook up gtk-menu-bar-accel to an XSetting, Gtk/MenuBarAccel. (#120859,

Tue Jul 20 23:11:23 2004  Matthias Clasen  <maclas@gmx.de>

* gdk/x11/gdkevents-x11.c: Hook up gtk-menu-bar-accel to
an XSetting, Gtk/MenuBarAccel.  (#120859, Scott James Remnant)

19 years agoRemove trailing commas from enumerations. (#148035)
Matthias Clasen [Wed, 21 Jul 2004 02:30:19 +0000 (02:30 +0000)]
Remove trailing commas from enumerations. (#148035)

Tue Jul 20 22:26:29 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkfilechooserutils.h:
* gtk/gtktoolbutton.c:
* gtk/gtktoolbar.c:
* gtk/gtkicontheme.c:
* gtk/gtkcalendar.c:
* demos/gtk-demo/ui_manager.c:
* demos/gtk-demo/appwindow.c: Remove trailing commas
from enumerations.  (#148035)

19 years agoFix the documentation comment for the editing-started signal.
Federico Mena Quintero [Tue, 20 Jul 2004 18:50:29 +0000 (18:50 +0000)]
Fix the documentation comment for the editing-started signal.

2004-07-20  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): Fix the
documentation comment for the editing-started signal.

* gtk/gtkmarshalers.list: Added VOID:OBJECT,STRING for
GtkCellRenderer::editing-started.

19 years agoAdd some refcount debugging.
Matthias Clasen [Tue, 20 Jul 2004 17:10:24 +0000 (17:10 +0000)]
Add some refcount debugging.

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

* tests/testactions.c (main):
* tests/testmerge.c (main): Add some refcount debugging.

* gtk/gtkuimanager.c (update_node, free_node): Ref an sink
all proxies, so that we can properly clean up floating proxies
which the app didn't adopt.  (#147926, Tommi Komulainen)

19 years agoAllow custom initialization of cell editables. (#147221)
Matthias Clasen [Tue, 20 Jul 2004 16:06:02 +0000 (16:06 +0000)]
Allow custom initialization of cell editables. (#147221)

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

Allow custom initialization of cell editables.  (#147221)

* gtk/gtkcellrenderer.h (struct _GtkCellRendererClass):
* gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): Add a
::editing-started signal as a hook for setting up the
GtkCellEditable.
(gtk_cell_renderer_start_editing): ...and emit it here.

19 years agosome menubar theming improvements
cinamod [Tue, 20 Jul 2004 15:58:29 +0000 (15:58 +0000)]
some menubar theming improvements

19 years agothis makes inkscape look better
cinamod [Tue, 20 Jul 2004 15:46:44 +0000 (15:46 +0000)]
this makes inkscape look better

19 years agoFix ChangeLog
Matthias Clasen [Tue, 20 Jul 2004 05:02:26 +0000 (05:02 +0000)]
Fix ChangeLog

19 years agoSet drag_pos before grabbing the focus, since we may reenter into
Matthias Clasen [Tue, 20 Jul 2004 04:48:15 +0000 (04:48 +0000)]
Set drag_pos before grabbing the focus, since we may reenter into

Tue Jul 20 00:45:38 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreeview.c (gtk_tree_view_button_press): Set drag_pos
before grabbing the focus, since we may reenter into
gtk_tree_view_motion_resize_column() which requires drag_pos
to be set.  (#147913, Guilherme Salgado, patch by John Finlay)

19 years agoDon't use uninitialized node pointer. (#147911, Peter Zelezny)
Matthias Clasen [Tue, 20 Jul 2004 04:05:42 +0000 (04:05 +0000)]
Don't use uninitialized node pointer. (#147911, Peter Zelezny)

Mon Jul 19 23:51:50 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreeview.c (gtk_tree_view_enter_notify): Don't
use uninitialized node pointer.  (#147911, Peter Zelezny)

19 years agoBump version number
Soeren Sandmann [Tue, 20 Jul 2004 02:35:35 +0000 (02:35 +0000)]
Bump version number

Tue Jul 20 04:34:56 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* configure.in: Bump version number

19 years ago=== Released 2.5.0 ===
Soeren Sandmann [Tue, 20 Jul 2004 02:26:06 +0000 (02:26 +0000)]
=== Released 2.5.0 ===

Sun Jul 18 17:21:10 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

        * === Released 2.5.0 ===

        * NEWS: updates

        * tests/testcombo.c: Fix compilation

19 years agoUpdates.
Matthias Clasen [Mon, 19 Jul 2004 19:57:29 +0000 (19:57 +0000)]
Updates.

19 years agoTypo fix.
Matthias Clasen [Mon, 19 Jul 2004 19:33:05 +0000 (19:33 +0000)]
Typo fix.

19 years agoAdd bug ref`
Matthias Clasen [Mon, 19 Jul 2004 19:09:29 +0000 (19:09 +0000)]
Add bug ref`

19 years agoMake GtkCellView public, since people seem to have uses for it, it is
Matthias Clasen [Mon, 19 Jul 2004 19:07:27 +0000 (19:07 +0000)]
Make GtkCellView public, since people seem to have uses for it, it is

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

Make GtkCellView public, since people seem to have uses for it,
it is clean API and we were just conservative in not making it
public initially. At the same time, get rid of GtkCellViewMenuItem,
which doesn't have any function which can't be served by a
GtkMenuItem with a GtkCellView child.

* gtk/gtk.h: Include gtkcellview.h

* gtk/Makefile.am (gtk_public_h_sources):

* gtk/Makefile.am (gtk_private_h_sources):
(gtk_c_sources): Remove gtkcellviewmenuitem.[hc]
* gtk/gtkcombobox.c: Replace all uses of GtkCellViewMenuItem by
GtkMenuItem with a GtkCellView child.

* gtk/gtkcellviewmenuitem.[hc]: Removed.

19 years agoSupport inline autocompletion in entries (#135953)
Matthias Clasen [Mon, 19 Jul 2004 18:15:48 +0000 (18:15 +0000)]
Support inline autocompletion in entries (#135953)

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

Support inline autocompletion in entries  (#135953)

* gtk/gtkentryprivate.h:
* gtk/gtkentrycompletion.h:
* gtk/gtkentrycompletion.c (gtk_entry_completion_class_init):
Add a new signal ::insert-prefix which can be used to override
the default inline-completion behaviour. Add two new boolean
properties, :popup_completion and :inline_completion which
determine how the possible completions should be presented.
(gtk_entry_completion_insert_prefix): New function to request
a prefix insertion.

* gtk/gtkentry.c: Add the necessary glue for inline completion.

19 years agoUpdated British translation.
David Lodge [Sun, 18 Jul 2004 21:51:15 +0000 (21:51 +0000)]
Updated British translation.

2004-07-18  David Lodge <dave@cirt.net>

        * en_GB.po: Updated British translation.

19 years agoCreate an empty target list if targets is NULL.
Soeren Sandmann [Sun, 18 Jul 2004 15:14:05 +0000 (15:14 +0000)]
Create an empty target list if targets is NULL.

Sun Jul 18 15:28:24 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkdnd.c (gtk_drag_source_set, gtk_drag_dest_set): Create an
empty target list if targets is NULL.

* configure.in: Add check for X11/extensions/sync.h. (#147416,
Morten Welinder)

19 years agoUpdates for 2.5.0
Matthias Clasen [Sun, 18 Jul 2004 05:24:55 +0000 (05:24 +0000)]
Updates for 2.5.0

19 years agoUpdates.
Matthias Clasen [Sun, 18 Jul 2004 03:42:51 +0000 (03:42 +0000)]
Updates.

19 years agoAdd a new :orientation property to determine whether text is positioned
Matthias Clasen [Sun, 18 Jul 2004 03:39:50 +0000 (03:39 +0000)]
Add a new :orientation property to determine whether text is positioned

Sat Jul 17 23:11:04 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkiconview.h:
* gtk/gtkiconview.c (gtk_icon_view_class_init):
* gtk/gtkiconview.c (gtk_icon_view_set_orientation):
* gtk/gtkiconview.c (gtk_icon_view_get_orientation):
* gtk/gtkiconview.c (gtk_icon_view_calculate_item_size):
* gtk/gtkiconview.c (gtk_icon_view_layout_single_row):
Add a new :orientation property to determine whether text
is positioned below or beside icons.  (#147463)

19 years agoDraw focus indicator outside the selection, respect focus line width.
Matthias Clasen [Sun, 18 Jul 2004 03:05:24 +0000 (03:05 +0000)]
Draw focus indicator outside the selection, respect focus line width.

Sat Jul 17 23:03:30 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkiconview.c (gtk_icon_view_paint_item):
* gtk/gtkiconview.c (gtk_icon_view_calculate_item_size):
* gtk/gtkiconview.c (gtk_icon_view_layout_single_row): Draw
focus indicator outside the selection, respect focus
line width.  (#147460)

19 years agoFix a warning message.
Matthias Clasen [Sat, 17 Jul 2004 05:18:09 +0000 (05:18 +0000)]
Fix a warning message.

19 years agoSupport text/plain selection target (#55117, Owen Taylor)
Matthias Clasen [Sat, 17 Jul 2004 04:58:02 +0000 (04:58 +0000)]
Support text/plain selection target (#55117, Owen Taylor)

Sat Jul 17 00:48:27 2004  Matthias Clasen  <maclas@gmx.de>

Support text/plain selection target  (#55117, Owen Taylor)

* gtk/gtkselection.h:
* gtk/gtkdnd.h:
* gtk/gtkselection.c (gtk_target_list_add_text_targets):
* gtk/gtkdnd.c (gtk_drag_dest_add_text_targets):
* gtk/gtkdnd.c (gtk_drag_source_add_text_targets): New
functions to facilitate handling of text targets.

* gtk/gtkentry.c:
* gtk/gtktextview.c: Use the new text target handling
functions instead of hardwiring the list of supported
text targets everywhere.

* gtk/gtkselection.c (gtk_selection_data_get_text):
(gtk_selection_data_set_text):
Support the targets text/plain, text/plain?charset=utf-8
and text/plain?charset=<LOCALE-CHARSET> as outlined in
#55117:
For text/plain send only ASCII, but accept 8-bit text
and treat it as ISO-8859-1 as specified by the Xdnd spec.
Always send CRLF terminators. Accept either and convert
into the native terminator for the platform.

19 years agoSupport named themed window icons.
Matthias Clasen [Sat, 17 Jul 2004 03:55:07 +0000 (03:55 +0000)]
Support named themed window icons.

19 years agoMake scrolling work if no item is selected. (gtk_cell_editable_key_press):
Matthias Clasen [Fri, 16 Jul 2004 21:13:21 +0000 (21:13 +0000)]
Make scrolling work if no item is selected. (gtk_cell_editable_key_press):

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

* gtk/gtkcombobox.c (gtk_combo_box_scroll_event): Make
scrolling work if no item is selected.
(gtk_cell_editable_key_press): Don't eat space.

19 years agoAdd GtkCellRendererCombo
Matthias Clasen [Fri, 16 Jul 2004 20:34:36 +0000 (20:34 +0000)]
Add GtkCellRendererCombo

19 years agoAdd a combo box cell renderer.
Matthias Clasen [Fri, 16 Jul 2004 20:27:40 +0000 (20:27 +0000)]
Add a combo box cell renderer.

19 years agoDon't iterate multiple times over some of the children.
Matthias Clasen [Fri, 16 Jul 2004 14:33:21 +0000 (14:33 +0000)]
Don't iterate multiple times over some of the children.

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

* gtk/gtkcombobox.c (gtk_combo_box_forall): Don't iterate
multiple times over some of the children.

19 years agoAdd missing files. (#147688, Christian Rose)
Matthias Clasen [Fri, 16 Jul 2004 13:48:38 +0000 (13:48 +0000)]
Add missing files. (#147688, Christian Rose)

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

* POTFILES.in: Add missing files.  (#147688,
Christian Rose)

19 years agoFix #60128, #58307, #144706:
Matthias Clasen [Fri, 16 Jul 2004 02:22:48 +0000 (02:22 +0000)]
Fix #60128, #58307, #144706:

Thu Jul 15 22:19:40 2004  Matthias Clasen  <maclas@gmx.de>

Fix #60128, #58307, #144706:

* gtk/gtkstyle.c (gtk_style_real_copy): Handle references
to bg_pixmaps properly.
(gtk_style_real_unrealize): Don't keep dangling references
to the bg_pixmaps.
(gtk_style_attach): Split the loop into two loops, first
looking for a matching style, then for an empty one.
(gtk_style_finalize):
(gtk_style_duplicate): Add comments explaining the handling
of style->styles.

19 years agoInstall the timeout before changing the value, so that a ::value_changed
Matthias Clasen [Fri, 16 Jul 2004 00:38:06 +0000 (00:38 +0000)]
Install the timeout before changing the value, so that a ::value_changed

Thu Jul 15 20:31:28 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkspinbutton.c (start_spinning): Install the timeout
before changing the value, so that a ::value_changed handler
has a chance to remove it.  (#122427, Elke Meier)

19 years agoUse 'cannot' instead of 'can not' in messages. (#144226, Morten Welinder)
Matthias Clasen [Thu, 15 Jul 2004 23:24:51 +0000 (23:24 +0000)]
Use 'cannot' instead of 'can not' in messages. (#144226, Morten Welinder)

Thu Jul 15 19:20:05 2004  Matthias Clasen  <maclas@gmx.de>

* gdk/x11/gdkim-x11.c (_gdk_x11_initialize_locale):
* gtk/gtkcalendar.c (gtk_calendar_class_init): Use 'cannot'
instead of 'can not' in messages.  (#144226, Morten Welinder)

19 years agoCorrect the declared default values of several properties to be in sync
Matthias Clasen [Thu, 15 Jul 2004 17:52:34 +0000 (17:52 +0000)]
Correct the declared default values of several properties to be in sync

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

* gtk/gtktreeview.c (gtk_tree_view_class_init):
* gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init):
Correct the declared default values of several properties
to be in sync with the actual initial values.

19 years agoCorrect the declared default values of several properties to be in sync
Matthias Clasen [Thu, 15 Jul 2004 17:48:04 +0000 (17:48 +0000)]
Correct the declared default values of several properties to be in sync

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

* gtk/gtkcellrenderer.c (gtk_cell_renderer_get_property):
Correct the declared default values of several properties
to be in sync with the actual initial values.

19 years agoMake spacing a property, correct the declared default values of several
Matthias Clasen [Thu, 15 Jul 2004 17:37:06 +0000 (17:37 +0000)]
Make spacing a property, correct the declared default values of several

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

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init):
Make spacing a property, correct the declared default values
of several properties to be in sync with the actual initial
values.  (#147654, Matthias Clasen)

19 years agoDon't reparent back to menu->toplevel if it is already gone because we're
Matthias Clasen [Thu, 15 Jul 2004 16:43:55 +0000 (16:43 +0000)]
Don't reparent back to menu->toplevel if it is already gone because we're

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

* gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Don't reparent
back to menu->toplevel if it is already gone because we're
shutting down.  (#147656, John Cupitt)

19 years agoUpdated Nepali Translation
Pawan Chitrakar [Thu, 15 Jul 2004 04:26:17 +0000 (04:26 +0000)]
Updated Nepali Translation

2004-07-15  Pawan Chitrakar  <pawan@nplinux.org>

* ne.po: Updated Nepali Translation

19 years agoFix #126295:
Federico Mena Quintero [Thu, 15 Jul 2004 01:36:29 +0000 (01:36 +0000)]
Fix #126295:

2004-07-14  Federico Mena Quintero  <federico@ximian.com>

Fix #126295:

* gtk/gtktreeview.c (gtk_tree_view_bin_expose): Draw a focus
indicator along the edge of the bin_window when the tree is empty.
(grab_focus_and_unset_draw_keyfocus): New helper function.
(gtk_tree_view_button_press): Remove a bit of superfluous code.
Use the helper function to save on duplicated code.
(gtk_tree_view_button_press): Grab the focus if the tree is empty.
(gtk_tree_view_focus): Allow focusing into an empty tree.

19 years agoDon't use gcc extensions for the ternary ?: operator. (#147590, Damien
Matthias Clasen [Wed, 14 Jul 2004 17:19:04 +0000 (17:19 +0000)]
Don't use gcc extensions for the ternary ?: operator. (#147590, Damien

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

* gtk/gtkaboutdialog.c (add_credits_page): Don't use
gcc extensions for the ternary ?: operator.  (#147590,
Damien Carbery)

19 years agoFix #144405, patch by Padraig O'Briain <padraig.obriain@sun.com>:
Federico Mena Quintero [Wed, 14 Jul 2004 17:08:40 +0000 (17:08 +0000)]
Fix #144405, patch by Padraig O'Briain <padraig.obriain@sun.com>:

2004-07-14  Federico Mena Quintero  <federico@ximian.com>

Fix #144405, patch by Padraig O'Briain <padraig.obriain@sun.com>:

* gtk/gtkfilechooserdefault.c (shortcuts_list_create): Set the
accessible object name for the tree view.
(create_file_list): Likewise.

19 years agoDon't leak no_svg_filename. (#147399, Kjartan Maraas)
Matthias Clasen [Wed, 14 Jul 2004 01:57:16 +0000 (01:57 +0000)]
Don't leak no_svg_filename. (#147399, Kjartan Maraas)

Tue Jul 13 21:53:08 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkicontheme.c (free_unthemed_icon): Don't leak
no_svg_filename.  (#147399, Kjartan Maraas)

19 years agoMake this work in RTL context.
Matthias Clasen [Tue, 13 Jul 2004 21:26:19 +0000 (21:26 +0000)]
Make this work in RTL context.

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

* gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_get_neighbor_sizes):
Make this work in RTL context.

19 years agoFix build error.
Matthias Clasen [Tue, 13 Jul 2004 19:15:09 +0000 (19:15 +0000)]
Fix build error.

19 years agoSet a busy cursor while mounting the volume. Also, ref the chooser while
Federico Mena Quintero [Tue, 13 Jul 2004 18:25:48 +0000 (18:25 +0000)]
Set a busy cursor while mounting the volume. Also, ref the chooser while

2004-07-13  Federico Mena Quintero  <federico@ximian.com>

* gtk/gtkfilechooserdefault.c (shortcuts_activate_volume): Set a
busy cursor while mounting the volume.  Also, ref the chooser
while mounting, as we may re-enter.  Fixes #139376.

19 years agoPrepare to handle composite implementations of GtkCellEditable, but
Matthias Clasen [Tue, 13 Jul 2004 17:56:29 +0000 (17:56 +0000)]
Prepare to handle composite implementations of GtkCellEditable, but

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

* gtk/gtktreeview.c (gtk_tree_view_adjustment_changed):
Prepare to handle composite implementations of
GtkCellEditable, but recursively poking at
allocation->y (hack stolen from GtkCList).

19 years agoUgh, another compile error.
Matthias Clasen [Tue, 13 Jul 2004 14:50:11 +0000 (14:50 +0000)]
Ugh, another compile error.

19 years agoUgh, forgotten ;
Matthias Clasen [Tue, 13 Jul 2004 14:49:02 +0000 (14:49 +0000)]
Ugh, forgotten ;

19 years agoAdd gtk_parse_args()
Matthias Clasen [Tue, 13 Jul 2004 14:17:49 +0000 (14:17 +0000)]
Add gtk_parse_args()

19 years agoDon't crash if unrealized.
Matthias Clasen [Tue, 13 Jul 2004 13:54:13 +0000 (13:54 +0000)]
Don't crash if unrealized.

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

* gtk/gtkcombobox.c (gtk_combo_box_popdown): Don't
crash if unrealized.

19 years ago13/7/04 aman <amanlinux@netscape.net> modify
Amanpreet Singh Alam [Tue, 13 Jul 2004 11:10:24 +0000 (11:10 +0000)]
13/7/04 aman <amanlinux@netscape.net> modify

19 years agoUpdates.
Matthias Clasen [Tue, 13 Jul 2004 06:02:24 +0000 (06:02 +0000)]
Updates.

19 years agoDon't display untranslated translator credits.
Matthias Clasen [Tue, 13 Jul 2004 05:50:54 +0000 (05:50 +0000)]
Don't display untranslated translator credits.

Tue Jul 13 01:50:06 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkaboutdialog.c (display_credits_dialog): Don't
display untranslated translator credits.

19 years agoUpdates
Matthias Clasen [Tue, 13 Jul 2004 05:16:59 +0000 (05:16 +0000)]
Updates

19 years agoSome documentation updates.
Matthias Clasen [Tue, 13 Jul 2004 05:15:49 +0000 (05:15 +0000)]
Some documentation updates.

19 years agoDo an empty begin_paint_region()/end_paint() for windows without
Soeren Sandmann [Mon, 12 Jul 2004 22:52:40 +0000 (22:52 +0000)]
Do an empty begin_paint_region()/end_paint() for windows without

Tue Jul 13 00:40:29 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gdk/gdkwindow.c (gdk_window_process_updates_internal): Do an
empty begin_paint_region()/end_paint() for windows without
EXPOSURE_MASK.

* gdk/x11/gdkwindow-x11.c (_gdk_x11_window_tmp_unset_bg,
_gdk_x11_window_tmp_reset_bg): Remove checks for EXPOSURE_MASK.

19 years agoUse a GtkAboutDialog.
Matthias Clasen [Mon, 12 Jul 2004 21:50:18 +0000 (21:50 +0000)]
Use a GtkAboutDialog.

* demos/gtk-demo/appwindow.c: Use a GtkAboutDialog.

19 years agoStart of the GTK+ glossary.
Federico Mena Quintero [Mon, 12 Jul 2004 20:25:34 +0000 (20:25 +0000)]
Start of the GTK+ glossary.

2004-07-12  Federico Mena Quintero  <federico@ximian.com>

* gtk/glossary.xml: Start of the GTK+ glossary.

* gtk/Makefile.am (content_files): Added glossary.xml.

* gtk/gtk-docs.sgml: Likewise.

19 years agoDocs for GtkAboutDialog.
Matthias Clasen [Mon, 12 Jul 2004 17:03:06 +0000 (17:03 +0000)]
Docs for GtkAboutDialog.

19 years agoNew widget: GtkAboutDialog.
Matthias Clasen [Mon, 12 Jul 2004 16:38:04 +0000 (16:38 +0000)]
New widget: GtkAboutDialog.

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

* gtk/gtkaboutdialog.h:
* gtk/gtkaboutdialog.c: New widget: GtkAboutDialog.

* gtk/Makefile.am (gtk_public_h_sources, gtk_c_sources):
* gtk/gtk.h: Add GtkAboutDialog. (#109435, Paolo Borelli,
patch by Matthias Clasen)

19 years agoApply the gtk-default-menu-item-style to cell view menu items as well.
Matthias Clasen [Mon, 12 Jul 2004 16:21:45 +0000 (16:21 +0000)]
Apply the gtk-default-menu-item-style to cell view menu items as well.

* gtk/gtkrc.c (_gtk_rc_init): Apply the gtk-default-menu-item-style
to cell view menu items as well.  (#147405, John Cupitt)

19 years agoForgotten file.
Matthias Clasen [Mon, 12 Jul 2004 16:15:55 +0000 (16:15 +0000)]
Forgotten file.

19 years agoWarning fixes.
Matthias Clasen [Mon, 12 Jul 2004 14:38:10 +0000 (14:38 +0000)]
Warning fixes.

19 years agoInclude the update_counter check in the HAVE_XSYNC condition, since
Matthias Clasen [Mon, 12 Jul 2004 05:57:41 +0000 (05:57 +0000)]
Include the update_counter check in the HAVE_XSYNC condition, since

Mon Jul 12 01:56:26 2004  Matthias Clasen  <maclas@gmx.de>

* gdk/x11/gdkwindow-x11.c (gdk_toplevel_x11_free_contents):
Include the update_counter check in the HAVE_XSYNC condition,
since update_counter isn't present in the !HAVE_XSYNC case.

19 years agoAdd new stock items.
Matthias Clasen [Mon, 12 Jul 2004 04:58:10 +0000 (04:58 +0000)]
Add new stock items.

Mon Jul 12 00:57:32 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/tmpl/gtkstock.sgml:
* gtk/Makefile.am (HTML_IMAGES):
* gtk/gtk-sections.txt: Add new stock items.

19 years agoAdd a number of new stock items. (#102530, #68015, #109811, Jordi Mallach,
Matthias Clasen [Mon, 12 Jul 2004 04:56:30 +0000 (04:56 +0000)]
Add a number of new stock items. (#102530, #68015, #109811, Jordi Mallach,

Mon Jul 12 00:52:04 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/stock-icons/Makefile.am:
* gtk/stock-icons/stock_about_{16,24}.png:
* gtk/stock-icons/stock_connect_{16,24}.png:
* gtk/stock-icons/stock_disconnect_{16,24}.png:
* gtk/stock-icons/stock_edit_{16,24}.png:
* gtk/stock-icons/stock_media_forward_{16,24}.png:
* gtk/stock-icons/stock_media_next_{16,24}.png:
* gtk/stock-icons/stock_media_pause_{16,24}.png:
* gtk/stock-icons/stock_media_play_{16,24}.png:
* gtk/stock-icons/stock_media_previous_{16,24}.png:
* gtk/stock-icons/stock_media_record_{16,24}.png:
* gtk/stock-icons/stock_media_rewind_{16,24}.png:
* gtk/stock-icons/stock_media_stop_{16,24}.png:
* gtk/gtkstock.h (GTK_STOCK_ABOUT):
* gtk/gtkstock.h (GTK_STOCK_CONNECT):
* gtk/gtkstock.h (GTK_STOCK_DISCONNECT):
* gtk/gtkstock.h (GTK_STOCK_EDIT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_FORWARD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_NEXT):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PAUSE):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PLAY):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_PREVIOUS):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_RECORD):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_REWIND):
* gtk/gtkstock.h (GTK_STOCK_MEDIA_STOP):
* gtk/gtkiconfactory.c (get_default_icons):
* gtk/gtkstock.c (builtin_items): Add a number of new stock
items.  (#102530, #68015, #109811, Jordi Mallach, Benjamin Otte,
Michael Opdenacker)

19 years agoBug 143330, support update counter spec.
Soeren Sandmann [Sun, 11 Jul 2004 13:26:57 +0000 (13:26 +0000)]
Bug 143330, support update counter spec.

Sun Jul 11 15:24:03 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

Bug 143330, support update counter spec.

* configure.in: Add check for the Sync extension

* gdk/gdkwindow.h: gdk_window_enable_synchronized_configure() and
gdk_window_configure_finished()

* gtk/gtkwindow.c (gtk_window_move_resize): Call gdk_window_finish_configure().
* gtk/gtkwindow.c (gtk_window_realize): Automatically enable
synchronized configures.

* gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Store current
and pending counter values.

* gdk/x11/gdkwindow-x11.c (gdk_window_configure_finished): New function.
* gdk/x11/gdkwindow-x11.c
(gdk_window_enable_synchronized_configure): New function.
* gdk/x11/gdkwindow-x11.c (gdk_toplevel_x11_free_contents):
Delete update counter.
* gdk/x11/gdkwindow-x11.c (set_wm_protocols): Advertise
_NET_WM_SYNC_REQUEST when Sync is available

* gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Handle
_NET_WM_SYNC_REQUEST messages
* gdk/x11/gdkevents-x11.c (gdk_event_translate): Save counter
value for use by gdk_window_configure_finished() when receiving
ConfigureNotifies.

* gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add use_sync flag
* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Check if the XSync
extension is available
* gdk/x11/gdkdisplay-x11.c: Add _NET_WM_SYNC_REQUEST and
_NET_WM_SYNC_REQUEST_COUNTER to list of supported atoms.

* gdk/linux-fb/gdkwindow-fb.c, gdk/win32/gdkwindow-win32.c: Add
stubs for enable_synchronized_configure() and configure_finished()

19 years agoMake middle-button pasting work as expected inside the entry. (#116789,
Matthias Clasen [Sun, 11 Jul 2004 03:37:48 +0000 (03:37 +0000)]
Make middle-button pasting work as expected inside the entry. (#116789,

Sat Jul 10 23:35:13 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkentry.c (paste_received): Make middle-button pasting
work as expected inside the entry.  (#116789, Scott Bronson)

19 years agoUpdate clipboards. (#142805, Mikael Hallendal)
Matthias Clasen [Sun, 11 Jul 2004 02:20:01 +0000 (02:20 +0000)]
Update clipboards. (#142805, Mikael Hallendal)

Sat Jul 10 22:13:53 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktextbuffer.c (gtk_text_buffer_select_range): Update
clipboards.  (#142805, Mikael Hallendal)

19 years agoRemove clip-region computing code. Just use &paned->handle_pos.
Soeren Sandmann [Sat, 10 Jul 2004 23:42:47 +0000 (23:42 +0000)]
Remove clip-region computing code. Just use &paned->handle_pos.

Sun Jul 11 01:38:48 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkpaned.c (gtk_paned_expose): Remove clip-region computing
code. Just use &paned->handle_pos.

19 years agoFix ChangeLog
Søren Sandmann Pedersen [Sat, 10 Jul 2004 23:15:16 +0000 (23:15 +0000)]
Fix ChangeLog

19 years agoBug 144371
Soeren Sandmann [Sat, 10 Jul 2004 23:14:14 +0000 (23:14 +0000)]
Bug 144371

Sun Jul 11 01:12:50 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

Bug 144371

* gtk/gtknotebook.c (gtk_notebook_size_allocate): Remove an
unnecessary redraw..

* gtk/gtknotebook.c (gtk_notebook_page_allocate): Remove some
incorrect redraws.

19 years agoUpdates.
Matthias Clasen [Sat, 10 Jul 2004 05:36:06 +0000 (05:36 +0000)]
Updates.

19 years agoInsert checks for root window. The root window is never mapped.
Soeren Sandmann [Fri, 9 Jul 2004 23:57:08 +0000 (23:57 +0000)]
Insert checks for root window. The root window is never mapped.

Sat Jul 10 01:55:29 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gdk/x11/gdkwindow-x11.c (_gdk_x11_window_tmp_{re|un}set_bg):
Insert checks for root window. The root window is never mapped.

19 years agoFix a warning Actually unset bg.
Soeren Sandmann [Fri, 9 Jul 2004 23:06:35 +0000 (23:06 +0000)]
Fix a warning Actually unset bg.

Sat Jul 10 01:06:05 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gdk/x11/gdkwindow-x11.c (post_unmap): Fix a warning
* gdk/x11/gdkwindow-x11.c (show_window_internal): Actually unset
bg.

19 years agoBug 113310.
Soeren Sandmann [Fri, 9 Jul 2004 22:44:35 +0000 (22:44 +0000)]
Bug 113310.

Sat Jul 10 00:37:45 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

Bug 113310.

* gdk/x11/gdkwindow-x11.c (_gdk_x11_window_tmp_{un|re}set_bg):
New functions that can do a recursive unset/reset bg.

* gdk/x11/gdkgeometry-x11.c: Remove
gdk_window_tmp_{un|re}set_bg().

* gdk/x11/gdkwindow-x11.c (pre_unmap, post_unmap): New functions
called before and after unmapping a window. They unset the
background of all other windows to prevent flicker from the X
server repainting the background. post_unmap() also invalidates
the parent of the unmapped window to draw it without roundtrips.

* gdk/x11/gdkwindow-x11.c (show_window_internal): Unset
background of newly mapped windows and all desendants to prevent
flicker.

19 years agohave a dummy case GDK_OWNER_CHANGE in switch statements to avoid gcc
Manish Singh [Fri, 9 Jul 2004 22:42:19 +0000 (22:42 +0000)]
have a dummy case GDK_OWNER_CHANGE in switch statements to avoid gcc

Fri Jul  9 15:33:55 2004  Manish Singh  <yosh@gimp.org>

        * gdk/gdkevents.c: have a dummy case GDK_OWNER_CHANGE in switch
        statements to avoid gcc warnings about not all enum values handled.

        * gdk/x11/gdkdisplay-x11.c (gdk_display_open): ignore should live in
        #ifdef HAVE_XFIXES.

19 years agofunction doesn't return a value, so don't use g_return_val_if_fail()
Manish Singh [Fri, 9 Jul 2004 22:40:37 +0000 (22:40 +0000)]
function doesn't return a value, so don't use g_return_val_if_fail()

Fri Jul  9 15:38:06 2004  Manish Singh  <yosh@gimp.org>

        * gdk-pixbuf-io.c (gdk_pixbuf_format_set_disabled): function doesn't
        return a value, so don't use g_return_val_if_fail()

        * gdk-pixbuf-scale.c (gdk_pixbuf_rotate_simple): initialize dest in
        the can't happen case, to quiet gcc.

        * io-tiff.c (tifflibversion): enclose in #if TIFFLIB_VERSION >=
        20031226.