Commit fa72b2c9 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen
Browse files

Handle an empty icon view gracefully. (#152486)

2004-09-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_move_cursor_left_right)
	(gtk_icon_view_move_cursor_start_end)
	(gtk_icon_view_move_cursor_page_up_down)
	(gtk_icon_view_move_cursor_up_down): Handle an empty icon
	view gracefully.  (#152486)
parent 9ec74ba5
2004-09-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconview.c (gtk_icon_view_move_cursor_left_right)
(gtk_icon_view_move_cursor_start_end)
(gtk_icon_view_move_cursor_page_up_down)
(gtk_icon_view_move_cursor_up_down): Handle an empty icon
view gracefully. (#152486)
Allow keynav to selectable labels (#138085, David Hawthorne):
* gtk/gtkdialog.c (gtk_dialog_map): Skip selectable labels when
......
2004-09-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconview.c (gtk_icon_view_move_cursor_left_right)
(gtk_icon_view_move_cursor_start_end)
(gtk_icon_view_move_cursor_page_up_down)
(gtk_icon_view_move_cursor_up_down): Handle an empty icon
view gracefully. (#152486)
Allow keynav to selectable labels (#138085, David Hawthorne):
* gtk/gtkdialog.c (gtk_dialog_map): Skip selectable labels when
......
2004-09-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconview.c (gtk_icon_view_move_cursor_left_right)
(gtk_icon_view_move_cursor_start_end)
(gtk_icon_view_move_cursor_page_up_down)
(gtk_icon_view_move_cursor_up_down): Handle an empty icon
view gracefully. (#152486)
Allow keynav to selectable labels (#138085, David Hawthorne):
* gtk/gtkdialog.c (gtk_dialog_map): Skip selectable labels when
......
2004-09-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconview.c (gtk_icon_view_move_cursor_left_right)
(gtk_icon_view_move_cursor_start_end)
(gtk_icon_view_move_cursor_page_up_down)
(gtk_icon_view_move_cursor_up_down): Handle an empty icon
view gracefully. (#152486)
Allow keynav to selectable labels (#138085, David Hawthorne):
* gtk/gtkdialog.c (gtk_dialog_map): Skip selectable labels when
......
......@@ -2584,7 +2584,7 @@ gtk_icon_view_move_cursor_up_down (GtkIconView *icon_view,
else
list = g_list_last (icon_view->priv->items);
item = list->data;
item = list ? list->data : NULL;
}
else
item = find_item (icon_view,
......@@ -2636,7 +2636,7 @@ gtk_icon_view_move_cursor_page_up_down (GtkIconView *icon_view,
else
list = g_list_last (icon_view->priv->items);
item = list->data;
item = list ? list->data : NULL;
}
else
item = find_item_page_up_down (icon_view,
......@@ -2688,7 +2688,7 @@ gtk_icon_view_move_cursor_left_right (GtkIconView *icon_view,
else
list = g_list_last (icon_view->priv->items);
item = list->data;
item = list ? list->data : NULL;
}
else
item = find_item (icon_view,
......@@ -2737,7 +2737,7 @@ gtk_icon_view_move_cursor_start_end (GtkIconView *icon_view,
else
list = g_list_last (icon_view->priv->items);
item = list->data;
item = list ? list->data : NULL;
if (!item)
return;
......
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