c4d937c4db
- add devel/gettext to MODULES while here
51 lines
2.5 KiB
Plaintext
51 lines
2.5 KiB
Plaintext
$OpenBSD: patch-src_gui_settingsdialog_c,v 1.1 2007/10/24 22:42:26 jasper Exp $
|
|
--- src/gui_settingsdialog.c.orig Tue Oct 16 12:50:55 2007
|
|
+++ src/gui_settingsdialog.c Tue Oct 16 12:52:10 2007
|
|
@@ -202,7 +202,7 @@ void on_settings_activate (GtkMenuItem * menuitem, gpo
|
|
gint response, pango_size;
|
|
gboolean state;
|
|
gchar *str;
|
|
- GtkTooltips *tooltips;
|
|
+ GtkTooltip *tooltip;
|
|
GtkTextBuffer *buffer;
|
|
GtkTextTagTable *table;
|
|
GdkColor color;
|
|
@@ -269,10 +269,10 @@ void on_settings_activate (GtkMenuItem * menuitem, gpo
|
|
pcommandsentry = gtk_entry_new ();
|
|
gtk_box_pack_start (GTK_BOX (pcommandshbox), pcommandsentry, TRUE, TRUE, 5);
|
|
gtk_entry_set_max_length (GTK_ENTRY (pcommandsentry), 80);
|
|
- tooltips = gtk_tooltips_new ();
|
|
- gtk_tooltips_set_tip (tooltips, pcommandsentry,
|
|
+ tooltip = gtk_tooltips_new ();
|
|
+ gtk_tooltips_set_tip (tooltip, pcommandsentry,
|
|
_("Comma separated list of commands to send at login"), NULL);
|
|
- gtk_tooltips_set_tip (tooltips, pcallsignentry,
|
|
+ gtk_tooltips_set_tip (tooltip, pcallsignentry,
|
|
_("Callsign to be used for login"), NULL);
|
|
|
|
ploginframelabel = gtk_label_new (_("Login"));
|
|
@@ -317,7 +317,7 @@ void on_settings_activate (GtkMenuItem * menuitem, gpo
|
|
gtk_entry_set_max_length (GTK_ENTRY (prigentry), 80);
|
|
phamliblabel = gtk_label_new (_("Hamlib"));
|
|
gtk_frame_set_label_widget (GTK_FRAME (phamlibframe), phamliblabel);
|
|
- gtk_tooltips_set_tip (tooltips, prigentry, _(
|
|
+ gtk_tooltips_set_tip (tooltip, prigentry, _(
|
|
"When double clicking on a dx-spot this will set the frequency of your "
|
|
"rig using rigctl (%d = the frequency retrieved from the DX spot)"
|
|
), NULL);
|
|
@@ -366,11 +366,11 @@ void on_settings_activate (GtkMenuItem * menuitem, gpo
|
|
gtk_entry_set_max_length (GTK_ENTRY (pprogmailentry), 80);
|
|
pproglabel = gtk_label_new (_("Programs"));
|
|
gtk_frame_set_label_widget (GTK_FRAME (pprogframe), pproglabel);
|
|
- gtk_tooltips_set_tip (tooltips, pprogbrowserentry,
|
|
+ gtk_tooltips_set_tip (tooltip, pprogbrowserentry,
|
|
_("Web browser to start after clicking on a url (%s = url)"), NULL);
|
|
- gtk_tooltips_set_tip (tooltips, pprogmailentry,
|
|
+ gtk_tooltips_set_tip (tooltip, pprogmailentry,
|
|
_("Mail program to start after clicking on a mail url (%s = mail url)"), NULL);
|
|
- gtk_tooltips_set_tip (tooltips, pprogsoundentry,
|
|
+ gtk_tooltips_set_tip (tooltip, pprogsoundentry,
|
|
_("Program used to play sound (%s = sound file)"), NULL);
|
|
|
|
if (g_ascii_strcasecmp (preferences.browserapp, "?"))
|