mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-20 14:00:10 +00:00
Don't allow unless selection mode is multiple. (#142634, John Finlay)
Wed Jun 2 00:17:07 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtktreeselection.c (gtk_tree_selection_select_range): Don't allow unless selection mode is multiple. (#142634, John Finlay)
This commit is contained in:
parent
d5f3cb1409
commit
ad4ca1eaa4
@ -1,3 +1,8 @@
|
||||
Wed Jun 2 00:13:57 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktreeselection.c (gtk_tree_selection_select_range): Don't
|
||||
allow unless selection mode is multiple. (#142634, John Finlay)
|
||||
|
||||
Tue Jun 1 23:00:20 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktoolbar.h:
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Jun 2 00:13:57 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktreeselection.c (gtk_tree_selection_select_range): Don't
|
||||
allow unless selection mode is multiple. (#142634, John Finlay)
|
||||
|
||||
Tue Jun 1 23:00:20 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktoolbar.h:
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Jun 2 00:13:57 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktreeselection.c (gtk_tree_selection_select_range): Don't
|
||||
allow unless selection mode is multiple. (#142634, John Finlay)
|
||||
|
||||
Tue Jun 1 23:00:20 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktoolbar.h:
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Jun 2 00:13:57 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktreeselection.c (gtk_tree_selection_select_range): Don't
|
||||
allow unless selection mode is multiple. (#142634, John Finlay)
|
||||
|
||||
Tue Jun 1 23:00:20 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktoolbar.h:
|
||||
|
@ -1021,7 +1021,7 @@ gtk_tree_selection_real_select_all (GtkTreeSelection *selection)
|
||||
* gtk_tree_selection_select_all:
|
||||
* @selection: A #GtkTreeSelection.
|
||||
*
|
||||
* Selects all the nodes. @selection is must be set to #GTK_SELECTION_MULTIPLE
|
||||
* Selects all the nodes. @selection must be set to #GTK_SELECTION_MULTIPLE
|
||||
* mode.
|
||||
**/
|
||||
void
|
||||
@ -1243,6 +1243,7 @@ gtk_tree_selection_real_modify_range (GtkTreeSelection *selection,
|
||||
* @end_path: The final node of the range.
|
||||
*
|
||||
* Selects a range of nodes, determined by @start_path and @end_path inclusive.
|
||||
* @selection must be set to #GTK_SELECTION_MULTIPLE mode.
|
||||
**/
|
||||
void
|
||||
gtk_tree_selection_select_range (GtkTreeSelection *selection,
|
||||
@ -1251,6 +1252,7 @@ gtk_tree_selection_select_range (GtkTreeSelection *selection,
|
||||
{
|
||||
g_return_if_fail (GTK_IS_TREE_SELECTION (selection));
|
||||
g_return_if_fail (selection->tree_view != NULL);
|
||||
g_return_if_fail (selection->type == GTK_SELECTION_MULTIPLE);
|
||||
|
||||
if (gtk_tree_selection_real_modify_range (selection, RANGE_SELECT, start_path, end_path))
|
||||
g_signal_emit (selection, tree_selection_signals[CHANGED], 0);
|
||||
|
Loading…
Reference in New Issue
Block a user