summaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-08-29 09:44:23 -0700
committerJohn Stebbins <[email protected]>2016-08-29 09:46:02 -0700
commit3a14d6492b906ff4f7d370594dcbf9ed432fc0ab (patch)
tree801a25259c5cfd8c138ba63ebd1db59924b29573 /gtk
parente6bb2306f853893d357763fe17dc8ac1b9e03f0a (diff)
LinGui: Fix "Open Source" on older gtk versions
Older gtk versions do not support the mnemonics "cancel" and "no" as substitutes for integer response values.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/src/ghb.m46
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/src/ghb.m4 b/gtk/src/ghb.m4
index 406772122..42efa9120 100644
--- a/gtk/src/ghb.m4
+++ b/gtk/src/ghb.m4
@@ -8564,6 +8564,7 @@ ifelse(eval(gtk_version <= 312), 1, filter_output([
<child>
<object class="GtkButton" id="source_cancel">
<property name="label" translatable="yes">_Cancel</property>
+ <property name="use-underline">True</property>
<property name="image">gtk-cancel</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -8580,6 +8581,7 @@ ifelse(eval(gtk_version <= 312), 1, filter_output([
<child>
<object class="GtkButton" id="source_ok">
<property name="label" translatable="yes">_Open</property>
+ <property name="use-underline">True</property>
<property name="image">gtk-ok</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -8698,8 +8700,8 @@ filter_output([
</object>
</child>
<action-widgets>
- <action-widget response="cancel">source_cancel</action-widget>
- <action-widget response="no">source_ok</action-widget>
+ <action-widget response="-6">source_cancel</action-widget>
+ <action-widget response="-9">source_ok</action-widget>
</action-widgets>
</object>
<object class="GtkImage" id="gtk-cancel">