summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMonsta <[email protected]>2015-07-08 15:12:47 +0300
committerMonsta <[email protected]>2015-07-08 15:12:47 +0300
commitec73dc0edf4db2f80d5408f8a010a09f612aa949 (patch)
treebf8de782bbe093b13f32f72fbb4134ee3e7a5759
parent6328394d0927a63120cf2110c105457bd93f601a (diff)
downloadlibmatekbd-ec73dc0edf4db2f80d5408f8a010a09f612aa949.tar.bz2
libmatekbd-ec73dc0edf4db2f80d5408f8a010a09f612aa949.tar.xz
layout view/print dialog: removed useless Help button
the link that it led to was never valid anyway - no such page in user guide adapted from https://git.gnome.org/browse/libgnomekbd/commit?id=2eff72e73386c3812841007d8cda14880a7cf387
-rw-r--r--libmatekbd/matekbd-keyboard-drawing.c5
-rw-r--r--libmatekbd/show-layout.ui12
2 files changed, 0 insertions, 17 deletions
diff --git a/libmatekbd/matekbd-keyboard-drawing.c b/libmatekbd/matekbd-keyboard-drawing.c
index 3692c1b..7e9f8d7 100644
--- a/libmatekbd/matekbd-keyboard-drawing.c
+++ b/libmatekbd/matekbd-keyboard-drawing.c
@@ -2538,11 +2538,6 @@ show_layout_response (GtkWidget * dialog, gint resp)
const gchar *groupName;
switch (resp) {
- case GTK_RESPONSE_HELP:
- gtk_show_uri (gtk_widget_get_screen (GTK_WIDGET (dialog)),
- "ghelp:gswitchit?layout-view",
- gtk_get_current_event_time (), NULL);
- return;
case GTK_RESPONSE_CLOSE:
gtk_window_get_position (GTK_WINDOW (dialog), &rect.x,
&rect.y);
diff --git a/libmatekbd/show-layout.ui b/libmatekbd/show-layout.ui
index 707d7f8..5159663 100644
--- a/libmatekbd/show-layout.ui
+++ b/libmatekbd/show-layout.ui
@@ -42,18 +42,6 @@
</object>
</child>
<child>
- <object class="GtkButton" id="btnHelp">
- <property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="label">gtk-help</property>
- <property name="use_stock">True</property>
- </object>
- <packing>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
<object class="GtkButton" id="btnClose">
<property name="visible">True</property>
<property name="can_focus">True</property>