From c88afb81f9d63d1e1657b0fff1a0bffd09b47e1c Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Tue, 24 Mar 1998 03:09:59 +0000 Subject: [PATCH] Select the row which got its data changed, and not (0, 0). 1998-03-23 Federico Mena Quintero * gtk/gtkclist.c (gtk_clist_set_row_data_full): Select the row which got its data changed, and not (0, 0). --- ChangeLog | 5 +++++ ChangeLog.pre-2-0 | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtkclist.c | 2 +- 8 files changed, 36 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 03f65d6e6..e1c4cd2ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +1998-03-23 Federico Mena Quintero + + * gtk/gtkclist.c (gtk_clist_set_row_data_full): Select the row + which got its data changed, and not (0, 0). + Mon Mar 23 18:19:42 1998 Owen Taylor * gtk/gtkmenu.c gtk/gtkmenushell.c: Instead of making diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 03f65d6e6..e1c4cd2ce 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +1998-03-23 Federico Mena Quintero + + * gtk/gtkclist.c (gtk_clist_set_row_data_full): Select the row + which got its data changed, and not (0, 0). + Mon Mar 23 18:19:42 1998 Owen Taylor * gtk/gtkmenu.c gtk/gtkmenushell.c: Instead of making diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 03f65d6e6..e1c4cd2ce 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +1998-03-23 Federico Mena Quintero + + * gtk/gtkclist.c (gtk_clist_set_row_data_full): Select the row + which got its data changed, and not (0, 0). + Mon Mar 23 18:19:42 1998 Owen Taylor * gtk/gtkmenu.c gtk/gtkmenushell.c: Instead of making diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 03f65d6e6..e1c4cd2ce 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +1998-03-23 Federico Mena Quintero + + * gtk/gtkclist.c (gtk_clist_set_row_data_full): Select the row + which got its data changed, and not (0, 0). + Mon Mar 23 18:19:42 1998 Owen Taylor * gtk/gtkmenu.c gtk/gtkmenushell.c: Instead of making diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 03f65d6e6..e1c4cd2ce 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +1998-03-23 Federico Mena Quintero + + * gtk/gtkclist.c (gtk_clist_set_row_data_full): Select the row + which got its data changed, and not (0, 0). + Mon Mar 23 18:19:42 1998 Owen Taylor * gtk/gtkmenu.c gtk/gtkmenushell.c: Instead of making diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 03f65d6e6..e1c4cd2ce 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +1998-03-23 Federico Mena Quintero + + * gtk/gtkclist.c (gtk_clist_set_row_data_full): Select the row + which got its data changed, and not (0, 0). + Mon Mar 23 18:19:42 1998 Owen Taylor * gtk/gtkmenu.c gtk/gtkmenushell.c: Instead of making diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 03f65d6e6..e1c4cd2ce 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +1998-03-23 Federico Mena Quintero + + * gtk/gtkclist.c (gtk_clist_set_row_data_full): Select the row + which got its data changed, and not (0, 0). + Mon Mar 23 18:19:42 1998 Owen Taylor * gtk/gtkmenu.c gtk/gtkmenushell.c: Instead of making diff --git a/gtk/gtkclist.c b/gtk/gtkclist.c index bfef6fc74..f480ce767 100644 --- a/gtk/gtkclist.c +++ b/gtk/gtkclist.c @@ -1481,7 +1481,7 @@ gtk_clist_set_row_data_full (GtkCList * clist, * so the application can respond to the new data -- * this could be questionable behavior */ if (clist_row->state == GTK_STATE_SELECTED) - gtk_clist_select_row (clist, 0, 0); + gtk_clist_select_row (clist, row, -1); } gpointer -- 2.43.2