rpms/stardict/devel stardict-3.0.0-espeak.patch,1.1,1.2
Hu Zheng (zhu)
fedora-extras-commits at redhat.com
Thu Aug 23 09:12:38 UTC 2007
Author: zhu
Update of /cvs/pkgs/rpms/stardict/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11784
Modified Files:
stardict-3.0.0-espeak.patch
Log Message:
fix hpaned position problem
stardict-3.0.0-espeak.patch:
Index: stardict-3.0.0-espeak.patch
===================================================================
RCS file: /cvs/pkgs/rpms/stardict/devel/stardict-3.0.0-espeak.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- stardict-3.0.0-espeak.patch 23 Aug 2007 03:17:40 -0000 1.1
+++ stardict-3.0.0-espeak.patch 23 Aug 2007 09:12:33 -0000 1.2
@@ -1,3 +1,28 @@
+diff -ru stardict-3.0.0.orig/src/mainwin.cpp stardict-3.0.0/src/mainwin.cpp
+--- stardict-3.0.0.orig/src/mainwin.cpp 2007-08-10 13:06:06.000000000 +0800
++++ stardict-3.0.0/src/mainwin.cpp 2007-08-23 17:04:57.000000000 +0800
+@@ -2663,9 +2663,6 @@
+ oTextWin.Create(vbox1);
+ gtk_paned_pack2(GTK_PANED(hpaned), vbox1, TRUE, FALSE);
+
+- int pos=conf->get_int_at("main_window/hpaned_pos");
+- gtk_paned_set_position(GTK_PANED(hpaned), pos);
+-
+ oTransWin.Create(notebook);
+ }
+
+diff -ru stardict-3.0.0.orig/src/stardict.cpp stardict-3.0.0/src/stardict.cpp
+--- stardict-3.0.0.orig/src/stardict.cpp 2007-08-10 12:57:58.000000000 +0800
++++ stardict-3.0.0/src/stardict.cpp 2007-08-23 17:05:33.000000000 +0800
+@@ -362,6 +362,8 @@
+ gtk_widget_realize(window);
+ gdk_notify_startup_complete();
+ }
++ int pos=conf->get_int_at("main_window/hpaned_pos");
++ gtk_paned_set_position(GTK_PANED(oMidWin.hpaned), pos);
+
+ if (oLibs.has_dict() || conf->get_bool_at("network/enable_netdict")) {
+ if (queryword) {
diff -ru stardict-3.0.0.orig/stardict-plugins/stardict-espeak-tts-plugin/stardict_espeak.cpp stardict-3.0.0/stardict-plugins/stardict-espeak-tts-plugin/stardict_espeak.cpp
--- stardict-3.0.0.orig/stardict-plugins/stardict-espeak-tts-plugin/stardict_espeak.cpp 2007-07-10 15:16:15.000000000 +0800
+++ stardict-3.0.0/stardict-plugins/stardict-espeak-tts-plugin/stardict_espeak.cpp 2007-08-23 11:09:02.000000000 +0800
More information about the fedora-extras-commits
mailing list