Fix notify::label emmision in GtkMenuItem
Emit notify::label in GtkMenuItem also when label is changed through GtkAction. Refactor GtkMenuItem and remove duplicated code for GtkLabel creation. Reset the accel-widget back to the GtkMenuItem itself when there is no action related to the GtkMenuItem anymore. Add test for notify::label emmisions. Fixes bug 612574 - GtkMenuItem does not emit notify::label when label is changed through GtkAction.
This commit is contained in:
@ -91,4 +91,8 @@ TEST_PROGS += expander
|
||||
expander_SOURCES = expander.c
|
||||
expander_LDADD = $(progs_ldadd)
|
||||
|
||||
TEST_PROGS += action
|
||||
action_SOURCES = action.c
|
||||
action_LDADD = $(progs_ldadd)
|
||||
|
||||
-include $(top_srcdir)/git.mk
|
||||
|
||||
Reference in New Issue
Block a user