mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Queue a redraw if the selectable setting was changed.
2001-02-20 Alexander Larsson <alexl@redhat.com> * gtk/gtklabel.c (gtk_label_set_selectable): Queue a redraw if the selectable setting was changed.
This commit is contained in:
parent
fe145d152e
commit
5efcd1a640
@ -1,3 +1,8 @@
|
||||
2001-02-20 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtklabel.c (gtk_label_set_selectable):
|
||||
Queue a redraw if the selectable setting was changed.
|
||||
|
||||
2001-02-20 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkgc-fb.c (gdk_gc_copy):
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-02-20 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtklabel.c (gtk_label_set_selectable):
|
||||
Queue a redraw if the selectable setting was changed.
|
||||
|
||||
2001-02-20 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkgc-fb.c (gdk_gc_copy):
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-02-20 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtklabel.c (gtk_label_set_selectable):
|
||||
Queue a redraw if the selectable setting was changed.
|
||||
|
||||
2001-02-20 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkgc-fb.c (gdk_gc_copy):
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-02-20 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtklabel.c (gtk_label_set_selectable):
|
||||
Queue a redraw if the selectable setting was changed.
|
||||
|
||||
2001-02-20 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkgc-fb.c (gdk_gc_copy):
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-02-20 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtklabel.c (gtk_label_set_selectable):
|
||||
Queue a redraw if the selectable setting was changed.
|
||||
|
||||
2001-02-20 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkgc-fb.c (gdk_gc_copy):
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-02-20 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtklabel.c (gtk_label_set_selectable):
|
||||
Queue a redraw if the selectable setting was changed.
|
||||
|
||||
2001-02-20 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkgc-fb.c (gdk_gc_copy):
|
||||
|
@ -1,3 +1,8 @@
|
||||
2001-02-20 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gtk/gtklabel.c (gtk_label_set_selectable):
|
||||
Queue a redraw if the selectable setting was changed.
|
||||
|
||||
2001-02-20 Alexander Larsson <alexl@redhat.com>
|
||||
|
||||
* gdk/linux-fb/gdkgc-fb.c (gdk_gc_copy):
|
||||
|
@ -1273,10 +1273,13 @@ void
|
||||
gtk_label_set_selectable (GtkLabel *label,
|
||||
gboolean setting)
|
||||
{
|
||||
gboolean old_setting;
|
||||
|
||||
g_return_if_fail (GTK_IS_LABEL (label));
|
||||
|
||||
setting = setting != FALSE;
|
||||
|
||||
old_setting = label->select_info != NULL;
|
||||
|
||||
if (setting)
|
||||
{
|
||||
if (label->select_info == NULL)
|
||||
@ -1306,6 +1309,8 @@ gtk_label_set_selectable (GtkLabel *label,
|
||||
label->select_info = NULL;
|
||||
}
|
||||
}
|
||||
if (setting != old_setting)
|
||||
gtk_widget_queue_draw (GTK_WIDGET (label));
|
||||
}
|
||||
|
||||
gboolean
|
||||
|
Loading…
Reference in New Issue
Block a user