summaryrefslogtreecommitdiffstats
path: root/stardict/build/stardict_gtklabel.patch
blob: afe2cfe2773f974e266c103585a1bb935f7f4115 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff -uarN stardict-3.0.0.orig/src/prefsdlg.cpp stardict-3.0.0/src/prefsdlg.cpp
--- stardict-3.0.0.orig/src/prefsdlg.cpp	2007-08-10 08:08:45.000000000 +0200
+++ stardict-3.0.0/src/prefsdlg.cpp	2007-11-08 17:51:21.000000000 +0100
@@ -727,6 +727,7 @@
 	gtk_box_pack_start(GTK_BOX(vbox),vbox1,false,false, 0);
 
 	GtkWidget *check_button;
+	GtkWidget *label;
 	check_button = gtk_check_button_new_with_mnemonic(_("_Enable sound event."));
 	bool enable=
 		conf->get_bool_at("dictionary/enable_sound_event");
@@ -748,7 +749,7 @@
 	gtk_box_pack_start(GTK_BOX(vbox1), hbox2, FALSE, FALSE, 0);
 #endif
 
-	GtkWidget *label = gtk_label_new(_("RealPeopleTTS search path:"));
+	label = gtk_label_new(_("RealPeopleTTS search path:"));
 	gtk_misc_set_alignment(GTK_MISC(label), 0, .5);
 	gtk_box_pack_start(GTK_BOX(vbox1),label,false,false,0);
 	tts_textview = gtk_text_view_new();