forked from AuroraMiddleware/gtk
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)
This commit is contained in:
parent
e4ac9938d3
commit
940f48f7cb
@ -1,5 +1,9 @@
|
||||
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)
|
||||
|
@ -1,5 +1,9 @@
|
||||
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)
|
||||
|
@ -1,5 +1,9 @@
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user