mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-11 13:10:07 +00:00
Don't blink the cursor if the entry is not editable. (#304171,Nikos
2005-05-16 Matthias Clasen <mclasen@redhat.com> * gtk/gtkentry.c (cursor_blinks): Don't blink the cursor if the entry is not editable. (#304171,Nikos Kouremenos)
This commit is contained in:
parent
382fa5c382
commit
911a8a63c3
@ -1,5 +1,8 @@
|
||||
2005-05-16 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (cursor_blinks): Don't blink the cursor if
|
||||
the entry is not editable. (#304171,Nikos Kouremenos)
|
||||
|
||||
* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_constructor):
|
||||
Make sure the action of the button and the dialog are in sync,
|
||||
when the dialog is provided by the app. (#303987, David A Knight)
|
||||
|
@ -1,5 +1,8 @@
|
||||
2005-05-16 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (cursor_blinks): Don't blink the cursor if
|
||||
the entry is not editable. (#304171,Nikos Kouremenos)
|
||||
|
||||
* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_constructor):
|
||||
Make sure the action of the button and the dialog are in sync,
|
||||
when the dialog is provided by the app. (#303987, David A Knight)
|
||||
|
@ -1,5 +1,8 @@
|
||||
2005-05-16 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (cursor_blinks): Don't blink the cursor if
|
||||
the entry is not editable. (#304171,Nikos Kouremenos)
|
||||
|
||||
* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_constructor):
|
||||
Make sure the action of the button and the dialog are in sync,
|
||||
when the dialog is provided by the app. (#303987, David A Knight)
|
||||
|
@ -4788,6 +4788,7 @@ cursor_blinks (GtkEntry *entry)
|
||||
gboolean blink;
|
||||
|
||||
if (GTK_WIDGET_HAS_FOCUS (entry) &&
|
||||
entry->editable &&
|
||||
entry->selection_bound == entry->current_pos)
|
||||
{
|
||||
g_object_get (settings, "gtk-cursor-blink", &blink, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user