summaryrefslogtreecommitdiff
path: root/gtk/gtkaccellabel.c
diff options
context:
space:
mode:
authorJames Henstridge <james@daa.com.au>2001-08-07 01:05:50 +0000
committerJames Henstridge <jamesh@src.gnome.org>2001-08-07 01:05:50 +0000
commit967c0f7c7b63c847ca52622e90c61914beb3d412 (patch)
treeb0ccbcad6979320235bae484dd515d93b862925f /gtk/gtkaccellabel.c
parentdde67c28b3e1b31e29b4a9c5d9fc1be6c07b791a (diff)
downloadgtk+-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.c2
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");
}
}