at least people should know how to report xkb initialization problems
This commit is contained in:
parent
22ba4dff94
commit
31f4338428
1 changed files with 19 additions and 15 deletions
|
@ -53,21 +53,25 @@ activation_error (void)
|
||||||
"The XFree86 Project, Inc"))
|
"The XFree86 Project, Inc"))
|
||||||
&& (release / 100000 == 403);
|
&& (release / 100000 == 403);
|
||||||
|
|
||||||
GtkWidget *msg = gtk_message_dialog_new (NULL,
|
GtkWidget *msg = gtk_message_dialog_new_with_markup (NULL,
|
||||||
0,
|
0,
|
||||||
GTK_MESSAGE_ERROR,
|
GTK_MESSAGE_ERROR,
|
||||||
GTK_BUTTONS_CLOSE,
|
GTK_BUTTONS_CLOSE,
|
||||||
_
|
_
|
||||||
("Error activating XKB configuration.\n"
|
("Error activating XKB configuration.\n"
|
||||||
"Probably internal X server problem.\n\nX server version data:\n%s\n%d\n%s"),
|
"Probably internal X server problem.\n\nX server version data:\n%s\n%d\n%s\n"
|
||||||
vendor,
|
"If you report this situation as a bug, please include:\n"
|
||||||
release,
|
"- The result of <b>xprop -root | grep XKB</b>\n"
|
||||||
badXFree430Release ?
|
"- The result of <b>gconftool-2 -R /desktop/gnome/peripherals/keyboard/xkb</b>"),
|
||||||
_
|
vendor,
|
||||||
("You are using XFree 4.3.0.\n"
|
release,
|
||||||
"There are known problems with complex XKB configurations.\n"
|
badXFree430Release
|
||||||
"Try using simpler configuration or taking more fresh version of XFree software.")
|
?
|
||||||
: "");
|
_
|
||||||
|
("You are using XFree 4.3.0.\n"
|
||||||
|
"There are known problems with complex XKB configurations.\n"
|
||||||
|
"Try using simpler configuration or taking more fresh version of XFree software.")
|
||||||
|
: "");
|
||||||
g_signal_connect (msg, "response",
|
g_signal_connect (msg, "response",
|
||||||
G_CALLBACK (gtk_widget_destroy), NULL);
|
G_CALLBACK (gtk_widget_destroy), NULL);
|
||||||
gtk_widget_show (msg);
|
gtk_widget_show (msg);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue