summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Rietveld <kris@gtk.org>2002-02-05 21:53:51 +0000
committerKristian Rietveld <kristian@src.gnome.org>2002-02-05 21:53:51 +0000
commitf84fca8b0af8a061184dbd875a58b0cbaf407e0f (patch)
treee45cf0be386a298957c89aaea486d4f518b020e2
parent8b9531a6c6ff2697bb926f785284b1b5eb6bfd87 (diff)
downloadgtk+-f84fca8b0af8a061184dbd875a58b0cbaf407e0f.tar.gz
let's set the path, which we're going to pass with the emission of
Tue Feb 5 22:54:16 2002 Kristian Rietveld <kris@gtk.org> * gtk/gtkliststore.c (gtk_list_store_insert_after): let's set the path, which we're going to pass with the emission of row_inserted, to the iter we inserted and not its sibling.
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.pre-2-06
-rw-r--r--ChangeLog.pre-2-106
-rw-r--r--ChangeLog.pre-2-26
-rw-r--r--ChangeLog.pre-2-46
-rw-r--r--ChangeLog.pre-2-66
-rw-r--r--ChangeLog.pre-2-86
-rw-r--r--gtk/gtkliststore.c2
8 files changed, 43 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 456bf76e65..da7243fc5f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Tue Feb 5 22:54:16 2002 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtkliststore.c (gtk_list_store_insert_after): let's set the
+ path, which we're going to pass with the emission of row_inserted, to
+ the iter we inserted and not its sibling.
+
2002-02-04 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtkmenu.c (gtk_menu_popup):
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index 456bf76e65..da7243fc5f 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -1,3 +1,9 @@
+Tue Feb 5 22:54:16 2002 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtkliststore.c (gtk_list_store_insert_after): let's set the
+ path, which we're going to pass with the emission of row_inserted, to
+ the iter we inserted and not its sibling.
+
2002-02-04 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtkmenu.c (gtk_menu_popup):
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 456bf76e65..da7243fc5f 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,9 @@
+Tue Feb 5 22:54:16 2002 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtkliststore.c (gtk_list_store_insert_after): let's set the
+ path, which we're going to pass with the emission of row_inserted, to
+ the iter we inserted and not its sibling.
+
2002-02-04 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtkmenu.c (gtk_menu_popup):
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 456bf76e65..da7243fc5f 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,9 @@
+Tue Feb 5 22:54:16 2002 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtkliststore.c (gtk_list_store_insert_after): let's set the
+ path, which we're going to pass with the emission of row_inserted, to
+ the iter we inserted and not its sibling.
+
2002-02-04 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtkmenu.c (gtk_menu_popup):
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 456bf76e65..da7243fc5f 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,9 @@
+Tue Feb 5 22:54:16 2002 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtkliststore.c (gtk_list_store_insert_after): let's set the
+ path, which we're going to pass with the emission of row_inserted, to
+ the iter we inserted and not its sibling.
+
2002-02-04 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtkmenu.c (gtk_menu_popup):
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 456bf76e65..da7243fc5f 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,9 @@
+Tue Feb 5 22:54:16 2002 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtkliststore.c (gtk_list_store_insert_after): let's set the
+ path, which we're going to pass with the emission of row_inserted, to
+ the iter we inserted and not its sibling.
+
2002-02-04 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtkmenu.c (gtk_menu_popup):
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 456bf76e65..da7243fc5f 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,9 @@
+Tue Feb 5 22:54:16 2002 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtkliststore.c (gtk_list_store_insert_after): let's set the
+ path, which we're going to pass with the emission of row_inserted, to
+ the iter we inserted and not its sibling.
+
2002-02-04 Padraig O'Briain <padraig.obriain@sun.com>
* gtk/gtkmenu.c (gtk_menu_popup):
diff --git a/gtk/gtkliststore.c b/gtk/gtkliststore.c
index 475a4ceb37..829cfa939c 100644
--- a/gtk/gtkliststore.c
+++ b/gtk/gtkliststore.c
@@ -1223,7 +1223,7 @@ gtk_list_store_insert_after (GtkListStore *list_store,
validate_list_store (list_store);
path = gtk_tree_path_new ();
- gtk_tree_path_append_index (path, i);
+ gtk_tree_path_append_index (path, i + 1);
gtk_tree_model_row_inserted (GTK_TREE_MODEL (list_store), path, iter);
gtk_tree_path_free (path);
}