mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Merge Christian Wehling's 'SLR help-buttons' into maint.
This commit is contained in:
commit
e38b1aa0ae
@ -67,6 +67,7 @@
|
|||||||
#define HL_PRINTCHECK "print-check"
|
#define HL_PRINTCHECK "print-check"
|
||||||
#define HL_RECNWIN "acct-reconcile"
|
#define HL_RECNWIN "acct-reconcile"
|
||||||
#define HL_SXEDITOR "trans-sched"
|
#define HL_SXEDITOR "trans-sched"
|
||||||
|
#define HL_SX_SLR "trans-sched-slr"
|
||||||
#define HL_BOOK_OPTIONS "book-options"
|
#define HL_BOOK_OPTIONS "book-options"
|
||||||
#define HL_STYLE_SHEET "change-style"
|
#define HL_STYLE_SHEET "change-style"
|
||||||
#define HL_CLOSE_BOOK "tool-close-book"
|
#define HL_CLOSE_BOOK "tool-close-book"
|
||||||
|
@ -1137,6 +1137,10 @@ dialog_response_cb (GtkDialog *dialog, gint response_id, GncSxSinceLastRunDialog
|
|||||||
GList* creation_errors = NULL;
|
GList* creation_errors = NULL;
|
||||||
switch (response_id)
|
switch (response_id)
|
||||||
{
|
{
|
||||||
|
case GTK_RESPONSE_HELP:
|
||||||
|
gnc_gnome_help (GTK_WINDOW(dialog), HF_HELP, HL_SX_SLR);
|
||||||
|
break;
|
||||||
|
|
||||||
case GTK_RESPONSE_OK:
|
case GTK_RESPONSE_OK:
|
||||||
// @@fixme validate current state(GError *errs);
|
// @@fixme validate current state(GError *errs);
|
||||||
// - [ ] instance state constraints
|
// - [ ] instance state constraints
|
||||||
|
@ -1489,6 +1489,22 @@
|
|||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="can-focus">False</property>
|
<property name="can-focus">False</property>
|
||||||
<property name="layout-style">end</property>
|
<property name="layout-style">end</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkButton" id="helpbutton2">
|
||||||
|
<property name="label" translatable="yes">_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-underline">True</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="expand">False</property>
|
||||||
|
<property name="fill">False</property>
|
||||||
|
<property name="position">0</property>
|
||||||
|
<property name="secondary">True</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkButton" id="cancelbutton2">
|
<object class="GtkButton" id="cancelbutton2">
|
||||||
<property name="label" translatable="yes">_Cancel</property>
|
<property name="label" translatable="yes">_Cancel</property>
|
||||||
@ -1502,7 +1518,7 @@
|
|||||||
<packing>
|
<packing>
|
||||||
<property name="expand">False</property>
|
<property name="expand">False</property>
|
||||||
<property name="fill">False</property>
|
<property name="fill">False</property>
|
||||||
<property name="position">0</property>
|
<property name="position">1</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
<child>
|
<child>
|
||||||
@ -1517,7 +1533,7 @@
|
|||||||
<packing>
|
<packing>
|
||||||
<property name="expand">False</property>
|
<property name="expand">False</property>
|
||||||
<property name="fill">False</property>
|
<property name="fill">False</property>
|
||||||
<property name="position">1</property>
|
<property name="position">2</property>
|
||||||
</packing>
|
</packing>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
@ -1604,6 +1620,7 @@
|
|||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
<action-widgets>
|
<action-widgets>
|
||||||
|
<action-widget response="-11">helpbutton2</action-widget>
|
||||||
<action-widget response="-6">cancelbutton2</action-widget>
|
<action-widget response="-6">cancelbutton2</action-widget>
|
||||||
<action-widget response="-5">okbutton2</action-widget>
|
<action-widget response="-5">okbutton2</action-widget>
|
||||||
</action-widgets>
|
</action-widgets>
|
||||||
|
Loading…
Reference in New Issue
Block a user