diff options
author | James Henstridge <james@daa.com.au> | 2001-08-07 01:05:50 +0000 |
---|---|---|
committer | James Henstridge <jamesh@src.gnome.org> | 2001-08-07 01:05:50 +0000 |
commit | 967c0f7c7b63c847ca52622e90c61914beb3d412 (patch) | |
tree | b0ccbcad6979320235bae484dd515d93b862925f /gtk/gtkaccellabel.c | |
parent | dde67c28b3e1b31e29b4a9c5d9fc1be6c07b791a (diff) | |
download | gtk+-967c0f7c7b63c847ca52622e90c61914beb3d412.tar.gz |
refetch the accelerator when the accel object is changed. Fixes bug
2001-08-07 James Henstridge <james@daa.com.au>
* gtk/gtkaccellabel.c (gtk_accel_label_set_accel_object): refetch
the accelerator when the accel object is changed. Fixes bug
#58628.
Diffstat (limited to 'gtk/gtkaccellabel.c')
-rw-r--r-- | gtk/gtkaccellabel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkaccellabel.c b/gtk/gtkaccellabel.c index 36397f3132..82b4f35beb 100644 --- a/gtk/gtkaccellabel.c +++ b/gtk/gtkaccellabel.c @@ -383,6 +383,8 @@ gtk_accel_label_set_accel_object (GtkAccelLabel *accel_label, accel_label, G_CONNECT_AFTER | G_CONNECT_SWAPPED); } + gtk_accel_label_refetch (accel_label); + g_object_notify (G_OBJECT (accel_label), "accel_object"); } } |