]> Pileus Git - ~andy/gtk/log
~andy/gtk
19 years agoDocument the xalign property and its getter and setter as 2.4 additions.
Matthias Clasen [Mon, 2 Aug 2004 04:14:17 +0000 (04:14 +0000)]
Document the xalign property and its getter and setter as 2.4 additions.

Mon Aug  2 00:12:16 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkentry.c (gtk_entry_class_init):
(gtk_entry_get_alignment):
(gtk_entry_set_alignment): Document the xalign property
and its getter and setter as 2.4 additions.  (#148978,
Axel Simon)

Mon Aug  2 00:11:31 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkuimanager.c (gtk_ui_manager_class_init):
* gtk/gtkactiongroup.c (gtk_action_group_class_init): Use
canonical signal names in doc comments, since gtk-doc won't
pick up signal docs with underscores.

19 years agoFix progressive loading of 8bit pcx files. (#148518, Magnus Bergman)
Matthias Clasen [Mon, 2 Aug 2004 04:05:34 +0000 (04:05 +0000)]
Fix progressive loading of 8bit pcx files. (#148518, Magnus Bergman)

Sun Aug  1 23:57:06 2004  Matthias Clasen  <maclas@gmx.de>

* io-pcx.c (pcx_increment_load_data_1): Fix progressive
loading of 8bit pcx files. (#148518, Magnus Bergman)

19 years agoUpdated Simplified Chinese translation
Funda Wang [Sun, 1 Aug 2004 18:20:31 +0000 (18:20 +0000)]
Updated Simplified Chinese translation

19 years ago*** empty log message ***
Matthias Clasen [Sun, 1 Aug 2004 06:24:59 +0000 (06:24 +0000)]
*** empty log message ***

19 years ago2.5.1
Matthias Clasen [Sun, 1 Aug 2004 05:55:01 +0000 (05:55 +0000)]
2.5.1

19 years agoNew arguments
Jonathan Blandford [Sun, 1 Aug 2004 03:32:19 +0000 (03:32 +0000)]
New arguments

Thu Jul 29 16:36:42 2004  Jonathan Blandford  <jrb@redhat.com>

        * gtk/gtktreeprivate.h: New arguments

        * gtk/gtktreeview.c:
        (gtk_tree_view_class_init): Add key_release callback
        (gtk_tree_view_init): Initialize timeout handler
        (gtk_tree_view_unrealize): clear timeout if needed
        (gtk_tree_view_key_press): Typeahead support
        (gtk_tree_view_key_release): Not used yet -- will be needed for
        typeahead.
        (gtk_tree_view_search_entry_flush_timeout): Remove typeahead entry
        in a timeout.
        (gtk_tree_view_ensure_interactive_directory):
        (gtk_tree_view_real_start_interactive_search):
        (gtk_tree_view_search_init):
        (gtk_tree_view_start_interactive_search): Typeahead support added.
        (gtk_tree_view_search_dialog_hide): Clear timeout and text when we
        hide.

19 years agoUpdates for 2.5.1.
Matthias Clasen [Sun, 1 Aug 2004 03:18:05 +0000 (03:18 +0000)]
Updates for 2.5.1.

19 years agoAdd some forgotten functions.
Matthias Clasen [Sat, 31 Jul 2004 21:21:08 +0000 (21:21 +0000)]
Add some forgotten functions.

Sat Jul 31 17:20:22 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtk-sections.txt: Add some forgotten functions.

Sat Jul 31 17:18:57 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/framebuffer.sgml:
* gtk/windows.sgml:
* gtk/x11.sgml:
* gtk/running.sgml: Reorganize backend-specific cmdline
arguments and environment variables, fill the Windows
sections, add XDG_DATA_HOME, XDG_DATA_DIRS.

19 years agoUse the canonical form of signal names after "notify::". Otherwise, no
Matthias Clasen [Sat, 31 Jul 2004 05:15:32 +0000 (05:15 +0000)]
Use the canonical form of signal names after "notify::". Otherwise, no

Sat Jul 31 01:13:01 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkwindow.c:
* gtk/gtkentry.c:
* gtk/gtkaction.c: Use the canonical form of signal names
after "notify::". Otherwise, no notification arrives.
GObject should have a warning for that, really.  (#148879,
Lorenzo Gil Sánchez)

19 years agoDon't set both states at once. (#148789, Matthew Garret)
Matthias Clasen [Sat, 31 Jul 2004 04:45:09 +0000 (04:45 +0000)]
Don't set both states at once. (#148789, Matthew Garret)

Sat Jul 31 00:42:08 2004  Matthias Clasen  <maclas@gmx.de>

* gdk/x11/gdkwindow-x11.c (gdk_window_set_keep_below):
* gdk/x11/gdkwindow-x11.c (gdk_window_set_keep_above): Don't
set both states at once.  (#148789, Matthew Garret)

19 years ago*** empty log message ***
Matthias Clasen [Fri, 30 Jul 2004 22:55:28 +0000 (22:55 +0000)]
*** empty log message ***

19 years agoChange the api for separators to use a separator function instead of a
Matthias Clasen [Fri, 30 Jul 2004 20:55:17 +0000 (20:55 +0000)]
Change the api for separators to use a separator function instead of a

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

* gtk/gtkcombobox.h:
* gtk/gtkcombobox.c: Change the api for separators to use a
separator function instead of a boolean column.

* tests/testcombo.c: Update to match the api change.

19 years ago*** empty log message ***
Kartik B. Mistry [Fri, 30 Jul 2004 15:38:25 +0000 (15:38 +0000)]
*** empty log message ***

19 years agoFix the positioning of the popup.
Matthias Clasen [Fri, 30 Jul 2004 06:22:26 +0000 (06:22 +0000)]
Fix the positioning of the popup.

Fri Jul 30 02:21:41 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
Fix the positioning of the popup.

19 years agoImplement this in terms of gtk_combo_box_get_active_iter(), instead of
Matthias Clasen [Fri, 30 Jul 2004 04:58:52 +0000 (04:58 +0000)]
Implement this in terms of gtk_combo_box_get_active_iter(), instead of

Fri Jul 30 00:56:31 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_active_changed):
Implement this in terms of gtk_combo_box_get_active_iter(),
instead of gtk_combo_box_get_active().

19 years agoAdd a field for an "add to shortcuts" menu item. (popup_menu_detach_cb):
Federico Mena Quintero [Thu, 29 Jul 2004 20:53:52 +0000 (20:53 +0000)]
Add a field for an "add to shortcuts" menu item. (popup_menu_detach_cb):

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

* gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): Add
a field for an "add to shortcuts" menu item.
(popup_menu_detach_cb): Clear out the field.
(file_list_build_popup_menu): Only build the menu here.
(file_list_update_popup_menu): Build the menu, then update the
sensitivity of its items.
(file_list_popup_menu): Use file_list_update_popup_menu().
(bookmarks_check_add_sensitivity): Also set the sensitivity of the
popup menu item.  Correctly handle the case for a *single* file.
Simplify a bit.
(bookmarks_add_selected_folder): New helper function; code moved
over from add_bookmark_button_clicked_cb().
(add_bookmark_button_clicked_cb): Use the function above.
(selection_check): Rather than returning a boolean value for
emptiness, actually return the number of selected rows.  Also,
simplify a bit.
(get_selected_path): New helper function.

19 years agoAdd clipboard demo.
Anders Carlsson [Thu, 29 Jul 2004 15:40:35 +0000 (15:40 +0000)]
Add clipboard demo.

2004-07-29  Anders Carlsson  <andersca@gnome.org>

* demos/gtk-demo/Makefile.am:
* demos/gtk-demo/clipboard.c: (copy_button_clicked),
(paste_received), (paste_button_clicked), (do_clipboard):
Add clipboard demo.

19 years agoStore signal IDs in gulongs, not guints!
Federico Mena Quintero [Thu, 29 Jul 2004 01:26:51 +0000 (01:26 +0000)]
Store signal IDs in gulongs, not guints!

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

* gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
Store signal IDs in gulongs, not guints!
(gtk_file_chooser_default_hierarchy_changed): We now monitor the
focus widget on our toplevel to know which widget was last focused
at the time our "should_respond" method gets called.
(shortcuts_activate_selected): New helper function.
(shortcuts_get_selected): New helper function.
(remove_selected_bookmarks): Use shortcuts_get_selected().
(bookmarks_check_remove_sensitivity): Likewise.
(shortcuts_reorder): Likewise.
(shortcuts_activate_iter): Renamed from shortcuts_activate_item().
Activate by iter, not by item number.
(save_folder_combo_changed_cb): Use shortcuts_activate_iter().
(shortcuts_row_activated_cb): Likewise.
(gtk_file_chooser_default_should_respond): If the last focused
widget on the toplevel was the shortcuts list, activate the
selected shortcut.

19 years agodon't add tearoffs to GtkComboBoxes
cinamod [Wed, 28 Jul 2004 16:19:05 +0000 (16:19 +0000)]
don't add tearoffs to GtkComboBoxes

19 years agoMake the fb backend compile against current freetype. (#148558, Nicolas
Matthias Clasen [Wed, 28 Jul 2004 16:04:53 +0000 (16:04 +0000)]
Make the fb backend compile against current freetype. (#148558, Nicolas

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

* gdk/linux-fb/gdkprivate-fb.h: Make the fb backend compile against
current freetype.  (#148558, Nicolas Deves)

19 years agoReplace the EXPANDER_MAX macro by ROW_HEIGHT. (#145528)
Matthias Clasen [Wed, 28 Jul 2004 15:57:07 +0000 (15:57 +0000)]
Replace the EXPANDER_MAX macro by ROW_HEIGHT. (#145528)

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

* gtk/gtktreeview.c: Replace the EXPANDER_MAX macro by
ROW_HEIGHT.  (#145528)

19 years agoWarning fixes.
Matthias Clasen [Wed, 28 Jul 2004 15:30:16 +0000 (15:30 +0000)]
Warning fixes.

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

* gtk/gtkuimanager.c: Warning fixes.

19 years agoFix prototype mismatch. (#148589, Nicolas Deves)
Matthias Clasen [Wed, 28 Jul 2004 13:51:48 +0000 (13:51 +0000)]
Fix prototype mismatch. (#148589, Nicolas Deves)

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

* gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_background): Fix
prototype mismatch.  (#148589, Nicolas Deves)

19 years agoCast to 32-bit integers when premultiplying, suggested by Keith Packard.
Anders Carlsson [Tue, 27 Jul 2004 23:19:19 +0000 (23:19 +0000)]
Cast to 32-bit integers when premultiplying, suggested by Keith Packard.

2004-07-28  Anders Carlsson  <andersca@gnome.org>

* gdk/x11/gdkdrawable-x11.c (gdk_draw_rectangle_alpha_libgtk_only):
Cast to 32-bit integers when premultiplying, suggested by Keith Packard.

19 years agoFix ChangeLog
Anders Carlsson [Tue, 27 Jul 2004 21:58:27 +0000 (21:58 +0000)]
Fix ChangeLog

19 years agoAdd gdk_draw_rectangle_alpha_libgtk_only which uses XRenderFillRectangle
Anders Carlsson [Tue, 27 Jul 2004 21:58:09 +0000 (21:58 +0000)]
Add gdk_draw_rectangle_alpha_libgtk_only which uses XRenderFillRectangle

2004-07-27  Anders Carlsson  <andersca@gnome.org>

* demos/gtk-demo/iconview.c: (do_iconview):
* gdk/gdkdrawable.h:
* gdk/linux-fb/gdkdrawable-fb2.c:
(gdk_draw_rectangle_alpha_libgtk_only):
* gdk/win32/gdkdrawable-win32.c:
(gdk_draw_rectangle_alpha_libgtk_only):
* gdk/x11/gdkdrawable-x11.c: (gdk_x11_draw_image),
(get_impl_drawable), (gdk_x11_draw_pixbuf),
(gdk_draw_rectangle_alpha_libgtk_only):
Add gdk_draw_rectangle_alpha_libgtk_only which uses
XRenderFillRectangle on X11. It's stubbed out on the
Win32 and fb backends.

* gtk/gtkiconview.c:
(gtk_icon_view_paint_rubberband):
Use gdk_draw_rectangle_alpha_libgtk_only here.

19 years agoRemove dialog separators, fix text view background setting, use Close
Anders Carlsson [Tue, 27 Jul 2004 17:28:26 +0000 (17:28 +0000)]
Remove dialog separators, fix text view background setting, use Close

2004-07-27  Anders Carlsson  <andersca@gnome.org>

* gtk/gtkaboutdialog.c: (gtk_about_dialog_init),
(text_view_style_set), (add_credits_page),
(display_credits_dialog), (display_license_dialog):
Remove dialog separators, fix text view background setting,
use Close buttons instead of OK buttons.

19 years agoAdd a frame around the C-f popup to stop it from merging visually in
Matthias Clasen [Tue, 27 Jul 2004 17:00:25 +0000 (17:00 +0000)]
Add a frame around the C-f popup to stop it from merging visually in

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

* gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
Add a frame around the C-f popup to stop it from merging visually
in whatever is underneath.

19 years agoAdd gtk_combo_box_get_popup_accessible.
Matthias Clasen [Tue, 27 Jul 2004 16:42:06 +0000 (16:42 +0000)]
Add gtk_combo_box_get_popup_accessible.

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

* gtk/gtk-sections.txt: Add gtk_combo_box_get_popup_accessible.

19 years agoNew function necessary to make GtkComboBox accessible. (#132847, Padraig
Matthias Clasen [Tue, 27 Jul 2004 16:37:37 +0000 (16:37 +0000)]
New function necessary to make GtkComboBox accessible. (#132847, Padraig

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

* gtk/gtkcombobox.h:
* gtk/gtkcombobox.c (gtk_combo_box_get_popup_accessible): New
function necessary to make GtkComboBox accessible.  (#132847,
Padraig O'Briain)

19 years agoHide parentless windows when disposing them. (#133231, Michael Natterer)
Matthias Clasen [Tue, 27 Jul 2004 06:35:51 +0000 (06:35 +0000)]
Hide parentless windows when disposing them. (#133231, Michael Natterer)

Tue Jul 27 02:34:06 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkwidget.c (gtk_widget_dispose): Hide parentless
windows when disposing them.  (#133231, Michael Natterer)

19 years agoExpand the documentation for GtkLabel::ellipsize.
Matthias Clasen [Mon, 26 Jul 2004 17:38:56 +0000 (17:38 +0000)]
Expand the documentation for GtkLabel::ellipsize.

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

* gtk/gtklabel.c (gtk_label_class_init): Expand the documentation
for GtkLabel::ellipsize.

19 years ago*** empty log message ***
Matthias Clasen [Mon, 26 Jul 2004 14:47:17 +0000 (14:47 +0000)]
*** empty log message ***

19 years agoFix for #148437. Thanks to Robert Ögren for discovering the problem.
Christian Rose [Mon, 26 Jul 2004 06:02:41 +0000 (06:02 +0000)]
Fix for #148437. Thanks to Robert Ögren for discovering the problem.

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

* po/sv.po, po-properties/sv.po: Fix for #148437. Thanks to
Robert Ögren  for discovering the problem.

19 years agoMake the GtkComboBox in list mode scroll if the list is too large to fit
Matthias Clasen [Mon, 26 Jul 2004 04:50:07 +0000 (04:50 +0000)]
Make the GtkComboBox in list mode scroll if the list is too large to fit

Mon Jul 26 00:38:27 2004  Matthias Clasen  <maclas@gmx.de>

Make the GtkComboBox in list mode scroll if the list is too
large to fit in the popup.  (#135543)

* gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Add a
scrolled window to the popup in list mode.
(gtk_combo_box_list_position): Calculate the height of the
popup so that it fits on the screen, set the scrollbar policy
of the scrolled window appropriately.
(gtk_combo_box_popup): Use the height calculated by
gtk_combo_box_list_position().
(gtk_combo_box_remeasure): Don't add unnecessary padding.
(gtk_combo_box_size_request): But add the focus with here.
(gtk_combo_box_list_setup): Connect to enter notify on the
popup window to activate auto scrolling.
(gtk_combo_box_list_enter_notify): Activate auto scrolling.
(gtk_combo_box_list_button_pressed): Setup a timeout for
auto scrolling.
(gtk_combo_box_list_scroll_timeout): Timeout function for
auto scrolling.
(gtk_combo_box_list_auto_scroll): Scroll the list when the
pointer leaves the window.

19 years agoIgnore scroll events from the content of the page. (#148409, Gabriel de
Matthias Clasen [Sun, 25 Jul 2004 23:53:15 +0000 (23:53 +0000)]
Ignore scroll events from the content of the page. (#148409, Gabriel de

Sun Jul 25 19:51:17 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtknotebook.c (gtk_notebook_scroll): Ignore scroll
events from the content of the page.  (#148409, Gabriel
de Perthuis)

19 years agoWarn if you try to add a tool item to a toolbar using the deprecated API.
Soeren Sandmann [Sat, 24 Jul 2004 19:42:44 +0000 (19:42 +0000)]
Warn if you try to add a tool item to a toolbar using the deprecated API.

Sat Jul 24 21:38:12 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtktoolbar.c (internal_insert_element): Warn if you try to
add a tool item to a toolbar using the deprecated API.

19 years agoCreate the change to initialize target_list to an empty list instead of
Matthias Clasen [Fri, 23 Jul 2004 17:06:44 +0000 (17:06 +0000)]
Create the change to initialize target_list to an empty list instead of

Fri Jul 23 13:04:10 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkdnd.c (gtk_drag_dest_set): Create the change to
initialize target_list to an empty list instead of NULL,
since it broke tree dnd.  (#148215, Ernst Persson)

* gtk/gtkdnd.c (gtk_drag_dest_add_text_targets):
* gtk/gtkdnd.c (gtk_drag_source_add_text_targets): Instead
handle target list being NULL here.

19 years agoImprove various translatable messages.
Dafydd Harries [Fri, 23 Jul 2004 15:37:27 +0000 (15:37 +0000)]
Improve various translatable messages.

19 years agoalign the entry in the same way as the cell. (#136749)
Matthias Clasen [Fri, 23 Jul 2004 15:12:11 +0000 (15:12 +0000)]
align the entry in the same way as the cell. (#136749)

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

* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing):
align the entry in the same way as the cell.  (#136749)

19 years agoDon't iterate too far up. (#147965, Olivier Sessink)
Matthias Clasen [Fri, 23 Jul 2004 15:01:50 +0000 (15:01 +0000)]
Don't iterate too far up. (#147965, Olivier Sessink)

Fri Jul 23 11:00:17 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag):
Don't iterate too far up. (#147965, Olivier Sessink)

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)