gtkhtml r9052 - trunk/components/editor
- From: mbarnes svn gnome org
- To: svn-commits-list gnome org
- Subject: gtkhtml r9052 - trunk/components/editor
- Date: Thu, 27 Nov 2008 14:39:19 +0000 (UTC)
Author: mbarnes
Date: Thu Nov 27 14:39:19 2008
New Revision: 9052
URL: http://svn.gnome.org/viewvc/gtkhtml?rev=9052&view=rev
Log:
2008-11-27 Matthew Barnes <mbarnes redhat com>
** Fixes bug #562323
* components/editor/gtkhtml-editor-signals.c
(gtkhtml_editor_link_properties_show_window_cb):
Initialize the GtkEntry _after_ we've calculated offsets, since
changing the entry triggers signal handlers that use the offsets.
Modified:
trunk/components/editor/ChangeLog
trunk/components/editor/gtkhtml-editor-signals.c
Modified: trunk/components/editor/gtkhtml-editor-signals.c
==============================================================================
--- trunk/components/editor/gtkhtml-editor-signals.c (original)
+++ trunk/components/editor/gtkhtml-editor-signals.c Thu Nov 27 14:39:19 2008
@@ -1153,13 +1153,13 @@
sensitive = (url == NULL);
- gtk_entry_set_text (
- GTK_ENTRY (url_entry),
- (url != NULL) ? url : "http://");
-
editor->priv->link_object = cursor->object;
editor->priv->link_start_offset = start_offset;
editor->priv->link_end_offset = end_offset;
+
+ gtk_entry_set_text (
+ GTK_ENTRY (url_entry),
+ (url != NULL) ? url : "http://");
}
gtk_entry_set_text (GTK_ENTRY (dsc_entry), "");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]