mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Bug 692249 - Add Help button in Custom Reports dialog box
modified: src/gnome-utils/gnc-ui.h modified: src/report/report-gnome/dialog-custom-report.c modified: src/report/report-gnome/dialog-custom-report.glade
This commit is contained in:
parent
2795971935
commit
b988205382
@ -68,6 +68,7 @@
|
||||
#define HL_SXEDITOR "tool-sched"
|
||||
#define HL_BOOK_OPTIONS "book-options"
|
||||
#define HL_CLOSE_BOOK "tool-close-book"
|
||||
#define HL_USAGE_CUSTOMREP "report-custom"
|
||||
|
||||
/* GTK Windows - Common Response Codes */
|
||||
|
||||
|
@ -80,6 +80,7 @@ typedef struct _CustomReportDialog
|
||||
} CustomReportDialog;
|
||||
|
||||
void custom_report_dialog_close_cb(GtkWidget* widget, gpointer data);
|
||||
void custom_report_help_cb(GtkWidget* widget, gpointer data);
|
||||
void close_custom_report_clicked_cb(GtkWidget* widget, gpointer data);
|
||||
void custom_report_list_view_row_activated_cb(GtkTreeView *view, GtkTreePath *path,
|
||||
GtkTreeViewColumn *column, gpointer data);
|
||||
@ -102,6 +103,11 @@ custom_report_dialog_close_cb(GtkWidget* widget, gpointer data)
|
||||
g_free(crd);
|
||||
}
|
||||
|
||||
void
|
||||
custom_report_help_cb (GtkWidget *widget, gpointer data)
|
||||
{
|
||||
gnc_gnome_help(HF_HELP, HL_USAGE_CUSTOMREP);
|
||||
}
|
||||
|
||||
void
|
||||
close_custom_report_clicked_cb(GtkWidget* widget, gpointer data)
|
||||
|
@ -21,6 +21,23 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="layout_style">end</property>
|
||||
<child>
|
||||
<object class="GtkButton" id="helpbutton">
|
||||
<property name="label">gtk-help</property>
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="can_default">True</property>
|
||||
<property name="receives_default">False</property>
|
||||
<property name="use_action_appearance">False</property>
|
||||
<property name="use_stock">True</property>
|
||||
<signal name="clicked" handler="custom_report_help_cb" swapped="no"/>
|
||||
</object>
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
<property name="position">0</property>
|
||||
</packing>
|
||||
</child>
|
||||
<child>
|
||||
<object class="GtkButton" id="close_report_button">
|
||||
<property name="label">gtk-close</property>
|
||||
@ -37,7 +54,7 @@
|
||||
<packing>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
<property name="position">0</property>
|
||||
<property name="position">1</property>
|
||||
</packing>
|
||||
</child>
|
||||
</object>
|
||||
|
Loading…
Reference in New Issue
Block a user