diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-11-28 15:42:00 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-11-28 15:42:00 +0000 |
commit | be2dc85cc1946996f5927f624df2821322d047bb (patch) | |
tree | b6dda512602037cda635d721445d6c57924844fd /gtk/gtkaction.c | |
parent | 4edf06d01641b03535e9cafbb945bc2eeb0716a4 (diff) | |
download | gtk+-be2dc85cc1946996f5927f624df2821322d047bb.tar.gz |
Buttons use the label property for stock ids. (#322565, Milosz Derezynski)
2005-11-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkaction.c (gtk_action_sync_button_stock_id)
(connect_proxy): Buttons use the label property for stock ids. (#322565,
Milosz Derezynski)
Diffstat (limited to 'gtk/gtkaction.c')
-rw-r--r-- | gtk/gtkaction.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkaction.c b/gtk/gtkaction.c index df9aee5447..076d8b4c6e 100644 --- a/gtk/gtkaction.c +++ b/gtk/gtkaction.c @@ -745,7 +745,7 @@ gtk_action_sync_button_stock_id (GtkAction *action, GtkWidget *proxy) { g_object_set (G_OBJECT (proxy), - "stock-id", + "label", action->private_data->stock_id, NULL); } @@ -948,7 +948,7 @@ connect_proxy (GtkAction *action, { /* synchronise stock-id */ g_object_set (proxy, - "stock-id", action->private_data->stock_id, + "label", action->private_data->stock_id, NULL); g_signal_connect_object (action, "notify::stock-id", G_CALLBACK (gtk_action_sync_button_stock_id), |