plug-ins/print/print-page-layout.[ch] pressing F1 on the "Image Settings"

2008-02-26  Sven Neumann  <sven@gimp.org>

	* plug-ins/print/print-page-layout.[ch]
	* plug-ins/print/print.c: pressing F1 on the "Image Settings" 
tab
	calls the GIMP help browser.


svn path=/trunk/; revision=24984
This commit is contained in:
Sven Neumann 2008-02-26 20:06:30 +00:00 committed by Sven Neumann
parent b0813ee283
commit c5de94edeb
4 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2008-02-26 Sven Neumann <sven@gimp.org>
* plug-ins/print/print-page-layout.[ch]
* plug-ins/print/print.c: pressing F1 on the "Image Settings" tab
calls the GIMP help browser.
2008-02-26 Sven Neumann <sven@gimp.org>
* libgimpwidgets/gimpchainbutton.c: use a private inner class

View File

@ -94,7 +94,8 @@ static PrintSizeInfo info;
GtkWidget *
print_page_layout_gui (PrintData *data)
print_page_layout_gui (PrintData *data,
const gchar *help_id)
{
GtkWidget *main_hbox;
GtkWidget *main_vbox;
@ -175,6 +176,8 @@ print_page_layout_gui (PrintData *data)
G_CALLBACK (print_page_setup_notify),
main_hbox, 0);
gimp_help_connect (main_hbox, gimp_standard_help_func, help_id, NULL);
return main_hbox;
}

View File

@ -16,5 +16,6 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
GtkWidget * print_page_layout_gui (PrintData *data);
GtkWidget * print_page_layout_gui (PrintData *data,
const gchar *help_id);

View File

@ -408,7 +408,7 @@ static GtkWidget *
create_custom_widget (GtkPrintOperation *operation,
PrintData *data)
{
return print_page_layout_gui (data);
return print_page_layout_gui (data, PRINT_PROC_NAME);
}
static void