]> Pileus Git - ~andy/gtk/commit
Add a gtk-label-select-on-focus setting. (gtk_label_grab_focus): And use
authorMatthias Clasen <mclasen@redhat.com>
Mon, 26 Dec 2005 07:02:51 +0000 (07:02 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 26 Dec 2005 07:02:51 +0000 (07:02 +0000)
commit168ad4bc79d006908d732ee827c5e4b294005585
tree563f623d831aa398e971e946325e79b5c559d83c
parentad26705e700c9ba62b180156645bfa1d72a7c77b
Add a gtk-label-select-on-focus setting. (gtk_label_grab_focus): And use

2005-12-26  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtklabel.c (gtk_label_class_init): Add a gtk-label-select-on-focus
setting.
(gtk_label_grab_focus): And use it here to select the contents of
the label when appropriate.
(gtk_label_class_init): Use the same keybindings for select all/
unselect all as GtkEntry and GtkTextView.

* gtk/gtkdialog.c (gtk_dialog_map): When looking for the initial
focus, avoid leaving a selection in a label.
ChangeLog
ChangeLog.pre-2-10
gtk/gtkdialog.c
gtk/gtklabel.c