Author: cazfi
Date: Fri Feb  6 05:13:35 2015
New Revision: 28002

URL: http://svn.gna.org/viewcvs/freeciv?rev=28002&view=rev
Log:
Made word "ENTER" referring to the key to press bold in improvement selling 
tooltip.

See patch #5776

Modified:
    branches/S2_5/client/gui-gtk-2.0/citydlg.c
    branches/S2_5/client/gui-gtk-3.0/citydlg.c

Modified: branches/S2_5/client/gui-gtk-2.0/citydlg.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/gui-gtk-2.0/citydlg.c?rev=28002&r1=28001&r2=28002&view=diff
==============================================================================
--- branches/S2_5/client/gui-gtk-2.0/citydlg.c  (original)
+++ branches/S2_5/client/gui-gtk-2.0/citydlg.c  Fri Feb  6 05:13:35 2015
@@ -785,8 +785,8 @@
   gtk_widget_set_name(view, "small_font");
   pdialog->overview.improvement_list = view;
 
-  gtk_widget_set_tooltip_text(view,
-                     _("Press ENTER or double-click to sell an improvement."));
+  gtk_widget_set_tooltip_markup(view,
+                     _("Press <b>ENTER</b> or double-click to sell an 
improvement."));
 
   rend = gtk_cell_renderer_pixbuf_new();
   gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(view), -1, NULL,

Modified: branches/S2_5/client/gui-gtk-3.0/citydlg.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/gui-gtk-3.0/citydlg.c?rev=28002&r1=28001&r2=28002&view=diff
==============================================================================
--- branches/S2_5/client/gui-gtk-3.0/citydlg.c  (original)
+++ branches/S2_5/client/gui-gtk-3.0/citydlg.c  Fri Feb  6 05:13:35 2015
@@ -826,8 +826,8 @@
   gtk_widget_set_name(view, "small_font");
   pdialog->overview.improvement_list = view;
 
-  gtk_widget_set_tooltip_text(view,
-                     _("Press ENTER or double-click to sell an improvement."));
+  gtk_widget_set_tooltip_markup(view,
+                     _("Press <b>ENTER</b> or double-click to sell an 
improvement."));
 
   rend = gtk_cell_renderer_pixbuf_new();
   gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(view), -1, NULL,


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to