mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug 688917 - Edit style sheet help button not working
Setup the connection between the help button and the edit style sheet section in the help.
This commit is contained in:
parent
17ced7eb28
commit
4b5202f55d
@ -130,6 +130,20 @@ gnc_options_dialog_set_new_book_option_values (GNCOptionDB *odb)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
gnc_style_sheet_options_help_cb (GNCOptionWin *win, gpointer dat)
|
||||||
|
{
|
||||||
|
gnc_gnome_help (HF_HELP, HL_STYLE_SHEET);
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
gnc_options_dialog_set_style_sheet_options_help_cb (GNCOptionWin *win)
|
||||||
|
{
|
||||||
|
gnc_options_dialog_set_help_cb (win,
|
||||||
|
(GNCOptionWinCallback)gnc_style_sheet_options_help_cb,
|
||||||
|
NULL);
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gnc_commodity_help_cb (void)
|
gnc_commodity_help_cb (void)
|
||||||
{
|
{
|
||||||
|
@ -73,6 +73,11 @@ void gnc_options_dialog_set_book_options_help_cb (GNCOptionWin *win);
|
|||||||
*/
|
*/
|
||||||
void gnc_options_dialog_set_new_book_option_values (GNCOptionDB *odb);
|
void gnc_options_dialog_set_new_book_option_values (GNCOptionDB *odb);
|
||||||
|
|
||||||
|
/** Set the help callback to 'gnc_style_sheet_options_help_cb' to open a help browser
|
||||||
|
* and point it to the Style Sheet link in the Help file.
|
||||||
|
*/
|
||||||
|
void gnc_options_dialog_set_style_sheet_options_help_cb (GNCOptionWin *win);
|
||||||
|
|
||||||
/** Given a file name, find and load the requested pixmap. This
|
/** Given a file name, find and load the requested pixmap. This
|
||||||
* routine will display an error message if it can't find the file or
|
* routine will display an error message if it can't find the file or
|
||||||
* load the pixmap.
|
* load the pixmap.
|
||||||
|
@ -68,6 +68,7 @@
|
|||||||
#define HL_RECNWIN "acct-reconcile"
|
#define HL_RECNWIN "acct-reconcile"
|
||||||
#define HL_SXEDITOR "trans-sched"
|
#define HL_SXEDITOR "trans-sched"
|
||||||
#define HL_BOOK_OPTIONS "book-options"
|
#define HL_BOOK_OPTIONS "book-options"
|
||||||
|
#define HL_STYLE_SHEET "change-style"
|
||||||
#define HL_CLOSE_BOOK "tool-close-book"
|
#define HL_CLOSE_BOOK "tool-close-book"
|
||||||
#define HL_USAGE_CUSTOMREP "report-saving"
|
#define HL_USAGE_CUSTOMREP "report-saving"
|
||||||
#define HL_IMPORT_BC "busnss-imp-bills-invoices"
|
#define HL_IMPORT_BC "busnss-imp-bills-invoices"
|
||||||
|
@ -33,6 +33,7 @@
|
|||||||
#include "gnc-component-manager.h"
|
#include "gnc-component-manager.h"
|
||||||
#include "gnc-session.h"
|
#include "gnc-session.h"
|
||||||
#include "gnc-gtk-utils.h"
|
#include "gnc-gtk-utils.h"
|
||||||
|
#include "gnc-gnome-utils.h"
|
||||||
#include "gnc-guile-utils.h"
|
#include "gnc-guile-utils.h"
|
||||||
#include "gnc-report.h"
|
#include "gnc-report.h"
|
||||||
#include "gnc-ui.h"
|
#include "gnc-ui.h"
|
||||||
@ -180,6 +181,9 @@ gnc_style_sheet_dialog_create (StyleSheetDialog * ss,
|
|||||||
|
|
||||||
gnc_options_dialog_build_contents (ssinfo->odialog,
|
gnc_options_dialog_build_contents (ssinfo->odialog,
|
||||||
ssinfo->odb);
|
ssinfo->odb);
|
||||||
|
|
||||||
|
gnc_options_dialog_set_style_sheet_options_help_cb (ssinfo->odialog);
|
||||||
|
|
||||||
gnc_options_dialog_set_apply_cb (ssinfo->odialog,
|
gnc_options_dialog_set_apply_cb (ssinfo->odialog,
|
||||||
gnc_style_sheet_options_apply_cb,
|
gnc_style_sheet_options_apply_cb,
|
||||||
ssinfo);
|
ssinfo);
|
||||||
|
Loading…
Reference in New Issue
Block a user