[evolution-patches] UI-hackfest: Patch for gtkhtml bug 310961
- From: Kaushal Kumar <kakumar novell com>
- To: evolution-patches lists ximian com
- Subject: [evolution-patches] UI-hackfest: Patch for gtkhtml bug 310961
- Date: Thu, 21 Jul 2005 19:51:11 +0530
Hi,
Please review the patch for the UI bug:-
http://bugzilla.gnome.org/show_bug.cgi?id=310961
The Page formatting options are only intended for html pages. So, now it
has been disabled for text mode.
Thanks,
Kaushal
? gtkhtml/autom4te.cache
? gtkhtml/gtkhtml-zip
? gtkhtml/stamp-h1
? gtkhtml/src/test-stress
? gtkhtml/src/test-suite
Index: gtkhtml/components/html-editor/ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/components/html-editor/ChangeLog,v
retrieving revision 1.500
diff -p -u -5 -r1.500 ChangeLog
--- gtkhtml/components/html-editor/ChangeLog 19 Jul 2005 08:35:42 -0000 1.500
+++ gtkhtml/components/html-editor/ChangeLog 21 Jul 2005 14:15:41 -0000
@@ -1,5 +1,11 @@
+2005-07-21 Kaushal Kumar <kakumar novell com>
+
+ * menubar.c (menubar_update_format): Set Page format option sensitive
+ only for html mode.
+ Fixes bug #310961.
+
2005-07-19 Tor Lillqvist <tml novell com>
* Makefile.am: Use SOEXT instead of hardcoded .so. Append EXEEXT
to executable editor component name.
Index: gtkhtml/components/html-editor/menubar.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/components/html-editor/menubar.c,v
retrieving revision 1.117
diff -p -u -5 -r1.117 menubar.c
--- gtkhtml/components/html-editor/menubar.c 12 Jul 2005 05:23:54 -0000 1.117
+++ gtkhtml/components/html-editor/menubar.c 21 Jul 2005 14:15:41 -0000
@@ -577,10 +577,12 @@ menubar_update_format (GtkHTMLControlDat
CORBA_exception_init (&ev);
bonobo_ui_component_freeze (uic, &ev);
bonobo_ui_component_set_prop (uic, "/commands/InsertImage",
"sensitive", sensitive, &ev);
+ bonobo_ui_component_set_prop (uic, "/commands/FormatPage",
+ "sensitive", sensitive, &ev);
bonobo_ui_component_set_prop (uic, "/commands/InsertLink",
"sensitive", sensitive, &ev);
bonobo_ui_component_set_prop (uic, "/commands/InsertRule",
"sensitive", sensitive, &ev);
bonobo_ui_component_set_prop (uic, "/commands/InsertTable",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]