@@ -649,7 +649,7 @@ parse_item (ActionsIterData *idata,
649649 uuid = json_reader_get_string_value (reader );
650650 json_reader_end_member (reader );
651651
652- nemo_debug ( NEMO_DEBUG_ACTIONS , "Parsing action layout entry for '%s'." , uuid );
652+ DEBUG ( "Parsing action layout entry for '%s'." , uuid );
653653
654654 if (!json_reader_read_member (reader , "type" ) || json_reader_get_null_value (reader )) {
655655 item_error (reader , & idata -> error , uuid , "Action layout member is missing mandatory value" );
@@ -659,7 +659,7 @@ parse_item (ActionsIterData *idata,
659659 json_reader_end_member (reader );
660660
661661 if (g_strcmp0 (type , "separator" ) == 0 ) {
662- nemo_debug ( NEMO_DEBUG_ACTIONS , "Adding separator to UI." );
662+ DEBUG ( "Adding separator to UI." );
663663
664664 idata -> func (idata -> action_manager ,
665665 NULL ,
@@ -703,7 +703,7 @@ parse_item (ActionsIterData *idata,
703703 nemo_action_override_icon (action , user_icon );
704704 }
705705
706- nemo_debug ( NEMO_DEBUG_ACTIONS , "Adding action '%s' to UI." , action -> uuid );
706+ DEBUG ( "Adding action '%s' to UI." , action -> uuid );
707707
708708 idata -> func (idata -> action_manager ,
709709 GTK_ACTION (action ),
@@ -733,7 +733,7 @@ parse_item (ActionsIterData *idata,
733733 }
734734
735735 // A submenu gets added to the same level (path) as its sibling menuitems
736- nemo_debug ( NEMO_DEBUG_ACTIONS , "Adding submenu '%s' to UI." , uuid );
736+ DEBUG ( "Adding submenu '%s' to UI." , uuid );
737737
738738 idata -> func (idata -> action_manager ,
739739 submenu ,
@@ -775,7 +775,7 @@ parse_level (ActionsIterData *idata,
775775
776776 if (json_reader_is_array (reader )) {
777777 guint len = json_reader_count_elements (reader );
778- nemo_debug ( NEMO_DEBUG_ACTIONS , "Processing %d children of '%s'." , len , path == NULL ? "root" : path );
778+ DEBUG ( "Processing %d children of '%s'." , len , path == NULL ? "root" : path );
779779
780780 gint i ;
781781 for (i = 0 ; i < len ; i ++ ) {
@@ -894,7 +894,7 @@ nemo_action_manager_update_action_states (NemoActionManager *action_manager,
894894
895895 for (l = actions ; l != NULL ; l = l -> next ) {
896896 if (!NEMO_IS_ACTION (l -> data )) {
897- nemo_debug ( NEMO_DEBUG_ACTIONS , "Skipping submenu '%s' (visibility managed by GtkUIManager)" , gtk_action_get_name (GTK_ACTION (l -> data )));
897+ DEBUG ( "Skipping submenu '%s' (visibility managed by GtkUIManager)" , gtk_action_get_name (GTK_ACTION (l -> data )));
898898 gtk_action_set_visible (GTK_ACTION (l -> data ), TRUE);
899899 continue ;
900900 }
0 commit comments