gtranslator r3676 - in trunk/src: . dialogs
- From: icq svn gnome org
- To: svn-commits-list gnome org
- Subject: gtranslator r3676 - in trunk/src: . dialogs
- Date: Mon, 22 Sep 2008 09:42:26 +0000 (UTC)
Author: icq
Date: Mon Sep 22 09:42:25 2008
New Revision: 3676
URL: http://svn.gnome.org/viewvc/gtranslator?rev=3676&view=rev
Log:
2008-08-07 Ignacio Casal Quinteiro <nacho resa gmail com>
* dialogs/profile-dialog.c (gtranslator_profile_dialog_init):
Changed from GtkTooltips to GtkTootip and marked the string for translation.
Modified:
trunk/src/ChangeLog
trunk/src/dialogs/profile-dialog.c
Modified: trunk/src/dialogs/profile-dialog.c
==============================================================================
--- trunk/src/dialogs/profile-dialog.c (original)
+++ trunk/src/dialogs/profile-dialog.c Mon Sep 22 09:42:25 2008
@@ -311,9 +311,6 @@
{
gboolean ret;
GtkWidget *error_widget;
- GtkTooltips *tips;
-
- tips = g_object_new(GTK_TYPE_TOOLTIPS, NULL);
dlg->priv = GTR_PROFILE_DIALOG_GET_PRIVATE (dlg);
@@ -349,8 +346,8 @@
return;
}
- gtk_tooltips_set_tip(tips, GTK_WIDGET(dlg->priv->plurals_forms_entry),
- "Example: nplurals=2; plural=(n != 1);", "");
+ gtk_widget_set_tooltip_text (dlg->priv->plurals_forms_entry,
+ _("Example: nplurals=2; plural=(n != 1);"));
gtk_box_pack_start (GTK_BOX (GTK_DIALOG (dlg)->vbox),
dlg->priv->main_box, FALSE, FALSE, 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]