Make the new GtkAction code work with PolicyKit-gnome's use of actions.
* gtk/gtkaction.c (gtk_action_[un]block_activate_from): Block
        the action.
        * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_activatable_reset):
        * gtk/gtktogglebutton. (gtk_toggle_button_activatable_reset):
        * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_activatable_reset):
        Work with non-toggle actions without complaining.
        * gtk/gtktoolbutton.c (gtk_tool_button_activatable_update): Updating
        the icon-name should not remove the label.
        * gtk/gtkimagemenuitem.c (activatable_update_icon_name): Also
        update the image when the icon name is set to NULL.
svn path=/trunk/; revision=22290
			
			
This commit is contained in:
		| @ -346,7 +346,7 @@ gtk_toggle_tool_button_activatable_reset (GtkActivatable  *activatable, | ||||
|  | ||||
|   parent_activatable_iface->reset (activatable, action); | ||||
|  | ||||
|   if (!action) | ||||
|   if (!GTK_IS_TOGGLE_ACTION (action)) | ||||
|     return; | ||||
|  | ||||
|   button = GTK_TOGGLE_TOOL_BUTTON (activatable); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Matthias Clasen
					Matthias Clasen