From 47a43e8f72d777a17215dce5ecd9919e618fb04a Mon Sep 17 00:00:00 2001 From: Manish Singh Date: Sat, 2 Feb 2002 04:26:48 +0000 Subject: [PATCH] use gtk_label_new_with_mnemonic for labels that actually have mnemonics Fri Feb 1 20:21:56 2002 Manish Singh * gtk/gtkinputdialog.c: use gtk_label_new_with_mnemonic for labels that actually have mnemonics --- ChangeLog | 5 +++++ ChangeLog.pre-2-0 | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtkinputdialog.c | 12 ++++++------ 8 files changed, 41 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2838a8d47a..d82f07578f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Feb 1 20:21:56 2002 Manish Singh + + * gtk/gtkinputdialog.c: use gtk_label_new_with_mnemonic for labels + that actually have mnemonics + Fri Feb 1 19:57:59 2002 Owen Taylor * configure.in: Fix use of ! in shell. diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 2838a8d47a..d82f07578f 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +Fri Feb 1 20:21:56 2002 Manish Singh + + * gtk/gtkinputdialog.c: use gtk_label_new_with_mnemonic for labels + that actually have mnemonics + Fri Feb 1 19:57:59 2002 Owen Taylor * configure.in: Fix use of ! in shell. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 2838a8d47a..d82f07578f 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Fri Feb 1 20:21:56 2002 Manish Singh + + * gtk/gtkinputdialog.c: use gtk_label_new_with_mnemonic for labels + that actually have mnemonics + Fri Feb 1 19:57:59 2002 Owen Taylor * configure.in: Fix use of ! in shell. diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 2838a8d47a..d82f07578f 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +Fri Feb 1 20:21:56 2002 Manish Singh + + * gtk/gtkinputdialog.c: use gtk_label_new_with_mnemonic for labels + that actually have mnemonics + Fri Feb 1 19:57:59 2002 Owen Taylor * configure.in: Fix use of ! in shell. diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 2838a8d47a..d82f07578f 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Fri Feb 1 20:21:56 2002 Manish Singh + + * gtk/gtkinputdialog.c: use gtk_label_new_with_mnemonic for labels + that actually have mnemonics + Fri Feb 1 19:57:59 2002 Owen Taylor * configure.in: Fix use of ! in shell. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 2838a8d47a..d82f07578f 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Fri Feb 1 20:21:56 2002 Manish Singh + + * gtk/gtkinputdialog.c: use gtk_label_new_with_mnemonic for labels + that actually have mnemonics + Fri Feb 1 19:57:59 2002 Owen Taylor * configure.in: Fix use of ! in shell. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 2838a8d47a..d82f07578f 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Fri Feb 1 20:21:56 2002 Manish Singh + + * gtk/gtkinputdialog.c: use gtk_label_new_with_mnemonic for labels + that actually have mnemonics + Fri Feb 1 19:57:59 2002 Owen Taylor * configure.in: Fix use of ! in shell. diff --git a/gtk/gtkinputdialog.c b/gtk/gtkinputdialog.c index 0333ec8ef0..7667b65a82 100644 --- a/gtk/gtkinputdialog.c +++ b/gtk/gtkinputdialog.c @@ -218,7 +218,7 @@ gtk_input_dialog_init (GtkInputDialog *inputd) util_box = gtk_hbox_new (FALSE, 2); gtk_box_pack_start (GTK_BOX (vbox), util_box, FALSE, FALSE, 0); - label = gtk_label_new(_("_Device:")); + label = gtk_label_new_with_mnemonic (_("_Device:")); gtk_box_pack_start (GTK_BOX (util_box), label, FALSE, FALSE, 2); optionmenu = gtk_option_menu_new (); @@ -259,7 +259,7 @@ gtk_input_dialog_init (GtkInputDialog *inputd) (GtkSignalFunc) gtk_input_dialog_set_mapping_mode, GINT_TO_POINTER (GDK_MODE_WINDOW)); - label = gtk_label_new(_("_Mode: ")); + label = gtk_label_new_with_mnemonic (_("_Mode: ")); gtk_box_pack_start (GTK_BOX (util_box), label, FALSE, FALSE, 2); inputd->mode_optionmenu = gtk_option_menu_new (); @@ -290,7 +290,7 @@ gtk_input_dialog_init (GtkInputDialog *inputd) /* The axis listbox */ - label = gtk_label_new (_("_Axes")); + label = gtk_label_new_with_mnemonic (_("_Axes")); inputd->axis_listbox = gtk_scrolled_window_new (NULL, NULL); gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW(inputd->axis_listbox), @@ -306,7 +306,7 @@ gtk_input_dialog_init (GtkInputDialog *inputd) /* Keys listbox */ - label = gtk_label_new (_("_Keys")); + label = gtk_label_new_with_mnemonic (_("_Keys")); inputd->keys_listbox = gtk_scrolled_window_new (NULL, NULL); gtk_widget_set_usize (inputd->keys_listbox, KEYS_LIST_WIDTH, KEYS_LIST_HEIGHT); @@ -643,8 +643,8 @@ gtk_input_dialog_fill_keys(GtkInputDialog *inputd, GdkDevice *info) /* create the label */ - sprintf(buffer, "%d", i+1); - label = gtk_label_new(buffer); + sprintf (buffer, "%d", i+1); + label = gtk_label_new (buffer); gtk_table_attach (GTK_TABLE (inputd->keys_list), label, 0, 1, i, i+1, 0, 0, 2, 2); gtk_widget_show (label);