]> Pileus Git - ~andy/gtk/log
~andy/gtk
18 years agoTranslation updated by Ivar Smolin.
Priit Laes [Mon, 20 Jun 2005 21:02:09 +0000 (21:02 +0000)]
Translation updated by Ivar Smolin.

2005-06-21  Priit Laes  <plaes@cvs.gnome.org>

* et.po: Translation updated by Ivar Smolin.

18 years agoUpdated French translation.
Christophe Merlet [Mon, 20 Jun 2005 20:59:56 +0000 (20:59 +0000)]
Updated French translation.

18 years agoUpdated Danish translation.
Martin Willemoes Hansen [Mon, 20 Jun 2005 19:32:38 +0000 (19:32 +0000)]
Updated Danish translation.

        * da.po: Updated Danish translation.

18 years agoVariant of gtk_window_present which takes a timestamp. (#166379, Elijah
Matthias Clasen [Mon, 20 Jun 2005 18:19:34 +0000 (18:19 +0000)]
Variant of gtk_window_present which takes a timestamp. (#166379, Elijah

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

* gtk/gtk.symbols:
* gtk/gtkwindow.h:
* gtk/gtkwindow.c (gtk_window_present_with_time): Variant of
gtk_window_present which takes a timestamp.  (#166379, Elijah Newren)

18 years agoIgnore some more headers.
Matthias Clasen [Mon, 20 Jun 2005 05:59:03 +0000 (05:59 +0000)]
Ignore some more headers.

18 years agoAdd a forgotten symbol
Matthias Clasen [Mon, 20 Jun 2005 05:14:46 +0000 (05:14 +0000)]
Add a forgotten symbol

18 years agoUpdates
Matthias Clasen [Mon, 20 Jun 2005 03:58:26 +0000 (03:58 +0000)]
Updates

18 years agoadded a check which avoids processing updates on bin_window and scrolling
Kristian Rietveld [Sun, 19 Jun 2005 19:22:46 +0000 (19:22 +0000)]
added a check which avoids processing updates on bin_window and scrolling

2005-06-19  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_clamp_node_visible): added a
check which avoids processing updates on bin_window and scrolling
if the node is already visible. (#170600, Billy Biggs).

18 years agoonly keep the row at the same position if the full row is visible.
Kristian Rietveld [Sun, 19 Jun 2005 18:40:35 +0000 (18:40 +0000)]
only keep the row at the same position if the full row is visible.

2005-06-19  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (validate_visible_area): only keep the
row at the same position if the full row is visible. (#304623,
Jorn Baayen).

18 years agoset dy to zero if treeview's height is smaller than the current page_size
Kristian Rietveld [Sun, 19 Jun 2005 18:00:56 +0000 (18:00 +0000)]
set dy to zero if treeview's height is smaller than the current page_size

2005-06-19  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_size_allocate): set dy to zero
if treeview's height is smaller than the current page_size (just
like we do elsewhere).

18 years agoMake mousewheel scrolling possible in typeahead mode, suggestion from
Kristian Rietveld [Sun, 19 Jun 2005 17:37:07 +0000 (17:37 +0000)]
Make mousewheel scrolling possible in typeahead mode, suggestion from

2005-06-19  Kristian Rietveld  <kris@gtk.org>

Make mousewheel scrolling possible in typeahead mode, suggestion
from Reinout van Schouwen (#307898).

* gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
connect treeview search window to scroll_event signal,
(gtk_tree_view_search_scroll_event): implement.

18 years agopass the event on to treeview, so it has a change of selecting a row, etc.
Kristian Rietveld [Sun, 19 Jun 2005 13:42:13 +0000 (13:42 +0000)]
pass the event on to treeview, so it has a change of selecting a row, etc.

2005-06-19  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_search_button_press_event): pass
the event on to treeview, so it has a change of selecting a row, etc.
(#169677, Kirk Bridger).

18 years agoThis commit includes a fix for #169463, Stefan Kost.
Kristian Rietveld [Sun, 19 Jun 2005 12:44:12 +0000 (12:44 +0000)]
This commit includes a fix for #169463, Stefan Kost.

2005-06-19  Kristian Rietveld  <kris@gtk.org>

This commit includes a fix for #169463, Stefan Kost.

* gtk/gtkcellrendererprogress.c (gtk_cell_renderer_progress_get_size):
when cell_area is set, return cell_area width/height as width/height,
so the focus rectangle will be drawn correctly.

* gtk/gtktreeview.c (gtk_tree_view_bin_expose): drop unneeded get
of focus-line-width property,
(validate_row): take focus_line_width into account.

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
also take focus_line_width into account when calculating the cell_area
y and height (before, we only took it into account when calculating
x and width).

18 years agoFix a warning
Matthias Clasen [Sun, 19 Jun 2005 04:44:44 +0000 (04:44 +0000)]
Fix a warning

18 years agoAdd an ignore-hidden property with getter and setter. (#171612, Christian
Matthias Clasen [Sun, 19 Jun 2005 04:16:28 +0000 (04:16 +0000)]
Add an ignore-hidden property with getter and setter. (#171612, Christian

2005-06-19  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk.symbols:
* gtk/gtksizegroup.[hc]: Add an ignore-hidden property
with getter and setter.  (#171612, Christian Neumair)

18 years agoMake this work for inserting before/after an existing menuitem or
Matthias Clasen [Sun, 19 Jun 2005 03:55:12 +0000 (03:55 +0000)]
Make this work for inserting before/after an existing menuitem or

2005-06-18  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkuimanager.c (gtk_ui_manager_add_ui): Make this
work for inserting before/after an existing menuitem or
toolitem.  (#155946, Christian Persch)

* tests/testmerge.c (delayed_toggle_dynamic): Test the
"insert after" functionality of gtk_ui_manager_add_ui.

18 years agoAdd bug ref
Matthias Clasen [Sun, 19 Jun 2005 03:20:51 +0000 (03:20 +0000)]
Add bug ref

18 years agoAllow to construct menu tool buttons.
Matthias Clasen [Sun, 19 Jun 2005 03:20:07 +0000 (03:20 +0000)]
Allow to construct menu tool buttons.

2005-06-18  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkuimanager.c: Allow to construct menu tool buttons.

* demos/gtk-demo/appwindow.c: Demonstrate menu tool buttons
constructed with GtkUIManager.

18 years agoMake this function public. (#64792, Havoc Pennington)
Matthias Clasen [Sun, 19 Jun 2005 02:02:09 +0000 (02:02 +0000)]
Make this function public. (#64792, Havoc Pennington)

2005-06-18  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk.symbols:
* gtk/gtkimage.h:
* gtk/gtkimage.c (gtk_image_clear): Make this function
public.  (#64792, Havoc Pennington)

18 years agoundo merging of the separate loop setting cell data with cell drawing loop
Kristian Rietveld [Sat, 18 Jun 2005 12:11:26 +0000 (12:11 +0000)]
undo merging of the separate loop setting cell data with cell drawing loop

2005-06-18  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (gtk_tree_view_bin_expose): undo merging
of the separate loop setting cell data with cell drawing loop
(introduced in revision 1.280), since this breaks focus handling
wrt special cells.

18 years agoremove GDK_CURSOR and GDK_IS_CURSOR, instance checks don't work on boxed
Manish Singh [Sat, 18 Jun 2005 11:25:14 +0000 (11:25 +0000)]
remove GDK_CURSOR and GDK_IS_CURSOR, instance checks don't work on boxed

Sat Jun 18 04:22:51 2005  Manish Singh  <yosh@gimp.org>

        * gdk/gdkcursor.h: remove GDK_CURSOR and GDK_IS_CURSOR, instance
        checks don't work on boxed types.

        * gdk/x11/gdkcursor-x11.c:
        * gdk/gdkcursor.c: make return_if_fail checks != NULL instead of
        GDK_IS_CURSOR.

18 years agoremove unused variable height_old.
Manish Singh [Sat, 18 Jun 2005 11:22:44 +0000 (11:22 +0000)]
remove unused variable height_old.

Sat Jun 18 04:21:58 2005  Manish Singh  <yosh@gimp.org>

        * gtk/gtktreeview.c (do_presize_handler): remove unused variable
        height_old.

18 years agoTypo fixes
Matthias Clasen [Sat, 18 Jun 2005 05:33:55 +0000 (05:33 +0000)]
Typo fixes

18 years agoFix 308111
Matthias Clasen [Sat, 18 Jun 2005 04:26:47 +0000 (04:26 +0000)]
Fix 308111

18 years agoFix nl_langinfo() use
Matthias Clasen [Sat, 18 Jun 2005 04:19:29 +0000 (04:19 +0000)]
Fix nl_langinfo() use

18 years agoSupport the ICCCM urgency hint. (#61858, Havoc Pennington)
Matthias Clasen [Fri, 17 Jun 2005 20:19:32 +0000 (20:19 +0000)]
Support the ICCCM urgency hint. (#61858, Havoc Pennington)

2005-06-17  Matthias Clasen  <mclasen@redhat.com>

Support the ICCCM urgency hint.  (#61858, Havoc Pennington)

* gtk/gtk.symbols:
* gtk/gtkwindow.[hc]: Add a GtkWindow::urgency-hint property
with getter and setter.

* gdk/gdk.symbols:
* gdk/gdkwindow.h:
* gdk/x11/gdkwindow-x11.c (gdk_window_set_urgency_hint):
Add a setter for the urgency hint.

* gdk/x11/gdkwindow-x11.h (struct _GdkToplevelX11): Store
urgency hint here.

* gdk/x11/gdkwindow-x11.c (update_wm_hints): Set the urgency
hint in the WM_HINTS property when appropriate.

18 years agoFix #160281, testcase from Peter Bloomfield.
Kristian Rietveld [Fri, 17 Jun 2005 19:44:53 +0000 (19:44 +0000)]
Fix #160281, testcase from Peter Bloomfield.

2005-06-17  Kristian Rietveld  <kris@gtk.org>

Fix #160281, testcase from Peter Bloomfield.

* gtk/gtktreeview.c (do_presize_handler): always size request
and update adjustments in fixed height mode,
(gtk_tree_view_build_tree): if a fixed height is set, set this
height on newly added nodes.

18 years agoSet the actions and suggested_action fields in the GdkDragContext to
Tor Lillqvist [Fri, 17 Jun 2005 19:41:01 +0000 (19:41 +0000)]
Set the actions and suggested_action fields in the GdkDragContext to

2005-06-17  Tor Lillqvist  <tml@novell.com>

* gdk/win32/gdkdnd-win32.c (gdk_dropfiles_filter): Set the actions
and suggested_action fields in the GdkDragContext to
GDK_ACTION_COPY. Otherwise apps that check the suggested_action
field, like eog, won't accept dropped files.

18 years agoDefine GDK_IS_CURSOR() and GDK_CURSOR().
Matthias Clasen [Fri, 17 Jun 2005 19:37:29 +0000 (19:37 +0000)]
Define GDK_IS_CURSOR() and GDK_CURSOR().

2005-06-17  Matthias Clasen  <mclasen@redhat.com>

* gdk/gdkcursor.h: Define GDK_IS_CURSOR() and GDK_CURSOR().

18 years agoImprove some return_if_fail checks, and add the missing non-Xcursor
Matthias Clasen [Fri, 17 Jun 2005 19:27:04 +0000 (19:27 +0000)]
Improve some return_if_fail checks, and add the missing non-Xcursor

2005-06-17  Matthias Clasen  <mclasen@redhat.com>

* gdk/x11/gdkcursor-x11.c:
* gdk/gdkcursor.c: Improve some return_if_fail checks,
and add the missing non-Xcursor fallback for
_gdk_x11_cursor_update_theme(), noticed by Jeroen
Zwartepoorte.

18 years agoDocument several button signals as not useful. `
Matthias Clasen [Fri, 17 Jun 2005 18:42:49 +0000 (18:42 +0000)]
Document several button signals as not useful. `

2005-06-17  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkbutton.c (gtk_button_class_init): Document
several button signals as not useful.
`

18 years agoResize the popup if necessary. (#308076, Vincent Noel)
Matthias Clasen [Fri, 17 Jun 2005 18:26:25 +0000 (18:26 +0000)]
Resize the popup if necessary. (#308076, Vincent Noel)

2005-06-17  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkentrycompletion.c (gtk_entry_completion_complete):
Resize the popup if necessary.  (#308076, Vincent Noel)

18 years agoQueue a draw on the old and new focus widgets, if their defaultness
Matthias Clasen [Fri, 17 Jun 2005 17:36:47 +0000 (17:36 +0000)]
Queue a draw on the old and new focus widgets, if their defaultness

2005-06-17  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwindow.c (gtk_window_real_set_focus): Queue a
draw on the old and new focus widgets, if their defaultness
changes.  (#305607, Billy Biggs)

18 years agomake sure the row above 'above_path' is always in a validated state, so it
Kristian Rietveld [Fri, 17 Jun 2005 17:34:40 +0000 (17:34 +0000)]
make sure the row above 'above_path' is always in a validated state, so it

2005-06-17  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (validate_visible_area): make sure the row
above 'above_path' is always in a validated state, so it does
not mess up scrolling. (#303319, testcase from Billy Biggs).

18 years agoHandle cursor theme changes for cached cursors which are not associated
Matthias Clasen [Fri, 17 Jun 2005 17:26:24 +0000 (17:26 +0000)]
Handle cursor theme changes for cached cursors which are not associated

2005-06-17  Matthias Clasen  <mclasen@redhat.com>

* gdk/x11/gdkprivate-x11.h:
* gdk/x11/gdkcursor-x11.c: Handle cursor theme changes
for cached cursors which are not associated with a window
at the time of the theme change, by storing a serial
number in each cursor, and updating the theme_serial
counter whenever the cursor theme changes.

* gdk/x11/gdkcursor-x11.c (_gdk_x11_cursor_update_theme):
Private function to update a cursor to the current
cursor theme if necessary.

* gdk/x11/gdkmain-x11.c (gdk_pointer_grab):
* gdk/x11/gdkwindow-x11.c (gdk_window_set_cursor): Call
_gdk_x11_cursor_update_theme() here.

18 years agoFix #if G_BYTE_ORDER == GDK_LSB_FIRST.
Owen Taylor [Fri, 17 Jun 2005 14:17:43 +0000 (14:17 +0000)]
Fix #if G_BYTE_ORDER == GDK_LSB_FIRST.

2005-06-17  Owen Taylor  <otaylor@redhat.com>

        * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Fix
        #if G_BYTE_ORDER == GDK_LSB_FIRST.

18 years agodon't try to update the top_row rowref ourselves here, but just have
Kristian Rietveld [Fri, 17 Jun 2005 14:11:19 +0000 (14:11 +0000)]
don't try to update the top_row rowref ourselves here, but just have

2005-06-17  Kristian Rietveld  <kris@gtk.org>

* gtk/gtktreeview.c (validate_visible_area): don't try to update
the top_row rowref ourselves here, but just have _dy_to_top_row()
do it,
(gtk_tree_view_scroll_to_cell): handle scrolling via
validate_visible_area() if the treeview is not visible or needs
reallocation. (#165246, Nickolay V. Shmyrev).

18 years agoFixes #307914 (Alexander Larsson), fixing some breakage caused by my
Kristian Rietveld [Fri, 17 Jun 2005 11:38:22 +0000 (11:38 +0000)]
Fixes #307914 (Alexander Larsson), fixing some breakage caused by my

2005-06-17  Kristian Rietveld  <kris@gtk.org>

Fixes #307914 (Alexander Larsson), fixing some breakage caused
by my previous commit.

* gtk/gtktreeview.c (validate_visible_area): force dy to be zero
when it fits on a single page,
(scroll_sync_handler): same here.

18 years agoupdated by rranjan@redhat.com
Rajesh Ranjan [Fri, 17 Jun 2005 08:50:48 +0000 (08:50 +0000)]
updated by rranjan@redhat.com

18 years agoUpdated Danish translation.
Martin Willemoes Hansen [Fri, 17 Jun 2005 07:04:59 +0000 (07:04 +0000)]
Updated Danish translation.

        * da.po: Updated Danish translation.

18 years agoupdated by rranjan@redhat.com
Rajesh Ranjan [Fri, 17 Jun 2005 06:43:55 +0000 (06:43 +0000)]
updated by rranjan@redhat.com

18 years agoUpdated Canadian English translation.
Adam Weinberger [Fri, 17 Jun 2005 06:10:58 +0000 (06:10 +0000)]
Updated Canadian English translation.

2005-06-17  Adam Weinberger  <adamw@gnome.org>

* en_CA.po: Updated Canadian English translation.

18 years agoremove unused variable.
Manish Singh [Thu, 16 Jun 2005 22:35:45 +0000 (22:35 +0000)]
remove unused variable.

Thu Jun 16 15:33:42 2005  Manish Singh  <yosh@gimp.org>

        * gdk/x11/gdkcursor-x11.c (update_cursor): remove unused variable.

        * gdk/x11/gdkwindow-x11.c (_gdk_x11_window_get_cursor): use
        g_return_val_if_fail.

        * gtk/gtkdnd.c (gtk_drag_get_cursor): initialize hot_x and hot_y
        for all cases.

        * gtk/gtkfilechooserdefault.c (button_new): gtk_button_set_image
        takes a GtkWidget, not a GtkImage.

18 years agoSimplify the code and respect the show-button-images setting. (#307941,
Matthias Clasen [Thu, 16 Jun 2005 16:44:08 +0000 (16:44 +0000)]
Simplify the code and respect the show-button-images setting. (#307941,

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

* gtk/gtkfilechooserdefault.c (button_new): Simplify
the code and respect the show-button-images setting.
(#307941, Vincent Noel)

18 years agoUpdate the RGBA cursor if an icon is set after the cursor has been
Matthias Clasen [Thu, 16 Jun 2005 16:06:54 +0000 (16:06 +0000)]
Update the RGBA cursor if an icon is set after the cursor has been

* gtk/gtkdnd.c: Update the RGBA cursor if an
icon is set after the cursor has been constructed.
Also handle repeated setting of icons correctly.

18 years agoAdd some more docs. (#307818, Christian Persch)
Matthias Clasen [Thu, 16 Jun 2005 12:51:00 +0000 (12:51 +0000)]
Add some more docs. (#307818, Christian Persch)

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

* gtk/gtkbutton.c (gtk_button_set_image): Add some more
docs.  (#307818, Christian Persch)

18 years agoForgotten file
Matthias Clasen [Thu, 16 Jun 2005 12:49:46 +0000 (12:49 +0000)]
Forgotten file

18 years agoUpdate all fields
Matthias Clasen [Thu, 16 Jun 2005 05:18:33 +0000 (05:18 +0000)]
Update all fields

18 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Wed, 15 Jun 2005 22:33:30 +0000 (22:33 +0000)]
Updated Spanish translation.

2005-06-16  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

18 years agoGet red and blue in place.
Matthias Clasen [Wed, 15 Jun 2005 21:22:54 +0000 (21:22 +0000)]
Get red and blue in place.

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

* gdk/x11/gdkcursor-x11.c (gdk_cursor_get_image): Get
red and blue in place.

18 years agoFox doc formatting, pointed out by Kjartan Maraas.
Matthias Clasen [Wed, 15 Jun 2005 20:36:27 +0000 (20:36 +0000)]
Fox doc formatting, pointed out by Kjartan Maraas.

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

* gtk/gtkwindow.c (gtk_window_parse_geometry): Fox doc
formatting, pointed out by Kjartan Maraas.

18 years agoAdd two new settings, gtk-cursor-theme-name and gtk-cursor-theme-size to
Matthias Clasen [Wed, 15 Jun 2005 19:25:49 +0000 (19:25 +0000)]
Add two new settings, gtk-cursor-theme-name and gtk-cursor-theme-size to

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

* gtk/gtksettings.c: Add two new settings,
gtk-cursor-theme-name and gtk-cursor-theme-size to
control the cursor theme.

* gdk/x11/gdkevents-x11.c: Add two new X settings,
Gtk/CursorThemeName and Gtk/CursorThemeSize, and map
these to the gtk settings.

* tests/testgtk.c (create_cursors): Add a cursor theme
testcase.

18 years agoKeep a reference to the GdkCursor and add a private getter for it, so that
Matthias Clasen [Wed, 15 Jun 2005 18:37:18 +0000 (18:37 +0000)]
Keep a reference to the GdkCursor and add a private getter for it, so that

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

* gdk/x11/gdkwindow-x11.[hc]: Keep a reference to the
GdkCursor and add a private getter for it, so that we can
update the cursor when the cursor theme changes.

* gdk/gdk.symbols:
* gdk/x11/gdkx.h:
* gdk/x11/gdkcursor-x11.c (gdk_x11_display_set_cursor_theme):
New function to change the cursor theme.

18 years agoRemove a lot of pointless g_return_if_fail() non-NULL checks.
Matthias Clasen [Wed, 15 Jun 2005 16:59:20 +0000 (16:59 +0000)]
Remove a lot of pointless g_return_if_fail() non-NULL checks.

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

* gdk/x11/gdkwindow-x11.c: Remove a lot of pointless
g_return_if_fail() non-NULL checks.

18 years agoMake make check happier
Matthias Clasen [Wed, 15 Jun 2005 06:03:54 +0000 (06:03 +0000)]
Make make check happier

18 years agoFix make check
Matthias Clasen [Wed, 15 Jun 2005 05:55:02 +0000 (05:55 +0000)]
Fix make check

18 years agoupdated by rranjan@redhat.com
Rajesh Ranjan [Wed, 15 Jun 2005 04:34:10 +0000 (04:34 +0000)]
updated by rranjan@redhat.com

18 years agoFix some docs
Matthias Clasen [Wed, 15 Jun 2005 04:20:11 +0000 (04:20 +0000)]
Fix some docs

18 years agoFix 307689
Matthias Clasen [Wed, 15 Jun 2005 03:54:10 +0000 (03:54 +0000)]
Fix 307689

18 years agoMerged from gtk-2-6:
Federico Mena Quintero [Wed, 15 Jun 2005 01:03:21 +0000 (01:03 +0000)]
Merged from gtk-2-6:

2005-06-14  Federico Mena Quintero  <federico@ximian.com>

Merged from gtk-2-6:

Fix #302087:

* gtk/gtkfilechooserdefault.c (list_selection_changed): Emit
"selection-changed" and do the normal housekeeping even if we are
in SAVE mode and there is nothing selected.  We didn't emit that
signal if we were in SAVE mode and unselect_all() got called.
(gtk_file_chooser_default_unselect_all): Call
pending_select_paths_free() so that we cancel any asynchronous
selections.
(gtk_file_chooser_default_set_current_name): Likewise.

18 years agofile .cvsignore was initially added on branch gtk-2-6-macosx.
Hubert Figuiere [Wed, 15 Jun 2005 01:02:55 +0000 (01:02 +0000)]
file .cvsignore was initially added on branch gtk-2-6-macosx.

18 years agoMerged from gtk-2-6:
Federico Mena Quintero [Tue, 14 Jun 2005 23:30:12 +0000 (23:30 +0000)]
Merged from gtk-2-6:

2005-06-14  Federico Mena Quintero  <federico@ximian.com>

Merged from gtk-2-6:

Fixes #307640:

* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_should_respond): Oops, I broke SAVE
mode.  If the parent path is a folder, only create a subfolder if
we are in CREATE_FOLDER mode; if we are in SAVE mode, just return
and respond.  Also, pick up the case where the user types
"dirname/" instead of "dirname".
(check_save_entry): Make the return type void.  Add some return
parameters so that we can do more thorough checking.
(gtk_file_chooser_default_get_paths): If the file part is empty
and we are in SAVE mode, return an empty selection.

18 years agoPatch for #163214 (reported by Tommi Komulainen) and fixes some other
Kristian Rietveld [Tue, 14 Jun 2005 22:26:04 +0000 (22:26 +0000)]
Patch for #163214 (reported by Tommi Komulainen) and fixes some other

2005-06-15  Kristian Rietveld  <kris@gtk.org>

Patch for #163214 (reported by Tommi Komulainen) and fixes some
other scrolling/validation related bugs along the why.

* gtk/gtktreeview.c (gtk_tree_view_size_request): run
do_validate_rows once and don't queue a size request there,
(gtk_tree_view_size_allocate): don't update vadj value without
reason, sync top_row/dy after the window sizes and adjustments
are in sync again,
(validate_visible_area): always update dy when scrolling,
manually set top_row here after changing the vadj (don't depend
on _adjustment_changed and top_row/dy sync to do this), since we
now always set top_row here correctly, we can always free
scroll_to_path at the end which avoids infinite expose loops,
(do_validate_rows): add queue_resize boolean, remove top_row/dy
sync here, we cannot do it safely at this place since the
window sizes and adjustments are out of sync,
(validate_rows), (validate_rows_handler): update call to
do_validate_rows().

18 years agoUpdates
Matthias Clasen [Tue, 14 Jun 2005 20:57:16 +0000 (20:57 +0000)]
Updates

18 years agoAdd a stub for the no-Xcursor case. (noticed by Luis Villa)
Matthias Clasen [Tue, 14 Jun 2005 20:43:20 +0000 (20:43 +0000)]
Add a stub for the no-Xcursor case. (noticed by Luis Villa)

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

* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_name): Add a
stub for the no-Xcursor case. (noticed by Luis Villa)

18 years agoUse named cursors for the DND cursors, the names are "dnd-none",
Matthias Clasen [Tue, 14 Jun 2005 19:58:10 +0000 (19:58 +0000)]
Use named cursors for the DND cursors, the names are "dnd-none",

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

Use named cursors for the DND cursors, the names are "dnd-none",
"dnd-copy", "dnd-link", "dnd-move" and "dnd-ask". Also use an RGBA
cursor instead of cursor+window when possible. This saves
roundtrips during the drag operation, and makes translucent icons
possible.

* gtk/gtkdndcursors.h: New file, containing inlined pixbufs
for the default dnd cursors.

* gtk/gtkdnd.c (struct _GtkDragSourceInfo): Store the cursors
used during the drag here, also store the icon pixbuf here.

* gtk/gtkdnd.c (drag_cursors): Store the cursor names here. Also
switch the default cursors from xbm to inlined pixbufs.

* gtk/gtkdnd.c (gtk_drag_get_cursor): This function now takes the
GtkDragSourceInfo as well, since it has to composite the
drag-specific cursors. The cursors combined from the image of
the themed cursor and the icon_pixbuf stored in the info.

* gtk/gtkdnd.c (gtk_drag_begin_internal): Don't set the default
icon if there is an icon_pixbuf, which will be composited into
the cursor later.

* gtk/gtkdnd.c (set_icon_stock_pixbuf): If appropriate, store
the pixbuf in the info struct for later compositing into the
cursor instead of creating an icon window.

* gtk/gtkdnd.c (gtk_drag_drop_finished): If we used an
RGBA cursor for the drag, and need to display the cancel
animation, construct the icon window here.

* gtk/gtkdnd.c (gtk_drag_source_info_destroy): Unref the
drag-specific cursors and the icon_pixbuf when done with
the drag.

18 years agoUse a named cursor with the name "color-picker", when available.
Matthias Clasen [Tue, 14 Jun 2005 17:16:15 +0000 (17:16 +0000)]
Use a named cursor with the name "color-picker", when available.

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

* gtk/gtkcolorsel.c (make_picker_cursor): Use a named cursor
with the name "color-picker", when available.

18 years agoForgotten file
Matthias Clasen [Tue, 14 Jun 2005 16:05:52 +0000 (16:05 +0000)]
Forgotten file

18 years agoNew functions to construct named cursors and to get the image used for a
Matthias Clasen [Tue, 14 Jun 2005 15:10:13 +0000 (15:10 +0000)]
New functions to construct named cursors and to get the image used for a

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

* gdk/gdk.symbols:
* gdk/gdkcursor.h:
* gdk/x11/gdkcursor-x11.c (gdk_cursor_get_image)
(gdk_cursor_new_from_name): New functions to construct named
cursors and to get the image used for a cursor.

18 years agoUpdated Danish translation.
Martin Willemoes Hansen [Tue, 14 Jun 2005 09:12:06 +0000 (09:12 +0000)]
Updated Danish translation.

        * da.po: Updated Danish translation.

18 years agofile Makefile.am was initially added on branch gtk-2-6-macosx.
Hubert Figuiere [Tue, 14 Jun 2005 02:25:58 +0000 (02:25 +0000)]
file Makefile.am was initially added on branch gtk-2-6-macosx.

18 years agofile gdkdisplay-macosx.h was initially added on branch gtk-2-6-macosx.
Hubert Figuiere [Tue, 14 Jun 2005 02:25:58 +0000 (02:25 +0000)]
file gdkdisplay-macosx.h was initially added on branch gtk-2-6-macosx.

18 years agofile gdkdisplay-macosx.m was initially added on branch gtk-2-6-macosx.
Hubert Figuiere [Tue, 14 Jun 2005 02:25:58 +0000 (02:25 +0000)]
file gdkdisplay-macosx.m was initially added on branch gtk-2-6-macosx.

18 years agofile gdkdrawable-macosx.h was initially added on branch gtk-2-6-macosx.
Hubert Figuiere [Tue, 14 Jun 2005 02:25:58 +0000 (02:25 +0000)]
file gdkdrawable-macosx.h was initially added on branch gtk-2-6-macosx.

18 years agofile gdkevents-macosx.c was initially added on branch gtk-2-6-macosx.
Hubert Figuiere [Tue, 14 Jun 2005 02:25:58 +0000 (02:25 +0000)]
file gdkevents-macosx.c was initially added on branch gtk-2-6-macosx.

18 years agofile gdkevents-macosx.m was initially added on branch gtk-2-6-macosx.
Hubert Figuiere [Tue, 14 Jun 2005 02:25:58 +0000 (02:25 +0000)]
file gdkevents-macosx.m was initially added on branch gtk-2-6-macosx.

18 years agofile gdkgc-macosx.m was initially added on branch gtk-2-6-macosx.
Hubert Figuiere [Tue, 14 Jun 2005 02:25:58 +0000 (02:25 +0000)]
file gdkgc-macosx.m was initially added on branch gtk-2-6-macosx.

18 years agofile gdkmacosx.h was initially added on branch gtk-2-6-macosx.
Hubert Figuiere [Tue, 14 Jun 2005 02:25:58 +0000 (02:25 +0000)]
file gdkmacosx.h was initially added on branch gtk-2-6-macosx.

18 years agofile gdkmain-macosx.c was initially added on branch gtk-2-6-macosx.
Hubert Figuiere [Tue, 14 Jun 2005 02:25:58 +0000 (02:25 +0000)]
file gdkmain-macosx.c was initially added on branch gtk-2-6-macosx.

18 years agofile gdknsview-macosx.m was initially added on branch gtk-2-6-macosx.
Hubert Figuiere [Tue, 14 Jun 2005 02:25:58 +0000 (02:25 +0000)]
file gdknsview-macosx.m was initially added on branch gtk-2-6-macosx.

18 years agofile gdkpango-macosx.c was initially added on branch gtk-2-6-macosx.
Hubert Figuiere [Tue, 14 Jun 2005 02:25:58 +0000 (02:25 +0000)]
file gdkpango-macosx.c was initially added on branch gtk-2-6-macosx.

18 years agofile gdkpixmap-macosx.h was initially added on branch gtk-2-6-macosx.
Hubert Figuiere [Tue, 14 Jun 2005 02:25:58 +0000 (02:25 +0000)]
file gdkpixmap-macosx.h was initially added on branch gtk-2-6-macosx.

18 years agofile gdkprivate-macosx.h was initially added on branch gtk-2-6-macosx.
Hubert Figuiere [Tue, 14 Jun 2005 02:25:58 +0000 (02:25 +0000)]
file gdkprivate-macosx.h was initially added on branch gtk-2-6-macosx.

18 years agofile gdkscreen-macosx.h was initially added on branch gtk-2-6-macosx.
Hubert Figuiere [Tue, 14 Jun 2005 02:25:58 +0000 (02:25 +0000)]
file gdkscreen-macosx.h was initially added on branch gtk-2-6-macosx.

18 years agofile gdkscreen-macosx.m was initially added on branch gtk-2-6-macosx.
Hubert Figuiere [Tue, 14 Jun 2005 02:25:58 +0000 (02:25 +0000)]
file gdkscreen-macosx.m was initially added on branch gtk-2-6-macosx.

18 years agofile gdkwindow-macosx.h was initially added on branch gtk-2-6-macosx.
Hubert Figuiere [Tue, 14 Jun 2005 02:25:58 +0000 (02:25 +0000)]
file gdkwindow-macosx.h was initially added on branch gtk-2-6-macosx.

18 years agofile gdkwindow-macosx.m was initially added on branch gtk-2-6-macosx.
Hubert Figuiere [Tue, 14 Jun 2005 02:25:58 +0000 (02:25 +0000)]
file gdkwindow-macosx.m was initially added on branch gtk-2-6-macosx.

18 years agoRework the way in which rerooting of the path bar is done, implementing
Matthias Clasen [Mon, 13 Jun 2005 19:18:54 +0000 (19:18 +0000)]
Rework the way in which rerooting of the path bar is done, implementing

2005-06-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkpathbar.[hc]: Rework the way in which rerooting of the
path bar is done, implementing the following principles:
(#137289, patch by Benjamin Otte)

1. Re-root only if $HOME is an ancestor of the current path.

2. When re-rooting, make sure the Left arrow appears in the path
bar, so that you can navigate up from $HOME to /.  In that case,
make sure the Right arrow doesn't appear if the sub-hierarchy from
$HOME to the cwd fits in the window.

3. Make sure that hitting Alt-Up takes you always one folder up,
even when the path bar is re-rooted.

18 years agoTry harder not to modify readonly strings. (#307541, Torsten Schoenfeld)
Matthias Clasen [Mon, 13 Jun 2005 19:09:06 +0000 (19:09 +0000)]
Try harder not to modify readonly strings. (#307541, Torsten Schoenfeld)

2005-06-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label):
Try harder not to modify readonly strings. (#307541, Torsten Schoenfeld)

18 years agoDon't translate placeholders, to be consistent with other packages.
Theppitak Karoonboonyanan [Mon, 13 Jun 2005 16:43:22 +0000 (16:43 +0000)]
Don't translate placeholders, to be consistent with other packages.

2005-06-13  Theppitak Karoonboonyanan  <thep@linux.thai.net>

* th.po: Don't translate placeholders, to be consistent with other
packages.

18 years agoUpdated Norwegian Bokmål translation. Same.
Terance Sola [Mon, 13 Jun 2005 16:02:25 +0000 (16:02 +0000)]
Updated Norwegian Bokmål translation. Same.

2005-06-13  Terance Sola  <terance@yse.net>

* nb.po: Updated Norwegian Bokmål translation.
* no.po: Same.

18 years agoFree the data of the row before overwriting it. (#307490, Kjartan Maraas)
Matthias Clasen [Mon, 13 Jun 2005 13:50:49 +0000 (13:50 +0000)]
Free the data of the row before overwriting it. (#307490, Kjartan Maraas)

2005-06-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserbutton.c (model_update_current_folder):
Free the data of the row before overwriting it.  (#307490,
Kjartan Maraas)

18 years agoDon't leak the cairo context. Closes bug #307426.
Kjartan Maraas [Mon, 13 Jun 2005 07:57:02 +0000 (07:57 +0000)]
Don't leak the cairo context. Closes bug #307426.

2005-06-13  Kjartan Maraas  <kmaraas@gnome.org>

* gtk/gtkcalendar.c: (calendar_paint_arrow): Don't
leak the cairo context. Closes bug #307426.

18 years agoAdd new functions.
Matthias Clasen [Mon, 13 Jun 2005 05:23:41 +0000 (05:23 +0000)]
Add new functions.

2005-06-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk-sections.txt: Add new functions.

18 years agoMake invisible text work a bit better (#66194, patch by Jeroen
Matthias Clasen [Mon, 13 Jun 2005 05:15:10 +0000 (05:15 +0000)]
Make invisible text work a bit better (#66194, patch by Jeroen

2005-06-13  Matthias Clasen  <mclasen@redhat.com>

Make invisible text work a bit better (#66194, patch by
Jeroen Zwartepoorte)

* gtk/gtk.symbols:
* gtk/gtktextiter.[hc]: Add function to move by
visible lines.

* gtk/gtktextview.c (gtk_text_view_move_cursor_internal):
Skip invisible text when moving by paragraphs.

* gtk/gtktextlayout.c (gtk_text_layout_move_iter_visually):
Skip invisible lines here too.

18 years agoSome more details (#307384, Billy Biggs)
Matthias Clasen [Mon, 13 Jun 2005 04:23:20 +0000 (04:23 +0000)]
Some more details (#307384, Billy Biggs)

2005-06-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkfontsel.sgml: Some more details (#307384, Billy
Biggs)

18 years agoDon't leak the format names. (#307190, Morten Welinder)
Matthias Clasen [Sun, 12 Jun 2005 21:01:21 +0000 (21:01 +0000)]
Don't leak the format names. (#307190, Morten Welinder)

2005-06-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkselection.c (gtk_target_list_add_image_targets):
Don't leak the format names.  (#307190, Morten Welinder)

18 years agoPlug a leak. Closes bug #307281.
Kjartan Maraas [Sun, 12 Jun 2005 16:24:10 +0000 (16:24 +0000)]
Plug a leak. Closes bug #307281.

2005-06-12  Kjartan Maraas  <kmaraas@gnome.org>

* gdk/x11/gdkasync.c: (send_event_handler): Plug
a leak. Closes bug #307281.

18 years agoUpdated Czech translation.
Miloslav Trmac [Sun, 12 Jun 2005 16:17:42 +0000 (16:17 +0000)]
Updated Czech translation.

2005-06-12  Miloslav Trmac  <mitr@volny.cz>

* cs.po: Updated Czech translation.

18 years agoUpdated Danish translation.
Martin Willemoes Hansen [Sun, 12 Jun 2005 13:53:15 +0000 (13:53 +0000)]
Updated Danish translation.

        * da.po: Updated Danish translation.