]> Pileus Git - ~andy/gtk/log
~andy/gtk
19 years agoFix #144232:
Federico Mena Quintero [Fri, 6 Aug 2004 19:25:25 +0000 (19:25 +0000)]
Fix #144232:

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

Fix #144232:

* gtk/gtkfilechooserdefault.c (save_widgets_create): Use a
GtkFileChooserEntry for the file name, rather than a GtkEntry.
(update_chooser_entry): Set the contents of the file chooser entry
rather than the plain entry's.
(gtk_file_chooser_default_set_current_folder): Set the new folder
on the save entry.
(gtk_file_chooser_default_set_current_name): Set the name on the
file chooser entry.
(check_save_entry): Use the file chooser entry rather than the
plain entry.

* gtk/gtkfilechooserentry.c
(_gtk_file_chooser_entry_set_base_folder): Call
gtk_file_chooser_entry_changed() so that we recompute the current
folder based on the new base folder.

19 years agomake it compile and more similar to the X11 implementation [backward
Hans Breuer [Fri, 6 Aug 2004 19:20:42 +0000 (19:20 +0000)]
make it compile and more similar to the X11 implementation [backward

2004-08-06  Hans Breuer  <hans@breuer.org>

* gdk/win32/gdkwindow-win32.c : make it compile and more
similar to the X11 implementation [backward compatibility
for GDK_WINDOW_TEMP, GDK_INPUT_ONLY (fixes bug #148702),
use the *screen* function variants, dont reparent already
destroyed]
(get_visible_region) : take the win32 part into account
(_gdk_windowing_window_destroy) : remove from handle table

* gdk/win32/gdkdisplay-win32.c : added
gdk_display_(request|supports)_selection_notification ()
with a currently mostly pointless implementation ;-)

* gtk/gtkfilesystemwin32.c (*_to_path) : same changes as on *NIX,
plugs memory leak
(gtk_file_system_win32_render_icon) : use new GTK_STOCK_DIRECTORY

* gtk/makefile.msc.in demos/gtk-demo/makefile.msc.in
  gtk/stock-icons/makefile.msc tests/makefile.msc : updated

* gdk/gdk.def gtk/gtk.def : updated externals

* tests/testiconview.c : remove unneeded dirent.h inclusion

19 years agoupdated
Hans Breuer [Fri, 6 Aug 2004 18:49:35 +0000 (18:49 +0000)]
updated

2004-08-06  Hans Breuer  <hans@breuer.org>

* gdk_pixbuf.def makefile.msc : updated

19 years agoFix an off-by-one error. (#141809, Markku Vire)
Matthias Clasen [Fri, 6 Aug 2004 17:38:51 +0000 (17:38 +0000)]
Fix an off-by-one error. (#141809, Markku Vire)

* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): Fix
an off-by-one error.  (#141809, Markku Vire)

19 years agoReally fix the initialization of the target list.
Matthias Clasen [Fri, 6 Aug 2004 17:03:52 +0000 (17:03 +0000)]
Really fix the initialization of the target list.

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

* gtk/gtkdnd.c (gtk_drag_dest_set, gtk_drag_source_set): Really
fix the initialization of the target list.

Support XDND v5. (#10220, Owen Taylor)

* gdk/x11/gdkdnd-x11.c: Record the XDND version and whether the
drop was successful in the GdkDragContextPrivateX11 struct.
(xdnd_finished_filter): Store the success status of the drop
for an XDND version 5 interaction. For other versions, always
assume the drop was successful.
(xdnd_check_dest): Return the protocol version.
(_gdk_drag_get_protocol_for_display): Return the protocol version.
(gdk_drag_find_window_for_screen): Store the used protocol version
in the GdkDragContext.
(xdnd_send_enter): Send the used protocol version from the context,
instead of hardwiring 3.
(xdnd_enter_filter): Accept protocol versions >= 3 and store the
used protocol version in the context.

* gdk/gdkdnd.h:
* gdk/x11/gdkdnd-x11.c (gdk_drag_drop_succeeded): New function
to find out whether a drop was successful.

19 years agoSet x_root and y_root in button and motion events from the tablet.
Robert Ögren [Fri, 6 Aug 2004 01:56:22 +0000 (01:56 +0000)]
Set x_root and y_root in button and motion events from the tablet.

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

* gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Set x_root
and y_root in button and motion events from the tablet. (#148715)

19 years agopoznat prevod
Ivan Stojmirov [Thu, 5 Aug 2004 20:54:51 +0000 (20:54 +0000)]
poznat prevod

19 years agoupdated Breton and Walloon files
Pablo Saratxaga [Thu, 5 Aug 2004 20:40:38 +0000 (20:40 +0000)]
updated Breton and Walloon files

19 years agoCall gdk_window_enable_synchronized_configure()
Soeren Sandmann [Thu, 5 Aug 2004 17:58:20 +0000 (17:58 +0000)]
Call gdk_window_enable_synchronized_configure()

Thu Aug  5 19:58:08 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gtk/gtkplug.c (gtk_plug_realize): Call
gdk_window_enable_synchronized_configure()

* gdk/x11/gdkwindow-x11.c (gdk_window_configure_finished): Make
noop if gdk_window_enable_synchronized_configure() has not been
called.

19 years agoFix up previous commit.
Matthias Clasen [Wed, 4 Aug 2004 20:53:19 +0000 (20:53 +0000)]
Fix up previous commit.

19 years agoAdd setter and getter for the ::show-hidden property. (#145610, Jeff
Matthias Clasen [Wed, 4 Aug 2004 20:45:23 +0000 (20:45 +0000)]
Add setter and getter for the ::show-hidden property. (#145610, Jeff

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

* gtk/gtkfilechooser.[hc]: Add setter and getter for the
::show-hidden property.  (#145610, Jeff Franks)

19 years agoAdd buttons to select and unselect all nodes, make the popup menu actually
Matthias Clasen [Wed, 4 Aug 2004 20:32:26 +0000 (20:32 +0000)]
Add buttons to select and unselect all nodes, make the popup menu actually

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

* tests/testiconview.c: Add buttons to select and unselect all
nodes, make the popup menu actually work.

* gtk/gtkiconview.c: Make GTK_SELECTION_BROWSE work as intended,
let button 3 presses through to the app, to make popup menus
work.

19 years agoAdd testiconview. A test for GtkIconView ...which uses this image.
Matthias Clasen [Wed, 4 Aug 2004 14:32:45 +0000 (14:32 +0000)]
Add testiconview. A test for GtkIconView ...which uses this image.

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

* tests/Makefile.am: Add testiconview.
* tests/testiconview.c: A test for GtkIconView
* tests/gnome-textfile.png: ...which uses this image.

19 years agos/childs/children/g.
Matthias Clasen [Wed, 4 Aug 2004 05:38:58 +0000 (05:38 +0000)]
s/childs/children/g.

Wed Aug  4 01:37:57 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreeview.c:
* gtk/gtktreestore.c:
* gtk/gtktreemodelfilter.c:
* gtk/gtknotebook.c: s/childs/children/g.

19 years agoFix #133446, noticed by Christian Persch:
Matthias Clasen [Wed, 4 Aug 2004 05:06:59 +0000 (05:06 +0000)]
Fix #133446, noticed by Christian Persch:

Wed Aug  4 01:04:48 2004  Matthias Clasen  <maclas@gmx.de>

Fix #133446, noticed by Christian Persch:

* gtk/gtkaction.c (gtk_action_class_init): Add a new boolean
property ::visible-overflown.
* gtk/gtkaction.c (gtk_action_create_menu_proxy): Don't create
a menu proxy if visible_overflown is FALSE.

19 years agoMake the the GtkAction{Toggle,Radio,}Entry* arguments to the
Matthias Clasen [Wed, 4 Aug 2004 00:19:25 +0000 (00:19 +0000)]
Make the the GtkAction{Toggle,Radio,}Entry* arguments to the

Tue Aug  3 20:16:26 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkactiongroup.[hc]: Make the the GtkAction{Toggle,Radio,}Entry*
arguments to the gtk_action_group_add_..._actions() functions const,
since the most common use case is to use a static array.  (142334,
Mariano Suarez-Alvarez)

19 years agoMake gtk_ui_manager_add_ui() accept paths with a leading "/ui". (#149077,
Matthias Clasen [Wed, 4 Aug 2004 00:06:30 +0000 (00:06 +0000)]
Make gtk_ui_manager_add_ui() accept paths with a leading "/ui". (#149077,

Tue Aug  3 20:03:33 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkuimanager.c (get_node): Make gtk_ui_manager_add_ui()
accept paths with a leading "/ui".  (#149077, David Malcolm)

19 years agoCorrect the return type of gtk_tree_model_filter_get_flags(). (#149195,
Matthias Clasen [Tue, 3 Aug 2004 22:41:31 +0000 (22:41 +0000)]
Correct the return type of gtk_tree_model_filter_get_flags(). (#149195,

Tue Aug  3 18:38:40 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktreemodelfilter.c: Correct the return type
of gtk_tree_model_filter_get_flags().  (#149195, Morten Welinder)

19 years agoFix #149191, reported by Morten Welinder:
Matthias Clasen [Tue, 3 Aug 2004 22:19:37 +0000 (22:19 +0000)]
Fix #149191, reported by Morten Welinder:

Tue Aug  3 18:16:55 2004  Matthias Clasen  <maclas@gmx.de>

Fix #149191, reported by Morten Welinder:

* gtk/gtkmain.c: Include gtkclipboard.h,
* gtk/gtkwidget.h: Declare _gtk_widget_grab_notify, not
_gtk_widget_emit_grab_notify.

19 years agoAdd missing parens. (#149190, Morten Welinder)
Matthias Clasen [Tue, 3 Aug 2004 18:51:26 +0000 (18:51 +0000)]
Add missing parens. (#149190, Morten Welinder)

Tue Aug  3 14:50:14 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkicontheme.c (add_size): Add missing parens.
(#149190, Morten Welinder)

19 years agoRemove accidentally committed debug code.
Matthias Clasen [Tue, 3 Aug 2004 18:30:53 +0000 (18:30 +0000)]
Remove accidentally committed debug code.

Tue Aug  3 14:29:49 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_menu_fill): Remove
accidentally committed debug code.

19 years agoOptimize for the case that row_column and col_column are unset. (#148868,
Matthias Clasen [Tue, 3 Aug 2004 05:22:21 +0000 (05:22 +0000)]
Optimize for the case that row_column and col_column are unset. (#148868,

Tue Aug  3 01:19:12 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkcombobox.c (gtk_combo_box_relayout_item): Optimize
for the case that row_column and col_column are unset.
(#148868, Lorenzo Gil Sánchez)

19 years agoNew function. Make sure the sync counter is recreated when a window is
Soeren Sandmann [Mon, 2 Aug 2004 20:01:27 +0000 (20:01 +0000)]
New function. Make sure the sync counter is recreated when a window is

Mon Aug  2 21:52:45 2004  Soeren Sandmann  <sandmann@daimi.au.dk>

* gdk/x11/gdkwindow-x11.c (ensure_sync_counter): New
function. Make sure the sync counter is recreated when a window is
reparented to become a toplevel. (#148358)

19 years agoSome trees in combo boxes.
Matthias Clasen [Mon, 2 Aug 2004 19:17:19 +0000 (19:17 +0000)]
Some trees in combo boxes.

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

* tests/testcombo.c: Some trees in combo boxes.

19 years agoRework the combo box to handle tree models. (#139582, Matt Walton)
Matthias Clasen [Mon, 2 Aug 2004 19:15:05 +0000 (19:15 +0000)]
Rework the combo box to handle tree models. (#139582, Matt Walton)

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

* gtk/gtkcombobox.c: Rework the combo box to handle
tree models.  (#139582, Matt Walton)

19 years agoAdd hover-expand setter and getter.
Matthias Clasen [Mon, 2 Aug 2004 19:12:17 +0000 (19:12 +0000)]
Add hover-expand setter and getter.

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

* gtk/gtk-sections.txt: Add hover-expand setter and getter.

19 years agoAdd a new boolean property ::hover-expand and make the treeview
Matthias Clasen [Mon, 2 Aug 2004 19:11:32 +0000 (19:11 +0000)]
Add a new boolean property ::hover-expand and make the treeview

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

* gtk/gtktreeview.h:
* gtk/gtktreeview.c:
* gtk/gtktreeprivate.h: Add a new boolean property
::hover-expand and make the treeview expand/collapse rows
on mouseover if it is set.

19 years agoRemove some erroneous declarations.
Matthias Clasen [Mon, 2 Aug 2004 19:09:15 +0000 (19:09 +0000)]
Remove some erroneous declarations.

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

* gtk/gtkiconview.h: Remove some erroneous declarations.

19 years agoDon't crash if the displayed row is gone.
Matthias Clasen [Mon, 2 Aug 2004 19:08:13 +0000 (19:08 +0000)]
Don't crash if the displayed row is gone.

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

* gtk/gtkcellview.c (gtk_cell_view_set_cell_data): Don't
crash if the displayed row is gone.

19 years agoC99ism.
Morten Welinder [Mon, 2 Aug 2004 16:12:10 +0000 (16:12 +0000)]
C99ism.

2004-08-02  Morten Welinder  <terra@gnome.org>

* gtk/gtkentry.c (gtk_entry_motion_notify): C99ism.

19 years agoDon't steal the pointer grab from the context menu of the entry. (#148686,
Matthias Clasen [Mon, 2 Aug 2004 06:09:24 +0000 (06:09 +0000)]
Don't steal the pointer grab from the context menu of the entry. (#148686,

Mon Aug  2 02:07:43 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtkentrycompletion.c (_gtk_entry_completion_popdown):
Don't steal the pointer grab from the context menu of the
entry.  (#148686, Christian Persch)

19 years agoAdd a new binding signal ::backspace, bind it to the backspace key, and
Matthias Clasen [Mon, 2 Aug 2004 05:34:08 +0000 (05:34 +0000)]
Add a new binding signal ::backspace, bind it to the backspace key, and

Mon Aug  2 01:30:03 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktextview.[hc]:
* gtk/gtkentry.[hc]: Add a new binding signal ::backspace,
bind it to the backspace key, and make it pay attention
to the Pango backspace_deletes_character
attribute.  (#119891, Noah Levitt, patch by Theppitak
Karoonboonyanan)

19 years agoAdd missing error traps. (#149011, Thomas Leonard)
Matthias Clasen [Mon, 2 Aug 2004 05:04:33 +0000 (05:04 +0000)]
Add missing error traps. (#149011, Thomas Leonard)

Mon Aug  2 01:02:57 2004  Matthias Clasen  <maclas@gmx.de>

* gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed):
(gdk_check_wm_desktop_changed): Add missing error
traps.  (#149011, Thomas Leonard)

19 years agoAdd the same warning that the blink_cb() in GtkEntry already has.
Matthias Clasen [Mon, 2 Aug 2004 04:22:37 +0000 (04:22 +0000)]
Add the same warning that the blink_cb() in GtkEntry already has.

Mon Aug  2 00:21:26 2004  Matthias Clasen  <maclas@gmx.de>

* gtk/gtktextview.c (blink_cb): Add the same warning
that the blink_cb() in GtkEntry already has.  (#148733)

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)