summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHavoc Pennington <hp@pobox.com>2001-11-02 05:22:07 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-11-02 05:22:07 +0000
commitdaa04f480ffdd4de8d79e36530fc8331afee30af (patch)
tree7500e0c94f8f5494b27dda33a01656aa1193b115
parent04e8bd13a986623cf5c374a87b05a9fbd2f693c8 (diff)
downloadgtk+-daa04f480ffdd4de8d79e36530fc8331afee30af.tar.gz
handle -1 argument in order to remove a workaround in Nautilus that forced
2001-11-01 Havoc Pennington <hp@pobox.com> * gtk/gtktext.c (gtk_text_set_position): handle -1 argument in order to remove a workaround in Nautilus that forced GTK_ENABLE_BROKEN * gtk/gtkwidget.c (gtk_widget_modify_style): fix typos in the docs
-rw-r--r--ChangeLog8
-rw-r--r--ChangeLog.pre-2-08
-rw-r--r--ChangeLog.pre-2-108
-rw-r--r--ChangeLog.pre-2-28
-rw-r--r--ChangeLog.pre-2-48
-rw-r--r--ChangeLog.pre-2-68
-rw-r--r--ChangeLog.pre-2-88
-rw-r--r--gtk/gtktext.c3
-rw-r--r--gtk/gtkwidget.c6
9 files changed, 62 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 4444bffbb1..95f5e71430 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2001-11-01 Havoc Pennington <hp@pobox.com>
+
+ * gtk/gtktext.c (gtk_text_set_position): handle -1 argument in
+ order to remove a workaround in Nautilus that forced
+ GTK_ENABLE_BROKEN
+
+ * gtk/gtkwidget.c (gtk_widget_modify_style): fix typos in the docs
+
Thu Nov 1 20:09:31 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Patch from George Lebl to
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index 4444bffbb1..95f5e71430 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -1,3 +1,11 @@
+2001-11-01 Havoc Pennington <hp@pobox.com>
+
+ * gtk/gtktext.c (gtk_text_set_position): handle -1 argument in
+ order to remove a workaround in Nautilus that forced
+ GTK_ENABLE_BROKEN
+
+ * gtk/gtkwidget.c (gtk_widget_modify_style): fix typos in the docs
+
Thu Nov 1 20:09:31 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Patch from George Lebl to
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 4444bffbb1..95f5e71430 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,11 @@
+2001-11-01 Havoc Pennington <hp@pobox.com>
+
+ * gtk/gtktext.c (gtk_text_set_position): handle -1 argument in
+ order to remove a workaround in Nautilus that forced
+ GTK_ENABLE_BROKEN
+
+ * gtk/gtkwidget.c (gtk_widget_modify_style): fix typos in the docs
+
Thu Nov 1 20:09:31 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Patch from George Lebl to
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 4444bffbb1..95f5e71430 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,11 @@
+2001-11-01 Havoc Pennington <hp@pobox.com>
+
+ * gtk/gtktext.c (gtk_text_set_position): handle -1 argument in
+ order to remove a workaround in Nautilus that forced
+ GTK_ENABLE_BROKEN
+
+ * gtk/gtkwidget.c (gtk_widget_modify_style): fix typos in the docs
+
Thu Nov 1 20:09:31 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Patch from George Lebl to
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 4444bffbb1..95f5e71430 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,11 @@
+2001-11-01 Havoc Pennington <hp@pobox.com>
+
+ * gtk/gtktext.c (gtk_text_set_position): handle -1 argument in
+ order to remove a workaround in Nautilus that forced
+ GTK_ENABLE_BROKEN
+
+ * gtk/gtkwidget.c (gtk_widget_modify_style): fix typos in the docs
+
Thu Nov 1 20:09:31 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Patch from George Lebl to
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 4444bffbb1..95f5e71430 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,11 @@
+2001-11-01 Havoc Pennington <hp@pobox.com>
+
+ * gtk/gtktext.c (gtk_text_set_position): handle -1 argument in
+ order to remove a workaround in Nautilus that forced
+ GTK_ENABLE_BROKEN
+
+ * gtk/gtkwidget.c (gtk_widget_modify_style): fix typos in the docs
+
Thu Nov 1 20:09:31 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Patch from George Lebl to
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 4444bffbb1..95f5e71430 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,11 @@
+2001-11-01 Havoc Pennington <hp@pobox.com>
+
+ * gtk/gtktext.c (gtk_text_set_position): handle -1 argument in
+ order to remove a workaround in Nautilus that forced
+ GTK_ENABLE_BROKEN
+
+ * gtk/gtkwidget.c (gtk_widget_modify_style): fix typos in the docs
+
Thu Nov 1 20:09:31 2001 Owen Taylor <otaylor@redhat.com>
* gtk/gtkrange.c: Patch from George Lebl to
diff --git a/gtk/gtktext.c b/gtk/gtktext.c
index d5b5987abe..ca0e86f9db 100644
--- a/gtk/gtktext.c
+++ b/gtk/gtktext.c
@@ -1175,6 +1175,9 @@ gtk_text_set_position (GtkOldEditable *old_editable,
gint position)
{
GtkText *text = (GtkText *) old_editable;
+
+ if (position < 0)
+ position = gtk_text_get_length (text);
undraw_cursor (text, FALSE);
text->cursor_mark = find_mark (text, position);
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 267657299a..20da6016c2 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -3691,7 +3691,7 @@ gtk_widget_get_style (GtkWidget *widget)
* @style: the #GtkRcStyle holding the style modifications
*
* Modify style values on the widget. Modifications made using this
- * technique take precendence over style values set via an RC file,
+ * technique take precedence over style values set via an RC file,
* however, they will be overriden if a style is explicitely set on
* the widget using gtk_widget_set_style(). The #GtkRcStyle structure
* is designed so each field can either be set or unset, so it is
@@ -3705,8 +3705,8 @@ gtk_widget_get_style (GtkWidget *widget)
* make your modifications to the returned style, then call
* gtk_widget_modify_style() with that style. On the other hand,
* if you first call gtk_widget_modify_style(), subsequent calls
- * to such functions gtk_widget_modify_fg() will be have a cumulative
- * effect with the inital modifications.
+ * to such functions gtk_widget_modify_fg() will have a cumulative
+ * effect with the initial modifications.
**/
void
gtk_widget_modify_style (GtkWidget *widget,