forked from AuroraMiddleware/gtk
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)
This commit is contained in:
parent
4edf06d016
commit
be2dc85cc1
@ -1,5 +1,9 @@
|
||||
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)
|
||||
|
||||
* gtk/gtkiconview.c (update_text_cell, update_pixbuf_cell): Correctly
|
||||
handle the cell list and indices into it. (#321856)
|
||||
|
||||
|
@ -1,5 +1,9 @@
|
||||
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)
|
||||
|
||||
* gtk/gtkiconview.c (update_text_cell, update_pixbuf_cell): Correctly
|
||||
handle the cell list and indices into it. (#321856)
|
||||
|
||||
|
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user