Commit c4c5ae7d authored by Darin Adler's avatar Darin Adler

Fixed a bug where dragging an icon would cause the "kbd_selected" icon to

	* src/gnome-icon-container.c:
	(gnome_icon_container_xlate_selected):
	Fixed a bug where dragging an icon would cause the "kbd_selected"
	icon to scroll into view. Just passed FALSE instead of TRUE for
	"schedule_visibility".

	* libnautilus/nautilus-background.c:
	(nautilus_background_draw_flat_box):
	Tiny change, to fit our style rule against initializing.
parent 75cb3ed1
2000-01-20 Darin Adler <darin@eazel.com>
* src/gnome-icon-container.c:
(gnome_icon_container_xlate_selected):
Fixed a bug where dragging an icon would cause the "kbd_selected"
icon to scroll into view. Just passed FALSE instead of TRUE for
"schedule_visibility".
* libnautilus/nautilus-background.c:
(nautilus_background_draw_flat_box):
Tiny change, to fit our style rule against initializing.
2000-01-20 Jonathan Blandford <jrb@redhat.com>
* libnautilus/nautilus-background.c
......
......@@ -3022,7 +3022,7 @@ gnome_icon_container_xlate_selected (GnomeIconContainer *container,
}
}
set_kbd_current (container, priv->kbd_current, TRUE);
set_kbd_current (container, priv->kbd_current, FALSE);
}
......
......@@ -219,12 +219,13 @@ nautilus_background_draw_flat_box (GtkStyle *style,
int height)
{
gboolean call_parent;
NautilusBackground *background = NULL;
NautilusBackground *background;
GdkGC *gc;
GdkRectangle rectangle;
call_parent = TRUE;
background = NULL;
if (state_type == GTK_STATE_NORMAL) {
background = nautilus_get_widget_background (widget);
if (background != NULL) {
......
......@@ -3022,7 +3022,7 @@ gnome_icon_container_xlate_selected (GnomeIconContainer *container,
}
}
set_kbd_current (container, priv->kbd_current, TRUE);
set_kbd_current (container, priv->kbd_current, FALSE);
}
......
......@@ -219,12 +219,13 @@ nautilus_background_draw_flat_box (GtkStyle *style,
int height)
{
gboolean call_parent;
NautilusBackground *background = NULL;
NautilusBackground *background;
GdkGC *gc;
GdkRectangle rectangle;
call_parent = TRUE;
background = NULL;
if (state_type == GTK_STATE_NORMAL) {
background = nautilus_get_widget_background (widget);
if (background != NULL) {
......
......@@ -3022,7 +3022,7 @@ gnome_icon_container_xlate_selected (GnomeIconContainer *container,
}
}
set_kbd_current (container, priv->kbd_current, TRUE);
set_kbd_current (container, priv->kbd_current, FALSE);
}
......
......@@ -219,12 +219,13 @@ nautilus_background_draw_flat_box (GtkStyle *style,
int height)
{
gboolean call_parent;
NautilusBackground *background = NULL;
NautilusBackground *background;
GdkGC *gc;
GdkRectangle rectangle;
call_parent = TRUE;
background = NULL;
if (state_type == GTK_STATE_NORMAL) {
background = nautilus_get_widget_background (widget);
if (background != NULL) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment