Commit 940f48f7 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Use the internal unselect_all function, since we need the unselection to

2005-04-29  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkiconview.c (gtk_icon_view_move_cursor_start_end): Use
	the internal unselect_all function, since we need the unselection
	to happen even in browse mode.  (#300995, Mathias Hasselmann)
parent e4ac9938
2005-04-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconview.c (gtk_icon_view_move_cursor_start_end): Use
the internal unselect_all function, since we need the unselection
to happen even in browse mode. (#300995, Mathias Hasselmann)
* gtk/gtkuimanager.c (update_node): Use g_object_notify() instead
of triggering a ::notify by re-setting the property. (#300982,
Sven Neumann)
......
2005-04-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconview.c (gtk_icon_view_move_cursor_start_end): Use
the internal unselect_all function, since we need the unselection
to happen even in browse mode. (#300995, Mathias Hasselmann)
* gtk/gtkuimanager.c (update_node): Use g_object_notify() instead
of triggering a ::notify by re-setting the property. (#300982,
Sven Neumann)
......
2005-04-29 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconview.c (gtk_icon_view_move_cursor_start_end): Use
the internal unselect_all function, since we need the unselection
to happen even in browse mode. (#300995, Mathias Hasselmann)
* gtk/gtkuimanager.c (update_node): Use g_object_notify() instead
of triggering a ::notify by re-setting the property. (#300982,
Sven Neumann)
......
......@@ -2836,10 +2836,10 @@ gtk_icon_view_move_cursor_up_down (GtkIconView *icon_view,
if (!icon_view->priv->ctrl_pressed &&
icon_view->priv->selection_mode != GTK_SELECTION_NONE)
{
gtk_icon_view_unselect_all_internal (icon_view);
dirty = gtk_icon_view_unselect_all_internal (icon_view);
dirty = gtk_icon_view_select_all_between (icon_view,
icon_view->priv->anchor_item,
item);
item) || dirty;
}
gtk_icon_view_scroll_to_item (icon_view, item);
......@@ -2888,10 +2888,10 @@ gtk_icon_view_move_cursor_page_up_down (GtkIconView *icon_view,
if (!icon_view->priv->ctrl_pressed &&
icon_view->priv->selection_mode != GTK_SELECTION_NONE)
{
gtk_icon_view_unselect_all_internal (icon_view);
dirty = gtk_icon_view_unselect_all_internal (icon_view);
dirty = gtk_icon_view_select_all_between (icon_view,
icon_view->priv->anchor_item,
item);
item) || dirty;
}
gtk_icon_view_scroll_to_item (icon_view, item);
......@@ -2940,10 +2940,10 @@ gtk_icon_view_move_cursor_left_right (GtkIconView *icon_view,
if (!icon_view->priv->ctrl_pressed &&
icon_view->priv->selection_mode != GTK_SELECTION_NONE)
{
gtk_icon_view_unselect_all_internal (icon_view);
dirty = gtk_icon_view_unselect_all_internal (icon_view);
dirty = gtk_icon_view_select_all_between (icon_view,
icon_view->priv->anchor_item,
item);
item) || dirty;
}
gtk_icon_view_scroll_to_item (icon_view, item);
......@@ -2984,10 +2984,10 @@ gtk_icon_view_move_cursor_start_end (GtkIconView *icon_view,
if (!icon_view->priv->ctrl_pressed &&
icon_view->priv->selection_mode != GTK_SELECTION_NONE)
{
gtk_icon_view_unselect_all (icon_view);
dirty = gtk_icon_view_unselect_all_internal (icon_view);
dirty = gtk_icon_view_select_all_between (icon_view,
icon_view->priv->anchor_item,
item);
item) || dirty;
}
gtk_icon_view_scroll_to_item (icon_view, item);
......
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