PATCH: minor fix to libgnomeui



In gnome_property_entry_colors() function, translate every text under color
selector.

-- 
Gediminas Paulauskas  ···  http://03bar.ktu.lt/~menesis/  ···  ICQ 24859336
Index: gnome-property-entries.c
===================================================================
RCS file: /cvs/gnome/gnome-libs/libgnomeui/Attic/gnome-property-entries.c,v
retrieving revision 1.7
diff -u -r1.7 gnome-property-entries.c
--- gnome-property-entries.c	1999/07/29 01:26:32	1.7
+++ gnome-property-entries.c	2001/02/11 16:18:28
@@ -204,7 +204,7 @@
 	GtkFontSelectionDialog *fontsel;
 
 	fontsel = GTK_FONT_SELECTION_DIALOG
-		(gtk_font_selection_dialog_new (gettext (cb_data->label)));
+		(gtk_font_selection_dialog_new (_(cb_data->label)));
 
 	gtk_window_set_modal (GTK_WINDOW (fontsel), TRUE);
 	
@@ -315,7 +315,7 @@
 	GtkWidget *frame, *table;
 	gint rows, i;
 
-	frame = gtk_frame_new (gettext (label));
+	frame = gtk_frame_new (_(label));
 
 	rows = (num_colors < columns) ? 2 :
 		((num_colors+columns-1) / columns) << 1;
@@ -329,7 +329,7 @@
 		GtkWidget *label, *cp;
 		gint row, col;
 
-		label = gtk_label_new (texts [i]);
+		label = gtk_label_new (_(texts [i]));
 		cp = gnome_color_picker_new ();
 		gnome_color_picker_set_i16 (GNOME_COLOR_PICKER (cp),
 					    colors [i].red,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]