revert unintended string change
2004-09-03 Jody Goldberg <jody@gnome.org> * gnome-settings-daemon/gnome-settings-keyboard-xkb.c : revert unintended string change
This commit is contained in:
parent
ce1635dbff
commit
03def60e2f
2 changed files with 16 additions and 9 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-09-03 Jody Goldberg <jody@gnome.org>
|
||||
|
||||
* gnome-settings-daemon/gnome-settings-keyboard-xkb.c : revert
|
||||
unintended string change
|
||||
|
||||
2004-08-31 Jody Goldberg <jody@gnome.org>
|
||||
|
||||
* capplets/common/gconf-property-editor.c
|
||||
|
|
|
@ -48,8 +48,8 @@ static gboolean initedOk;
|
|||
static PostActivationCallback paCallback = NULL;
|
||||
static void *paCallbackUserData = NULL;
|
||||
|
||||
#define DISABLE_XMM_WARNING_KEY \
|
||||
"/desktop/gnome/peripherals/keyboard/disable_xmm_and_xkb_warning"
|
||||
static const char DISABLE_XMM_WARNING_KEY[] =
|
||||
"/desktop/gnome/peripherals/keyboard/disable_xmm_and_xkb_warning";
|
||||
|
||||
typedef enum {
|
||||
RESPONSE_USE_X,
|
||||
|
@ -217,13 +217,15 @@ gnome_settings_keyboard_xkb_chk_lcl_xmm (void)
|
|||
if (homeDir == NULL)
|
||||
return;
|
||||
while ((fname = g_dir_read_name (homeDir)) != NULL)
|
||||
if (strlen (fname) >= 8 &&
|
||||
!g_ascii_strncasecmp (fname, ".xmodmap", 8)) {
|
||||
GtkWidget *msg = gtk_message_dialog_new_with_markup (NULL, 0,
|
||||
GTK_MESSAGE_WARNING, GTK_BUTTONS_OK,
|
||||
_("You have a keyboard remapping file (%s) in "
|
||||
"your home directory whose contents are ignored by default. "
|
||||
"Add it to /desktop/gnome/peripherals/keyboard/xkb/update_handlers"),
|
||||
if (strlen (fname) >= 8
|
||||
&& !g_ascii_strncasecmp (fname, ".xmodmap", 8)) {
|
||||
GtkWidget *msg =
|
||||
gtk_message_dialog_new_with_markup (NULL, 0,
|
||||
GTK_MESSAGE_WARNING,
|
||||
GTK_BUTTONS_OK,
|
||||
_
|
||||
("You have a keyboard remapping file (%s) in your home directory whose contents will now be ignored."
|
||||
" You can use the keyboard preferences to restore them."),
|
||||
fname);
|
||||
g_signal_connect (msg, "response",
|
||||
G_CALLBACK
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue