CVS: sylpheedclaws/sylpheed-claws/src wizard.c,1.1.2.41,1.1.2.42
[email protected] Mon, 11 Dec 2006 22:49:34 +0000
| Newsgroups | gmane.mail.sylpheed.claws.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /pack/anoncvs/sylpheedclaws/sylpheed-claws/src
In directory sunsite.dk:/tmp/cvs-serv7374/src
Modified Files:
Tag: gtk2
wizard.c
Log Message:
2006-12-11 [colin] 2.6.1cvs19
* src/wizard.c
Document :port in server entry tooltips
Index: wizard.c
===================================================================
RCS file: /pack/anoncvs/sylpheedclaws/sylpheed-claws/src/Attic/wizard.c,v
retrieving revision 1.1.2.41
retrieving revision 1.1.2.42
diff -u -d -r1.1.2.41 -r1.1.2.42
--- wizard.c 2006/12/11 18:08:08 1.1.2.41
+++ wizard.c 2006/12/11 22:49:28 1.1.2.42
@@ -911,6 +911,7 @@
#else
GtkWidget *table = gtk_table_new(4, 2, FALSE);
#endif
+ GtkTooltips *tips = gtk_tooltips_new();
gchar *text;
gint i = 0;
@@ -921,6 +922,12 @@
text = get_default_server(wizard, "smtp");
gtk_entry_set_text(GTK_ENTRY(wizard->smtp_server), text);
g_free(text);
+
+ gtk_tooltips_set_tip(GTK_TOOLTIPS(tips), wizard->smtp_server,
+ _("You can specify the port number by appending it at the end: "
+ "\"mail.example.com:25\""),
+ NULL);
+
GTK_TABLE_ADD_ROW_AT(table, _("<span weight=\"bold\">SMTP server address:</span>"),
wizard->smtp_server, i); i++;
wizard->smtp_auth = gtk_check_button_new_with_label(
@@ -1063,6 +1070,7 @@
#endif
GtkWidget *menu = gtk_menu_new();
GtkWidget *menuitem;
+ GtkTooltips *tips = gtk_tooltips_new();
gchar *text;
gint i = 0;
gint index = 0;
@@ -1110,6 +1118,11 @@
gtk_entry_set_text(GTK_ENTRY(wizard->recv_server), text);
g_free(text);
+ gtk_tooltips_set_tip(GTK_TOOLTIPS(tips), wizard->recv_server,
+ _("You can specify the port number by appending it at the end: "
+ "\"mail.example.com:110\""),
+ NULL);
+
wizard->recv_label = gtk_label_new(_("<span weight=\"bold\">Server address:</span>"));
gtk_label_set_use_markup(GTK_LABEL(wizard->recv_label), TRUE);
gtk_table_attach(GTK_TABLE(table), wizard->recv_label,