Index: components/html-editor/image.c
===================================================================
--- components/html-editor/image.c	(revision 8693)
+++ components/html-editor/image.c	(working copy)
@@ -175,7 +175,7 @@
 changed_align (GtkWidget *w, GtkHTMLEditImageProperties *d)
 {
 	if (!d->disable_change && editor_has_html_object (d->cd, HTML_OBJECT (d->image)))
-		html_image_set_valign (d->image, g_list_index (GTK_MENU_SHELL (w)->children, gtk_menu_get_active (GTK_MENU (w))));
+		html_image_set_valign (d->image, gtk_combo_box_get_active (GTK_COMBO_BOX (d->option_align)));
 }
 
 static void
Index: components/html-editor/ChangeLog
===================================================================
--- components/html-editor/ChangeLog	(revision 8693)
+++ components/html-editor/ChangeLog	(working copy)
@@ -1,3 +1,10 @@
+2008-01-22  Bharath Acharya  <abharath@novell.com>
+
+	** Fix for bug #489456
+
+	* image.c: (changed_align): Fetch the HTMLVAlignType value from
+	the Combo box d->option_align
+
 2008-01-15  Dan Winship  <danw@gnome.org>
 
 	* Makefile.am (INCLUDES): remove unused $(SOUP_CFLAGS)
