[libgnomekbd] Removed useless Help button
- From: Sergey V. Udaltsov <svu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgnomekbd] Removed useless Help button
- Date: Mon, 21 Feb 2011 23:49:13 +0000 (UTC)
commit 2eff72e73386c3812841007d8cda14880a7cf387
Author: Sergey V. Udaltsov <svu gnome org>
Date: Mon Feb 21 23:49:20 2011 +0000
Removed useless Help button
https://bugzilla.gnome.org/show_bug.cgi?id=642903
libgnomekbd/gkbd-keyboard-drawing.c | 5 -----
libgnomekbd/show-layout.ui | 16 ----------------
2 files changed, 0 insertions(+), 21 deletions(-)
---
diff --git a/libgnomekbd/gkbd-keyboard-drawing.c b/libgnomekbd/gkbd-keyboard-drawing.c
index c8d16aa..45dc67d 100644
--- a/libgnomekbd/gkbd-keyboard-drawing.c
+++ b/libgnomekbd/gkbd-keyboard-drawing.c
@@ -2566,11 +2566,6 @@ gkbd_keyboard_drawing_dialog_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/libgnomekbd/show-layout.ui b/libgnomekbd/show-layout.ui
index 236f593..74bbdb6 100644
--- a/libgnomekbd/show-layout.ui
+++ b/libgnomekbd/show-layout.ui
@@ -45,21 +45,6 @@
</packing>
</child>
<child>
- <object class="GtkButton" id="btnHelp">
- <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_stock">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">False</property>
- <property name="position">1</property>
- </packing>
- </child>
- <child>
<object class="GtkButton" id="btnClose">
<property name="label">gtk-close</property>
<property name="visible">True</property>
@@ -85,7 +70,6 @@
</child>
<action-widgets>
<action-widget response="2">btnPrint</action-widget>
- <action-widget response="-11">btnHelp</action-widget>
<action-widget response="-7">btnClose</action-widget>
</action-widgets>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]