[gq-commit] gq/src prefs.c,1.38,1.39
Status: Beta
Brought to you by:
sur5r
From: <sta...@us...> - 2003-10-10 06:55:07
|
Update of /cvsroot/gqclient/gq/src In directory sc8-pr-cvs1:/tmp/cvs-serv8393 Modified Files: prefs.c Log Message: * Added tooltips to the GUI preferences tab Index: prefs.c =================================================================== RCS file: /cvsroot/gqclient/gq/src/prefs.c,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** prefs.c 9 Oct 2003 05:51:55 -0000 1.38 --- prefs.c 10 Oct 2003 06:55:03 -0000 1.39 *************** *** 1782,1785 **** --- 1782,1788 ---- GtkWidget *persistframe; GtkWidget *vbox1, *button; + GtkTooltips *tips; + + tips = gtk_tooltips_new(); /* Persistency frame */ *************** *** 1806,1809 **** --- 1809,1818 ---- gtk_box_pack_start(GTK_BOX(vbox1), button, FALSE, TRUE, 5); + gtk_tooltips_set_tip(tips, button, + _("Turn on if the sizes of some windows should be " + "saved and restored across program invocations."), + S_("tooltip|") + ); + /* Restore Window Positions checkbox */ button = gq_check_button_new_with_label(_("Restore Window Pos_itions")); *************** *** 1818,1821 **** --- 1827,1838 ---- gtk_box_pack_start(GTK_BOX(vbox1), button, FALSE, TRUE, 5); + gtk_tooltips_set_tip(tips, button, + _("If turned on, the program will try to save and " + "restore the on-screen position of some windows " + "across program invocations. This will not work " + "with certain window managers."), + S_("tooltip|") + ); + /* Restore Search History checkbox */ button = gq_check_button_new_with_label(_("Restore Search _History")); *************** *** 1829,1832 **** --- 1846,1855 ---- gtk_widget_show(button); gtk_box_pack_start(GTK_BOX(vbox1), button, FALSE, TRUE, 5); + + gtk_tooltips_set_tip(tips, button, + _("If set then save and restore the search " + "history across program invocations."), + S_("tooltip|") + ); } |