restored Help button in options, b.g.o#556952
svn path=/trunk/; revision=9246
This commit is contained in:
parent
4acded1a0b
commit
8786acaa3a
3 changed files with 24 additions and 9 deletions
|
@ -1,3 +1,9 @@
|
|||
2009-02-07 Sergey Udaltsov <svu@gnome.org>
|
||||
|
||||
* gnome-keyboard-properties-xkbot.c, gnome-keyboard-properties.glade:
|
||||
restored (now functioning) help button in Options,
|
||||
http://bugzilla.gnome.org/show_bug.cgi?id=556952
|
||||
|
||||
==================== 2.25.90 ====================
|
||||
|
||||
2009-01-30 Jens Granseuer <jensgr@gmx.net>
|
||||
|
|
|
@ -416,16 +416,24 @@ xkb_options_load_options (GladeXML * dialog)
|
|||
static void
|
||||
chooser_response_cb (GtkDialog * dialog, gint response, gpointer data)
|
||||
{
|
||||
if (response == GTK_RESPONSE_CLOSE) {
|
||||
/* just cleanup */
|
||||
GSList *expanders_list =
|
||||
g_object_get_data (G_OBJECT (dialog), EXPANDERS_PROP);
|
||||
g_object_set_data (G_OBJECT (dialog), EXPANDERS_PROP,
|
||||
NULL);
|
||||
g_slist_free (expanders_list);
|
||||
switch (response) {
|
||||
case GTK_RESPONSE_HELP:
|
||||
capplet_help (GTK_WINDOW (dialog),
|
||||
"prefs-keyboard-layoutoptions");
|
||||
break;
|
||||
case GTK_RESPONSE_CLOSE:{
|
||||
/* just cleanup */
|
||||
GSList *expanders_list =
|
||||
g_object_get_data (G_OBJECT (dialog),
|
||||
EXPANDERS_PROP);
|
||||
g_object_set_data (G_OBJECT (dialog),
|
||||
EXPANDERS_PROP, NULL);
|
||||
g_slist_free (expanders_list);
|
||||
|
||||
gtk_widget_destroy (GTK_WIDGET (dialog));
|
||||
chooser_dialog = NULL;
|
||||
gtk_widget_destroy (GTK_WIDGET (dialog));
|
||||
chooser_dialog = NULL;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -2037,6 +2037,7 @@
|
|||
<property name="layout_style">GTK_BUTTONBOX_END</property>
|
||||
<child>
|
||||
<widget class="GtkButton" id="button3">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="receives_default">True</property>
|
||||
<property name="events">GDK_POINTER_MOTION_MASK | GDK_POINTER_MOTION_HINT_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK</property>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue