CVS: sylpheedclaws/sylpheed-claws/src wizard.c,1.1.2.44,1.1.2.45

[email protected] Tue, 26 Dec 2006 17:26:46 +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-serv18421/src

Modified Files:
      Tag: gtk2
	wizard.c 
Log Message:
2006-12-26 [colin]	2.6.1cvs71

	* src/wizard.c
		Add tooltip to state that specifying
		full path to mailbox is possible

Index: wizard.c
===================================================================
RCS file: /pack/anoncvs/sylpheedclaws/sylpheed-claws/src/Attic/wizard.c,v
retrieving revision 1.1.2.44
retrieving revision 1.1.2.45
diff -u -d -r1.1.2.44 -r1.1.2.45
--- wizard.c	2006/12/15 16:40:54	1.1.2.44
+++ wizard.c	2006/12/26 17:26:40	1.1.2.45
@@ -901,12 +901,19 @@
 {
 	GtkWidget *table = gtk_table_new(1,2, FALSE);
 	gint i = 0;
-	
+	GtkTooltips *tips = gtk_tooltips_new();
+
 	gtk_table_set_row_spacings(GTK_TABLE(table), 4);
 	gtk_table_set_col_spacings(GTK_TABLE(table), 8);
 
 	wizard->mailbox_name = gtk_entry_new();
 	gtk_entry_set_text(GTK_ENTRY(wizard->mailbox_name), tmpl.mailbox?tmpl.mailbox:"");
+
+	gtk_tooltips_set_tip(GTK_TOOLTIPS(tips), wizard->mailbox_name,
+			     _("You can also specify an absolute path, for example: "
+			       "\"/home/john/Documents/Mail\""),
+			     NULL);
+
 	GTK_TABLE_ADD_ROW_AT(table, _("<span weight=\"bold\">Mailbox name:</span>"), 
 			     wizard->mailbox_name, i); i++;