Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37826775
en ru br
ALT Linux repositórios
S:3.0.6-alt1
5.0: 3.0.1-alt3
4.1: 3.0.0-alt1
4.0: 2.4.8-alt1
3.0: 2.4.5-alt1

Group :: Sistema/Internacionalização
RPM: stardict

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: stardict-3.0.0-espeak.patch
Download


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
@@ -86,7 +86,7 @@
 
 bool stardict_tts_plugin_init(StarDictTtsPlugInObject *obj)
 {
-	espeak_Initialize(AUDIO_OUTPUT_PLAYBACK, 0, NULL);
+	espeak_Initialize(AUDIO_OUTPUT_PLAYBACK, 0, NULL, 0);
 	std::string res = get_cfg_filename();
 	if (!g_file_test(res.c_str(), G_FILE_TEST_EXISTS)) {
 		g_file_set_contents(res.c_str(), "[espeak]\nvoice=\n", -1, NULL);
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009